-
Notifications
You must be signed in to change notification settings - Fork 15
Drunk Ability
Psykotikism edited this page Nov 26, 2023
·
11 revisions
The Mutant Tank makes survivors drunk.
Requires mt_abilities.smx
to be compiled with mt_drunk.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" ""
// The ability can only activate in close 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: 99999.0 (Farthest)
// --
// Keywords:
// "disabled"/"false"/"off"/"no" - 0.0 range
// "farthest" - 99999.0 range
"Close Areas Only" "0.0"
// 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: 99999
// --
// Keywords:
// "none"/"off" - 0 ammo
// "infinite" - 99999 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 (OFF)
// Maximum: 99999 (Longest)
// --
// Keywords:
// "never"/"disabled"/"false"/"off"/"no" - 0 seconds
// "second" - 1 second
// "minute" - 1 minute
// "forever" - 99999 seconds
"Human Cooldown" "0"
// Human-controlled Mutant Tanks must wait this long before using their range ability again.
// Note: This setting can be overridden for specific players.
// --
// Minimum: 0 (OFF)
// Maximum: 99999 (Longest)
// --
// Keywords:
// "never"/"disabled"/"false"/"off"/"no" - 0 seconds
// "second" - 1 second
// "minute" - 1 minute
// "forever" - 99999 seconds
"Human Range Cooldown" "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: 99999.0 (Farthest)
// --
// Keywords:
// "disabled"/"false"/"off"/"no" - 0.0 range
// "farthest" - 99999.0 range
"Open Areas Only" "0.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 does not affect the "Drunk Hit" setting.
// Note: This setting can be overridden for specific players.
// --
// 0/"disabled"/"false"/"off"/"no": OFF
// 1/"enabled"/"true"/"on"/"yes": ON
"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.
// --
// Keywords:
// "none"/"off" - 0
// "attack" - 1
// "hurt" - 2
// "attack,hurt" - 3
// "range" - 4
// "attack,range" - 5
// "hurt,range" - 6
// "attack,hurt,range" - 7
"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: 3
// --
// 0: OFF
// 1: Display message only when "Drunk Hit" is enabled.
// 2: Display message only when "Ability Enabled" is enabled.
// --
// Keywords:
// "none"/"off" - 0
// "hit" - 1
// "ability" - 2
// "both"/"all"/"hit,ability" - 3
"Ability Message" "0"
// Check line-of-sight when the Mutant Tank uses its abilities.
// Note: This setting can be overridden for specific players.
// --
// Minimum: 0
// Maximum: 5
// --
// 0: OFF
// 1: Check if there is a solid object between the Mutant Tank and survivors.
// 2: Option 1 + Check if the Mutant Tank is looking toward the survivors.
// 3: Option 1 + Check if the Mutant Tank is looking away from the survivors.
// 4: Option 1 + Check if the survivors are looking toward the Mutant Tank.
// 5: Option 1 + Check if the survivors are looking away from the Mutant Tank.
"Ability Sight" "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
"Drunk Chance" "33.3"
// The cooldown for the Mutant Tank's hit 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 (OFF)
// Maximum: 99999 (Longest)
// --
// Keywords:
// "never"/"disabled"/"false"/"off"/"no" - 0 seconds
// "second" - 1 second
// "minute" - 1 minute
// "forever" - 99999 seconds
"Drunk Cooldown" "0"
// 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: 99999
// --
// Keywords:
// "second" - 1 second
// "minute" - 1 minute
// "forever" - 99999 seconds
"Drunk Duration" "5"
// Enable the Mutant Tank's claw/rock attack.
// Note: This setting does not need the "Ability Enabled" setting to be set to "1".
// Note: This setting can be overridden for specific players.
// --
// 0/"disabled"/"false"/"off"/"no": OFF
// 1/"enabled"/"true"/"on"/"yes": ON
"Drunk 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.
// --
// Keywords:
// "both"/"all" - 0
// "tank"/"attack" - 1
// "survivor"/"hurt" - 2
"Drunk Hit Mode" "0"
// The distance between a survivor and the Mutant Tank needed 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: 1.0 (Closest)
// Maximum: 99999.0 (Farthest)
// --
// Keywords:
// "closest" - 1.0 range
// "farthest" - 99999.0 range
"Drunk Range" "150.0"
// The Mutant Tank has this many chances out of 100.0% to trigger the range 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
"Drunk Range Chance" "15.0"
// The cooldown for the Mutant Tank's range 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 (OFF)
// Maximum: 99999 (Longest)
// --
// Keywords:
// "never"/"disabled"/"false"/"off"/"no" - 0 seconds
// "second" - 1 second
// "minute" - 1 minute
// "forever" - 99999 seconds
"Drunk Range Cooldown" "0"
// The Mutant Tank causes the survivors' speed to randomly change every time this many seconds passes.
// Note: This setting can be overridden for specific players.
// --
// Minimum: 0.1
// Maximum: 99999.0
// --
// Keywords:
// "milli"/"millisecond" - 0.1 seconds
// "second" - 1 second
// "minute" - 1 minute
// "forever" - 99999 seconds
"Drunk Speed Interval" "1.5"
// The Mutant Tank causes the survivors to turn at a random direction every time this many seconds passes.
// Note: This setting can be overridden for specific players.
// --
// Minimum: 0.1
// Maximum: 99999.0
// --
// Keywords:
// "milli"/"millisecond" - 0.1 seconds
// "second" - 1 second
// "minute" - 1 minute
// "forever" - 99999 seconds
"Drunk Turn Interval" "0.5"
"Mutant Tanks"
{
"Tank #14"
{
"Drunk Ability"
{
"Human Ability" "1"
"Human Ammo" "2"
"Human Cooldown" "120"
"Ability Enabled" "1"
"Ability Effect" "7"
"Ability Message" "1"
"Drunk Chance" "33.3"
"Drunk Duration" "5"
"Drunk Hit" "1"
"Drunk Hit Mode" "0"
"Drunk Range" "150.0"
"Drunk Range Chance" "15.0"
"Drunk Speed Interval" "2.5"
"Drunk Turn Interval" "1.5"
}
}
}
Under construction...
Under construction...