Difference between revisions of "Template:Damage table/doc"

From Team Fortress Wiki
Jump to: navigation, search
m
(add new parameters)
Line 36: Line 36:
 
:; ''type''
 
:; ''type''
 
:: The "shot type". Among common shot types are [[hitscan]], [[projectile]] and particle.
 
:: The "shot type". Among common shot types are [[hitscan]], [[projectile]] and particle.
 +
 +
:; ''effect''
 +
:: A description of the weapon's effect (for example, "Gives the drinker Mini-Crits for the next 6 seconds").
  
 
:; Damage parameters
 
:; Damage parameters
Line 46: Line 49:
 
:: fall off
 
:: fall off
 
:: fall off %
 
:: fall off %
 +
:: bullet count
 +
:: pellet count
 
:: point blank
 
:: point blank
 
:: medium range
 
:: medium range
Line 54: Line 59:
 
:: afterburn
 
:: afterburn
 
:: bleeding
 
:: bleeding
 +
:: damage repaired
 +
:: upgrade amount
 +
:: metal cost repairing
 +
:: metal cost reloading
  
 
:: splash damage</code> (set to {{code|yes}} if any below are needed)<code>
 
:: splash damage</code> (set to {{code|yes}} if any below are needed)<code>
Line 67: Line 76:
 
::<code>
 
::<code>
 
:: attack interval
 
:: attack interval
 +
:: taunt duration
 +
:: windup time
 
:: reload
 
:: reload
 
:: reload first</code> (shotguns, rocket launchers, etc.)<code>
 
:: reload first</code> (shotguns, rocket launchers, etc.)<code>
 
:: reload more
 
:: reload more
 +
:: consumption time
 +
:: cloak duration
 +
:: cloak fade
 +
:: decloak fade
 
:: recharge
 
:: recharge
 +
:: recharge duration ratio
 
:: effect time
 
:: effect time
 +
:: drop expiry
 
:: afterburn time
 
:: afterburn time
 
:: bleeding time
 
:: bleeding time
Line 78: Line 95:
 
:: zoom charge delay
 
:: zoom charge delay
 
:: zoom headshot delay
 
:: zoom headshot delay
:: accuracy cooldown</code> ([[Ambassador]])
+
:: spread recovery</code>
  
 
<noinclude>[[Category:Template documentation|Damage table]]</noinclude>
 
<noinclude>[[Category:Template documentation|Damage table]]</noinclude>

Revision as of 07:12, 6 March 2011

{{Damage table}} stores damage and function time measurements on weapon pages.

Copy and paste example

You can add lines as needed from the parameter descriptions below.

{{Damage table
| type               = 

| damage             = yes
|  base              =
|  fall off          =
|  ramp up           =
|  point blank       = 
|  medium range      = 
|  long range        = 
|  crit              = 
|  minicrit          = 

| function times     = yes
|  attack interval   = 
|  reload            = 
}}

Parameters

Note: if a weapon has a different damage statistic that isn't present in the template, please post on the talk page and it will be added.


damage
function times
Set to yes if either will be used. If the weapon does no damage, for example, remove this line (setting to no will display it anyway).
type
The "shot type". Among common shot types are hitscan, projectile and particle.
effect
A description of the weapon's effect (for example, "Gives the drinker Mini-Crits for the next 6 seconds").
Damage parameters
All are optional.
ramp up
ramp up %
base
fall off
fall off %
bullet count
pellet count
point blank
medium range
long range
bodyshot
crit
minicrit
afterburn
bleeding
damage repaired
upgrade amount
metal cost repairing
metal cost reloading
splash damage (set to yes if any below are needed)
splash radius
splash min %
splash reduction
selfdamage
selfdamage jump (use for rocket launchers)
Function time parameters
All are optional.
attack interval
taunt duration
windup time
reload
reload first (shotguns, rocket launchers, etc.)
reload more
consumption time
cloak duration
cloak fade
decloak fade
recharge
recharge duration ratio
effect time
drop expiry
afterburn time
bleeding time
airblast cooldown
max charge time
zoom charge delay
zoom headshot delay
spread recovery