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

[TF2] Adjustable Damage Falloff/Ramp up


Post New Thread Reply   
 
Thread Tools Display Modes
Author
nergal
Veteran Member
Join Date: Apr 2012
Plugin ID:
3927
Plugin Version:
1.4.1
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    allows server moderators to adjust the damage ramp up and fall off of TF2 weapons
    Old 09-28-2013 , 22:32   [TF2] Adjustable Damage Falloff/Ramp up
    Reply With Quote #1

    This plugin, I made it cuz friagram made me cry, so I made it, with ALOT of help from community and a guy I know.

    this plugin allows server operators to be able to adjust the damage fall off and the damage ramp up for TF2 weapons

    (if any of you guys want me to add other weapons to have separate convars, lemme know)

    NOTICE: IF THERE ARE OTHER PLUGINS LIKE THIS; I'D LIKE IT ESTABLISHED NOW THAT I HAD NO KNOWLEDGE OF EXISTING PLUGINS THAT HAVE THIS FEATURE.

    Changelog
    -v1.4.1 ; updated it for new syntax
    -v1.4.0 ; minor improvements, added plugin advert with adjustable timer via config.
    -v1.0.0 ; release

    Cvars list
    PHP Code:
    // amount of damage fall off Huntsman will have
    // -
    // Default: "100"
    sm_arrow_damagefalloff_percent

    // amount of damage ramp up Huntsman will have
    // -
    // Default: "100"
    sm_arrow_damagerampup_percent

    // amount of damage fall off Loose Cannon will have
    // -
    // Default: "100"
    sm_cannon_damagefalloff_percent

    // amount of damage ramp up Loose Cannon will have
    // -
    // Default: "100"
    sm_cannon_damagerampup_percent

    // amount of damage fall off Flying Guillotine will have
    // -
    // Default: "100"
    sm_cleaver_damagefalloff_percent

    // amount of damage ramp up Flying Guillotine will have
    // -
    // Default: "100"
    sm_cleaver_damagerampup_percent

    // amount of damage fall off Flareguns will have
    // -
    // Default: "100"
    sm_flare_damagefalloff_percent

    // amount of damage ramp up Flareguns will have
    // -
    // Default: "100"
    sm_flare_damagerampup_percent

    // amount of damage fall off Grenade Launchers will have
    // -
    // Default: "100"
    sm_gl_damagefalloff_percent

    // amount of damage ramp up Grenade Launchers will have
    // -
    // Default: "100"
    sm_gl_damagerampup_percent

    // amount of damage fall off Miniguns will have
    // -
    // Default: "50"
    sm_minigun_damagefalloff_percent

    // amount of damage ramp up Miniguns will have
    // -
    // Default: "150"
    sm_minigun_damagerampup_percent

    // amount of damage fall off Pistols will have
    // -
    // Default: "50"
    sm_pistol_damagefalloff_percent

    // amount of damage ramp up Pistols will have
    // -
    // Default: "150"
    sm_pistol_damagerampup_percent

    // amount of damage fall off Pomson 6k will have
    // -
    // Default: "75"
    sm_pomson_damagefalloff_percent

    // amount of damage ramp up Pomson 6k will have
    // -
    // Default: "125"
    sm_pomson_damagerampup_percent

    // amount of damage fall off Shortstop will have
    // -
    // Default: "50"
    sm_primpistol_damagefalloff_percent

    // amount of damage ramp up Shortstop will have
    // -
    // Default: "150"
    sm_primpistol_damagerampup_percent

    // amount of damage fall off Rescue Ranger will have
    // -
    // Default: "50"
    sm_rescue_damagefalloff_percent

    // amount of damage ramp up Rescue Ranger will have
    // -
    // Default: "150"
    sm_rescue_damagerampup_percent

    // amount of damage fall off Revolvers will have
    // -
    // Default: "50"
    sm_revolver_damagefalloff_percent

    // amount of damage ramp up Revolvers will have
    // -
    // Default: "150"
    sm_revolver_damagerampup_percent

    // amount of damage fall off Sniper Rifles will have
    // -
    // Default: "100"
    sm_rifle_damagefalloff_percent

    // amount of damage ramp up Sniper Rifles will have
    // -
    // Default: "100"
    sm_rifle_damagerampup_percent

    // amount of damage fall off Rocket Launcher will have
    // -
    // Default: "53"
    sm_rl_damagefalloff_percent

    // amount of damage ramp up Rocket Launcher will have
    // -
    // Default: "125"
    sm_rl_damagerampup_percent

    // amount of damage fall off Scatterguns will have
    // -
    // Default: "50"
    sm_scattergun_damagefalloff_percent

    // amount of damage ramp up Scatterguns will have
    // -
    // Default: "175"
    sm_scattergun_damagerampup_percent

    // amount of damage fall off Sentries will have
    // -
    // Default: "100"
    sm_sentry_damagefalloff_percent

    // amount of damage ramp up Sentries will have
    // -
    // Default: "100"
    sm_sentry_damagerampup_percent

    // amount of damage fall off Shotguns will have
    // -
    // Default: "50"
    sm_shotgun_damagefalloff_percent

    // amount of damage ramp up Shotguns will have
    // -
    // Default: "150"
    sm_shotgun_damagerampup_percent

    // amount of damage fall off SMGs will have
    // -
    // Default: "50"
    sm_smg_damagefalloff_percent

    // amount of damage ramp up SMGs will have
    // -
    // Default: "150"
    sm_smg_damagerampup_percent

    // amount of damage fall off Stickybomb Launchers will have
    // -
    // Default: "50"
    sm_sticky_damagefalloff_percent

    // amount of damage ramp up Stickybomb Launchers will have
    // -
    // Default: "115"
    sm_sticky_damagerampup_percent

    // amount of damage fall off Syringe Guns will have
    // -
    // Default: "50"
    sm_syringe_damagefalloff_percent

    // amount of damage ramp up Syringe Guns will have
    // -
    // Default: "120"
    sm_syringe_damagerampup_percent 
    Attached Files
    File Type: smx adjust-dist-dmg.smx (14.4 KB, 401 views)
    File Type: sp Get Plugin or Get Source (adjust-dist-dmg.sp - 314 views - 14.9 KB)
    __________________

    Last edited by nergal; 04-21-2015 at 19:32. Reason: more stuff
    nergal is offline
    luki1412
    Veteran Member
    Join Date: Oct 2008
    Location: OnPluginStart()
    Old 10-29-2013 , 20:09   Re: [TF2] Adjustable Damage Falloff/Ramp up
    Reply With Quote #2

    If I understand correctly ... this changes damage of projectile by calculating distances and scaling its damage?
    __________________
    luki1412 is offline
    nergal
    Veteran Member
    Join Date: Apr 2012
    Old 10-30-2013 , 02:29   Re: [TF2] Adjustable Damage Falloff/Ramp up
    Reply With Quote #3

    Quote:
    Originally Posted by luki1412 View Post
    If I understand correctly ... this changes damage of projectile by calculating distances and scaling its damage?
    yes, not just projectiles though, most hitscan as well
    __________________
    nergal is offline
    wimpykid456
    Junior Member
    Join Date: Apr 2015
    Old 04-18-2015 , 17:46   Re: [TF2] Adjustable Damage Falloff/Ramp up
    Reply With Quote #4

    The Sentry rampup and falloff variables don't seem to work.
    wimpykid456 is offline
    nergal
    Veteran Member
    Join Date: Apr 2012
    Old 04-18-2015 , 21:11   Re: [TF2] Adjustable Damage Falloff/Ramp up
    Reply With Quote #5

    Quote:
    Originally Posted by wimpykid456 View Post
    The Sentry rampup and falloff variables don't seem to work.
    i updated the plugin for SM 1.7, try now!
    __________________
    nergal is offline
    wimpykid456
    Junior Member
    Join Date: Apr 2015
    Old 04-18-2015 , 21:35   Re: [TF2] Adjustable Damage Falloff/Ramp up
    Reply With Quote #6

    Quote:
    Originally Posted by nergal View Post
    i updated the plugin for SM 1.7, try now!
    It still doesn't work, and after I downloaded the new smx file, it still said this in the info list. Did you not add the new version?
    wimpykid456 is offline
    nergal
    Veteran Member
    Join Date: Apr 2012
    Old 04-18-2015 , 21:36   Re: [TF2] Adjustable Damage Falloff/Ramp up
    Reply With Quote #7

    Quote:
    Originally Posted by wimpykid456 View Post
    It still doesn't work, and after I downloaded the new smx file, it still said this in the info list. Did you not add the new version?
    the current one on the first post is the new version...

    Any errors or stuff?
    __________________
    nergal is offline
    wimpykid456
    Junior Member
    Join Date: Apr 2015
    Old 04-18-2015 , 21:42   Re: [TF2] Adjustable Damage Falloff/Ramp up
    Reply With Quote #8

    Quote:
    Originally Posted by nergal View Post
    the current one on the first post is the new version...

    Any errors or stuff?
    nope. I restarted the server and that didn't fix it. Edit: It does say unknown command sm_rescue_damagefalloff_percent and unknown command sm_rescue_damagerampup_percent.

    Last edited by wimpykid456; 04-18-2015 at 21:45.
    wimpykid456 is offline
    Chdata
    Veteran Member
    Join Date: Aug 2012
    Location: Computer Chair, Illinois
    Old 04-19-2015 , 01:36   Re: [TF2] Adjustable Damage Falloff/Ramp up
    Reply With Quote #9

    Those are not commands, they're convars, and a good example of why it's bad to name custom convars starting with sm_
    __________________
    Chdata is offline
    nergal
    Veteran Member
    Join Date: Apr 2012
    Old 04-19-2015 , 11:54   Re: [TF2] Adjustable Damage Falloff/Ramp up
    Reply With Quote #10

    Quote:
    Originally Posted by Chdata View Post
    Those are not commands, they're convars, and a good example of why it's bad to name custom convars starting with sm_
    I made this 2 years ago and this is the first plugin i made. \( ͡° ͜ʖ ͡°)/
    __________________
    nergal 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 11:53.


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