I wrote this little plugin for a friend of mine to do a BETTER job of increasing the tank hp on his 16 player vs server. With 6k hp the tank was just getting shredded in under 10 seconds. Then I added hardmode & count dead survivors for you HardMode freaks (
)
It should support multiple tanks, as it does a check when a tank dies to see if any other clients are tanks.
I commented it as well as I could with whatever terminology fit in my head at the time (container... lol...)
Cvars:
l4d_st_enable
Description: Enable SuperTank | 1 = on, 0 = off
Default: 1
l4d_st_announce
Description: Announce Increased Tank HP on Tank Spawn | 1 = on, 0 = off
Default: 1
l4d_st_hardmode
Description: Increase Tank HP with Default Survivor Count (4) | 1 = on, 0 = off
Default: 0
l4d_st_countdead
Description: Count Dead Survivors In HP Calculation? | 1 = on, 0 = off
Default: 0
l4d_st_aamount
Description: HP To Add Per Extra Survivor | 2000.0 Will Add 2000 HP Per Extra Survivor
Default: 1250.0
l4d_st_mamount
Description: HP Multiplier | .10 Gains a Tenth of Normal HP (1200) Per Extra Survivor)
Default: 0.10
l4d_st_hptype
Description: Add = 1 | Multiply = 2
Default: 1
--
It should autowrite its configs to supertank.cfg in the cfg/sourcemod/ folder.
ToDo:
Optionally reduce tank hp if there are less than 4 survivors alive
Credits:
Uhm... Uhh... Will fill in tomorrow
--
To be honest this does still need to be tested to make sure it works.