-
Notifications
You must be signed in to change notification settings - Fork 15
Drop Ability
Alfred Llagas edited this page Jul 3, 2021
·
10 revisions
The Mutant Tank drops weapons upon death.
Requires mt_abilities.smx
to be compiled with mt_drop.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"
// 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" "0"
// 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
"Drop Chance" "33.3"
// The Mutant Tank has this many chances out of 100.0% to drop guns with a full clip.
// 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
"Drop Clip Chance" "33.3"
// The position of the Mutant Tank's weapon.
// Note: This setting can be overridden for specific players.
// --
// Add up numbers together for different results.
// --
// Minimum: 0
// Maximum: 3
// --
// 0 OR 3: Pick randomly between left and right hands.
// 1: Right hand.
// 2: Left hand.
"Drop Hand Position" "0"
// The mode of the Mutant Tank's drop ability.
// Note: This setting can be overridden for specific players.
// --
// 0: Both
// 1: Guns only.
// 2: Melee weapons only. (Only available in Left 4 Dead 2.)
"Drop Mode" "0"
// The console name of the Mutant Tank's weapon.
// Note: Leave this empty if you want a random weapon to be chosen.
// Note: This setting can be overridden for specific players.
// --
// Weapon limit: 1
// Character limit: 40
"Drop Weapon Name" ""
// The Mutant Tank's weapon size is multiplied by this value.
// Note: Default weapon size (1.5) x Drop weapon scale
// Note: This setting can be overridden for specific players.
// --
// Minimum: 0.1
// Maximum: 2.0
"Drop Weapon Scale" "1.0"
"Mutant Tanks"
{
"Tank #12"
{
"Drop Ability"
{
"Human Ability" "1"
"Ability Enabled" "1"
"Ability Message" "1"
"Drop Chance" "33.3"
"Drop Clip Chance" "33.3"
"Drop Mode" "0"
"Drop Weapon Scale" "1.0"
}
}
}
Under construction...
Under construction...