-
Notifications
You must be signed in to change notification settings - Fork 15
Car Ability
Alfred Llagas edited this page Jul 3, 2021
·
10 revisions
The Mutant Tank creates car showers.
Requires mt_abilities.smx to be compiled with mt_car.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" ""
// 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 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" "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" "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"
// 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 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
"Car Chance" "33.3"
// The Mutant Tank's ability effects last this long.
// Note: This is ignored when the "Combo Ability" setting is set to "1".
// Note: This setting can be overridden for specific players.
// --
// Minimum: 1
// Maximum: 999999
// --
// Keywords:
// "second" - 1 second
// "minute" - 1 minute
// "forever" - 999999 seconds
"Car Duration" "5"
// The Mutant Tank's car shower drops a car 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: 1.0
"Car Interval" "0.6"
// Cars dropped by the Mutant Tank's car shower will disappear after this many seconds.
// Note: The timer starts when the car spawns, so take into account the time it takes to fall to the ground.
// 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
"Car Lifetime" "30.0"
// The Mutant Tank create car showers with 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.
"Car Options" "0"
// Set the Mutant Tank as the owner of its 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
"Car Owner" "1"
// The radius of the Mutant Tank's car shower.
// Note: This is ignored when the "Combo Ability" setting is set to "1".
// Note: This setting can be overridden for specific players.
// --
// 1st number = Minimum radius
// Minimum: -200.0
// Maximum: 0.0
// --
// 2nd number = Maximum radius
// Minimum: 0.0
// Maximum: 200.0
"Car Radius" "-180.0,180.0"
"Mutant Tanks"
{
"Tank #8"
{
"Car Ability"
{
"Human Ability" "1"
"Human Ammo" "1"
"Human Cooldown" "0"
"Ability Enabled" "1"
"Ability Message" "1"
"Car Chance" "15.0"
"Car Duration" "5"
"Car Interval" "0.6"
"Car Lifetime" "30.0"
"Car Options" "0"
"Car Owner" "1"
"Car Radius" "-180.0,180.0"
}
}
}
Under construction...
Under construction...