A Left 4 Dead 2 plugin for the "Taaannnk!!"-mutation (mutation19). It makes the game more balanced and i hope, some more players would play this addictive gamemode.
Features:- Supports Bot-Tanks, it will always a "4 survivors vs. 4 tanks"-match. (If a spawn limit is set by Valve (the finales of the old campaigns), the tanks will get more health and the spawn time is reduced)
- All Tanks will spawn at the same positions at round start and usually NOT on rochelle's or zoey's head.
- Shows a counter at round start until the tanks are spawning.
- Included some map-files for stripper. Some of the mini-finales were made faster so that the survivor-team is able to reach the end of these maps. - The stripper thing is optional.
- Survivors are able to crawl (okay that was written by valve) to get more points for their team. They are able to kill themself by a defined kill-command then.
- "Shotgun-Mode" means just Shotguns and Big-Guns (Note: better to increase the default hp of the tanks -> l4d2_tanktime_tankhealth)
- A hud to see who is hunting you (survivors) or to see who is the tank in my team and their hp.
Installation & Compiling:
Just copy the files from package to the right folders. Remember: The plugin was written for the Taaank mutation (mutation19) only and not any other game modes.
The Plugin uses the colors plugin written by
exvel, which you can find
here. But you have to use the files from package if you want to compile the plugin. I added some functions for my needs.
ConVars and commands:
PHP Code:
//Spawn time from start in seconds
l4d2_tanktime_spawntime = 15
//Respawn time for each tank in seconds
l4d2_tanktime_respawntime = 30
//Slayme command to kill yourself as incapped survivor
l4d2_tanktime_slaycommand = "!slayme"
// Defines the color of the regular tank if enabled (r,g,b,alpha)
l4d2_tanktime_regulartankcolor = "255 0 0 255"
//Defines a restart command if the game starts too early in the 1st map of a campaign
l4d2_tanktime_autorestart_command = ""
//Sets the health of tank. 0 = default hp on server
l4d2_tanktime_tankhealth = 0
//Spawn limit per round for Big-Guns WHEN the Shotgun-Mode is enabled.
l4d2_tanktime_bigun_limit_per_round = 2
//Sets the flags to enable the avaiable game options
l4d2_tanktime_gameoptions = 55
Sum up these values to enable the game options:
PHP Code:
//Turn On/Off the support from Bots
GO_FLAG_BOTS = 1
//Enables Crawling for incapped survivors
GO_FLAG_CRAWLING = 2
//Enables a HUD (left side) with some information of the tanks in the team or who hunts you as a survivor
GO_FLAG_HUD = 4
// Shows the hp from the tank when getting incapped
GO_FLAG_HEALTH_INFO = 8
// Forces cvars like versus_tank_chance or versus_witch_chance to 1.0 during the game
GO_FLAG_FORCE_SI_SPAWN = 16
// Doesn't allow regular tanks
GO_FLAG_DONT_ALLOW_REGULAR_TANKS = 32
// Enables the Shotgun-Mode. Means, just shotguns are avaiable, but it doesn't touch the melee weapons or other items on map.
GO_FLAG_ENABLE_SHOTGUN_MODE = 64
//Doesn't change tier 1 weapons (pistols) when the shotgun-mode is enabled
GO_FLAG_SGM_IGNORE_TIER_1 = 128
There are two commands which are not registred as convar or as a command.
Type in chat:
- "!slayme" (default) = You can kill yourself while incapacited as a Survivor
- "!ttcfg" = lists the current config of the plugin.
These commands work when the gamemode (tank mutation) is enabled / running.
Translations:
- English version by "Not a native speaker"
- German version by "Mir"
- Spanish Version by "Torpedo - The Legend" (the config menu is currently not translated)
- Polish version by "KurakDarcia"
Recommended Plugins:
Changelog:
01/10/2023 - Version 1.2.3
Compatibility with sourcemod v1.11
02/22/2021 - Version 1.2.2
- The Poll for incapped bots is removed. By using the stripper files you are able to ignore incapped players and can start elevators or generators directly. If you don't want to use stripper just for this single option try the Trigger Multiple Ignore Incapacitated plugin.
- Using the latest syntax plus some improvements.
Note: ALL files have to be updated!