Difference between revisions of "Template:Metrics/Speed/doc"
m |
(Moved my speed notes to here) |
||
Line 91: | 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. | ||
+ | {| 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]] & [[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 19:10, 19 August 2012
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. 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 effect |
P | Primary weapon |
S | Secondary weapon |
M | Melee weapon |
G | Item set (G stands for Group, synonym of set) |
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 | G | B | U | H | T | D |
---|---|---|---|---|---|---|---|---|---|---|---|
scout |
One of
|
Defined for effect active |
baby face's blaster | crit-a-cola | Positive real 0-99 inclusive |
||||||
soldier | cow mangler 5000 | escape plan | Positive integer 0-200 inclusive |
||||||||
pyro | gas jockey's gear | ||||||||||
demoman | 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 | cozy camper | aim | ||||||||
spy | Class name |
† use to indicate the Chargin' Targe or the Splendid Screen
‡ 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.
- Template:Metrics/Speed/Scout
- Template:Metrics/Speed/Soldier
- Template:Metrics/Speed/Pyro
- Template:Metrics/Speed/Demoman
- Template:Metrics/Speed/Heavy
- Template:Metrics/Speed/Engineer
- Template:Metrics/Speed/Medic
- Template:Metrics/Speed/Sniper
- Template:Metrics/Speed/Spy
Raw data collected from the game using cl_showpos
, cheats, and bots. Used to derive internal math governing TF2 movement.
Class | No effect | Disciplinary Action | |||||||
---|---|---|---|---|---|---|---|---|---|
Normal | Backwards | Crouched | Swimming | Normal | Backwards | Crouched | Swimming | ||
Yes | Scout | 400 | 360 | 133.33 | 320 | 505 | 454.50 | 168.33 | 404 |
Yes | Crit-a-Cola | 500 | 450 | 166.67 | 400 | 520 | 468 | 173.33 | 416 |
Yes | Baby Face's Blaster @ 0 | 260 | 234 | 86.67 | 208 | 328.25 | 295.43 | 109.42 | 262.60 |
Yes | Baby Face's Blaster @ 4 | 273 | 245.70 | 91 | |||||
Yes | Baby Face's Blaster @ 11 | 287.30 | 258.57 | 95.77 | |||||
Yes | Baby Face's Blaster @ 100 | 517.50 | 465.66 | 172.47 | 414 | 520 | 468 | 173.33 | 416 |
Yes | Crit-a-Cola & Baby Face's Blaster @ 0 | 325 | 292.50 | 108.33 | 260 | 410.31 | 369.28 | 136.77 | 328.25 |
Yes | Crit-a-Cola & Baby Face's Blaster @ 4 | 341.25 | 307.13 | 113.75 | |||||
Yes | Crit-a-Cola & Baby Face's Blaster @ 11 | 359.12 | 323.21 | 119.71 | |||||
Yes | Crit-a-Cola & Baby Face's Blaster @ 100 | 520 | 468 | 173.33 | 416 | 520 | 468 | 173.33 | 416 |
Yes | Soldier | 240 | 216 | 80 | 192 | 336 | 302.40 | 112 | 268.80 |
Yes | Cow Mangler 5000 | 80 | 80 | 26.67 | 64 | 112 | 100.80 | 37.33 | 89.6 |
Yes | Escape Plan at 160 | 264 | 237.60 | 88 | 211.20 | 369.50 | 332.65 | 123.17 | 295.60 |
Yes | Escape Plan at 120 | 288 | 259.20 | 96 | 230.40 | 403.20 | 362.88 | 134.33 | 322.56 |
Yes | Escape Plan at 80 | 336 | 302.40 | 112 | 268.80 | 470.40 | 432.36 | 156.80 | 376.40 |
Yes | Escape Plan at 40 | 384 | 345.60 | 128 | 307.20 | 520 | 468 | 173.33 | 416 |
Yes | Pyro | 300 | 270 | 100 | 240 | 405 | 364.50 | 135 | 324 |
Yes | Gas Jockey's Gear | 330 | 297 | 110 | 264 | 445.50 | 400.95 | 148.50 | 356.40 |
Yes | Demoman | 280 | 252 | 93.33 | 224 | 385 | 346.50 | 128.33 | 308 |
Yes | Chargin' Targe | 750 | 600 | 750 | 600 | ||||
Yes | Eyelander 1 head | 302.40 | 272.16 | 100.80 | 241.90 | 415.80 | 374.22 | 138.67 | 332.64 |
Yes | Eyelander 2 head | 324.80 | 292.32 | 108.27 | 295.84 | 446.50 | 401.85 | 148.83 | 375.20 |
Yes | Eyelander 3 head | 347.20 | 312.48 | 115.73 | 227.76 | 477.40 | 429.66 | 159.17 | 381.92 |
Yes | Eyelander 4 head | 369.60 | 332.64 | 123.20 | 295.60 | 508.20 | 457.38 | 169.40 | 406.56 |
Yes | Scotsman's Skullcutter | 238 | 214.20 | 79.33 | 190.40 | 327.25 | 294.53 | 109.08 | 261.80 |
Yes | Scotsman's Skullcutter & Chargin' Targe | 637.50 | 510 | 637.50 | 510 | ||||
Yes | Heavy | 230 | 207 | 76.67 | 184 | 322 | 289.80 | 107.33 | 257.60 |
Yes | Minigun spun up | 110 | 99 | 0 | 88 | 154 | 138.60 | 0 | 123.20 |
Yes | Brass Beast spun up | 44 | 44 | 0 | 35.20 | 61.50 | 61.50 | 0 | 49.28 |
Yes | Gloves of Running Urgently | 299 | 269.10 | 99.67 | 239.20 | 418.60 | 376.74 | 139.53 | 334.88 |
Yes | Buffalo Steak Sandvich | 310.50 | 297.45 | 103.50 | 248.40 | 310.50 | 297.45 | 103.50 | 248.40 |
Yes | Engineer | 300 | 270 | 100 | 240 | 405 | 364.50 | 135 | 324 |
Yes | Hauling building | 225 | 202.50 | 75 | 180 | 303.75 | 273.38 | 101.25 | 243 |
Yes | Medic | 320 | 288 | 106.67 | 256 | 425 | 382.50 | 141.67 | 340 |
Yes | Overdose at 100% (linear) | 352 | 316.80 | 117.33 | 281.60 | 467.50 | 420.75 | 155.83 | 374 |
Yes | Sniper | 300 | 270 | 100 | 240 | 405 | 364.50 | 135 | 324 |
Yes | Sniper Rifle zoomed | 80 | 80 | 26.67 | 64 | 112 | 100.80 | 37.33 | 89.6 |
Yes | Sniper Rifle zoomed with Cozy Camper | 16 | 16 | 5.33 | 12.8 | 24.4 | 24.4 | 7.47 | 17.92 |
Yes | Huntsman drawn | 160 | 144 | 53.33 | 224 | 201.60 | 74.67 | ||
Yes | Huntsman drawn with Cozy Camper | 32 | 32 | 10.67 | 44.8 | 44.8 | 14.93 | ||
Yes | Spy | 300 | 270 | 100 | 240 | 405 | 364.50 | 135 | 324 |
Yes | Scout disguise | Same as Spy | |||||||
Yes | Soldier disguise | Same as Soilder | |||||||
Yes | Pyro disguise | Same as Spy | |||||||
Yes | Demoman disguise | Same as Demoman | |||||||
Yes | Heavy disguise | Same as Heavy | |||||||
Yes | Engineer disguise | Same as Spy | |||||||
Yes | Medic disguise | Same as Spy | |||||||
Yes | Sniper disguise | Same as Spy | |||||||
Yes | Spy disguise | Same as Spy |