Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » HS only mod!!!
Re: HS only mod!!! [message #218609 is a reply to message #218569] Sun, 10 September 2006 19:13 Go to previous messageGo to next message
Ivan275 is currently offline  Ivan275
Messages: 41
Registered: August 2006
Karma: 0
Recruit
Cat998 wrote on Sun, 10 September 2006 15:28

Let's say a player has 40 HP left and a headshot makes 1000 damage.
This player gets killed by a headshot and it tells you that this shot did 40 HP damage on him.
How would you know if it was a headshot or just a normal bodyshot ?
that is a good point, but considering this will be a sniper server there are only 4 ways to get a player to 40HP. All easily fixable.
1-2 c4/pistol(remove c4's/pistol from game because on a sniper server you don't need them, and some sniper servers have them removed anyways)
3 falling damage(falling damage will need to be removed or increased to instant death)
4 tibirium damage (damage will have to be set to 0 or all player skin charged to chem skin)

PS there is still a function called "Get_Damage_Bone_Name" which may be all that "nowud13" needs.
Re: HS only mod!!! [message #218612 is a reply to message #218055] Sun, 10 September 2006 19:14 Go to previous messageGo to next message
Matix is currently offline  Matix
Messages: 128
Registered: July 2006
Karma: 0
Recruit
Well, that would be quite resonable if it was server-side, if it's client side, its called "h4x0rz"

http://neronhost.com/images/logo.gif

[Updated on: Sun, 10 September 2006 19:14]

Report message to a moderator

Re: HS only mod!!! [message #218692 is a reply to message #218609] Mon, 11 September 2006 07:30 Go to previous messageGo to next message
MrC is currently offline  MrC
Messages: 37
Registered: September 2005
Karma: 0
Recruit
Ivan275 wrote on Sun, 10 September 2006 22:13

Cat998 wrote on Sun, 10 September 2006 15:28

Let's say a player has 40 HP left and a headshot makes 1000 damage.
This player gets killed by a headshot and it tells you that this shot did 40 HP damage on him.
How would you know if it was a headshot or just a normal bodyshot ?
that is a good point, but considering this will be a sniper server there are only 4 ways to get a player to 40HP. All easily fixable.
1-2 c4/pistol(remove c4's/pistol from game because on a sniper server you don't need them, and some sniper servers have them removed anyways)
3 falling damage(falling damage will need to be removed or increased to instant death)
4 tibirium damage (damage will have to be set to 0 or all player skin charged to chem skin)

PS there is still a function called "Get_Damage_Bone_Name" which may be all that "nowud13" needs.


Where can i find that Get_Damage_Bone_Name??? level edit scripting? etc.?

Oh and matix it will be server sided and its not hax its the other side of hax cos ur making it harder for everybody Very Happy

[Updated on: Mon, 11 September 2006 07:31]

Report message to a moderator

Re: HS only mod!!! [message #218772 is a reply to message #218692] Mon, 11 September 2006 12:14 Go to previous messageGo to next message
Ivan275 is currently offline  Ivan275
Messages: 41
Registered: August 2006
Karma: 0
Recruit
get_damage_bone_name is in the scripts, scripts.h file i think, but i have no idea how to use it, the function takes no parameters so i don't know how it would know what object i want to get the damage bone from. I quickly tried it last night it but it didn't return any thing...

your best bet for now is to do the scriot change i sugested a few posts ago.

[Updated on: Mon, 11 September 2006 12:17]

Report message to a moderator

Re: HS only mod!!! [message #218820 is a reply to message #218055] Mon, 11 September 2006 14:37 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

The get_damage_bone is not the function you're looking for. It seems to return some variable/constant and nothing more... The function you're looking for does not exist, as the client basically sends the damage, and not the position of the shot. The damage the client sends is already multiplied by the client, so it is not possible to determine that (unless you're counting the damage like suggested elsewhere).
Detecting headshots is not possible from the server side.


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: HS only mod!!! [message #218911 is a reply to message #218055] Tue, 12 September 2006 03:39 Go to previous message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

Like I said... but some people seem to know it better Sarcasm

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter then "Yes"

Programming is like sex: one mistake and you have to support it for the rest of your life

Want the best answers? Ask the best questions!

"So long, and thanks for all the fish."
Previous Topic: Renegade help needs you!
Next Topic: AI Bots Server Side
Goto Forum:
  


Current Time: Wed Aug 14 00:55:53 MST 2024

Total time taken to generate the page: 0.00760 seconds