Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Get_Damage_Bone_Name (Confirmed working in 3.4 not in 4.0)
Get_Damage_Bone_Name [message #472062] Sat, 21 July 2012 17:02 Go to next message
Distrbd21 is currently offline  Distrbd21
Messages: 743
Registered: September 2008
Karma: 0
Colonel

The maker of the Build server I host, is using Get_Damage_Bone_Name in his coding.

I tried to use it in 4.0 with the tt damage hook, in ssgm and it does not work.

What it does and should do in 4.0 is.

when you check for a certain bone that is damaged or by other means, "eg w/e you want it to do".

Like say if you have it on damage, it should then check to see what bone you want it to check for then do the rest of your code.

just saying...

It is confirmed working in 3.4, but broken in 4.0.

EDIT: TBH it can be used for a lot of things, one being someone could use it to detect damage hacks. but I think bitach does that, or even TT, but how? if they don't check the bone shot and how much damage it should take compared to what the player shooting it is doing. js=Just saying


Live Your Life Not Some one Else's.| Sharing Is Caring

http://dsgaming.us/distrbd21/Distrbd21%20siggy.png

Cookie Jar

Suicide

[Updated on: Sat, 21 July 2012 17:09]

Report message to a moderator

Re: Get_Damage_Bone_Name [message #472068 is a reply to message #472062] Sat, 21 July 2012 21:56 Go to previous message
Whitedragon is currently offline  Whitedragon
Messages: 832
Registered: February 2003
Location: California
Karma: 1
Colonel
Commands->Get_Damage_Bone_Name has never worked properly server side, though it may sometimes appear to. What it does is return the bone that the projectile hit on the server, as opposed to the bone the client hit; sometimes these will match up, but generally they don't. And since the client is the one that determines damage this function is mostly useless.

If you need to get the damage bone use the TT damage hook. You can also guess it from the stock damage hook by comparing damage values to a table.


Black-Cell.net
Network Administrator (2003 - )

DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )

Dragonade, Renegade's first server side modification
Lead coder (2005 - )
Previous Topic: !para
Next Topic: TTW intro video
Goto Forum:
  


Current Time: Wed Dec 18 01:59:40 MST 2024

Total time taken to generate the page: 0.00741 seconds