Thread: NPC in CS:S
View Single Post
pRED*
Join Date: Dec 2006
Old 05-09-2011 , 04:37   Re: NPC in CS:S
Reply With Quote #17

You shouldn't need to detour anything new.

Modify the CEntity::AcceptEntityInput handler to do what you want. Which I assume is exactly a copy paste of the sdk version, with a fallback (if the prop name isn't found) to the actual CBaseEntity code.

That should be more or less it. The macros to generate datamaps for a CEntity should work directly from the sdk (I think, maybe) and you don't need to do anything special with them. Code left in there to inject them into the CBaseEntity datamap table needs to be deleted, not sure if that's still in there
pRED* is offline