monstermaker properties Created 7 years ago2017-10-30 12:49:01 UTC by User#6970 User#6970

Created 7 years ago2017-10-30 12:49:01 UTC by User#6970 User#6970

Posted 7 years ago2017-10-30 12:49:01 UTC Post #337863
Hi, I'm using monstermaker to spawn scientists. I was wondering if there was a way to set the body property to spawn specific scientists. This option is found on monster_scientist. Thanks
Posted 7 years ago2017-10-30 13:03:35 UTC Post #337864
Unfortunately there is no way to do this in vanilla HL.
Posted 7 years ago2017-10-30 13:32:10 UTC Post #337865
Yeah looking at the source code pretty much confirms so. However it wouldn't be so hard to modify for a mod. All happens in monstermaker.cpp->CMonsterMaker::MakeMonster. One would need to loop through pev values and assign them to pevCreate, much like it's probably done for a multi_manager.
Posted 7 years ago2017-10-30 13:58:50 UTC Post #337867
Yeah that's one way to do it.

If you're willing to make extensive modifications you can do it like Source and use template entities to instantiate whenever and wherever you want, but that's tough to get right due to how entity data is handled.
You must be logged in to post a response.