Skip to content

Hit Ability

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

Purpose

The Mutant Tank only takes damage in certain parts of its body.

Requirements

Requires mt_abilities.smx to be compiled with mt_hit.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"				""

// 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.
// Note: This setting can be overridden for specific players.
// --
// 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/"disabled"/"false"/"off"/"no": OFF
// 1/"enabled"/"true"/"on"/"yes": ON, players can use buttons to activate abilities.
"Human Ability"				"0"

// 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"			"1"

// 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"

// The damage received by the Mutant Tank is multiplied by this value.
// Note: Damage = Damage x Hit damage multiplier
// Example: Damage = 30.0 x 1.5 (45.0)
// Note: Use the value "1.0" to disable this setting. (Damage x 1.0 = Damage)
// Note: This setting can be overridden for specific players.
// --
// Minimum: 1.0
// Maximum: 999999.0
"Hit Damage Multiplier"			"1.5"

// The only part of the Mutant Tank that can be damaged.
// Note: This setting can be overridden for specific players.
// --
// Add up numbers together for different results.
// --
// Minimum: 1
// Maximum: 127
// --
// 1: Headshots only.
// 2: Chest shots only.
// 4: Stomach shots only.
// 8: Left arm shots only.
// 16: Right arm shots only.
// 32: Left leg shots only.
// 64: Right leg shots only.
"Hit Group"				"1"

Example Format/Usage

"Mutant Tanks"
{
	"Tank #26"
	{
		"Hit Ability"
		{
			"Human Ability"				"1"
			"Ability Enabled"			"1"
			"Hit Damage Multiplier"			"1.5"
			"Hit Group"				"1"
		}
	}
}

Tips/Strategies

Solo

Under construction...

Multiplayer

Under construction...

Clone this wiki locally