twhl-community / halflife-unified-sdk

Half-Life Updated SDK with Opposing Force and Blue Shift merged in, along with other improvements. Check README.md for more information.
Other
146 stars 26 forks source link

Inherit key values #546

Closed Mikk155 closed 8 months ago

Mikk155 commented 8 months ago

Child entity inherits keyvalues from it's creator.

Goal: allow customization for specific monsters in the map

for example a monster_bigmomma can pass model_replacement_filename and sound_replacement_filename to it's chilldrens (i.e monster_babycrab and CBMortar

Now you have a unique model replacement for a specific gonarch in the map overriding a global replacement (if any)