Raised This Month: $ Target: $400
 0% 

NPC in CS:S


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:49.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode