Template:Inventory info: Difference between revisions

From Tripwire Interactive Wiki
Jump to navigation Jump to search
mNo edit summary
m (Added spacer before misc section)
 
(85 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{|style="margin:auto auto auto 50px;float:right; width: 300px;text-align: center;border: 1px solid #603311;background-color:#E5EECC;font-size:1.1em;"
<includeonly>{|style="white-space:nowrap;margin:auto auto auto 50px;float:right; width: 300px;text-align: left;border: 1px solid #999999;color:#3f3f3f;background-color:#cacaca;font-size:1.1em;padding-left:20px;padding-right:20px;"
|-
|- style="text-align:center;"
| <small>''[[Killing Floor]] item''</small>
| colspan="2" | <small>''[[Killing Floor]] item''</small>
|-style="background-color:orange;"
|- style="text-align:center;background-color:#9f9f9f;"
|'''{{{Name}}}'''
| colspan="2" | '''{{{Name}}}'''
|-
|- style="min-height:128px;height:auto;height:128px;margin:auto auto auto auto;"
|'''[[File:{{{Image}}}]]'''
| colspan="2" | '''[[File:{{{Image}}}|center]]'''
|- {{#if:{{{Desc|}}} | style="text-align:center;color:black;" | style="display:none;"}}
| colspan="2" style="padding:10px 10px 10px 10px;" | ''{{{Desc}}}''
|- style="height: 20px;"
|
|- style="background-color:#8896b7;text-align:center;padding:2px;"
| colspan="2" | '''General Information'''
|- {{#if:{{{Perk|}}}||style="display:none;"}}
|- {{#if:{{{Perk|}}}||style="display:none;"}}
| {{#if:{{{Perk|}}}|Perk: [[{{{Perk}}}]]}}
| Perk
| style="text-align:right;" | [[{{{Perk}}}]]
|- {{#if:{{{Cost|}}}||style="display:none;"}}
|- {{#if:{{{Cost|}}}||style="display:none;"}}
| {{#if:{{{Cost|}}}|[[File:Hud Pound Symbol.png|x20px|Cost]] {{{Cost}}}}}
| Cost
| style="text-align:right;" | £{{{Cost}}}
|- {{#if:{{{Weight|}}}||style="display:none;"}}
|- {{#if:{{{Weight|}}}||style="display:none;"}}
| {{#if:{{{Weight|}}}|[[File:Hud Weight.png|x20px|Weight]] {{{Weight}}}}}
| Weight
| style="text-align:right;" | {{{Weight}}}
|- {{#if:{{{CanSellBuy|}}}||style="display:none;"}}
| Can sell/buy
| style="text-align:right;" | {{{CanSellBuy}}}
|- style="visibility:hidden;"
| -
| -
|- style="background-color:#8896b7;text-align:center;padding:2px;"
| colspan="2" | '''Weapon Information'''
|- {{#if:{{{AmmoCost|}}}||style="display:none;"}}
| Ammo cost ({{ #if:{{{AmmoType|}}} | {{{AmmoType}}} | {{{AmmoBuyAmount}}} }})
| style="text-align:right;" | £{{{AmmoCost}}}
|- {{#if:{{{Capacity|}}}||style="display:none;"}}
| Ammo capacity
| style="text-align:right;" | {{{Capacity}}}
|- {{#if:{{{Magazine|}}}||style="display:none;"}}
| Magazine capacity
| style="text-align:right;" | {{{Magazine}}}
|- {{#if:{{{Damage|}}}||style="display:none;"}}
|- {{#if:{{{Damage|}}}||style="display:none;"}}
| {{#if:{{{Damage|}}}|[[File:Hud Lightning Bolt.png|x20px|Damage]] {{{Damage}}}}}
| Damage
| style="text-align:right;" | {{{Damage}}}
|- {{#if:{{{ImpactDamage|}}}||style="display:none;"}}
| Impact damage
| style="text-align:right;" | {{{ImpactDamage}}}
|- {{#if:{{{Radius|}}}||style="display:none;"}}
| <abbr title="Radius of area of effect">Radius</abbr>
| style="text-align:right;" | {{{Radius}}}
|- {{#if:{{{HeadMul|}}}||style="display:none;"}}
| <abbr title="How much extra damage is dealt when the head is hit">Head multiplier</abbr>
| style="text-align:right;" | {{{HeadMul}}}
|- {{#if:{{{Pellets|}}}||style="display:none;"}}
|- {{#if:{{{Pellets|}}}||style="display:none;"}}
| {{#if:{{{Pellets|}}}|[[File:Pellets.png|x20px|Pellets per shot]] {{{Pellets}}}}}
| Pellets
| style="text-align:right;" | {{{Pellets}}}
|- {{#if:{{{Spread|}}}||style="display:none;"}}
| <abbr title="Maximum deviation for each bullet/pellet">Spread</abbr>
| style="text-align:right;" | {{{Spread}}}
|- {{#if:{{{Penetration|}}}||style="display:none;"}}
| <abbr title="Amount of penetrations : reduction amount">Penetration</abbr>
| style="text-align:right;" | {{{Penetration}}}
|- {{#if:{{{ROF|}}}||style="display:none;"}}
|- {{#if:{{{ROF|}}}||style="display:none;"}}
| {{#if:{{{ROF|}}}|<abbr title="Time (seconds) between shots">Rate of fire</abbr>: {{{ROF}}}}}
| <abbr title="Time (seconds) between shots">Rate of fire</abbr>
|- {{#if:{{{Capacity|}}}||style="display:none;"}}
| style="text-align:right;" | {{{ROF}}}
| {{#if:{{{Capacity|}}}|[[File:Hud Bullets.png|x20px|Capacity]] {{{Capacity}}}}}
|- {{#if:{{{ReloadTime|}}}||style="display:none;"}}
|- {{#if:{{{Magazine|}}}||style="display:none;"}}
| |<abbr title="Time (seconds) taken to reload">Reload time</abbr>
| {{#if:{{{Magazine|}}}|[[File:Hud Ammo Clip.png|x20px|Magazine size]] {{{Magazine}}}}}
| style="text-align:right;" | {{{ReloadTime}}}
|- {{#if:{{{CanSellBuy|}}}||style="display:none;"}}
|- {{#if:{{{RegenRate|}}}||style="display:none;"}}
| {{#if:{{{CanSellBuy|}}}|Can sell/buy: {{{CanSellBuy}}}}}
| |<abbr title="Amount of charge regenerated per second (healing)">Regen rate</abbr>
| style="text-align:right;" | {{{RegenRate}}}
|- {{#if:{{{AddOns|}}}|style="height: 20px;"|style="display:none;"}}
|
|- {{#if:{{{AddOns|}}}|style="background-color:#8896b7;text-align:center;padding:2px;"|style="display:none;"}}
| colspan="2" | '''Misc'''
|- {{#if:{{{AddOns|}}}||style="display:none;"}}
|- {{#if:{{{AddOns|}}}||style="display:none;"}}
| {{#if:{{{AddOns|}}}|Attachments: {{{AddOns}}}}}
| Attachments
| style="text-align:right;" | {{{AddOns}}}
|-
|-
| <br/><small><small>''Values listed in brackets are for alternate (secondary) fire.''</small></small>
| colspan="2" | <br/><small><small>''Values listed in brackets are for alternate (secondary) fire.''</small></small>
|}</includeonly>
|}</includeonly>
<noinclude><div style="width:100%; height:100%;">This template is a work in progress.
<noinclude><div style="width:100%; height:100%;">This template is a work in progress.
Line 33: Line 82:
===To do===
===To do===


* Could replace certain labels with images (magazine with a picture of one, etc.), might look nicer.
* Need to add the following stats: ammo cost, recoil, reload type (mag, shell, etc).
 
* Need to add penetration stat.
 
* Need to add headshot multiplier stat.
 
* Add burn damage? Does it depend on the weapon used to set alight?
* Add burn damage? Does it depend on the weapon used to set alight?
* Add explosion radius.


==Usage==
==Usage==
Line 47: Line 89:
{{Inventory info
{{Inventory info
|Name=MP7M
|Name=MP7M
|Desc=Alt-fire fires a healing dart
|Image=Trader MP7m.png
|Image=Trader MP7m.png
|Perk=Field Medic
|Perk=Field Medic
|Cost=3000
|Cost=3000
|Weight=3
|Weight=3
|AmmoType=Magazine
|AmmoCost=10
|Damage=25 (20)
|Damage=25 (20)
|ROF=0.06 (0.50)
|ROF=0.06 (0.50)
Line 56: Line 101:
|Magazine=20
|Magazine=20
|CanSellBuy=Yes
|CanSellBuy=Yes
|Spread=0.01
|ReloadTime=3.17
|HeadMul=110%
}}
}}


Line 61: Line 109:
{{Inventory info
{{Inventory info
|Name=MP7M
|Name=MP7M
|Desc=Alt-fire fires a healing dart
|Image=Trader MP7m.png
|Image=Trader MP7m.png
|Perk=Field Medic
|Perk=Field Medic
|Cost=3000
|Cost=3000
|Weight=3
|Weight=3
|AmmoType=Magazine
|AmmoCost=10
|Damage=25 (20)
|Damage=25 (20)
|ROF=0.06 (0.50)
|ROF=0.06 (0.50)
Line 70: Line 121:
|Magazine=20
|Magazine=20
|CanSellBuy=Yes
|CanSellBuy=Yes
|Spread=0.01
|ReloadTime=3.17
|HeadMul=110%
}}</pre></div>
}}</pre></div>


===Available parameters===
'''ID'''
*'''Name''' - Item name
*'''Desc''' - Description of alt-fire mode
*'''Image''' - Image name of item, excluding the ''file:'' part
*'''Perk''' - Related perk
*'''Cost''' - Cost at the trader
*'''Weight''' - Amount of blocks this item takes up
'''Combat stats'''
*'''AmmoType''' - Ammunition that is bought, can be magazine or shell
*'''AmmoCost''' - Cost of each clip (mag)
*'''AmmoBuyAmount''' - How much ammo the ''buy clip'' button buys (instead of specifying AmmoType)
*'''Capacity''' - Total ammo capacity
*'''Magazine''' - Magazine capacity
*'''Damage''' - Damage per shot (or pellet in the case of shotguns)
*'''Radius''' - Size of radius for area of effect weapons (explosions etc)
*'''HeadMul''' - Head shot multiplier, represented as a percentage
*'''Pellets''' - Amount of pellets per shot. Used for shotguns
*'''Spread''' - Potential amount of spread per shot/bullet
*'''Penetration''' - Penetration quantity and damage reduction separated by a colon (ie. 5 : 0.75)
*'''ROF''' - Rate of fire, expressed as seconds between shots
*'''ReloadTime''' - Reload time, expressed as seconds
'''Misc'''
*'''AddOns''' - Attachments such as flashlight, laser sight, etc.
*'''CanSellBuy''' - Can weapon be bought/sold?


</div>
</div>
</noinclude>
</noinclude>

Latest revision as of 17:51, 26 December 2012

This template is a work in progress.

To do

  • Need to add the following stats: ammo cost, recoil, reload type (mag, shell, etc).
  • Add burn damage? Does it depend on the weapon used to set alight?

Usage

Killing Floor item
MP7M
Alt-fire fires a healing dart
General Information
Perk Field Medic
Cost £3000
Weight 3
Can sell/buy Yes
- -
Weapon Information
Ammo cost (Magazine) £10
Ammo capacity 400 (N/A)
Magazine capacity 20
Damage 25 (20)
Impact damage {{{ImpactDamage}}}
Radius {{{Radius}}}
Head multiplier 110%
Pellets {{{Pellets}}}
Spread 0.01
Penetration {{{Penetration}}}
Rate of fire 0.06 (0.50)
Reload time 3.17
Regen rate {{{RegenRate}}}
Misc
Attachments {{{AddOns}}}

Values listed in brackets are for alternate (secondary) fire.


{{Inventory info
|Name=MP7M
|Desc=Alt-fire fires a healing dart
|Image=Trader MP7m.png
|Perk=Field Medic
|Cost=3000
|Weight=3
|AmmoType=Magazine
|AmmoCost=10
|Damage=25 (20)
|ROF=0.06 (0.50)
|Capacity=400 (N/A)
|Magazine=20
|CanSellBuy=Yes
|Spread=0.01
|ReloadTime=3.17
|HeadMul=110%
}}

Available parameters

ID

  • Name - Item name
  • Desc - Description of alt-fire mode
  • Image - Image name of item, excluding the file: part
  • Perk - Related perk
  • Cost - Cost at the trader
  • Weight - Amount of blocks this item takes up

Combat stats

  • AmmoType - Ammunition that is bought, can be magazine or shell
  • AmmoCost - Cost of each clip (mag)
  • AmmoBuyAmount - How much ammo the buy clip button buys (instead of specifying AmmoType)
  • Capacity - Total ammo capacity
  • Magazine - Magazine capacity
  • Damage - Damage per shot (or pellet in the case of shotguns)
  • Radius - Size of radius for area of effect weapons (explosions etc)
  • HeadMul - Head shot multiplier, represented as a percentage
  • Pellets - Amount of pellets per shot. Used for shotguns
  • Spread - Potential amount of spread per shot/bullet
  • Penetration - Penetration quantity and damage reduction separated by a colon (ie. 5 : 0.75)
  • ROF - Rate of fire, expressed as seconds between shots
  • ReloadTime - Reload time, expressed as seconds

Misc

  • AddOns - Attachments such as flashlight, laser sight, etc.
  • CanSellBuy - Can weapon be bought/sold?