[TF2] Changing the Sniper's "headshot" damage.
I severely need to know how to do this as the sniper needs to be better balanced on my crit server. Its the last class that needs balancing.
I checked cvars and found nothing. Is there any way like one of the server-side files for instance? |
Re: [TF2] Changing the Sniper's "headshot" damage.
Can't you block/modify the "player_hurt" or "player_death" event in a plugin?
|
Re: [TF2] Changing the Sniper's "headshot" damage.
I don't do plugins so..
|
Re: [TF2] Changing the Sniper's "headshot" damage.
Take a look at the Hooker extension.
You can hook HK_OnTakeDamage and change the damage dealt. |
Re: [TF2] Changing the Sniper's "headshot" damage.
I think a plugin request is in order. =D
Edit: The hooker extention's HK_OnTakeDamage does not work, as stated so in it's thread. Is there any way other than a plugin to change how much damage is done when its a critical hit for the sniper rifle? I tried editing sniperrifle.ctx and changed the 'damage' from 4 to 1 but that had no effect at all. |
Re: [TF2] Changing the Sniper's "headshot" damage.
I haven't seen any other way to modify damage :|
|
Re: [TF2] Changing the Sniper's "headshot" damage.
Are you trying to lower the damage amount it inflicts? or increase it?
|
Re: [TF2] Changing the Sniper's "headshot" damage.
I'm trying to lower the damage amount "headshots" increase, as that is the only time the sniper crits; on my all-crit server (where i try to do class balancing) the sniper is always way overpowered because it always gets crits and those crits are very very powerful.
So yes, I wish to decrease the damage scale on the sniperrifle's crits to probly either .75 of what it is normally or .5 (50% or half). |
Re: [TF2] Changing the Sniper's "headshot" damage.
I read that the sniper rifle's crit damage is hardcoded into valve's stuff, so you can't change it at all.
|
Re: [TF2] Changing the Sniper's "headshot" damage.
Could you just lower the normal damage a sniper rifle shot did? (Since a crit multiplies the original damage.)
|
Re: [TF2] Changing the Sniper's "headshot" damage.
My problem is solved actually. Devious Creed had the kindness to make a plugin for me that takes care of it. Please give him some rep. :]
|
Re: [TF2] Changing the Sniper's "headshot" damage.
Could you post this plugin?
|
Re: [TF2] Changing the Sniper's "headshot" damage.
PM DeviousCreed for it.
|
| All times are GMT -4. The time now is 18:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.