Template:KF2WeaponInfo: Difference between revisions
Jump to navigation
Jump to search
(Fixed "wrong weapon type in preview") |
(Added support for the medic grenade (healing over time)) |
||
Line 67: | Line 67: | ||
|- {{#if: {{{WeaponType|}}} | style="height: 20px" | style="display: none;"}} | |- {{#if: {{{WeaponType|}}} | style="height: 20px" | style="display: none;"}} | ||
| colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Weapon Type''' | | colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Weapon Type''' | ||
| colspan="2" style="padding-right: 12px; text-align: right;" | {{{WeaponType}}} | | colspan="2" style="padding-right: 12px; text-align: right;" | {{{WeaponType}}} [[File:KF2_WeaponType_{{{WeaponType}}}_Gray.png|top|20px|link=]] | ||
|- {{#ifexpr: ({{#if: {{{InitialSpareMags|}}} | 1 | 0}} or {{#if: {{{AmmoCost|}}} | 1 | 0}} or {{#if: {{{Block|}}} | 1 | 0}} or {{#if: {{{Parry|}}} | 1 | 0}} or {{#if: {{{WeaponType|}}} | 1 | 0}}) and ({{#if: {{{SecondaryAmmoType|}}} | 1 | 0}} or {{#if: {{{HealAmount|}}} | 1 | 0}} or {{#if: {{{HealAmountSolo|}}} | 1 | 0}} or {{#if: {{{HealRecharge|}}} | 1 | 0}} or {{#if: {{{HealRechargeSolo|}}} | 1 | 0}} or {{#if: {{{SecondaryMagazineSize|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCapacity|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoConsumption|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCost|}}} | 1 | 0}}) || style="display: none;"}} | |- {{#ifexpr: ({{#if: {{{InitialSpareMags|}}} | 1 | 0}} or {{#if: {{{AmmoCost|}}} | 1 | 0}} or {{#if: {{{Block|}}} | 1 | 0}} or {{#if: {{{Parry|}}} | 1 | 0}} or {{#if: {{{WeaponType|}}} | 1 | 0}}) and ({{#if: {{{SecondaryAmmoType|}}} | 1 | 0}} or {{#if: {{{HealAmount|}}} | 1 | 0}} or {{#if: {{{HealAmountSolo|}}} | 1 | 0}} or {{#if: {{{HealRecharge|}}} | 1 | 0}} or {{#if: {{{HealRechargeSolo|}}} | 1 | 0}} or {{#if: {{{SecondaryMagazineSize|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCapacity|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoConsumption|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCost|}}} | 1 | 0}}) || style="display: none;"}} | ||
| colspan="4" style="height: 6px;" | | | colspan="4" style="height: 6px;" | | ||
Line 81: | Line 81: | ||
| colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Heal Amount''' <small>(solo)</small> | | colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Heal Amount''' <small>(solo)</small> | ||
| colspan="2" style="padding-right: 12px; text-align: right;" | {{#expr: {{{HealAmountSolo}}} round 0}} | | colspan="2" style="padding-right: 12px; text-align: right;" | {{#expr: {{{HealAmountSolo}}} round 0}} | ||
|- {{#if: {{{HealAmountGrenade|}}} | style="height: 20px" | style="display: none;"}} | |||
| colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Heal Amount''' <small>(per second)</small> | |||
| colspan="2" style="padding-right: 12px; text-align: right;" | {{#expr: {{{HealAmountGrenade}}} round 0}} | |||
|- {{#if: {{{HealRecharge|}}} | style="height: 20px" | style="display: none;"}} | |- {{#if: {{{HealRecharge|}}} | style="height: 20px" | style="display: none;"}} | ||
| colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Heal Recharge Time''' {{#if: {{{HealRechargeSolo|}}} | <small>(coop)</small> |}} | | colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Heal Recharge Time''' {{#if: {{{HealRechargeSolo|}}} | <small>(coop)</small> |}} | ||
Line 87: | Line 90: | ||
| colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Heal Recharge Time''' <small>(solo)</small> | | colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Heal Recharge Time''' <small>(solo)</small> | ||
| colspan="2" style="padding-right: 12px; text-align: right;" | {{#expr: {{{HealRechargeSolo}}} round 1}}s | | colspan="2" style="padding-right: 12px; text-align: right;" | {{#expr: {{{HealRechargeSolo}}} round 1}}s | ||
|- {{#if: {{{HealDuration|}}} | style="height: 20px" | style="display: none;"}} | |||
| colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Heal Duration''' | |||
| colspan="2" style="padding-right: 12px; text-align: right;" | {{#expr: {{{HealDuration}}} round 1}}s | |||
|- {{#if: {{{SecondaryMagazineSize|}}} | style="height: 20px" | style="display: none;"}} | |- {{#if: {{{SecondaryMagazineSize|}}} | style="height: 20px" | style="display: none;"}} | ||
| colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Magazine Size''' | | colspan="2" style="padding-left: 12px; vertical-align: top; white-space: nowrap;" | '''Magazine Size''' | ||
Line 159: | Line 165: | ||
| HealAmount=0 | | HealAmount=0 | ||
| HealAmountSolo=0 | | HealAmountSolo=0 | ||
| HealAmountGrenade=0 | |||
| HealRecharge=0 | | HealRecharge=0 | ||
| HealRechargeSolo=0 | | HealRechargeSolo=0 | ||
| HealDuration=0 | |||
| SecondaryMagazineSize=0 | | SecondaryMagazineSize=0 | ||
| SecondaryAmmoCapacity=100 | | SecondaryAmmoCapacity=100 | ||
Line 434: | Line 442: | ||
| style="vertical-align: top;" |   | | style="vertical-align: top;" |   | ||
| style="vertical-align: top; width: 300px;" | How much you heal yourself <small>(Syringe only)</small> | | style="vertical-align: top; width: 300px;" | How much you heal yourself <small>(Syringe only)</small> | ||
| style="vertical-align: top;" |   | |||
| style="vertical-align: top;" | ''Example: '' | |||
| style="vertical-align: top;" | ''0'' | |||
|- | |||
| colspan="6" | | |||
---- | |||
|- | |||
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| HealAmountGrenade=</nowiki> | |||
| style="vertical-align: top;" |   | |||
| style="vertical-align: top; width: 300px;" | How much you heal per second <small>(Grenade only)</small> | |||
| style="vertical-align: top;" |   | | style="vertical-align: top;" |   | ||
| style="vertical-align: top;" | ''Example: '' | | style="vertical-align: top;" | ''Example: '' | ||
Line 454: | Line 472: | ||
| style="vertical-align: top;" |   | | style="vertical-align: top;" |   | ||
| style="vertical-align: top; width: 300px;" | How long it takes until the Syringe is fully charged after healing yourself <small>(Syringe only)</small> | | style="vertical-align: top; width: 300px;" | How long it takes until the Syringe is fully charged after healing yourself <small>(Syringe only)</small> | ||
| style="vertical-align: top;" |   | |||
| style="vertical-align: top;" | ''Example: '' | |||
| style="vertical-align: top;" | ''0'' | |||
|- | |||
| colspan="6" | | |||
---- | |||
|- | |||
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| HealDuration=</nowiki> | |||
| style="vertical-align: top;" |   | |||
| style="vertical-align: top; width: 300px;" | How long the Medic Grenade lasts <small>(Grenade only)</small> | |||
| style="vertical-align: top;" |   | | style="vertical-align: top;" |   | ||
| style="vertical-align: top;" | ''Example: '' | | style="vertical-align: top;" | ''Example: '' | ||
Line 624: | Line 652: | ||
| HealAmount= | | HealAmount= | ||
| HealAmountSolo= | | HealAmountSolo= | ||
| HealAmountGrenade= | |||
| HealRecharge= | | HealRecharge= | ||
| HealRechargeSolo= | | HealRechargeSolo= | ||
| HealDuration= | |||
| SecondaryMagazineSize= | | SecondaryMagazineSize= | ||
| SecondaryAmmoCapacity= | | SecondaryAmmoCapacity= |
Revision as of 13:38, 31 July 2016
Killing Floor 2 item | |||
9mm Pistol | |||
Damage | 15 | ||
Fire Rate | 343 | ||
Accuracy | 50 | ||
Penetration | 0 | ||
Magazine Size | 15 | ||
Ammo Capacity | 225 | ||
• Fire mode is semi-auto only. • This is the standard 9mm pistol. Simple and cheap (very cheap, frankly, to you), it is the basic sidearm for all Horzine operatives. | |||
General Information | |||
Perk | All | ||
Pricing | 0 | ||
Weight | 0 | ||
Weapon Information | |||
Starting Ammo | 15 + 105 | ||
Ammo Cost | 8 | ||
Block (damage multiplier) | ×1 | ||
Parry (damage multiplier) | ×1 | ||
Weapon Type | Pistol | ||
Secondary Ammo | |||
Ammo Type | Healing Darts | ||
Heal Amount (coop) | 0 | ||
Heal Amount (solo) | 0 | ||
Heal Amount (per second) | 0 | ||
Heal Recharge Time (coop) | 0s | ||
Heal Recharge Time (solo) | 0s | ||
Heal Duration | 0s | ||
Magazine Size | 0 | ||
Ammo Capacity | 100 | ||
Starting Ammo | 100 | ||
Ammo Consumption (per use) | 0 | ||
Ammo Cost | 0 | ||
Related Achievements | |||
Syntax
Parameters
{{KF2WeaponInfo | |||||
| |||||
| Name= | Name of the weapon | Example: | 9mm Pistol | ||
| |||||
| PerkImage= | Name of the image of the corresponding perk | Example: | KF2_No_Perk_White.png | ||
| |||||
| PerkLink= | Name of the page of the corresponding perk | Example: | Perks (Killing Floor 2) | ||
| |||||
| WeaponImage= | Name of the image of the corresponding weapon | Example: | KF29mm Pistol.png | ||
| |||||
| Damage= | Damage value of the weapon | Example: | 15.000000 | ||
| |||||
| FireRate= | Fire Rate value of the weapon | Example: | 342.857147 | ||
| |||||
| Accuracy= | Accuracy value of the weapon | Example: | 50.000000 | ||
| |||||
| Penetration= | Penetration value of the weapon | Example: | 0.000000 | ||
| |||||
| MagazineSize= | Magazine capacity | Example: | 15 | ||
| |||||
| AmmoCapacity= | Maximum spare ammo | Example: | 225 | ||
| |||||
| Description= | Trader descripton of the weapon | Example: | • Fire mode is semi-auto only. • This is the standard 9mm pistol. Simple and cheap (very cheap, frankly, to you), it is the basic sidearm for all Horzine operatives. | ||
| |||||
| | |||||
| |||||
| PerkName= | Name of the corresponding perk | Example: | All | ||
| |||||
| Pricing= | How much the weapon costs at the trader | Example: | 0 | ||
| |||||
| Weight= | How much the weapon weights | Example: | 0 | ||
| |||||
| | |||||
| |||||
| InitialSpareMags= | How much spare magazines you have Displays "Starting Ammo" |
Example: | 7 | ||
| |||||
| AmmoCost= | How much one magazine costs | Example: | 8 | ||
| |||||
| Block= | Damage multiplier while blocking | Example: | 1 | ||
| |||||
| Parry= | Damage multiplier while parrying | Example: | 1 | ||
| |||||
| WeaponType= | The weapons weapon type | Example: | Pistol | ||
| |||||
| | |||||
| |||||
| SecondaryAmmoType= | Ammo Type of the secondary Ammunition | Example: | Healing Dart | ||
| |||||
| SecondaryAmmoImage= | Name of the Image of the corresponding Ammo Type | Example: | KF2_SecondaryAmmo_MedicDarts_Gray.png | ||
| |||||
| HealAmount= | How much the Healing Dart heals other players | Example: | 0 | ||
| |||||
| HealAmountSolo= | How much you heal yourself (Syringe only) | Example: | 0 | ||
| |||||
| HealAmountGrenade= | How much you heal per second (Grenade only) | Example: | 0 | ||
| |||||
| HealRecharge= | How long it takes until the Healing Dart / Syringe is fully charged after healing other players | Example: | 0 | ||
| |||||
| HealRechargeSolo= | How long it takes until the Syringe is fully charged after healing yourself (Syringe only) | Example: | 0 | ||
| |||||
| HealDuration= | How long the Medic Grenade lasts (Grenade only) | Example: | 0 | ||
| |||||
| SecondaryMagazineSize= | Magazine Size of the secondary Ammo Type | Example: | 0 | ||
| |||||
| SecondaryAmmoCapacity= | Maximum spare ammo of the secondary Ammo Type | Example: | 100 | ||
| |||||
| SecondaryAmmoConsumption= | How much ammo it takes to use one shot / attack with the weapon | Example: | 0 | ||
| |||||
| SecondaryAmmoCost= | How much one magazine costs of the secondary Ammo Type | Example: | 0 | ||
| |||||
| | |||||
| |||||
| Achievement_0_Image= | Name of the image of the corresponding achievement | Example: | KF2_Achievement_109.jpg | ||
| |||||
| Achievement_0_Name= | Name of the achievement the weapon is related to | Example: | School's Out Forever | ||
| |||||
| Achievement_1_Image= | |||||
| |||||
| Achievement_1_Name= | |||||
| |||||
| . | . | . |
. . . |
. . . | |||
| |||||
| Achievement_9_Image= | |||||
| |||||
| Achievement_9_Name= | |||||
| |||||
}} |
Weapon Types
There are 10 specific choices for this section.
Weapon Type | Corresponding Image |
---|---|
Pistol | |
Shotgun | |
Rifle | |
Projectile | |
Flame Weapon | |
Electric Weapon | |
Explosive | |
Assault Rifle | |
Melee Weapon | |
SMG |
Template
Copy this template for quick usage.
{{KF2WeaponInfo | Name= | PerkImage= | PerkLink= | WeaponImage= | Damage= | FireRate= | Accuracy= | Penetration= | MagazineSize= | AmmoCapacity= | Description= | | PerkName= | Pricing= | Weight= | | InitialSpareMags= | AmmoCost= | Block= | Parry= | WeaponType= | | SecondaryAmmoType= | SecondaryAmmoImage= | HealAmount= | HealAmountSolo= | HealAmountGrenade= | HealRecharge= | HealRechargeSolo= | HealDuration= | SecondaryMagazineSize= | SecondaryAmmoCapacity= | SecondaryAmmoConsumption= | SecondaryAmmoCost= | | Achievement_0_Image= | Achievement_0_Name= | Achievement_1_Image= | Achievement_1_Name= | Achievement_2_Image= | Achievement_2_Name= | Achievement_3_Image= | Achievement_3_Name= | Achievement_4_Image= | Achievement_4_Name= | Achievement_5_Image= | Achievement_5_Name= | Achievement_6_Image= | Achievement_6_Name= | Achievement_7_Image= | Achievement_7_Name= | Achievement_8_Image= | Achievement_8_Name= | Achievement_9_Image= | Achievement_9_Name= }}