Template:STKRange/doc

Calculates Shots To Kill for weapons damage drop.

Basic
Syntax for vehicle/anti vehicle weapons with no indirect damage:

Result:

With indirect damage
Syntax for vehicle/anti vehicle weapons with indirect damage:

Result:

Flak based
Syntax for flak based vehicle/anti-vehicle weapons:

Result:

Small Arms
Syntax for Small Arms weapons:

Result:

With single intermediate Damage Tier
Syntax for Small Arms weapons with single additional intermediate Damage Tier:

Result:

With two intermediate Damage Tier
Syntax for Small Arms weapons with two additional intermediate Damage Tiers:

Result:

Integrated TTK Template
Syntax for enabling integrated TTK template for automatic Small Arms weapons, requires 3 additional parameters to be added:

Syntax:

Result:

Formulas

 * InfBTKF — Used for calculating Shots To Kill Infantry.
 * MAXBTKF — Used for calculating Shots To Kill MAX Units.
 * VehInBTKF — Used for calculating Shots To Kill Vehicles, that can be damaged by normal Indirect Damage(Flash and MAX).
 * VehBTKF — Used for calculating Shots To Kill Vehicles, that can't be damaged by normal Indirect Damage(Harasser, Sunderer, ANT, ESF, Valkyrie, Liberator and Galaxy).
 * VehABTKF — Used for calculating Shots To Kill Vehicles, that can't be damaged by normal Indirect Damage and use Armor(Lightning, MBT, Valkyrie and Liberator).
 * VehFlBTKF — Used for calculating Indirect Flak Damage Shots To Kill Vehicles, that detonates Flak projectiles (ESF, Valkyrie, Liberator and Galaxy).
 * VehAFlBTKF — Used for calculating Indirect Flak Damage Shots To Kill Vehicles, that detonates Flak projectiles, that use Armor (Valkyrie and Liberator).

Data

 * Vehicle‎‎ — Outputs Health values.
 * Vehicle — Outputs Armor multiplication values.
 * Vehicle — Outputs Resistance multiplication values.

TemplateData
TemplateData documentation used by VisualEditor and other tools.

{	"params": { "Fire Rate": { "label": "Fire Rate", "description": "Weapons Fire Rate, usually listed in the Infobox", "example": "700", "required": true, "type": "number" },		"Velocity": { "label": "Velocity", "description": "Weapons Velocity, usually listed in the Infobox", "example": "600", "required": true, "type": "number" },		"DamageType": { "label": "Damage Type", "description": "Weapons Damage Type, usually listed in the Infobox", "example": "Small Arms", "required": true },		"MaxDamage": { "label": "Max Damage and Range", "description": "Weapons Max Damage and Range, usually listed in the Infobox", "example": "143/10", "required": true },		"MidDamage 1": { "label": "Intermediate Damage and Range 1", "description": "Weapons Intermediate Damage and Range 1", "example": "125/25", "required": false },		"MidDamage 2": { "label": "Intermediate Damage and Range 2", "description": "Weapons Intermediate Damage and Range 2", "example": "112/40", "required": false },		"MinDamage": { "label": "Min Damage and Range", "description": "Weapons Min Damage and Range, usually listed in the Infobox", "example": "100/60", "required": true },		"Mod": { "label": "Weapons Damage Modifiers", "description": "Weapons Headshot, Bodyshot and legshot modifiers, Headshot modifier usually listed in the Infobox, bodyshot is 1, and legshot is 0.9", "example": "2/1/0.9", "required": true },		"Suit": { "label": "Suit", "description": "Nanoweave for Small Arms weapons or Flak for weapons with indirect damage", "example": "Nanoweave", "required": true },		"SuitMAX": { "label": "SuitMAX", "description": "Kinetic for Small Arms weapons or Ordnance for weapons with indirect damage", "example": "Kinetic", "required": true },		"TTK": { "label": "Integrated TTK Template", "description": "Enables Integrated TTK Template, leave empty if not needed", "example": "Yes", "required": false }	},	"description": "STKRange — Inserts table with calculated Shots To Kill for weapon at range, against various targets. As well as Integrated TTK template, if enabled.", "format": "\n\n" }