View Single Post
Author Message
Pawn 3-pg
Senior Member
Join Date: Jul 2009
Old 01-16-2010 , 14:08   [TF2] Locker Overheal (v1.1 updated 3/19/10)
Reply With Quote #1

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.
Attached Files
File Type: sp Get Plugin or Get Source (locker_overheal.sp - 2556 views - 5.4 KB)

Last edited by Pawn 3-pg; 03-19-2010 at 22:40.
Pawn 3-pg is offline