Re: cs weapons modification -
09-09-2005
So, I had a look at the log which PMTools was spitting out.
Since I didn't know which message to hook into, I had to change the source code a little to have it hook into every message. I didn't find a way to tell PMTools to log just any message. But nevertheless.
What I found is that there seems no special message associated with the detonation of a HE grenade. The only message I got was a "Damage" message since I dropped the nade directly in front of me. Hmmm .....
Well, but if I can get a "Damage" message for an entity, might it be possible to determine the damage inflictor, and if the inflictor is a HE grenade, just modify the damage/health of the respective entity ?
Input more than welcome.
botuser
|