AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Adjustable Damage Falloff/Ramp up (https://forums.alliedmods.net/showthread.php?t=227237)

nergal 09-28-2013 22:32

[TF2] Adjustable Damage Falloff/Ramp up
 
2 Attachment(s)
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 


luki1412 10-29-2013 20:09

Re: [TF2] Adjustable Damage Falloff/Ramp up
 
If I understand correctly ... this changes damage of projectile by calculating distances and scaling its damage?

nergal 10-30-2013 02:29

Re: [TF2] Adjustable Damage Falloff/Ramp up
 
Quote:

Originally Posted by luki1412 (Post 2054390)
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

wimpykid456 04-18-2015 17:46

Re: [TF2] Adjustable Damage Falloff/Ramp up
 
The Sentry rampup and falloff variables don't seem to work.

nergal 04-18-2015 21:11

Re: [TF2] Adjustable Damage Falloff/Ramp up
 
Quote:

Originally Posted by wimpykid456 (Post 2287755)
The Sentry rampup and falloff variables don't seem to work.

i updated the plugin for SM 1.7, try now!

wimpykid456 04-18-2015 21:35

Re: [TF2] Adjustable Damage Falloff/Ramp up
 
Quote:

Originally Posted by nergal (Post 2287796)
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?

nergal 04-18-2015 21:36

Re: [TF2] Adjustable Damage Falloff/Ramp up
 
Quote:

Originally Posted by wimpykid456 (Post 2287799)
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?

wimpykid456 04-18-2015 21:42

Re: [TF2] Adjustable Damage Falloff/Ramp up
 
Quote:

Originally Posted by nergal (Post 2287800)
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.

Chdata 04-19-2015 01:36

Re: [TF2] Adjustable Damage Falloff/Ramp up
 
Those are not commands, they're convars, and a good example of why it's bad to name custom convars starting with sm_

nergal 04-19-2015 11:54

Re: [TF2] Adjustable Damage Falloff/Ramp up
 
Quote:

Originally Posted by Chdata (Post 2287820)
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. \( ͡° ͜ʖ ͡°)/


All times are GMT -4. The time now is 22:34.

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