[TF2] Locker Overheal (v1.1 updated 3/19/10)
1 Attachment(s)
Locker Overheal
Version 1.1 - March 19, 2010 Sets a player's health to 150% when touching a resupply locker in spawn. The health boost drains away just like the overheal from a medic's medigun. Cvars: sm_locker_overheal_enabled - 1/0 Uses the default TF2 Cvars for the medigun for the max overheal and decay duration: sm_cvar tf_max_health_boost (default 1.5) for the max overheal sm_cvar tf_boost_drain_time (default 15 seconds) for the duration Commands: None Many thanks to CrancK for his help with this. |
Re: [TF2] Locker Overheal
Nice work. I was wondering how you were going to make health decay since it doesnt do that anymore. Looks like you just create a timer and use the stock cvar values for the values and subtract it. (I need to do this for one of my plugins as well)
|
Re: [TF2] Locker Overheal
sweet thanks for this
|
Re: [TF2] Locker Overheal
Plugin works great!! Anybody else having problems executing the cvars?? SM 1.3, MM 1.8
|
Re: [TF2] Locker Overheal
Quote:
|
Re: [TF2] Locker Overheal
@Pawn 3-pg
It looks like you forgot to tag bPluginEnabled as a bool on line 20 since you use it as one. Also, it would be wiser to pass userid instead of client index through timers because one user could disconnect and another user connect and get same client index during the duration of the timer. In addition, some slight optimization tips: You can use Sourcemod's built-in MaxPlayers constant instead of making a call to the GetMaxPlayers() native. You can use decl instead of new on your arrays (Strings and vectors) since you populate them with data before doing any other operations with them. |
Re: [TF2] Locker Overheal
any chance to make this admin only... i would like to add something like this to the list of perks donators receive on my servers..
|
Re: [TF2] Locker Overheal
Quote:
|
Re: [TF2] Locker Overheal (v1.1 updated 3/19/10)
Kind-of-a-bump!
This plugin is not working for me. Any chances of updating? Edit: Its not that i've not tested it before many times, 'cos I have, but after installing "Rocket Bounce" and sdkhooks needed for that, the Locker Overheal was working after restart. |
Re: [TF2] Locker Overheal (v1.1 updated 3/19/10)
needs fixing... bugged... its not always overhealing and spams error messages
|
All times are GMT -4. The time now is 00:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.