Skip to content

Medic Ability

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

Purpose

The Mutant Tank heals special infected upon death.

Requirements

Requires mt_medic.smx to be installed.

Settings

"Mutant Tanks"
{
	"Tank #1"
	{
		// The Mutant Tank heals special infected upon death.
		// Requires "mt_medic.smx" to be installed.
		"Medic 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"				""

			// 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 Mutant Tank's ability effects last this long.
			// Note: This setting does not affect human-controlled Mutant Tanks unless the "Human Mode" setting is set to 0.
			// Note: This setting can be overridden for specific players.
			// --
			// Minimum: 1
			// Maximum: 999999
			"Human Duration"			"5"

			// The mode of how human-controlled Mutant Tanks activate their abilities.
			// Note: This setting does not apply to the upon-death ability.
			// Note: This setting can be overridden for specific players.
			// --
			// 0: Press buttons to activate corresponding abilities. Cooldown starts after ability's duration ends.
			// 1: Hold down buttons to keep corresponding abilities activated. Cooldown starts after the player lets go of the buttons.
			"Human Mode"				"1"

			// 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 can be overridden for specific players.
			// --
			// 0: OFF
			// 1: ON, the Mutant Tank can heal nearby special infected upon death.
			// 2: ON, the Mutant Tank can heal nearby special infected periodically.
			// 3: ON, the Mutant Tank can do both.
			"Ability Enabled"			"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 "Ability Enabled" is set to 1 or 3.
			// 2: Display message only when "Ability Enabled" is set to 2 or 3.
			"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)
			"Medic Chance"				"33.3"

			// The Mutant Tank gives special infected this much health each time.
			// Note: This setting can be overridden for specific players.
			// --
			// Minimum: -65535
			// Maximum: 65535
			// --
			// Positive numbers: Current health + Medic health
			// Negative numbers: Current health - Medic health
			// --
			// 1st number = Health given to Smokers.
			// 2nd number = Health given to Boomers.
			// 3rd number = Health given to Hunters.
			// 4th number = Health given to Spitters.
			// 5th number = Health given to Jockeys.
			// 6th number = Health given to Chargers.
			// 7th number = Health given to Tanks.
			"Medic Health"				"25,25,25,25,25,25,25"

			// The Mutant Tank heals nearby special infected every time this many seconds passes.
			// Note: This setting can be overridden for specific players.
			// --
			// Minimum: 0.1
			// Maximum: 999999.0
			"Medic Interval"			"5.0"

			// The special infected's max health.
			// Note: The Mutant Tank will not heal special infected if they already have this much health.
			// Note: This setting can be overridden for specific players.
			// --
			// Minimum: 1
			// Maximum: 65535
			// --
			// 1st number = Smoker's maximum health.
			// 2nd number = Boomer's maximum health.
			// 3rd number = Hunter's maximum health.
			// 4th number = Spitter's maximum health.
			// 5th number = Jockey's maximum health.
			// 6th number = Charger's maximum health.
			// 7th number = Tank's maximum health.
			"Medic Max Health"			"250,50,250,100,325,600,8000"

			// 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)
			"Medic Range"				"500.0"
		}
	}
}

Example Format/Usage

"Mutant Tanks"
{
	"Tank #1"
	{
		"Medic Ability"
		{
			"Human Ability"				"2"
			"Human Ammo"				"2"
			"Human Cooldown"			"120"
			"Human Duration"			"6"
			"Ability Enabled"			"3"
			"Ability Message"			"0"
			"Medic Chance"				"100.0"
			"Medic Health"				"25,25,25,25,25,25,25"
			"Medic Interval"			"5.0"
			"Medic Max Health"			"250,50,250,100,325,600,10000"
			"Medic Range"				"500.0"
		}
	}
}

Tips/Strategies

Solo

Under construction...

Multiplayer

Under construction...

Clone this wiki locally