Skip to content

Restart Ability

Alfred Llagas edited this page Oct 20, 2020 · 11 revisions

Purpose

The Mutant Tank forces survivors to restart at the beginning of the map or near a teammate with a new loadout.

Requirements

  • Requires mt_restart.smx to be installed.
  • Requires Left 4 DHooks to be installed.

Settings

"Mutant Tanks"
{
	"Tank #1"
	{
		// The Mutant Tank forces survivors to restart at the beginning of the map or near a teammate with a new loadout.
		// "Ability Enabled" - When a survivor is within range of the Mutant Tank, the survivor respawns at the start of the map or near a teammate.
		// - "Restart Range"
		// - "Restart Range Chance"
		// "Restart Hit" - When a survivor is hit by the Mutant Tank's claw or rock, or a survivor hits the Mutant Tank with a melee weapon, the survivor respawns at the start of the map or near a teammate.
		// - "Restart Chance"
		// - "Restart Hit Mode"
		// Requires "mt_restart.smx" to be installed.
		// Requires Left 4 DHooks to be installed.
		"Restart Ability"
		{
			// Admins with one or more of these access flags have access to this ability.
			// --
			// Empty: No access flags are immune.
			// Not empty: These access flags are immune.
			"Access Flags"				""

			// Admins with one or more of these immunity flags are immune to this ability's effects.
			// Note: If the Mutant Tank has one or more of these immunity flags or has the same immunity flags as the survivor victim, the immunity is cancelled.
			// --
			// Empty: No immunity flags are immune.
			// Not empty: These immunity flags are immune.
			"Immunity Flags"			""

			// Allow human-controlled Mutant Tanks to use this ability.
			// Note: This setting can be overridden for specific players.
			// --
			// 0: OFF
			// 1: ON, players can use buttons to activate abilities.
			// 2: ON, abilities will activate automatically.
			"Human Ability"				"0"

			// Determines how many times human-controlled Mutant Tanks can use their abilities in one life.
			// Note: This setting can be overridden for specific players.
			// --
			// Minimum: 0
			// Maximum: 999999
			"Human Ammo"				"5"

			// Human-controlled Mutant Tanks must wait this long before using their abilities again.
			// Note: This setting can be overridden for specific players.
			// --
			// Minimum: 0
			// Maximum: 999999
			"Human Cooldown"			"30"

			// The ability is only effective toward human survivors.
			// Note: This setting can be overridden for specific players.
			// --
			// Minimum: 0
			// Maximum: 32
			// --
			// 0: OFF
			// 1-32: ON, the number of human survivors required to be present for this ability to be effective.
			"Requires Humans"			"0"

			// Enable this ability.
			// Note: This setting does not affect the "Restart Hit" setting.
			// Note: This setting can be overridden for specific players.
			// --
			// 0: OFF
			// 1: ON
			"Ability Enabled"			"0"

			// Show a screen fade effect when the Mutant Tank uses its abilities.
			// Note: The colors will randomly change between the colors set in the "Skin Color" and "Glow Color" settings.
			// Note: This setting can be overridden for specific players.
			// --
			// Add up numbers together for different results.
			// --
			// Minimum: 0
			// Maximum: 7
			// --
			// 0: OFF
			// 1: Show effect when the Mutant Tank uses its claw/rock attack.
			// 2: Show effect when the Mutant Tank is hit by a melee weapon.
			// 4: Show effect when the Mutant Tank uses its range ability.
			"Ability Effect"			"0"

			// Display a message whenever the ability activates/deactivates.
			// Note: This setting can be overridden for specific players.
			// --
			// Add up numbers together for different results.
			// --
			// Minimum: 0
			// Maximum: 3
			// --
			// 0: OFF
			// 1: Display message only when "Restart Hit" is enabled.
			// 2: Display message only when "Ability Enabled" is enabled.
			"Ability Message"			"0"

			// The Mutant Tank has this many chances out of 100.0% to trigger the ability.
			// Note: This setting can be overridden for specific players.
			// --
			// Minimum: 0.0 (No chance)
			// Maximum: 100.0 (Highest chance)
			"Restart Chance"			"33.3"

			// Enable the Mutant Tank's claw/rock attack.
			// Note: This setting can be overridden for specific players.
			// --
			// 0: OFF
			// 1: ON
			"Restart Hit"				"0"

			// The mode of the Mutant Tank's claw/rock attack.
			// Note: This setting can be overridden for specific players.
			// --
			// 0: Both
			// 1: Ability activates when the Mutant Tank hits a survivor.
			// 2: Ability activates when the Mutant Tank is hit by a survivor.
			"Restart Hit Mode"			"0"

			// The Mutant Tank makes survivors restart with this loadout.
			// Note: This setting can be overridden for specific players.
			// --
			// Item limit: 5
			// Character limit for each item: 64
			// --
			// Example: "smg_silenced,pistol,adrenaline,defibrillator"
			// Example: "katana,pain_pills,vomitjar"
			// Example: "firmt_aid_kit,defibrillator,knife,adrenaline"
			"Restart Loadout"			"smg,pistol,pain_pills"

			// The mode of the Mutant Tank's restart ability.
			// Note: This setting can be overridden for specific players.
			// --
			// 0: Survivors are teleported to the spawn area.
			// 1: Survivors are teleported to another teammate.
			"Restart Mode"				"1"

			// The distance between a survivor and the Mutant Tank needed to trigger the ability.
			// Note: This setting can be overridden for specific players.
			// --
			// Minimum: 1.0 (Closest)
			// Maximum: 999999.0 (Farthest)
			"Restart Range"				"150.0"

			// The Mutant Tank has this many chances out of 100.0% to trigger the range ability.
			// Note: This setting can be overridden for specific players.
			// --
			// Minimum: 0.0 (No chance)
			// Maximum: 100.0 (Highest chance)
			"Restart Range Chance"			"15.0"
		}
	}
}

Example Format/Usage

"Mutant Tanks"
{
	"Tank #1"
	{
		"Restart Ability"
		{
			"Human Ability"				"2"
			"Human Ammo"				"2"
			"Human Cooldown"			"120"
			"Ability Enabled"			"1"
			"Ability Effect"			"7"
			"Ability Message"			"0"
			"Restart Chance"			"33.3"
			"Restart Hit"				"1"
			"Restart Hit Mode"			"0"
			"Restart Loadout"			"smg,pistol,pain_pills"
			"Restart Mode"				"1"
			"Restart Range"				"150.0"
			"Restart Range Chance"			"15.0"
		}
	}
}

Tips/Strategies

Solo

Under construction...

Multiplayer

Under construction...

Clone this wiki locally