Damage -
Glimma - 11.02.2013
What is the damage by default or default of the coup d'йtat melee with the butt of a gun?
What is 2.64 ?
Re: Damage -
LarzI - 11.02.2013
.. Huh?
Respuesta: Damage -
Glimma - 11.02.2013
What is the recoil damage with a firearm in the singleplayer?
With recoil I mean a melee hit with the butt of a gun.
In other words, my question is, what is the exact damage when striking with the back of a gun with bullets?
Re: Damage - T0pAz - 11.02.2013
Well, can you explain it more clearly? From what you've said, it seems that you are asking a melee weapon hit the butt of a gun which makes no sense.
Re: Damage -
new121 - 11.02.2013
What he is asking is what is the default damage when a player is standing to close to another player to shoot them, in wich point you get put in an elbow animation. I am not sure what the exact damage amount is, but you could simply test it with OnPlayerTakeDamage.
Respuesta: Damage -
Glimma - 11.02.2013
T0pAz, you do not understand what I mean. When you have a weapon, you can shoot, but if you move closer, you can hit with the butt of the gun, then I would like to know exactly what is the harm in such a precise and accurate shot.
Re: Respuesta: Damage - T0pAz - 11.02.2013
Quote:
Originally Posted by DeadSkyTkb
T0pAz, you do not understand what I mean. When you have a weapon, you can shoot, but if you move closer, you can hit with the butt of the gun, then I would like to know exactly what is the harm in such a precise and accurate shot.
|
I get it now. It shouldn't be hard to find. Make use of the OnPlayerTakeDamage callback and print out the damage loss from that hit. Not sure if it depends on each individual weapon but you can try testing it out and find out by yourself.
Respuesta: Damage -
Glimma - 11.02.2013
The problem is that I have a script with OnPlayerTakeDamage well, the damage appears in message TextDraw and printf, but not the point, because it does not give you the exact damage, ie gives me 2 but not 2, is 2 and decimals, how do I get the decimal?
Re: Respuesta: Damage - T0pAz - 11.02.2013
Quote:
Originally Posted by DeadSkyTkb
The problem is that I have a script with OnPlayerTakeDamage well, the damage appears in message TextDraw and printf, but not the point, because it does not give you the exact damage, ie gives me 2 but not 2, is 2 and decimals, how do I get the decimal?
|
It should. Make sure you are using
%f instead of
%d
Respuesta: Damage -
Glimma - 11.02.2013
I changed the %f with %d, and now, instead of appearing 2 to hit with the weapon appears 111018701 ...