Template:KF2WeaponInfo: Difference between revisions

From Tripwire Interactive Wiki
Jump to navigation Jump to search
No edit summary
(Corrected some display issues, explanation added)
Line 1: Line 1:
<includeonly>{|style="background: #000000; border-collapse: collapse; color: #a6a7a9; float: right; text-align: left; vertical-align: middle; width: 320px;"
<includeonly>{|style="background: #000000; border-collapse: collapse; color: #a6a7a9; float: right; margin: 0 0 24px 24px; text-align: left; vertical-align: middle; width: 324px;"
|- style="text-align: center;"
|- style="text-align: center;"
| colspan="2" style="padding: 5px 10px;" | <small>''[[Killing Floor 2|<span style="color: #a6a7a9;">Killing Floor 2</span>]] item''</small>
| colspan="4" style="padding: 6px 12px;" | <small>''[[Killing Floor 2|<span style="color: #a6a7a9;">Killing Floor 2</span>]] item''</small>
|- style="background: #202224; border-top: #bd0000 solid 5px; color: #ffffff; text-align: center;"
|- style="background: #202224; border-top: #bd0000 solid 5px; color: #ffffff; text-align: center;"
| colspan="2" style="height: 30px; position: relative;" | '''{{{Name}}}'''<div style="position: absolute; top: 5px; left: 5px;">[[File:{{{PerkImage}}}|20px|link={{#if: {{{PerkLink|}}}|{{{PerkLink}}}|}}]]</div>
| colspan="4" style="height: 30px; position: relative;" | '''{{{Name}}}'''<div style="position: absolute; top: 4px; left: 6px;">[[File:{{{PerkImage}}}|20px|link={{#if: {{{PerkLink|}}}|{{{PerkLink}}}|}}]]</div>
|- style="text-align: center;"
|- style="text-align: center;"
| colspan="2" style="padding: 10px;" | [[File:{{{WeaponImage}}}|300px]]
| colspan="4" style="padding: 12px;" | [[File:{{{WeaponImage}}}|300px]]
|- {{#if: {{{Damage|}}} | style="height: 20px" | style="display: none;"}}
|- {{#if: {{{Damage|}}} | style="height: 20px" | style="display: none;"}}
| style="padding-left: 10px; width: 125px;" | '''Damage'''
| style="padding-left: 12px; width: 125px;" | '''Damage'''
| style="padding-right: 10px; text-align: right;" | <div style="background: #202224; border: #a6a7a9 solid 1px; box-shadow: inset 0 0 0 1px #000000; float: left; height: 12px; margin-top: 1px; width: 102px;"><div style="background: #ffffff; height: 10px; position: relative; top: 1px; left: 1px; width: {{#expr: (({{#ifeq: {{#expr: {{{Damage}}} / 820 <= 1}} | 1 | {{#expr: {{{Damage}}} / 820}} | 1 }}) ^ 0.5) * 100 }}px"></div></div> {{#expr: trunc {{{Damage}}}}}
| colspan="2" | <div style="background: #202224; border: #a6a7a9 solid 1px; box-shadow: inset 0 0 0 1px #000000; display: table-cell; height: 12px; margin-top: 4px; width: 102px;"><div style="background: #ffffff; height: 10px; position: relative; top: 1px; left: 1px; width: {{#expr: (({{#ifeq: {{#expr: {{{Damage}}} / 820 <= 1}} | 1 | {{#expr: {{{Damage}}} / 820}} | 1 }}) ^ 0.5) * 100 }}px"></div></div>
| style="padding-right: 12px; text-align: right;" | {{#expr: {{{Damage}}} round 0}}
|- {{#if: {{{FireRate|}}} | style="height: 20px" | style="display: none;"}}
|- {{#if: {{{FireRate|}}} | style="height: 20px" | style="display: none;"}}
| style="padding-left: 10px; width: 125px;" | '''Fire Rate'''
| style="padding-left: 12px; width: 125px;" | '''Fire Rate'''
| style="padding-right: 10px; text-align: right;" | <div style="background: #202224; border: #a6a7a9 solid 1px; box-shadow: inset 0 0 0 1px #000000; float: left; height: 12px; margin-top: 1px; width: 102px;"><div style="background: #ffffff; height: 10px; position: relative; top: 1px; left: 1px; width: {{#expr: ({{#ifeq: {{#expr: {{{FireRate}}} / 800 <= 1}} | 1 | {{#expr: {{{FireRate}}} / 800}} | 1 }}) * 100 }}px"></div></div> {{#expr: trunc {{{FireRate}}}}}
| colspan="2" | <div style="background: #202224; border: #a6a7a9 solid 1px; box-shadow: inset 0 0 0 1px #000000; display: table-cell; height: 12px; margin-top: 4px; width: 102px;"><div style="background: #ffffff; height: 10px; position: relative; top: 1px; left: 1px; width: {{#expr: ({{#ifeq: {{#expr: {{{FireRate}}} / 800 <= 1}} | 1 | {{#expr: {{{FireRate}}} / 800}} | 1 }}) * 100 }}px"></div></div>
| style="padding-right: 12px; text-align: right;" | {{#expr: {{{FireRate}}} round 0}}
|- {{#if: {{{Accuracy|}}} | style="height: 20px" | style="display: none;"}}
|- {{#if: {{{Accuracy|}}} | style="height: 20px" | style="display: none;"}}
| style="padding-left: 10px; width: 125px;" | '''Accuracy'''
| style="padding-left: 12px; width: 125px;" | '''Accuracy'''
| style="padding-right: 10px; text-align: right;" | <div style="background: #202224; border: #a6a7a9 solid 1px; box-shadow: inset 0 0 0 1px #000000; float: left; height: 12px; margin-top: 1px; width: 102px;"><div style="background: #ffffff; height: 10px; position: relative; top: 1px; left: 1px; width: {{#expr: (({{#ifeq: {{#expr: {{{Accuracy}}} / 100 <= 1}} | 1 | {{#expr: {{{Accuracy}}} / 100}} | 1 }}) ^ 0.5) * 100 }}px"></div></div> {{#expr: trunc {{{Accuracy}}}}}
| colspan="2" | <div style="background: #202224; border: #a6a7a9 solid 1px; box-shadow: inset 0 0 0 1px #000000; display: table-cell; height: 12px; margin-top: 4px; width: 102px;"><div style="background: #ffffff; height: 10px; position: relative; top: 1px; left: 1px; width: {{#expr: (({{#ifeq: {{#expr: {{{Accuracy}}} / 100 <= 1}} | 1 | {{#expr: {{{Accuracy}}} / 100}} | 1 }}) ^ 0.5) * 100 }}px"></div></div>
| style="padding-right: 12px; text-align: right;" | {{#expr: {{{Accuracy}}} round 0}}
|- {{#if: {{{Penetration|}}} | style="height: 20px" | style="display: none;"}}
|- {{#if: {{{Penetration|}}} | style="height: 20px" | style="display: none;"}}
| style="padding-left: 10px; width: 125px;" | '''Penetration'''
| style="padding-left: 12px; width: 125px;" | '''Penetration'''
| style="padding-right: 10px; text-align: right;" | <div style="background: #202224; border: #a6a7a9 solid 1px; box-shadow: inset 0 0 0 1px #000000; float: left; height: 12px; margin-top: 1px; width: 102px;"><div style="background: #ffffff; height: 10px; position: relative; top: 1px; left: 1px; width: {{#expr: ({{#ifeq: {{#expr: {{{Penetration}}} / 4 <= 1}} | 1 | {{#expr: {{{Penetration}}} / 4}} | 1 }}) * 100 }}px"></div></div> {{#expr: trunc {{{Penetration}}}}}
| colspan="2" | <div style="background: #202224; border: #a6a7a9 solid 1px; box-shadow: inset 0 0 0 1px #000000; display: table-cell; height: 12px; margin-top: 4px; width: 102px;"><div style="background: #ffffff; height: 10px; position: relative; top: 1px; left: 1px; width: {{#expr: ({{#ifeq: {{#expr: {{{Penetration}}} / 4 <= 1}} | 1 | {{#expr: {{{Penetration}}} / 4}} | 1 }}) * 100 }}px"></div></div>
| style="padding-right: 12px; text-align: right;" | {{#expr: {{{Penetration}}} round 1}}
|- {{#if: {{{MagazineSize|}}} | style="height: 20px" | style="display: none;"}}
|- {{#if: {{{MagazineSize|}}} | style="height: 20px" | style="display: none;"}}
| style="padding-left: 10px; width: 125px;" | '''Magazine Size'''
| colspan="2" style="padding-left: 12px;" | '''Magazine Size'''
| style="padding-right: 10px; text-align: right;" | {{{MagazineSize}}} {{#ifexpr: not 0 || [[File:KF2_Magazine_Gray.png|baseline|12px|link=]]}}
| colspan="2" style="padding-right: 12px; text-align: right;" | {{{MagazineSize}}} {{#ifexpr: not 0 || [[File:KF2_Magazine_Gray.png|baseline|12px|link=]]}}
|- {{#if: {{{AmmoCapacity|}}} | style="height: 20px" | style="display: none;"}}
|- {{#if: {{{AmmoCapacity|}}} | style="height: 20px" | style="display: none;"}}
| style="padding-left: 10px; width: 125px;" | '''Ammo Capacity'''
| colspan="2" style="padding-left: 12px;" | '''Ammo Capacity'''
| style="padding-right: 10px; text-align: right;" | {{{AmmoCapacity}}} {{#ifexpr: not 0 || [[File:KF2_Ammo_Gray.png|baseline|12px|link=]]}}
| colspan="2" style="padding-right: 12px; text-align: right;" | {{{AmmoCapacity}}} {{#ifexpr: not 0 || [[File:KF2_Ammo_Gray.png|baseline|12px|link=]]}}
|- {{#ifexpr: {{#if: {{{Damage|}}} | 1 | 0}} or {{#if: {{{FireRate|}}} | 1 | 0}} or {{#if: {{{Accuracy|}}} | 1 | 0}} or {{#if: {{{Penetration|}}} | 1 | 0}} or {{#if: {{{MagazineSize|}}} | 1 | 0}} or {{#if: {{{AmmoCapacity|}}} | 1 | 0}} || style="display: none;"}}
|- {{#ifexpr: {{#if: {{{Damage|}}} | 1 | 0}} or {{#if: {{{FireRate|}}} | 1 | 0}} or {{#if: {{{Accuracy|}}} | 1 | 0}} or {{#if: {{{Penetration|}}} | 1 | 0}} or {{#if: {{{MagazineSize|}}} | 1 | 0}} or {{#if: {{{AmmoCapacity|}}} | 1 | 0}} || style="display: none;"}}
| colspan="2" style="height: 10px;" |  
| colspan="4" style="height: 6px;" |  
|- {{#if: {{{Description|}}} || style="display: none;"}}
|- {{#if: {{{Description|}}} || style="display: none;"}}
| colspan="2" style="padding: 0 10px" | {{{Description}}}
| colspan="4" style="padding: 0 10px" | {{{Description}}}
|- {{#if: {{{Description|}}} || style="display: none;"}}
|- {{#if: {{{Description|}}} || style="display: none;"}}
| colspan="2" style="height: 10px;" |  
| colspan="4" style="height: 12px;" |  
|- {{#ifexpr: {{#if: {{{PerkLink|}}} | 1 | 0}} or {{#if: {{{PerkName|}}} | 1 | 0}} or {{#if: {{{Pricing|}}} | 1 | 0}} or {{#if: {{{Weight|}}} | 1 | 0}} | style="background: #202224; border-top: #bd0000 solid 5px; color: #ffffff; margin-top: 10px; text-align: center;" | style="display: none;"}}
|- {{#ifexpr: {{#if: {{{PerkLink|}}} | 1 | 0}} or {{#if: {{{PerkName|}}} | 1 | 0}} or {{#if: {{{Pricing|}}} | 1 | 0}} or {{#if: {{{Weight|}}} | 1 | 0}} | style="background: #202224; border-top: #bd0000 solid 5px; color: #ffffff; margin-top: 12px; text-align: center;" | style="display: none;"}}
| colspan="2" style="height: 30px;" | '''General Information'''
| colspan="4" style="height: 30px;" | '''General Information'''
|- {{#ifexpr: {{#if: {{{PerkLink|}}} | 1 | 0}} or {{#if: {{{PerkName|}}} | 1 | 0}} or {{#if: {{{Pricing|}}} | 1 | 0}} or {{#if: {{{Weight|}}} | 1 | 0}} || style="display: none;"}}
|- {{#ifexpr: {{#if: {{{PerkLink|}}} | 1 | 0}} or {{#if: {{{PerkName|}}} | 1 | 0}} or {{#if: {{{Pricing|}}} | 1 | 0}} or {{#if: {{{Weight|}}} | 1 | 0}} || style="display: none;"}}
| colspan="2" style="height: 10px;" |  
| colspan="4" style="height: 12px;" |  
|- {{#ifexpr: {{#if: {{{PerkLink|}}} | 1 | 0}} and {{#if: {{{PerkName|}}} | 1 | 0}} | style="height: 20px" | style="display: none;"}}
|- {{#ifexpr: {{#if: {{{PerkLink|}}} | 1 | 0}} and {{#if: {{{PerkName|}}} | 1 | 0}} | style="height: 20px" | style="display: none;"}}
| style="padding-left: 10px; width: 125px;" | '''Perk'''
| colspan="2" style="padding-left: 12px; width: 125px;" | '''Perk'''
| style="padding-right: 10px; text-align: right;" | [[{{{PerkLink}}}|<span style="color: #a6a7a9;">{{{PerkName}}}</span>]]
| colspan="2" style="padding-right: 12px; text-align: right;" | [[{{{PerkLink}}}|<span style="color: #a6a7a9;">{{{PerkName}}}</span>]]
|- {{#if: {{{Pricing|}}} | style="height: 20px" | style="display: none;"}}
|- {{#if: {{{Pricing|}}} | style="height: 20px" | style="display: none;"}}
| style="padding-left: 10px; width: 125px;" | '''Pricing'''
| colspan="2" style="padding-left: 12px; width: 125px;" | '''Pricing'''
| style="padding-right: 10px; text-align: right;" | [[File:KF2_Dosh_Gray.png|baseline|12px|link=]] {{{Pricing}}}
| colspan="2" style="padding-right: 12px; text-align: right;" | [[File:KF2_Dosh_Gray.png|baseline|10px|link=]] {{{Pricing}}}
|- {{#if: {{{Weight|}}} | style="height: 20px" | style="display: none;"}}
|- {{#if: {{{Weight|}}} | style="height: 20px" | style="display: none;"}}
| style="padding-left: 10px; width: 125px;" | '''Weight'''
| colspan="2" style="padding-left: 12px; width: 125px;" | '''Weight'''
| style="padding-right: 10px; text-align: right;" | [[File:KF2_Weight_Gray.png|baseline|12px|link=]] {{{Weight}}}
| colspan="2" style="padding-right: 12px; text-align: right;" | [[File:KF2_Weight_Gray.png|baseline|10px|link=]] {{{Weight}}}
|- {{#ifexpr: {{#if: {{{PerkLink|}}} | 1 | 0}} or {{#if: {{{PerkName|}}} | 1 | 0}} or {{#if: {{{Pricing|}}} | 1 | 0}} or {{#if: {{{Weight|}}} | 1 | 0}} || style="display: none;"}}
|- {{#ifexpr: {{#if: {{{PerkLink|}}} | 1 | 0}} or {{#if: {{{PerkName|}}} | 1 | 0}} or {{#if: {{{Pricing|}}} | 1 | 0}} or {{#if: {{{Weight|}}} | 1 | 0}} || style="display: none;"}}
| colspan="2" style="height: 10px;" |  
| colspan="4" style="height: 12px;" |  
|- {{#ifexpr: {{#if: {{{AmmoCost|}}} | 1 | 0}} or 0 | style="background: #202224; border-top: #bd0000 solid 5px; color: #ffffff; margin-top: 10px; text-align: center;" | style="display: none;"}}
|- {{#ifexpr: {{#if: {{{AmmoCost|}}} | 1 | 0}} or 0 | style="background: #202224; border-top: #bd0000 solid 5px; color: #ffffff; margin-top: 12px; text-align: center;" | style="display: none;"}}
| colspan="2" style="height: 30px;" | '''Weapon Information'''
| colspan="4" style="height: 30px;" | '''Weapon Information'''
|- {{#ifexpr: {{#if: {{{AmmoCost|}}} | 1 | 0}} or 0 || style="display: none;"}}
|- {{#ifexpr: {{#if: {{{AmmoCost|}}} | 1 | 0}} or 0 || style="display: none;"}}
| colspan="2" style="height: 10px;" |  
| colspan="4" style="height: 12px;" |  
|- {{#if: {{{AmmoCost|}}} | style="height: 20px" | style="display: none;"}}
|- {{#if: {{{AmmoCost|}}} | style="height: 20px" | style="display: none;"}}
| style="padding-left: 10px; width: 125px;" | '''Ammo cost'''
| colspan="2" style="padding-left: 12px; width: 125px;" | '''Ammo cost'''
| style="padding-right: 10px; text-align: right;" | [[File:KF2_Dosh_Gray.png|baseline|12px|link=]] {{{AmmoCost}}}
| colspan="2" style="padding-right: 12px; text-align: right;" | [[File:KF2_Dosh_Gray.png|baseline|10px|link=]] {{{AmmoCost}}}
|- {{#ifexpr: {{#if: {{{AmmoCost|}}} | 1 | 0}} or 0 || style="display: none;"}}
|- {{#ifexpr: {{#if: {{{AmmoCost|}}} | 1 | 0}} or 0 || style="display: none;"}}
| colspan="2" style="height: 10px;" |  
| colspan="4" style="height: 12px;" |  
|}</includeonly>
|}</includeonly>
<noinclude>{{KF2WeaponInfo
<noinclude>
|Name=SA80 L85A2 Bullpup
{{KF2WeaponInfo
|PerkImage=KF2_Perk_Commando_White.png
|Name=9mm Pistol
|WeaponImage=KF2SA80_L85A2_Bullpup.png
|PerkImage=KF2_No_Perk_White.png
|Damage=25.000000
|WeaponImage=KF29mm Pistol.png
|FireRate=660.066040
|Damage=15.000000
|Accuracy=68.000000
|FireRate=342.857147
|Accuracy=50.000000
|Penetration=0.000000
|Penetration=0.000000
|MagazineSize=30
|MagazineSize=15
|AmmoCapacity=300
|AmmoCapacity=225
|Description=• Choice of full-auto and semi-auto fire modes.<br />• Alt-fire to toggle between fire modes.<br />• The SA80 was the British Army's standard weapon before the Army was, well, eaten.
|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=Commando (Killing Floor 2)
|PerkLink=Perks (Killing Floor 2)
|PerkName=Commando
|PerkName=All
|Pricing=650
|Pricing=0
|Weight=6
|Weight=0
|
|
|AmmoCost=20
|AmmoCost=8
}}
}}


== Syntax ==
== Syntax ==
<pre>{{KF2WeaponInfo
<pre>{{KF2WeaponInfo
|Name=SA80 L85A2 Bullpup
|Name=9mm Pistol
|PerkImage=KF2_Perk_Commando_White.png
|PerkImage=KF2_No_Perk_White.png
|WeaponImage=KF2SA80_L85A2_Bullpup.png
|WeaponImage=KF29mm Pistol.png
|Damage=25.000000
|Damage=15.000000
|FireRate=660.066040
|FireRate=342.857147
|Accuracy=68.000000
|Accuracy=50.000000
|Penetration=0.000000
|Penetration=0.000000
|MagazineSize=30
|MagazineSize=15
|AmmoCapacity=300
|AmmoCapacity=225
|Description=• Choice of full-auto and semi-auto fire modes.<br />• Alt-fire to toggle between fire modes.<br />• The SA80 was the British Army's standard weapon before the Army was, well, eaten.
|Description=• Fire mode is semi-auto only.<br />• This is the standard 9mm pistol. [...]
|
|
|PerkLink=Commando (Killing Floor 2)
|PerkLink=Perks (Killing Floor 2)
|PerkName=Commando
|PerkName=All
|Pricing=650
|Pricing=0
|Weight=6
|Weight=0
|
|
|AmmoCost=20
|AmmoCost=8
}}</pre>
}}</pre>
== Explanation ==
{|
|-
| style="vertical-align: top;" | '''Name'''
| style="width: 12px;" |
| style="vertical-align: top;" | Name of the weapon
| style="width: 12px;" |
| style="vertical-align: top;" | ''Example:''
| style="vertical-align: top;" | ''9mm Pistol''
|-
| style="vertical-align: top;" | '''PerkImage'''
| style="width: 12px;" |
| style="vertical-align: top;" | Name of the image of the corresponding perk
| style="width: 12px;" |
| style="vertical-align: top;" | ''Example:''
| style="vertical-align: top;" | ''[[Media:KF2_No_Perk_White.png|KF2_No_Perk_White.png]]''
|-
| style="vertical-align: top;" | '''WeaponImage'''
| style="width: 12px;" |
| style="vertical-align: top;" | Name of the image of the corresponding weapon
| style="width: 12px;" |
| style="vertical-align: top;" | ''Example:''
| style="vertical-align: top;" | ''[[Media:KF29mm Pistol.png|KF29mm Pistol.png]]''
|-
| style="vertical-align: top;" | '''Damage'''
| style="width: 12px;" |
| style="vertical-align: top;" | Damage value of the weapon
| style="width: 12px;" |
| style="vertical-align: top;" | ''Example:''
| style="vertical-align: top;" | ''15.000000''
|-
| style="vertical-align: top;" | '''FireRate'''
| style="width: 12px;" |
| style="vertical-align: top;" | Fire Rate value of the weapon
| style="width: 12px;" |
| style="vertical-align: top;" | ''Example:''
| style="vertical-align: top;" | ''342.857147''
|-
| style="vertical-align: top;" | '''Accuracy'''
| style="width: 12px;" |
| style="vertical-align: top;" | Accuracy value of the weapon
| style="width: 12px;" |
| style="vertical-align: top;" | ''Example:''
| style="vertical-align: top;" | ''50.000000''
|-
| style="vertical-align: top;" | '''Penetration'''
| style="width: 12px;" |
| style="vertical-align: top;" | Penetration value of the weapon
| style="width: 12px;" |
| style="vertical-align: top;" | ''Example:''
| style="vertical-align: top;" | ''0.000000''
|-
| style="vertical-align: top;" | '''MagazineSize'''
| style="width: 12px;" |
| style="vertical-align: top;" | Magazine capacity
| style="width: 12px;" |
| style="vertical-align: top;" | ''Example:''
| style="vertical-align: top;" | ''15''
|-
| style="vertical-align: top;" | '''AmmoCapacity'''
| style="width: 12px;" |
| style="vertical-align: top;" | Maximum spare ammo
| style="width: 12px;" |
| style="vertical-align: top;" | ''Example:''
| style="vertical-align: top;" | ''225''
|-
| style="vertical-align: top;" | '''Description'''
| style="width: 12px;" |
| style="vertical-align: top;" | Trader descripton of the weapon
| style="width: 12px;" |
| style="vertical-align: top;" | ''Example:''
| style="vertical-align: top;" | ''• 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.''
|- style="height: 12px;"
|
|-
| style="vertical-align: top;" | '''PerkLink'''
| style="width: 12px;" |
| style="vertical-align: top;" | Name of the page of the corresponding perk
| style="width: 12px;" |
| style="vertical-align: top;" | ''Example:''
| style="vertical-align: top;" | ''[[Perks (Killing Floor 2)]]''
|-
| style="vertical-align: top;" | '''PerkName'''
| style="width: 12px;" |
| style="vertical-align: top;" | Name of the corresponding perk
| style="width: 12px;" |
| style="vertical-align: top;" | ''Example:''
| style="vertical-align: top;" | ''All''
|-
| style="vertical-align: top;" | '''Pricing'''
| style="width: 12px;" |
| style="vertical-align: top;" | How much the weapon costs at the trader
| style="width: 12px;" |
| style="vertical-align: top;" | ''Example:''
| style="vertical-align: top;" | ''0''
|-
| style="vertical-align: top;" | '''Weight'''
| style="width: 12px;" |
| style="vertical-align: top;" | How much the weapon weights
| style="width: 12px;" |
| style="vertical-align: top;" | ''Example:''
| style="vertical-align: top;" | ''0''
|- style="height: 12px;"
|
|-
| style="vertical-align: top;" | '''AmmoCost'''
| style="width: 12px;" |
| style="vertical-align: top;" | How much one magazine costs
| style="width: 12px;" |
| style="vertical-align: top;" | ''Example:''
| style="vertical-align: top;" | ''8''
|}
{{KF2NavBox}}
{{KF2NavBox}}
</noinclude>
</noinclude>

Revision as of 17:19, 25 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
Ammo cost 8


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. [...]
|
|PerkLink=Perks (Killing Floor 2)
|PerkName=All
|Pricing=0
|Weight=0
|
|AmmoCost=8
}}

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