Skip to content

Item Ability

Psykotikism edited this page Nov 27, 2023 · 9 revisions

Purpose

The Mutant Tank gives survivors items upon death.

Requirements

Requires mt_abilities.smx to be compiled with mt_item.sp to work.

Settings

// 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"

// 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 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
"Item Chance"				"33.3"

// The Mutant Tank gives survivors this loadout.
// Note: This setting can be overridden for specific players.
// --
// Item limit: 5
// Character limit for each item: 64
// --
// Example: "rifle_m60,pistol,adrenaline,defibrillator"
// Example: "katana,pain_pills,vomitjar"
// Example: "first_aid_kit,defibrillator,knife,adrenaline"
"Item Loadout"				"rifle,pistol,first_aid_kit,pain_pills"

// The mode of the Mutant Tank's item ability.
// Note: This setting can be overridden for specific players.
// --
// 0: Survivors get a random item.
// 1: Survivors get all items.
// 2: Tank drops a random item.
// 3: Tank drops all items.
"Item Mode"				"0"

// The Mutant Tank turns its dead survivor victims into pinatas that spawn certain items.
// Note: This setting does not need the "Ability Enabled" setting to be set to "1".
// Note: This setting can be overridden for specific players.
// --
// Item limit: 5
// Character limit for each item: 64
// --
// Example: "pain_pills,pain_pills,pain_pills"
// Example: "katana,katana,rifle_m60"
// Example: "first_aid_kit,defibrillator,first_aid_kit,defibrillator"
"Item Pinata"				""

// Removes the death model of the survivor when killed.
// Note: Only available in Left 4 Dead 2.
// Note: This setting only applies if the "Item Pinata" setting is not empty.
// Note: This setting can be overridden for specific players.
// --
// 0/"disabled"/"false"/"off"/"no": OFF
// 1/"enabled"/"true"/"on"/"yes": ON
"Item Pinata Body"			"1"

// The Mutant Tank has this many chances out of 100.0% to turn its dead survivor victims into pinatas.
// Note: This setting only applies if the "Item Pinata" setting is not empty.
// 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
"Item Pinata Chance"			"33.3"

Example Format/Usage

"Mutant Tanks"
{
	"Tank #33"
	{
		"Item Ability"
		{
			"Human Ability"				"1"
			"Ability Enabled"			"1"
			"Ability Message"			"1"
			"Item Chance"				"50.0"
			"Item Loadout"				"rifle,pistol,first_aid_kit,pain_pills"
			"Item Mode"				"0"
			"Item Pinata"				""
			"Item Pinata Body"			"1"
			"Item Pinata Chance"			"33.3"
		}
	}
}

Tips/Strategies

General/Fundamentals

  • Keep your distance from the Tank at all times, regardless of what abilities it may have.
  • You should only close in when the Tank is distracted or stunned.
  • Check if the Tank is immune to bullets, fire, explosives, melee hits, and/or bile bombs, and adapt accordingly.
  • Take off-angles and chip away at the Tank from different directions. Rotate to different positions when you are being targeted.
  • Take initiative by distracting the Tank when you see it focusing one of your teammates.
  • Maintain uptime by constantly dealing damage and looking for ways to help your team.
  • Be aware of your surroundings and don't fight the Tank indoors or near environmental obstacles, such as water.
  • Making a run for the saferoom is not advised unless you are the only one left standing and the Tank still has a lot of health. It's better to finish off the Tank as a team.

Solo

  • Use your bot teammates as distractions for the Tank.
  • This ability doesn't really do anything, but the Tank can give you random items when it dies and those items can be useless depending on the situation.

Multiplayer

  • You and your teammates will have to take turns distracting the Tank.
  • Be smart with your ammunition and throwables by coordinating with your team.
  • If you can stun the Tank, open fire on it as a team to finish it off quickly.
  • Look for openings to revive any incapacitated teammates or heal any limping teammates to maintain a numbers advantage.
  • You may have to risk taking hits for your teammates to make sure they don't go down.

Combining with other abilities

  • When this ability is combined with other abilities, it can be a lot harder to kill the Tank. Apply the fundamentals listed above and bait out other abilities to get them out of the way (unless they are one-shot abilities).
  • The Tank can only be as oppressive as you allow it to be. As long as you play smart, either solo or with a team, it won't matter what abilities the Tank has.
  • This ability on its own doesn't add much difficulty to the Tank, so you mainly have to keep an eye out for other abilities and adapt to them, but as long as you keep your distance from the Tank, they shouldn't be a problem.
Clone this wiki locally