Template:Inventory info: Difference between revisions

From Tripwire Interactive Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 12: Line 12:
|- {{#if:{{{Weight|}}}||style="display:none;"}}
|- {{#if:{{{Weight|}}}||style="display:none;"}}
| {{#if:{{{Weight|}}}|[[File:Hud Weight.png|x20px|Weight]] {{{Weight}}}}}
| {{#if:{{{Weight|}}}|[[File:Hud Weight.png|x20px|Weight]] {{{Weight}}}}}
|- {{#if:{{{Capacity|}}}||style="display:none;"}}
| {{#if:{{{Capacity|}}}|[[File:Hud Bullets.png|x20px|Capacity]] {{{Capacity}}}}}
|- {{#if:{{{Magazine|}}}||style="display:none;"}}
| {{#if:{{{Magazine|}}}|[[File:Hud Ammo Clip.png|x20px|Magazine size]] {{{Magazine}}}}}
|- {{#if:{{{Damage|}}}||style="display:none;"}}
|- {{#if:{{{Damage|}}}||style="display:none;"}}
| {{#if:{{{Damage|}}}|[[File:Hud Lightning Bolt.png|x20px|Damage]] {{{Damage}}}}}
| {{#if:{{{Damage|}}}|[[File:Hud Lightning Bolt.png|x20px|Damage]] {{{Damage}}}}}
|- {{#if:{{{Radius|}}}||style="display:none;"}}
|- {{#if:{{{Radius|}}}||style="display:none;"}}
| {{#if:{{{Radius|}}}|<abbr title="Radius of area of effect">Radius</abbr>: {{{Radius}}}}}
| {{#if:{{{Radius|}}}|<abbr title="Radius of area of effect">Radius</abbr>: {{{Radius}}}}}
|- {{#if:{{{HeadMul|}}}||style="display:none;"}}
| {{#if:{{{HeadMul|}}}|<abbr title="How much extra damage is dealt when the head is hit">Head multiplier</abbr>: {{{HeadMul}}}}}
|- {{#if:{{{Pellets|}}}||style="display:none;"}}
|- {{#if:{{{Pellets|}}}||style="display:none;"}}
| {{#if:{{{Pellets|}}}|[[File:Pellets.png|x20px|Pellets per shot]] {{{Pellets}}}}}
| {{#if:{{{Pellets|}}}|[[File:Pellets.png|x20px|Pellets per shot]] {{{Pellets}}}}}
|- {{#if:{{{Spread|}}}||style="display:none;"}}
| {{#if:{{{Spread|}}}|<abbr title="Maximum deviation for each bullet/pellet">Spread</abbr>: {{{Spread}}}}}
|- {{#if:{{{Penetration|}}}||style="display:none;"}}
| {{#if:{{{Penetration|}}}|<abbr title="Amount of penetrations : reduction amount">Penetration</abbr>: {{{Penetration}}}}}
|- {{#if:{{{ROF|}}}||style="display:none;"}}
|- {{#if:{{{ROF|}}}||style="display:none;"}}
| {{#if:{{{ROF|}}}|<abbr title="Time (seconds) between shots">Rate of fire</abbr>: {{{ROF}}}}}
| {{#if:{{{ROF|}}}|<abbr title="Time (seconds) between shots">Rate of fire</abbr>: {{{ROF}}}}}
|- {{#if:{{{Capacity|}}}||style="display:none;"}}
|- {{#if:{{{ReloadRate|}}}||style="display:none;"}}
| {{#if:{{{Capacity|}}}|[[File:Hud Bullets.png|x20px|Capacity]] {{{Capacity}}}}}
| {{#if:{{{ReloadRate|}}}|<abbr title="Time (seconds) taken to reload">Reload time</abbr>: {{{ROF}}}}}
|- {{#if:{{{Magazine|}}}||style="display:none;"}}
| {{#if:{{{Magazine|}}}|[[File:Hud Ammo Clip.png|x20px|Magazine size]] {{{Magazine}}}}}
|- {{#if:{{{Penetration|}}}||style="display:none;"}}
| {{#if:{{{Penetration|}}}|<abbr title="Amount of penetrations : reduction amount">Penetration</abbr>: {{{Penetration}}}}}
|- {{#if:{{{AddOns|}}}||style="display:none;"}}
|- {{#if:{{{AddOns|}}}||style="display:none;"}}
| {{#if:{{{AddOns|}}}|Attachments: {{{AddOns}}}}}
| {{#if:{{{AddOns|}}}|Attachments: {{{AddOns}}}}}
Line 37: Line 43:
===To do===
===To do===


* Need to add the following stats: Headshot multiplier, spread, ammo cost.
* Need to add the following stats: ammo cost.
* 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?


Line 70: Line 76:


===Available parameters===
===Available parameters===
'''ID'''


*'''Name''' - Item name
*'''Name''' - Item name
Line 76: Line 84:
*'''Cost''' - Cost at the trader
*'''Cost''' - Cost at the trader
*'''Weight''' - Amount of blocks this item takes up
*'''Weight''' - Amount of blocks this item takes up
'''Combat stats'''
*'''Capacity''' - Total ammo capacity
*'''Magazine''' - Magazine capacity
*'''Damage''' - Damage per shot (or pellet in the case of shotguns)
*'''Damage''' - Damage per shot (or pellet in the case of shotguns)
*'''Radius''' - Size of radius for area of effect weapons (explosions etc)
*'''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
*'''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
*'''ROF''' - Rate of fire, expressed as seconds between shots
*'''Capacity''' - Total ammo capacity
*'''ReloadRate''' - Reload rate, expressed as seconds
*'''Magazine''' - Magazine capacity
 
*'''Penetration''' - Penetration quantity and damage reduction separated by a colon (ie. 5 : 0.75)
'''Misc'''
 
*'''AddOns''' - Attachments such as flashlight, laser sight, etc.
*'''AddOns''' - Attachments such as flashlight, laser sight, etc.
*'''CanSellBuy''' - Can weapon be bought/sold?
*'''CanSellBuy''' - Can weapon be bought/sold?

Revision as of 01:03, 12 October 2012

This template is a work in progress.

To do

  • Need to add the following stats: ammo cost.
  • Add burn damage? Does it depend on the weapon used to set alight?

Usage

Killing Floor item
MP7M
Perk: Field Medic
Cost 3000
Weight 3
Capacity 400 (N/A)
Magazine size 20
Damage 25 (20)
Rate of fire: 0.06 (0.50)
Can sell/buy: Yes

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


{{Inventory info
|Name=MP7M
|Image=Trader MP7m.png
|Perk=Field Medic
|Cost=3000
|Weight=3
|Damage=25 (20)
|ROF=0.06 (0.50)
|Capacity=400 (N/A)
|Magazine=20
|CanSellBuy=Yes
}}

Available parameters

ID

  • Name - Item name
  • 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

  • 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
  • ReloadRate - Reload rate, expressed as seconds

Misc

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