View Single Post
showdax
Senior Member
Join Date: Dec 2004
Old 12-13-2005 , 08:40  
Reply With Quote #6

Well I don't care how it gets done, I just want to override what some functions do. And what I mean by dynamically is that I'd like this to work for as many mods as possible, without seperate binaries. And ideally I wouldn't need to update it if there were a change to any of the classes, the plugin would figure it out, or at the very least there could be some sort of text file that the plugin reads when it loads that describes the class's layout.

Specifically though, I want to override CBaseEntity::OnTakeDamage() and make it return 0 for a god mode-related command. I also want to hook weapon-related functions so I can do weapon restrictions (forcing someone to drop a restricted weapon of they pick it up, switch to it, etc.)
showdax is offline
Send a message via MSN to showdax