by MartinHowe » Tue May 12, 2020 3:17 pm
Well I have had to do a lot of looking through the source, both c++ and ZScript, while developing this actor, and a lot of it is still a mystery to me. I haven't worked on ZDoom since 2008 (morphing code) and even the bits that haven't been rewritten since then give me that "WTF?! Did I
really write that?!" feeling
What I can say, experimentally, is that this is functionally equivalent to firing a pistol right next to the monster, so he gives his "Sight" sound, turns to attack, etc. Given time, and a moment of inspiration, something more elaborate could be forged.
Well I have had to do a lot of looking through the source, both c++ and ZScript, while developing this actor, and a lot of it is still a mystery to me. I haven't worked on ZDoom since 2008 (morphing code) and even the bits that haven't been rewritten since then give me that "WTF?! Did I [i]really[/i] write that?!" feeling :p
What I can say, experimentally, is that this is functionally equivalent to firing a pistol right next to the monster, so he gives his "Sight" sound, turns to attack, etc. Given time, and a moment of inspiration, something more elaborate could be forged.