Skip to content

Zombie Ability

Alfred Llagas edited this page Jul 4, 2021 · 7 revisions

Purpose

The Mutant Tank spawns zombies.

Requirements

Requires mt_abilities2.smx to be compiled with mt_zombie.sp to work.

Settings

// Admins with one or more of these access flags have access to this ability.
// Note: This setting can be overridden for specific players.
// --
// Empty: No access flags have access.
// Not empty: These access flags have access.
"Access Flags"				""

// Use this ability in conjunction with other abilities.
// Note: Only use this when "Spawn Type" is set to "4" for the Mutant Tank.
// Note: This setting does not affect human-controlled Mutant Tanks unless the "Human Ability" setting is set to "2".
// Note: This setting can be overridden for specific players.
// --
// 0/"disabled"/"false"/"off"/"no": OFF
// 1/"enabled"/"true"/"on"/"yes": ON
"Combo Ability"				"0"

// 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
// --
// Keywords:
// "none"/"off" - 0 ammo
// "infinite" - 999999 ammo
"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
// --
// Keywords:
// "never"/"disabled"/"false"/"off"/"no" - 0 seconds
// "second" - 1 second
// "minute" - 1 minute
// "forever" - 999999 seconds
"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
// --
// Keywords:
// "second" - 1 second
// "minute" - 1 minute
// "forever" - 999999 seconds
"Human Duration"			"5"

// The mode of how human-controlled Mutant Tanks activate their abilities.
// 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 can only activate in open areas.
// Note: Do not change this setting if you are unsure of how it works.
// Note: This setting can be overridden for specific players.
// --
// Minimum: 0.0 (OFF)
// Maximum: 999999.0 (Farthest)
// --
// Keywords:
// "disabled"/"false"/"off"/"no" - 0.0 range
// "farthest" - 999999.0 range
"Open Areas Only"			"0"

// 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/"disabled"/"false"/"off"/"no": OFF
// 1/"enabled"/"true"/"on"/"yes": ON
"Ability Enabled"			"0"

// Display a message whenever the ability activates/deactivates.
// Note: This setting can be overridden for specific players.
// --
// 0/"disabled"/"false"/"off"/"no": OFF
// 1/"enabled"/"true"/"on"/"yes": ON
"Ability Message"			"0"

// The Mutant Tank spawns this many common infected at once.
// Note: This setting can be overridden for specific players.
// --
// Minimum: 1
// Maximum: 100
"Zombie Amount"				"10"

// The Mutant Tank has this many chances out of 100.0% to trigger the ability.
// Note: This is ignored when the "Combo Ability" setting is set to "1".
// Note: This setting can be overridden for specific players.
// --
// Minimum: 0.0 (No chance)
// Maximum: 100.0 (Highest chance)
// --
// Keywords:
// "never" - 0% chance
// "sometimes"/"unlikely"/"seldom" - 33.3% chance
// "maybe" - 50% chance
// "often"/"likely"/"frequently" - 66.6% chance
// "always" - 100% chance
"Zombie Chance"				"33.3"

// The Mutant Tank spawns a zombie mob every time this many seconds passes.
// Note: This is ignored when the "Combo Ability" setting is set to "1".
// Note: This setting can be overridden for specific players.
// --
// Minimum: 0.1
// Maximum: 999999.0
// --
// Keywords:
// "milli"/"millisecond" - 0.1 seconds
// "second" - 1 second
// "minute" - 1 minute
// "forever" - 999999 seconds
"Zombie Interval"			"5.0"

// The mode of the Mutant Tank's zombie mob spawn ability.
// Note: This setting can be overridden for specific players.
// --
// 0: Both
// 1: The Mutant Tank spawns common infected.
// 2: The Mutant Tank spawns uncommon infected.
"Zombie Mode"				"0"

// The type of zombies to spawn.
// Note: This setting only works when the "Zombie Mode" setting is set to "0" or "2".
// Note: This setting can be overridden for specific players.
// --
// Add up numbers together for different results.
// --
// Minimum: 0
// Maximum: 127
// --
// 0 OR 127: Pick randomly between the 7 options.
// 1: CEDA Worker (Dead Center)
// 2: Jimmy Gibbs Jr. (Dead Center)
// 4: Fallen Survivor (The Passing)
// 8: Clown (Dark Carnival)
// 16: Mudman (Swamp Fever)
// 32: Roadcrew Worker (Hard Rain)
// 64: Riot Cop (The Parish)
"Zombie Type"				"0"

Example Format/Usage

"Mutant Tanks"
{
	"Tank #1"
	{
		"Zombie Ability"
		{
			"Human Ability"				"1"
			"Human Ammo"				"2"
			"Human Cooldown"			"120"
			"Ability Enabled"			"1"
			"Ability Message"			"1"
			"Zombie Amount"				"10"
			"Zombie Chance"				"33.3"
			"Zombie Duration"			"6"
			"Zombie Interval"			"15.0"
			"Zombie Mode"				"0"
			"Zombie Type"				"0"
		}
	}
}

Tips/Strategies

Solo

Under construction...

Multiplayer

Under construction...

Clone this wiki locally