Difference between revisions of "Template:Metrics/Speed/doc"

From Team Fortress Wiki
Jump to: navigation, search
(Conga speed!)
(Update for Demoman / strip the old test data)
Line 61: Line 61:
 
| pyro    |||||||powerjack||||||||||
 
| pyro    |||||||powerjack||||||||||
 
|-
 
|-
| demoman  ||||''shield'' <small>&dagger;</small>||''haunted'' <small>&Dagger;</small><br>scotsman's skullcutter|||||||''Positive integer''<br>0-4 inclusive||||
+
| demoman  ||''boots'' <small>*</small>||''shield'' <small>&dagger;</small>||''haunted'' <small>&Dagger;</small><br>scotsman's skullcutter|||||||''Positive integer''<br>0-4 inclusive||||
 
|-
 
|-
 
| heavy    ||brass beast||buffalo steak sandvich||gloves of running urgently|||||||||deploy||
 
| heavy    ||brass beast||buffalo steak sandvich||gloves of running urgently|||||||||deploy||
Line 75: Line 75:
 
|          ||conga||||||||||||||||||
 
|          ||conga||||||||||||||||||
 
|}
 
|}
<small>&dagger; use to indicate the [[Chargin' Targe]], [[Splendid Screen]], or the [[Tide Turner]]<br>
+
<small>*; use to indicate [[Ali Baba's Wee Booties]] or the [[Bootlegger]]<br>
 +
&dagger; use to indicate the [[Chargin' Targe]], [[Splendid Screen]], or the [[Tide Turner]]<br>
 
&Dagger; use to indicate the [[Eyelander]], the [[Horseless Headless Horsemann's Headtaker]], or [[Nessie's Nine Iron]]</small>
 
&Dagger; use to indicate the [[Eyelander]], the [[Horseless Headless Horsemann's Headtaker]], or [[Nessie's Nine Iron]]</small>
  
Line 90: Line 91:
 
* [[Template:Metrics/Speed/Sniper]]
 
* [[Template:Metrics/Speed/Sniper]]
 
* [[Template:Metrics/Speed/Spy]]
 
* [[Template:Metrics/Speed/Spy]]
 
<hr>
 
Raw data collected from the game using <code>cl_showpos</code>, cheats, and bots.  Used to derive internal math governing TF2 movement.
 
<br><b><font color="red">THIS IS NOW OUT OF DATE!</font></b>
 
{| class="wikitable grid"
 
! class="header" rowspan="2" colspan="2" |Class
 
! class="header" colspan="4" |No effect
 
! class="header" colspan="4" |[[Disciplinary Action]]
 
|-
 
! class="header" |Normal
 
! class="header" |Backwards
 
! class="header" |Crouched
 
! class="header" |Swimming
 
! class="header" |Normal
 
! class="header" |Backwards
 
! class="header" |Crouched
 
! class="header" |Swimming
 
|-
 
|{{c|yes }}||'''[[Scout]]'''||400||360||133.33||320||505||454.50||168.33||404
 
|-
 
|{{c|yes }}||[[Crit-a-Cola]]||500||450||166.67||400||520||468||173.33||416
 
|-
 
|{{c|yes }}||[[Baby Face's Blaster]] @ 0||260||234||86.67||208||328.25||295.43||109.42||262.60
 
|-
 
|{{c|yes }}||[[Baby Face's Blaster]] @ 4||273||245.70||91|| || || || ||
 
|-
 
|{{c|yes }}||[[Baby Face's Blaster]] @ 11||287.30||258.57||95.77|| || || || ||
 
|-
 
|{{c|yes }}||[[Baby Face's Blaster]] @ 100||517.50||465.66||172.47||414||520||468||173.33||416
 
|-
 
|{{c|yes }}||[[Crit-a-Cola]] & [[Baby Face's Blaster]] @ 0||325||292.50||108.33||260||410.31||369.28||136.77||328.25
 
|-
 
|{{c|yes }}||[[Crit-a-Cola]] & [[Baby Face's Blaster]] @ 4||341.25||307.13||113.75|| || || || ||
 
|-
 
|{{c|yes }}||[[Crit-a-Cola]] & [[Baby Face's Blaster]] @ 11||359.12||323.21||119.71|| || || || ||
 
|-
 
|{{c|yes }}||[[Crit-a-Cola]] & [[Baby Face's Blaster]] @ 100||520||468||173.33||416||520||468||173.33||416
 
|-
 
 
|{{c|yes }}||'''[[Soldier]]'''||240||216||80||192||336||302.40||112||268.80
 
|-
 
|{{c|yes }}||[[Cow Mangler 5000]]||80||80||26.67||64||112||100.80||37.33||89.6
 
|-
 
|{{c|yes }}||[[Escape Plan]] at 160||264||237.60||88||211.20||369.50||332.65||123.17||295.60
 
|-
 
|{{c|yes }}||[[Escape Plan]] at 120||288||259.20||96||230.40||403.20||362.88||134.33||322.56
 
|-
 
|{{c|yes }}||[[Escape Plan]] at 80||336||302.40||112||268.80||470.40||432.36||156.80||376.40
 
|-
 
|{{c|yes }}||[[Escape Plan]] at 40||384||345.60||128||307.20||520||468||173.33||416
 
|-
 
 
|{{c|yes }}||'''[[Pyro]]'''||300||270||100||240||405||364.50||135||324
 
|-
 
|{{c|yes }}||[[Gas Jockey's Gear]]||330||297||110||264||445.50||400.95||148.50||356.40
 
|-
 
 
|{{c|yes }}||'''[[Demoman]]'''||280||252||93.33||224||385||346.50||128.33||308
 
|-
 
|{{c|yes }}||[[Chargin' Targe]]||750|| || ||600||750|| || ||600
 
|-
 
|{{c|yes }}||[[Eyelander]] 1 head||302.40||272.16||100.80||241.90||415.80||374.22||138.67||332.64
 
|-
 
|{{c|yes }}||[[Eyelander]] 2 head||324.80||292.32||108.27||295.84||446.50||401.85||148.83||375.20
 
|-
 
|{{c|yes }}||[[Eyelander]] 3 head||347.20||312.48||115.73||227.76||477.40||429.66||159.17||381.92
 
|-
 
|{{c|yes }}||[[Eyelander]] 4 head||369.60||332.64||123.20||295.60||508.20||457.38||169.40||406.56
 
|-
 
|{{c|yes }}||[[Scotsman's Skullcutter]]||238||214.20||79.33||190.40||327.25||294.53||109.08||261.80
 
|-
 
|{{c|yes }}||[[Scotsman's Skullcutter]] &amp; [[Chargin' Targe]]||637.50|| || ||510||637.50|| || ||510
 
|-
 
 
|{{c|yes }}||'''[[Heavy]]'''||230||207||76.67||184||322||289.80||107.33||257.60
 
|-
 
|{{c|yes }}||[[Minigun]] spun up||110||99||0||88||154||138.60||0||123.20
 
|-
 
|{{c|yes }}||[[Brass Beast]] spun up||44||44||0||35.20||61.50||61.50||0||49.28
 
|-
 
|{{c|yes }}||[[Gloves of Running Urgently]]||299||269.10||99.67||239.20||418.60||376.74||139.53||334.88
 
|-
 
|{{c|yes }}||[[Buffalo Steak Sandvich]]||310.50||297.45||103.50||248.40||310.50||297.45||103.50||248.40
 
|-
 
 
|{{c|yes }}||'''[[Engineer]]'''||300||270||100||240||405||364.50||135||324
 
|-
 
|{{c|yes }}||Hauling building||225||202.50||75||180||303.75||273.38||101.25||243
 
|-
 
 
|{{c|yes }}||'''[[Medic]]'''||320||288||106.67||256||425||382.50||141.67||340
 
|-
 
|{{c|yes }}||[[Overdose]] at 100% (linear)||352||316.80||117.33||281.60||467.50||420.75||155.83||374
 
|-
 
 
|{{c|yes }}||'''[[Sniper]]'''||300||270||100||240||405||364.50||135||324
 
|-
 
|{{c|yes }}||[[Sniper Rifle]] zoomed||80||80||26.67||64||112||100.80||37.33||89.6
 
|-
 
|{{c|yes }}||[[Sniper Rifle]] zoomed with [[Cozy Camper]]||16||16||5.33||12.8||24.4||24.4||7.47||17.92
 
|-
 
|{{c|yes }}||[[Huntsman]] drawn||160||144||53.33|| ||224||201.60||74.67||
 
|-
 
|{{c|yes }}||[[Huntsman]] drawn with [[Cozy Camper]]||32||32||10.67|| ||44.8||44.8||14.93||
 
|-
 
 
|{{c|yes }}||'''[[Spy]]'''||300||270||100||240||405||364.50||135||324
 
|-
 
|{{c|yes }}||[[Scout]] disguise || colspan="8" | Same as Spy
 
|-
 
|{{c|yes }}||[[Soldier]] disguise || colspan="8" | Same as Soilder
 
|-
 
|{{c|yes }}||[[Pyro]] disguise || colspan="8" | Same as Spy
 
|-
 
|{{c|yes }}||[[Demoman]] disguise || colspan="8" | Same as Demoman
 
|-
 
|{{c|yes }}||[[Heavy]] disguise || colspan="8" | Same as Heavy
 
|-
 
|{{c|yes }}||[[Engineer]] disguise || colspan="8" | Same as Spy
 
|-
 
|{{c|yes }}||[[Medic]] disguise || colspan="8" | Same as Spy
 
|-
 
|{{c|yes }}||[[Sniper]] disguise || colspan="8" | Same as Spy
 
|-
 
|{{c|yes }}||[[Spy]] disguise || colspan="8" | Same as Spy
 
|}
 

Revision as of 23:31, 2 July 2015

This template drops in a class's speed, modified by settings that determine what the class has equipped (where appropriate). The C argument is the only one required (unless dancing). The A argument indicates the action the player is taking, and other arguments and values depend on the class. The W argument, if defined, means the value returned is modified by being under the Disciplinary Action effect.

Template defaults to 0 if the C argument is unknown, to avoid causing downstream parsing failures if used in an equation.

Arguments

Argument Meaning
C Class name
A Action
W If under Disciplinary Action or Concheror effect
P Primary weapon
S Secondary weapon
M Melee weapon
B Boost amount (Scout)
U ÜberCharge amount (Medic)
H Health (Soldier)
Heads taken (Demoman)
T Triggered ability (Heavy, Engineer, and Sniper)
Healing target's speed (Medic)
D Disguise (Spy)

Valid argument settings

C A W P S M B U H T D
scout

One of

  • omitted
  • back
  • crouch
  • swim
Defined for
effect active
baby face's blaster crit-a-cola Positive real
0-100 inclusive
soldier cow mangler 5000 escape plan Positive integer
0-200 inclusive
pyro powerjack
demoman boots * shield haunted
scotsman's skullcutter
Positive integer
0-4 inclusive
heavy brass beast buffalo steak sandvich gloves of running urgently deploy
engineer haul
medic overdose quick-fix Positive real
0-100 inclusive
Positive integer
0-520 inclusive
sniper huntsman aim
spy Class name
conga

*; use to indicate Ali Baba's Wee Booties or the Bootlegger
† use to indicate the Chargin' Targe, Splendid Screen, or the Tide Turner
‡ use to indicate the Eyelander, the Horseless Headless Horsemann's Headtaker, or Nessie's Nine Iron


Sub-templates The speed values for each class are stored in sub-templates, due to overall complexity.