Template:Metrics/Speed/doc

From Team Fortress Wiki
< Template:Metrics/Speed
Revision as of 02:44, 22 November 2013 by Org (talk | contribs) (Scout boost ranges fixed for baby)
Jump to: navigation, search

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 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 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

† 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.


Raw data collected from the game using cl_showpos, cheats, and bots. Used to derive internal math governing TF2 movement.
THIS IS NOW OUT OF DATE!

Class No effect Disciplinary Action
Normal Backwards Crouched Swimming Normal Backwards Crouched Swimming
Pictogram tick.png Yes Scout 400 360 133.33 320 505 454.50 168.33 404
Pictogram tick.png Yes Crit-a-Cola 500 450 166.67 400 520 468 173.33 416
Pictogram tick.png Yes Baby Face's Blaster @ 0 260 234 86.67 208 328.25 295.43 109.42 262.60
Pictogram tick.png Yes Baby Face's Blaster @ 4 273 245.70 91
Pictogram tick.png Yes Baby Face's Blaster @ 11 287.30 258.57 95.77
Pictogram tick.png Yes Baby Face's Blaster @ 100 517.50 465.66 172.47 414 520 468 173.33 416
Pictogram tick.png Yes Crit-a-Cola & Baby Face's Blaster @ 0 325 292.50 108.33 260 410.31 369.28 136.77 328.25
Pictogram tick.png Yes Crit-a-Cola & Baby Face's Blaster @ 4 341.25 307.13 113.75
Pictogram tick.png Yes Crit-a-Cola & Baby Face's Blaster @ 11 359.12 323.21 119.71
Pictogram tick.png Yes Crit-a-Cola & Baby Face's Blaster @ 100 520 468 173.33 416 520 468 173.33 416
Pictogram tick.png Yes Soldier 240 216 80 192 336 302.40 112 268.80
Pictogram tick.png Yes Cow Mangler 5000 80 80 26.67 64 112 100.80 37.33 89.6
Pictogram tick.png Yes Escape Plan at 160 264 237.60 88 211.20 369.50 332.65 123.17 295.60
Pictogram tick.png Yes Escape Plan at 120 288 259.20 96 230.40 403.20 362.88 134.33 322.56
Pictogram tick.png Yes Escape Plan at 80 336 302.40 112 268.80 470.40 432.36 156.80 376.40
Pictogram tick.png Yes Escape Plan at 40 384 345.60 128 307.20 520 468 173.33 416
Pictogram tick.png Yes Pyro 300 270 100 240 405 364.50 135 324
Pictogram tick.png Yes Gas Jockey's Gear 330 297 110 264 445.50 400.95 148.50 356.40
Pictogram tick.png Yes Demoman 280 252 93.33 224 385 346.50 128.33 308
Pictogram tick.png Yes Chargin' Targe 750 600 750 600
Pictogram tick.png Yes Eyelander 1 head 302.40 272.16 100.80 241.90 415.80 374.22 138.67 332.64
Pictogram tick.png Yes Eyelander 2 head 324.80 292.32 108.27 295.84 446.50 401.85 148.83 375.20
Pictogram tick.png Yes Eyelander 3 head 347.20 312.48 115.73 227.76 477.40 429.66 159.17 381.92
Pictogram tick.png Yes Eyelander 4 head 369.60 332.64 123.20 295.60 508.20 457.38 169.40 406.56
Pictogram tick.png Yes Scotsman's Skullcutter 238 214.20 79.33 190.40 327.25 294.53 109.08 261.80
Pictogram tick.png Yes Scotsman's Skullcutter & Chargin' Targe 637.50 510 637.50 510
Pictogram tick.png Yes Heavy 230 207 76.67 184 322 289.80 107.33 257.60
Pictogram tick.png Yes Minigun spun up 110 99 0 88 154 138.60 0 123.20
Pictogram tick.png Yes Brass Beast spun up 44 44 0 35.20 61.50 61.50 0 49.28
Pictogram tick.png Yes Gloves of Running Urgently 299 269.10 99.67 239.20 418.60 376.74 139.53 334.88
Pictogram tick.png Yes Buffalo Steak Sandvich 310.50 297.45 103.50 248.40 310.50 297.45 103.50 248.40
Pictogram tick.png Yes Engineer 300 270 100 240 405 364.50 135 324
Pictogram tick.png Yes Hauling building 225 202.50 75 180 303.75 273.38 101.25 243
Pictogram tick.png Yes Medic 320 288 106.67 256 425 382.50 141.67 340
Pictogram tick.png Yes Overdose at 100% (linear) 352 316.80 117.33 281.60 467.50 420.75 155.83 374
Pictogram tick.png Yes Sniper 300 270 100 240 405 364.50 135 324
Pictogram tick.png Yes Sniper Rifle zoomed 80 80 26.67 64 112 100.80 37.33 89.6
Pictogram tick.png Yes Sniper Rifle zoomed with Cozy Camper 16 16 5.33 12.8 24.4 24.4 7.47 17.92
Pictogram tick.png Yes Huntsman drawn 160 144 53.33 224 201.60 74.67
Pictogram tick.png Yes Huntsman drawn with Cozy Camper 32 32 10.67 44.8 44.8 14.93
Pictogram tick.png Yes Spy 300 270 100 240 405 364.50 135 324
Pictogram tick.png Yes Scout disguise Same as Spy
Pictogram tick.png Yes Soldier disguise Same as Soilder
Pictogram tick.png Yes Pyro disguise Same as Spy
Pictogram tick.png Yes Demoman disguise Same as Demoman
Pictogram tick.png Yes Heavy disguise Same as Heavy
Pictogram tick.png Yes Engineer disguise Same as Spy
Pictogram tick.png Yes Medic disguise Same as Spy
Pictogram tick.png Yes Sniper disguise Same as Spy
Pictogram tick.png Yes Spy disguise Same as Spy