Journal #8739

Posted 5 years ago2016-08-23 22:21:07 UTC
ChickenFist ChickenFist<Witty Title>
There's a really annoying bug with monstermakers with Spirit 1.8a1. Spent a long time trying to figure out why monsters often would spawn a random distance away from the position of the monstermaker.

Looked at the code, turns out there's a missing else statement which causes the spawned monster to always inherit the velocity of the activating entity, so if you run into a trigger_once with some speed the monster will come flying out of the monstmaker with the same speed, landing some distance away.
A feature of Spirit 1.8 monstermaker is the velocity of monster keyvalue, so I tried setting it to 0 0 0. Doesn't work anyway: turns out that's another bug: the targetname of an entity to copy the velocity from should be set and not actually a vector as is stated in the fgd.

There's a workaround, if anyone ever has the same problem. In the velocity of monster field, enter the targetname of an entity you know will always be stationary. I used a path_corner.


Commented 5 years ago2016-08-24 07:45:01 UTC Comment #36315
Great, thanks! I started using monstermakers in my map a while ago! Didn't have this bug though, but I did have a lot of other problems which I'm not sure they're bugs or just caused by a bad use of these archaic entities...
Commented 5 years ago2016-08-26 20:42:48 UTC Comment #36314
Why do you skip my thread from here. Find Spirit of Half-Life 1.9 Fix for Steam.

You must log in to post a comment. You can login or register a new account.