[TF2] HungerGames - Kill the President
Description:
This plugin allows the administrators to 'break' the daily routine gamemod by running this minigame.
When enabling the minigame, 1 random player from each team becomes the president. He gains thousands of health points (depends on the amount of players in the opposite team) but can only play with his melee weapon, any other players will be regenerated every 30 seconds by default. The objective is to kill the competing president by any means necessary. Switching teams ability is blocked during the minigame.
NOTES: Backstab damage equals to 1/3 of the president's current health. This part of code was taken from the official FF2.
I recommend running this plugin only in an
official gamemod server.
ConVars:
- sm_hg_waittime - Amount of seconds to settle down before the minigame starts. (default: 5)
- sm_hg_supplytime - Normal player will receive ammo every X seconds. (default: 30)
- sm_hg_presidenthp - President's HP multiplier (X * amount of players in the opposite team). (default: 1000)
Commands:
- sm_president - Command for admins to enable/disable the minigame (default flag: CHEATS).
Installation:
- Make sure you have MoreColors.inc installed on your server.
- Place the .smx file in addons/sourcemod/plugins
- Reload the map and enjoy!
Changelog:
Code:
1.0 - Initial Release