-
Notifications
You must be signed in to change notification settings - Fork 15
Throw Ability
Alfred Llagas edited this page Jul 4, 2021
·
7 revisions
The Mutant Tank throws cars, special infected, Witches, or itself.
Requires mt_abilities2.smx
to be compiled with mt_throw.sp
to work.
// 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" ""
// 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 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" "500.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.
// --
// Add up numbers together for different results.
// --
// Minimum: 0
// Maximum: 15
// --
// 0: OFF
// 1: The Mutant Tank throws cars.
// 2: The Mutant Tank throws special infected.
// 4: The Mutant Tank throws itself.
// 8: The Mutant Tank throws Witches.
"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: 15
// --
// 0: OFF
// 1: Display message only when "Ability Enabled" includes option "1".
// 2: Display message only when "Ability Enabled" includes option "2".
// 4: Display message only when "Ability Enabled" includes option "4".
// 8: Display message only when "Ability Enabled" includes option "8".
"Ability Message" "0"
// Cars thrown by the Mutant Tank will disappear after this many seconds.
// Note: The timer starts when the car spawns, so take into account the time it takes to hit something.
// 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
"Throw Car Lifetime" "10.0"
// The Mutant Tank throws these cars.
// Note: This setting can be overridden for specific players.
// --
// Add up numbers together for different results.
// --
// Minimum: 0
// Maximum: 7
// --
// 0 OR 7: Pick randomly between the 3 cars.
// 1: Small car with a big hatchback.
// 2: Car that looks like a Chevrolet Impala SS.
// 4: Car that looks like a Sixth Generation Chevrolet Impala.
"Throw Car Options" "0"
// Set the Mutant Tank as the owner of its thrown cars.
// Note: This setting is only used for compatibility with Marttt's "Replace Cars Into Car Alarms" plugin. Disable this setting if you do not use that plugin.
// Link: https://forums.alliedmods.net/showthread.php?t=329806
// Note: This setting can be overridden for specific players.
// --
// 0/"disabled"/"false"/"off"/"no": OFF
// 1/"enabled"/"true"/"on"/"yes": ON
"Throw Car Owner" "1"
// 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
"Throw Chance" "33.3"
// The amount of special infected the Mutant Tank can throw at any given time.
// Note: This setting can be overridden for specific players.
// --
// Minimum: 1
// Maximum: 15
"Throw Infected Amount" "2"
// Special infected thrown by the Mutant Tank die after this many seconds.
// Note: This setting can be overridden for specific players.
// --
// Minimum: 0.0 (Until death)
// Maximum: 999999.0 (Longest)
// --
// Keywords:
// "never"/"disabled"/"false"/"off"/"no" - 0 seconds
// "milli"/"millisecond" - 0.1 seconds
// "second" - 1 second
// "minute" - 1 minute
// "forever"/"death" - 999999 seconds
"Throw Infected Lifetime" "0.0"
// The Mutant Tank throws these special infected.
// 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: Smoker
// 2: Boomer
// 4: Hunter
// 8: Spitter (Switches to Boomer in Left 4 Dead 1.)
// 16: Jockey (Switches to Hunter in Left 4 Dead 1.)
// 32: Charger (Switches to Smoker in Left 4 Dead 1.)
// 64: Tank
"Throw Infected Options" "0"
// Remove all special infected thrown by the Mutant Tank when it dies or changes its Mutant Tank type.
// Note: This setting can be overridden for specific players.
// --
// 0/"disabled"/"false"/"off"/"no": OFF
// 1/"enabled"/"true"/"on"/"yes": ON
"Throw Infected Remove" "1"
// The amount of Witches the Mutant Tank can throw at any given time.
// Note: This setting can be overridden for specific players.
// --
// Minimum: 1
// Maximum: 25
"Throw Witch Amount" "3"
// The Mutant Tank's thrown Witch causes this much damage per hit.
// Note: This is ignored when the "Combo Ability" setting is set to "1".
// Note: This setting can be overridden for specific players.
// --
// Minimum: 1.0
// Maximum: 999999.0
// --
// Keywords:
// "weakest" - 1.0 damage
// "strongest" - 999999.0 damage
"Throw Witch Damage" "5.0"
// Witches thrown by the Mutant Tank die after this many seconds.
// Note: This setting can be overridden for specific players.
// --
// Minimum: 0.0 (Until death)
// Maximum: 999999.0 (Longest)
// --
// Keywords:
// "never"/"disabled"/"false"/"off"/"no" - 0 seconds
// "milli"/"millisecond" - 0.1 seconds
// "second" - 1 second
// "minute" - 1 minute
// "forever"/"death" - 999999 seconds
"Throw Witch Lifetime" "0.0"
// Remove all Witches thrown by the Mutant Tank when it dies or changes its Mutant Tank type.
// Note: This setting can be overridden for specific players.
// --
// 0/"disabled"/"false"/"off"/"no": OFF
// 1/"enabled"/"true"/"on"/"yes": ON
"Throw Witch Remove" "1"
"Mutant Tanks"
{
"Tank #1"
{
"Throw Ability"
{
"Human Ability" "1"
"Human Ammo" "2"
"Human Cooldown" "60"
"Ability Enabled" "15"
"Ability Message" "15"
"Throw Car Lifetime" "10.0"
"Throw Car Options" "0"
"Throw Car Owner" "1"
"Throw Chance" "33.3"
"Throw Infected Amount" "2"
"Throw Infected Lifetime" "0.0"
"Throw Infected Options" "63"
"Throw Infected Remove" "1"
"Throw Witch Amount" "3"
"Throw Witch Damage" "5.0"
"Throw Witch Lifetime" "0.0"
"Throw Witch Remove" "1"
}
}
}
Under construction...
Under construction...