Hello all. Having an odd issue and I'm super new to coding.
I'm working a mod for HL and decided I want to pull a few NPC's from Opposing Force. I've successfully incorporated them into a custom FGD file so they show in JackHammer as entities. To test if things worked I made a quick map with a regular zombie, soldier zombie, guard zombie and Otis.
I recoded Otis to use the "Python" as the Deagle isn't in HL, and had to pull some code from Barney to fix an error about some "Facing" thing not being defined.
Run the map and here are the results:
1) The soldier and guard zombies die with one shot anywhere with the 9mm pistol.
2) The soldier and guard zombies will attack (animation and sound OK), but not cause any damage to me.
3) Otis will not engage the soldier or guard zombie and will die just as quick with a 9mm pistol shot.
4) Regular zombie still causes damage to me and takes several shots to put down.
5) Otis will engage the regular zombie but will die with one hit from it.
Working off of Valve's GitHub HL SDK and an OP4 SDK pulled from a different GitHub account. Coding program I'm using is VisualStudio 2019. Not sure if there's a message limit but I can post the code if need be.
Thanks in advance