Template:KF2WeaponInfo: Difference between revisions
Jump to navigation
Jump to search
(Added some new parameters and "related achievment"-support (up to 10 achievements)) |
(Added solo heal parameters) |
||
Line 49: | Line 49: | ||
|- {{#ifexpr: {{#if: {{{PerkName|}}} | 1 | 0}} or {{#if: {{{Pricing|}}} | 1 | 0}} or {{#if: {{{Weight|}}} | 1 | 0}} || style="display: none;"}} | |- {{#ifexpr: {{#if: {{{PerkName|}}} | 1 | 0}} or {{#if: {{{Pricing|}}} | 1 | 0}} or {{#if: {{{Weight|}}} | 1 | 0}} || style="display: none;"}} | ||
| colspan="4" style="height: 12px;" | | | colspan="4" style="height: 12px;" | | ||
|- {{#ifexpr: {{#if: {{{InitialSpareMags|}}} | 1 | 0}} or {{#if: {{{AmmoCost|}}} | 1 | 0}} or {{#if: {{{Block|}}} | 1 | 0}} or {{#if: {{{Parry|}}} | 1 | 0}} or {{#if: {{{HealAmount|}}} | 1 | 0}} or {{#if: {{{HealRecharge|}}} | 1 | 0}} or {{#if: {{{WeaponType|}}} | 1 | 0}} or {{#if: {{{SecondaryMagazineSize|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCapacity|}}} | 1 | 0}} or {{#if: {{{SecondaryInitialSpareMags|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCost|}}} | 1 | 0}} | style="background: #202224; border-top: #bd0000 solid 5px; color: #ffffff; margin-top: 12px; text-align: center;" | 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: {{{HealAmount|}}} | 1 | 0}} or {{#if: {{{HealAmountSolo|}}} | 1 | 0}} or {{#if: {{{HealRecharge|}}} | 1 | 0}} or {{#if: {{{HealRechargeSolo|}}} | 1 | 0}} or {{#if: {{{WeaponType|}}} | 1 | 0}} or {{#if: {{{SecondaryMagazineSize|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCapacity|}}} | 1 | 0}} or {{#if: {{{SecondaryInitialSpareMags|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCost|}}} | 1 | 0}} | style="background: #202224; border-top: #bd0000 solid 5px; color: #ffffff; margin-top: 12px; text-align: center;" | style="display: none;"}} | ||
| colspan="4" style="height: 30px;" | '''Weapon Information''' | | colspan="4" style="height: 30px;" | '''Weapon Information''' | ||
|- {{#ifexpr: {{#if: {{{InitialSpareMags|}}} | 1 | 0}} or {{#if: {{{AmmoCost|}}} | 1 | 0}} or {{#if: {{{Block|}}} | 1 | 0}} or {{#if: {{{Parry|}}} | 1 | 0}} or {{#if: {{{HealAmount|}}} | 1 | 0}} or {{#if: {{{HealRecharge|}}} | 1 | 0}} or {{#if: {{{WeaponType|}}} | 1 | 0}} or {{#if: {{{SecondaryMagazineSize|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCapacity|}}} | 1 | 0}} or {{#if: {{{SecondaryInitialSpareMags|}}} | 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: {{{HealAmount|}}} | 1 | 0}} or {{#if: {{{HealAmountSolo|}}} | 1 | 0}} or {{#if: {{{HealRecharge|}}} | 1 | 0}} or {{#if: {{{HealRechargeSolo|}}} | 1 | 0}} or {{#if: {{{WeaponType|}}} | 1 | 0}} or {{#if: {{{SecondaryMagazineSize|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCapacity|}}} | 1 | 0}} or {{#if: {{{SecondaryInitialSpareMags|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCost|}}} | 1 | 0}} || style="display: none;"}} | ||
| colspan="4" style="height: 12px;" | | | colspan="4" style="height: 12px;" | | ||
|- {{#if: {{{InitialSpareMags|}}} | style="height: 20px" | style="display: none;"}} | |- {{#if: {{{InitialSpareMags|}}} | style="height: 20px" | style="display: none;"}} | ||
Line 66: | Line 66: | ||
| colspan="2" style="padding-right: 12px; text-align: right;" | ×{{#expr: {{{Parry}}} round 1}} | | colspan="2" style="padding-right: 12px; text-align: right;" | ×{{#expr: {{{Parry}}} round 1}} | ||
|- {{#if: {{{HealAmount|}}} | style="height: 20px" | style="display: none;"}} | |- {{#if: {{{HealAmount|}}} | style="height: 20px" | style="display: none;"}} | ||
| colspan="2" style="padding-left: 12px; white-space: nowrap;" | '''Heal Amount''' | | colspan="2" style="padding-left: 12px; white-space: nowrap;" | '''Heal Amount''' {{#if: {{{HealAmountSolo|}}} | <small>(Coop)</small> |}} | ||
| colspan="2" style="padding-right: 12px; text-align: right;" | {{{HealAmount}}} | |||
|- {{#if: {{{HealAmountSolo|}}} | style="height: 20px" | style="display: none;"}} | |||
| colspan="2" style="padding-left: 12px; white-space: nowrap;" | '''Heal Amount''' <small>(Solo)</small> | |||
| colspan="2" style="padding-right: 12px; text-align: right;" | {{{HealAmount}}} | | colspan="2" style="padding-right: 12px; text-align: right;" | {{{HealAmount}}} | ||
|- {{#if: {{{HealRecharge|}}} | style="height: 20px" | style="display: none;"}} | |- {{#if: {{{HealRecharge|}}} | style="height: 20px" | style="display: none;"}} | ||
| colspan="2" style="padding-left: 12px; white-space: nowrap;" | '''Heal Recharge''' <small>(Time)</small> | | colspan="2" style="padding-left: 12px; white-space: nowrap;" | '''Heal Recharge Time''' {{#if: {{{HealRechargeSolo|}}} | <small>(Coop)</small> |}} | ||
| colspan="2" style="padding-right: 12px; text-align: right;" | {{#expr: {{{HealRecharge}}} round 1}}s | |||
|- {{#if: {{{HealRechargeSolo|}}} | style="height: 20px" | style="display: none;"}} | |||
| colspan="2" style="padding-left: 12px; white-space: nowrap;" | '''Heal Recharge Time''' <small>(Solo)</small> | |||
| colspan="2" style="padding-right: 12px; text-align: right;" | {{#expr: {{{HealRecharge}}} round 1}}s | | colspan="2" style="padding-right: 12px; text-align: right;" | {{#expr: {{{HealRecharge}}} round 1}}s | ||
|- {{#if: {{{WeaponType|}}} | style="height: 20px" | style="display: none;"}} | |- {{#if: {{{WeaponType|}}} | style="height: 20px" | style="display: none;"}} | ||
| colspan="2" style="padding-left: 12px; white-space: nowrap;" | '''Weapon Type''' | | colspan="2" style="padding-left: 12px; 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}}} | ||
|- {{#ifexpr: ({{#if: {{{InitialSpareMags|}}} | 1 | 0}} or {{#if: {{{AmmoCost|}}} | 1 | 0}} or {{#if: {{{Block|}}} | 1 | 0}} or {{#if: {{{Parry|}}} | 1 | 0}} or {{#if: {{{HealAmount|}}} | 1 | 0}} or {{#if: {{{HealRecharge|}}} | 1 | 0}} or {{#if: {{{WeaponType|}}} | 1 | 0}}) and ({{#if: {{{SecondaryMagazineSize|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCapacity|}}} | 1 | 0}} or {{#if: {{{SecondaryInitialSpareMags|}}} | 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: {{{HealAmount|}}} | 1 | 0}} or {{#if: {{{HealAmountSolo|}}} | 1 | 0}} or {{#if: {{{HealRecharge|}}} | 1 | 0}} or {{#if: {{{HealRechargeSolo|}}} | 1 | 0}} or {{#if: {{{WeaponType|}}} | 1 | 0}}) and ({{#if: {{{SecondaryMagazineSize|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCapacity|}}} | 1 | 0}} or {{#if: {{{SecondaryInitialSpareMags|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCost|}}} | 1 | 0}}) || style="display: none;"}} | ||
| colspan="4" style="height: 6px;" | | | colspan="4" style="height: 6px;" | | ||
|- {{#if: {{{SecondaryMagazineSize|}}} | style="height: 20px" | style="display: none;"}} | |- {{#if: {{{SecondaryMagazineSize|}}} | style="height: 20px" | style="display: none;"}} | ||
Line 88: | Line 94: | ||
| colspan="2" style="padding-left: 12px; white-space: nowrap;" | '''Ammo Cost''' <small>(Secondary)</small> | | colspan="2" style="padding-left: 12px; white-space: nowrap;" | '''Ammo Cost''' <small>(Secondary)</small> | ||
| colspan="2" style="padding-right: 12px; text-align: right;" | [[File:KF2_Dosh_Gray.png|baseline|10px|link=]] {{{SecondaryAmmoCost}}} | | colspan="2" style="padding-right: 12px; text-align: right;" | [[File:KF2_Dosh_Gray.png|baseline|10px|link=]] {{{SecondaryAmmoCost}}} | ||
|- {{#ifexpr: {{#if: {{{InitialSpareMags|}}} | 1 | 0}} or {{#if: {{{AmmoCost|}}} | 1 | 0}} or {{#if: {{{Block|}}} | 1 | 0}} or {{#if: {{{Parry|}}} | 1 | 0}} or {{#if: {{{HealAmount|}}} | 1 | 0}} or {{#if: {{{HealRecharge|}}} | 1 | 0}} or {{#if: {{{WeaponType|}}} | 1 | 0}} or {{#if: {{{SecondaryMagazineSize|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCapacity|}}} | 1 | 0}} or {{#if: {{{SecondaryInitialSpareMags|}}} | 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: {{{HealAmount|}}} | 1 | 0}} or {{#if: {{{HealAmountSolo|}}} | 1 | 0}} or {{#if: {{{HealRecharge|}}} | 1 | 0}} or {{#if: {{{HealRechargeSolo|}}} | 1 | 0}} or {{#if: {{{WeaponType|}}} | 1 | 0}} or {{#if: {{{SecondaryMagazineSize|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCapacity|}}} | 1 | 0}} or {{#if: {{{SecondaryInitialSpareMags|}}} | 1 | 0}} or {{#if: {{{SecondaryAmmoCost|}}} | 1 | 0}} || style="display: none;"}} | ||
| colspan="4" style="height: 12px;" | | | colspan="4" style="height: 12px;" | | ||
|- {{#ifexpr: {{#if: {{{Achievement_0_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_1_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_2_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_3_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_4_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_5_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_6_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_7_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_8_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_9_Name|}}} | 1 | 0}} | style="background: #202224; border-top: #bd0000 solid 5px; color: #ffffff; margin-top: 12px; text-align: center;" | style="display: none;"}} | |- {{#ifexpr: {{#if: {{{Achievement_0_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_1_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_2_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_3_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_4_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_5_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_6_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_7_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_8_Name|}}} | 1 | 0}} or {{#if: {{{Achievement_9_Name|}}} | 1 | 0}} | style="background: #202224; border-top: #bd0000 solid 5px; color: #ffffff; margin-top: 12px; text-align: center;" | style="display: none;"}} | ||
Line 140: | Line 146: | ||
| Parry=1 | | Parry=1 | ||
| HealAmount=0 | | HealAmount=0 | ||
| HealAmountSolo=0 | |||
| HealRecharge=0 | | HealRecharge=0 | ||
| HealRechargeSolo=0 | |||
| WeaponType=Pistol | | WeaponType=Pistol | ||
| SecondaryMagazineSize=0 | | SecondaryMagazineSize=0 |
Revision as of 17:43, 27 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 | 120 | ||
Ammo Cost | 8 | ||
Block (Damage Multiplier) | ×1 | ||
Parry (Damage Multiplier) | ×1 | ||
Heal Amount (Coop) | 0 | ||
Heal Amount (Solo) | 0 | ||
Heal Recharge Time (Coop) | 0s | ||
Heal Recharge Time (Solo) | 0s | ||
Weapon Type | Pistol | ||
Magazine Size (Secondary) | 0 | ||
Ammo Capacity (Secondary) | 0 | ||
Starting Ammo (Secondary) | 0 | ||
Ammo Cost (Secondary) | 0 | ||
Related Achievements | |||
Syntax
{{KF2WeaponInfo | Name=9mm Pistol | PerkImage=KF2_No_Perk_White.png | WeaponImage=KF29mm Pistol.png | Damage=15.000000 | FireRate=342.857147 | Accuracy=50.000000 | Penetration=0.000000 | MagazineSize=15 | AmmoCapacity=225 | Description=• Fire mode is semi-auto only.<br />• This is the standard 9mm pistol. Simple and cheap (very cheap, frankly, to you), it is the basic sidearm for all Horzine operatives. | | PerkLink=Perks (Killing Floor 2) | PerkName=All | Pricing=0 | Weight=0 | | InitialSpareMags=7 | AmmoCost=8 | Block=1 | Parry=1 | HealAmount=0 | HealRecharge=0 | WeaponType=Pistol | SecondaryMagazineSize=0 | SecondaryAmmoCapacity=0 | SecondaryInitialSpareMags=0 | SecondaryAmmoCost=0 | | Achievement_0_Image=KF2_Achievement_109.jpg | Achievement_0_Name=School's Out Forever | Achievement_1_Image=KF2_Achievement_5.jpg | Achievement_1_Name=This Is What Happens When You Meet A Zed In The Alps | 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= }}
Explanation
Name | Name of the weapon | Example: | 9mm Pistol | ||
PerkImage | Name of the image of the corresponding perk | Example: | KF2_No_Perk_White.png | ||
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. | ||
PerkLink | Name of the page of the corresponding perk | Example: | Perks (Killing Floor 2) | ||
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 | ||
AmmoCost | How much one magazine costs | Example: | 8 |