Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin
Archive › Old Forum Threads › Help › Scripting Help › Ham_TakeDamage & Ham_TraceAttack
3 posts, 2 people · 1,169 views Thread Rating: ★★★★★
closedHam_TakeDamage & Ham_TraceAttack
Started by diamond-optic on 01-09-2009, 03:57 AM
diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
01-09-2009, 03:57 AM #1

anyone else mess with these two forwards at all?nnmy dod seems to act all wierd when i use them.. like just printing out hitboxes and damage and whatnot.. they dont always match up with each other (TraceAttack is right before TakeDamage)nnalot of the time i get different damage values for each one.. like traceattack showing 120 dmg, while takedamage and actual dmg done is 90.. but i guess i can sorta understand why the dmg reported would be correct on the takedamage and not the traceattack.. so thats not a big deal i guess...nnbut the wierdest thing i also noticed was just having them registered or something gives me wierd damage amounts.. and not just printed out from the forward.. but the actual damage done in the game itself.. nnlike headshots that are sometimes 500dmg.. then other times 200.. then sometimes 0dmg but they knock the helmet off (with the same weapon)nnor a kar shot from 2 ft away doing 33.7345632 damage ...or 67.3424562 damagenand just wierd numbers like that you never normally see..nni also just noticed that a player had 100hp.. i got a shot that said 14.#### damage, the amxx bullet dmg stats hud msg said 14dmg, but the player now has 41hp left... wtf lol, im not even 'changing' anything.. just registering the forwards and doing some client prints...

Dr.G
posted here
Posts: 776
Threads: 75
Joined: Nov 2007
01-09-2009, 05:57 AM #2

well i havent played around with Ham_TakeDamage & Ham_TraceAttack, but overall the damage thing is acting stange i think... iam not sure its just a Ham thing...

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
01-09-2009, 10:52 PM #3

for some reason.. it seems fine today lol.. idk maybe my pc was just messing with me last nightnni did manage to use these to really screw up my stats lol.. after playing for like an hour i managed to end up with over 2 billion damage.. and so did a few other players.. luckily i was able to fix that, roughly speaking.. nnbut in any case, these seem to be working better for me today lol

Archive › Old Forum Threads › Help › Scripting Help › Ham_TakeDamage & Ham_TraceAttack
DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC