-
Notifications
You must be signed in to change notification settings - Fork 15
Gravity Ability
Alfred Llagas edited this page Oct 8, 2020
·
11 revisions
The Mutant Tank pulls in or pushes away survivors and any other nearby infected, and changes the survivors' gravity.
Requires mt_gravity.smx to be installed.
// 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 mode of how human-controlled Mutant Tanks activate their abilities.
// Note: This setting does not apply to the range ability.
// Note: This setting can be overridden for specific players.
// --
// 0: Press buttons to activate corresponding abilities. Cooldown starts after ability is activated.
// 1: Hold down buttons to keep corresponding abilities activated. Cooldown starts after the player lets go of the buttons.
"Human Mode" "1"
// Enable this ability.
// Note: This setting does not affect the "Gravity Hit" setting.
// Note: This setting can be overridden for specific players.
// --
// 0: OFF
// 1: ON, the Mutant Tank can change survivors' gravity value.
// 2: ON, the Mutant Tank can pull in or push away survivors.
// 3: ON, the Mutant Tank can do both.
"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: 7
// --
// 0: OFF
// 1: Display message only when "Gravity Hit" is enabled.
// 2: Display message only when "Ability Enabled" is set to 1 or 3.
// 4: 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)
"Gravity Chance" "33.3"
// 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.0
"Gravity Duration" "5"
// The Mutant Tank's gravity force.
// Note: This setting can be overridden for specific players.
// --
// Minimum: -100.0
// Maximum: 100.0
// --
// Positive numbers = Push back
// Negative numbers = Pull back
"Gravity Force" "-50.0"
// Enable the Mutant Tank's claw/rock attack.
// Note: This setting does not need "Ability Enabled" to be on.
// Note: This setting can be overridden for specific players.
// --
// 0: OFF
// 1: ON
"Gravity 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.
"Gravity Hit Mode" "0"
// 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)
"Gravity 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)
"Gravity Range Chance" "15.0"
// The Mutant Tank sets the survivors' gravity to this value.
// Note: This setting can be overridden for specific players.
// --
// Minimum: 0.1
// Maximum: 999999.0
"Gravity Value" "0.3"
"Mutant Tanks"
{
"Tank #1"
{
"Gravity Ability"
{
"Human Ability" "2"
"Human Ammo" "2"
"Human Cooldown" "120"
"Ability Enabled" "2"
"Ability Effect" "7"
"Ability Message" "0"
"Gravity Chance" "33.3"
"Gravity Duration" "5"
"Gravity Force" "-50.0"
"Gravity Hit" "1"
"Gravity Hit Mode" "0"
"Gravity Range" "150.0"
"Gravity Range Chance" "15.0"
"Gravity Value" "0.3"
}
}
}
Under construction...
Under construction...