Clone Ability - Psykotikism/Mutant_Tanks GitHub Wiki

Purpose

The Mutant Tank creates clones of itself.

Requirements

Requires mt_abilities.smx to be compiled with mt_clone.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"				""

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

// 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 amount of clones the Mutant Tank can create.
// Note: This setting can be overridden for specific players.
// --
// Minimum: 1
// Maximum: 15
"Clone Amount"				"2"

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

// The cooldown for the Mutant Tank's 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
"Clone Cooldown"			"0"

// The Mutant Tank's clone's health.
// Note: This setting can be overridden for specific players.
// --
// Minimum: 1
// Maximum: 1000000
"Clone Health"				"1000"

// Clones created by the Mutant Tank die after this many seconds.
// Note: This setting can be overridden for specific players.
// --
// Minimum: 0.0 (Until death)
// Maximum: 99999.0 (Longest)
// --
// Keywords:
// "never"/"disabled"/"false"/"off"/"no" - 0 seconds
// "milli"/"millisecond" - 0.1 seconds
// "second" - 1 second
// "minute" - 1 minute
// "forever"/"death" - 99999 seconds
"Clone Lifetime"			"0.0"

// The Mutant Tank's clone will be treated as a real Mutant Tank.
// Note: Clones cannot clone themselves regardless of the value for this setting for obvious safety reasons.
// Note: This setting can be overridden for specific players.
// --
// 0/"disabled"/"false"/"off"/"no": OFF, the clone cannot use abilities like real Mutant Tanks.
// 1/"enabled"/"true"/"on"/"yes": ON, the clone can use abilities like real Mutant Tanks.
"Clone Mode"				"0"

// Remove all clones created 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
"Clone Remove"				"1"

// The Mutant Tank's clones are replaced with new ones when they die.
// Note: This setting can be overridden for specific players.
// --
// 0/"disabled"/"false"/"off"/"no": OFF
// 1/"enabled"/"true"/"on"/"yes": ON
"Clone Replace"				"1"

// The type of the Mutant Tank's clone.
// Note: Chosen types that also have the Clone ability will be replaced with the Mutant Tank's own type to prevent bugs.
// Note: This setting can be overridden for specific players.
// --
// Separate values with "-".
// --
// Value limit: 2
// Character limit for each value: 4
// --
// Minimum number for each value: 0 (OFF)
// Maximum number for each value: 500
// --
// 1st number = Minimum value
// 2nd number = Maximum value
// --
// Example: "0-0" (Do not choose from any Mutant Tank types.)
// Example: "1-25" (Choose a Mutant Tank type between 1 through 25.)
// Example: "50-0" (Automatically change to "0-0" because "50" is higher than "0".)
// Example: "1-1000" (Automatically change to "1-500" because "500" is the maximum number of Mutant Tank types allowed.)
// Example: "0" (Automatically change to "0-500" because the maximum range is not specified.)
// Example: "1000" (Automatically change to "500-500" because the maximum range is not specified and the minimum range exceeds the "500" limit.)
// --
// 0: OFF, use the randomization feature.
// 1-500: ON, the type of the clone.
"Clone Type"				"0-0"

Example Format/Usage

"Mutant Tanks"
{
	"Tank #10"
	{
		"Clone Ability"
		{
			"Human Ability"				"1"
			"Human Ammo"				"2"
			"Ability Enabled"			"1"
			"Ability Message"			"1"
			"Clone Amount"				"2"
			"Clone Chance"				"33.3"
			"Clone Health"				"1000"
			"Clone Lifetime"			"0.0"
			"Clone Remove"				"1"
			"Clone Replace"				"1"
			"Clone Type"				"10-10"
		}
	}
}

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.
  • You will mainly have to rely on guns and throwables to deal reliable damage from medium to long range, since the Tank will always have 1-2 clones nearby ready to gang up on a lone survivor.

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.
  • Focus the original Tank first since the clones will have way less health. In some cases, the clones will also automatically die as soon as the original dies.

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.
  • There are some abilities, such as Fast and Warp, that can make this ability deadly, but as long as you keep your distance from the Tank, they shouldn't be a problem.