Posted 17 years ago2006-12-28 18:53:23 UTCPost #207815
I need to know how to change an ally (Barney) to an enemy for my mod. I have cloned the barney.cpp (and modified it) in order to make a "new" Barney replacement. (I wanted to use a different model anyway.) I would like to have the "original" Barney set as an enemy entity with the default Barney model. I know it can be done easily I just don't really know what I am looking for in order to change the code or whatever.
Posted 17 years ago2006-12-28 18:55:19 UTCPost #207816
Just use Spirit, I think you can set "feelings" toward the players for all NPCs. It'd be a good idea to base your mod on spirit too, since it has so much useful shit.
Posted 17 years ago2006-12-28 19:00:06 UTCPost #207817
Spirit eh? Do I just replace the hl.dll with the spirit.dll in my mod's dlls folder and then use the Spirit FGD with Hammer? I thought about that before and I guess it would be better than changing code...
Posted 17 years ago2006-12-28 19:23:26 UTCPost #207821
Yeah, but I only needed the DLL and the FGD. My mod is already setup and ready to build. The folder structure is contained within a PAK file. I just need to build the maps now.