Raised This Month: $51 Target: $400
 12% 

[TF2] Changing the Sniper's "headshot" damage.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cooltad
Veteran Member
Join Date: Apr 2008
Old 06-26-2008 , 20:41   [TF2] Changing the Sniper's "headshot" damage.
Reply With Quote #1

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?
Cooltad is offline
chundo
Senior Member
Join Date: May 2008
Old 06-29-2008 , 04:47   Re: [TF2] Changing the Sniper's "headshot" damage.
Reply With Quote #2

Can't you block/modify the "player_hurt" or "player_death" event in a plugin?
__________________
chundo is offline
Cooltad
Veteran Member
Join Date: Apr 2008
Old 06-29-2008 , 20:22   Re: [TF2] Changing the Sniper's "headshot" damage.
Reply With Quote #3

I don't do plugins so..
Cooltad is offline
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 06-29-2008 , 20:57   Re: [TF2] Changing the Sniper's "headshot" damage.
Reply With Quote #4

Take a look at the Hooker extension.

You can hook HK_OnTakeDamage and change the damage dealt.
Greyscale is offline
Cooltad
Veteran Member
Join Date: Apr 2008
Old 06-29-2008 , 22:10   Re: [TF2] Changing the Sniper's "headshot" damage.
Reply With Quote #5

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.

Last edited by Cooltad; 06-30-2008 at 12:15.
Cooltad is offline
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 06-30-2008 , 13:33   Re: [TF2] Changing the Sniper's "headshot" damage.
Reply With Quote #6

I haven't seen any other way to modify damage
Greyscale is offline
DeviusCreed
Junior Member
Join Date: Dec 2006
Old 07-01-2008 , 18:27   Re: [TF2] Changing the Sniper's "headshot" damage.
Reply With Quote #7

Are you trying to lower the damage amount it inflicts? or increase it?
DeviusCreed is offline
Cooltad
Veteran Member
Join Date: Apr 2008
Old 07-01-2008 , 18:32   Re: [TF2] Changing the Sniper's "headshot" damage.
Reply With Quote #8

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).
Cooltad is offline
Dragonshadow
BANNED
Join Date: Jun 2008
Old 07-03-2008 , 10:00   Re: [TF2] Changing the Sniper's "headshot" damage.
Reply With Quote #9

I read that the sniper rifle's crit damage is hardcoded into valve's stuff, so you can't change it at all.
Dragonshadow is offline
Neo Cool Dude
Member
Join Date: Apr 2008
Old 07-04-2008 , 10:44   Re: [TF2] Changing the Sniper's "headshot" damage.
Reply With Quote #10

Could you just lower the normal damage a sniper rifle shot did? (Since a crit multiplies the original damage.)
Neo Cool Dude is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode