Skip to content

Clone Ability

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

Purpose

The Mutant Tank creates clones of itself.

Requirements

Requires mt_clone.smx to be installed.

Settings

"Mutant Tanks"
{
	"Tank #1"
	{
		// The Mutant Tank creates clones of itself.
		// Requires "mt_clone.smx" to be installed.
		"Clone 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 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
			"Ability Enabled"			"0"

			// Display a message whenever the ability activates/deactivates.
			// Note: This setting can be overridden for specific players.
			// --
			// 0: OFF
			// 1: ON
			"Ability Message"			"0"

			// The amount of clones the Mutant Tank can create.
			// Note: This setting can be overridden for specific players.
			// --
			// Minimum: 1
			// Maximum: 15
			"Clone Amount"				"2"

			// 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)
			"Clone Chance"				"33.3"

			// The Mutant Tank's clone's health.
			// Note: This setting can be overridden for specific players.
			// --
			// Minimum: 1
			// Maximum: 65535
			"Clone Health"				"1000"

			// The Mutant Tank's clone will be treated as a real Mutant Tank.
			// Note: Clones cannot clone themselves for obvious safety reasons.
			// Note: This setting can be overridden for specific players.
			// --
			// 0: OFF, the clone cannot use abilities like real Mutant Tanks.
			// 1: ON, the clone can use abilities like real Mutant Tanks.
			"Clone Mode"				"0"

			// The Mutant Tank's clones are replaced with new ones when they die.
			// Note: This setting can be overridden for specific players.
			// --
			// 0: OFF
			// 1: ON
			"Clone Replace"				"1"

			// The type of the Mutant Tank's clone.
			// Note: Chosen types that also have the Clone ability will be replaced with the Mutant Tank's own type to prevent bugs.
			// Note: This setting can be overridden for specific players.
			// --
			// Separate values with "-".
			// --
			// Value limit: 2
			// Character limit for each value: 4
			// --
			// Minimum number for each value: 0 (OFF)
			// Maximum number for each value: 1000
			// --
			// 1st number = Minimum value
			// 2nd number = Maximum value
			// --
			// 0: OFF, use the randomization feature.
			// 1-1000: ON, the type of the clone.
			"Clone Type"				"0-0"
		}
	}
}

Example Format/Usage

"Mutant Tanks"
{
	"Tank #1"
	{
		"Clone Ability"
		{
			"Human Ability"				"2"
			"Human Ammo"				"2"
			"Human Cooldown"			"120"
			"Ability Enabled"			"1"
			"Ability Message"			"0"
			"Clone Amount"				"1"
			"Clone Chance"				"100.0"
			"Clone Health"				"1000"
			"Clone Replace"				"1"
			"Clone Type"				"0-0"
		}
	}
}

Tips/Strategies

Solo

Under construction...

Multiplayer

Under construction...

Clone this wiki locally