Difference between revisions of "User:RotatcepS/tests/Damage basis"

From Team Fortress Wiki
Jump to: navigation, search
(add some unlock basis entries, new (unused) B arg for Building damage multiplier)
m (get rid of the OL/LL stuff, just use L with OL values for the most part. update some notes)
Line 5: Line 5:
 
<!-- knife has own basis only because it can backstab -->
 
<!-- knife has own basis only because it can backstab -->
 
<!-- melee-scout has own basis for convenience when in reality it's just melee with wielded-by-scout modification -->
 
<!-- melee-scout has own basis for convenience when in reality it's just melee with wielded-by-scout modification -->
<!-- TODO unlock basis entries like flare gun, huntsman, crossbow, banner, lunchbox, drink... -->
+
<!-- TODO damage should support Building Modifier (1.0 by default); Sapper Modifier (0.0 by default); and Self-damage modifier (0.0 by default?) -->
  
<!-- L is primary low ramp, OL is observed low used in regular wiki (currently default if L is missing), LL is Likely/Logical Low theoretical code-based option to switch to (currently unused) -->
 
 
   | shotgun          = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
 
   | shotgun          = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
|D=60 |T=0.625|LL=0.5 |H=1.5 |OL=0.528
+
|D=60 |T=0.625 |H=1.5 |L=0.528
 
|S=0.0675|F=10 }}
 
|S=0.0675|F=10 }}
  
 
   | minigun          = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
 
   | minigun          = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
|D=36 |T=0.1|LL=0.5 |H=1.5  |OL=0.528
+
|D=36 |T=0.1 |H=1.5  |L=0.528
 
|S=0.08|F=4 }}
 
|S=0.08|F=4 }}
  
Line 36: Line 35:
  
 
   | pistol              = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
 
   | pistol              = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
|D=15 |T=0.15 |LL=0.5 |H=1.5  |OL=0.528
+
|D=15 |T=0.15 |H=1.5  |L=0.528
 
|S=0.04|recovery=1.25 }}
 
|S=0.04|recovery=1.25 }}
  
 
   | sniper rifle        = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
 
   | sniper rifle        = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
|D=50 |T=1.5 |LL=1.0 |H=1.0  |OL=1.0 }}
+
|D=50 |T=1.5 |H=1.0  |L=1.0 }}
  
 
   | rocket launcher  = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
 
   | rocket launcher  = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
|D=90 |T=0.8  |LL=0.5 |H=1.25  |OL=0.528 <!-- wiki has gone back and forth for OL, but evidence was claimed for .5 in Jun'14, will be fixed if Damage macro switches to LL from OL (went to .53/.528 in Jan'15/May'20) -->         
+
|D=90 |T=0.8  |H=1.25  |L=0.528 <!-- wiki has gone back and forth for L, but evidence was claimed for .5 in Jun'14, (went to .53/.528 in Jan'15/May'20) -->         
 
|V=1100|E=1.0 }}
 
|V=1100|E=1.0 }}
  
 
   | grenade launcher = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
 
   | grenade launcher = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
|D=100 |T=0.6  |LL=1.0 |H=1.0  |OL=1.0             
+
|D=100 |T=0.6  |H=1.0  |L=1.0             
 
|V=1200|E=1.0 }}
 
|V=1200|E=1.0 }}
  
 
   | stickybomb launcher = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
 
   | stickybomb launcher = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
|D=120 |T=0.6  |LL=0.5 |H=1.15  |OL=0.5              <!-- H=1.20 on wiki, appears mistaken (max I get is 136, close to original 138). But Damage page still claims 1.2 (along with syringe gun) -->
+
|D=120 |T=0.6  |H=1.15  |L=0.5              <!-- H=1.20 on wiki, appears mistaken (max I get is 136, close to original 138). But Damage page still claims 1.2 (along with syringe gun) -->
 
|V=925.38|E=1.0 }}
 
|V=925.38|E=1.0 }}
  
 
   | syringe gun = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
 
   | syringe gun = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
|D=10 |T=0.1 |LL=0.5 |H=1.2  |OL=0.528 <!-- will be fixed if Damage macro switches to LL from OL to not use the .528 which appears to be an accident when converting to damage table in Mar'11 -->
+
|D=10 |T=0.1 |H=1.2  |L=0.528 <!-- should be 0.5 I think - the .528 appears to be an accident when converting to damage table in Mar'11 -->
 
|V=1000 }}
 
|V=1000 }}
 
    
 
    
Line 72: Line 71:
  
 
   | flare gun      = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
 
   | flare gun      = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
|D=30 |T=2.0  |LL=1.0 |H=1.0 |OL=1.0             
+
|D=30 |T=2.0  |H=1.0 |L=1.0             
 
|V=2000|E=0.0 }}
 
|V=2000|E=0.0 }}
  
 
   | ball      = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
 
   | ball      = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
|D=15 |T=0.25  |LL=1.0 |H=1.0 |OL=1.0             
+
|D=15 |T=0.25  |H=1.0 |L=1.0             
 
|V=3000|E=0.0 }}
 
|V=3000|E=0.0 }}
  
 
   | indivisible particle smasher = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
 
   | indivisible particle smasher = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
|D=72 |T=0.8  |LL=.528 |H=1.2 |OL=.528  <!-- can't crit -->           
+
|D=72 |T=0.8  |H=1.2 |L=.528  <!-- can't crit -->           
 
|V=1200|E=0.0|B=0.20 }}
 
|V=1200|E=0.0|B=0.20 }}
  
 
   | arrow
 
   | arrow
 
   | bolt    = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
 
   | bolt    = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
|D=50 |T=1.94  |LL=1.0 |H=1.0 |OL=1.0             
+
|D=50 |T=1.94  |H=1.0 |L=1.0             
 
|V=2400|E=0.0 }}
 
|V=2400|E=0.0 }}
  
 
   | shield bash  = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
 
   | shield bash  = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
|D=50 |T=12.0  |LL=0.0 |H=0.314 |OL=0.0             
+
|D=50 |T=12.0  |H=0.314 |L=0.0             
 
|V=750|E=0.0|B=0.0 }}
 
|V=750|E=0.0|B=0.0 }}
  
 
   | fireball = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
 
   | fireball = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
|D=25 |T=0.8  |LL=0.90 |H=1.2 |OL=0.90             
+
|D=25 |T=0.8  |H=1.2 |L=0.90             
 
|V=3000|E=0.0|B=3.0|maxRange=526 }}
 
|V=3000|E=0.0|B=3.0|maxRange=526 }}
 +
 +
<!-- TODO
 +
  | short circuit
 +
  | short circuit alt
 +
  | stomp (mantreads, thermal thruster)
 +
  | cow mangler alt
 +
  , maybe thrown lunchbox HP -->
  
 
   | {{{W|{{{1|0}}}}}}
 
   | {{{W|{{{1|0}}}}}}

Revision as of 23:20, 2 October 2021

0

Template documentation [view] [edit] [history] [purge]

These entries are used in "Damage weapon"'s "Damage variant" "basis" parameter. The intent is that all weapons are based on one of these. This is mostly opinion-based, but it's practical. Usually the in-game +/- attributes appear based on the basis weapon.

  • Scattergun is just a shotgun with a different ramp (and reload speed)
  • Pistol is currently the basis for all recoil/recovery weapons including the revolver and SMG.
  • Dragon's Fury fireball is unique - while comparable to the flame thrower it functions very differently.
  • Short Circuit and its alt-fire, are unique.
  • Minigun has enough unique features to be its own category even though it functionally is a high-speed low-fragment high-spread no-reload shotgun.
  • Sandman's Ball is basis for all the throwable weapons
  • Bat is really based on melee, but since all melee uses these stats for that class it is listed as a separate basis.
  • bolt is the basis for all the "skewering" weapons: huntsman, crossbow, and rescue ranger
  • stomp damage is unique
  • other expected stock bases: sapper, medi gun, flamethrower, rocket launcher, syringe gun, melee, knife, grenade launcher, stickybomb launcher
  • flare guns
  • indivisible particle smasher (pomson and bison, not cowmangler)
  • shield bashes
  • others don't do direct damage
  • spells and sentries are TBD

Entity spawn points - x value ("Xoffset") is used in point blank calculation based on shounic's https://youtu.be/UFtZMIWt0WI?t=37 (i.e. close damage doesn't match ramp up math... unless you say distance to target is this value instead of 0)

  • 32x
    • balls (including cleaver) spawn (from eyes, translated from origin) 32x 0y -15z
  • 23.5x
    • original (standing) spawn (from eyes) 23.5x 0y -3z (crouching: 8z (I think))
    • rocket launchers & flare gun (standing) spawn (from eyes) 23.5x 12y -3z (crouching: 8z)
    • energy weapons (including cm5k) (standing) spawn (from eyes) 23.5x 8y -3z (crouching: 8z)
    • bolts(including grapple) spawn (from eyes) 23.5x 8y -3z
  • 16x
    • demo launchers & jars spawn (from eyes) 16x 8y -6z
    • syringes spawn (from eyes) 16x 6y -8z
  • 0x
    • flamethrowers spawn (from eyes) 0x 12y 0z
    • lunchbox toss spawn (from eyes) 0x 0y -8z (video mistake corrected in comment)
  • energy orb & fireball: unknown. assume 23.5 & 0x?
  • bullet weapons: ? assume 30? (32 doesn't round down for pistol, 28 is too high damage for scattergun)


Basis (default) base rampup rampdown time spread-value fragments splash-percent velocity recovery maxRange
Shotgun (scattergun) 6-60 60 1.5 0.528 0.625 0.0675 10 0 0
Pistol (smg, revolver) 15 15 1.5 0.528 0.15 0.04 0 0 1.25
Minigun 9-36 36 1.5 0.528 0.1 0.08 4 0 0
Sniper Rifle 50 50 1.0 1.0 1.5 0 0 0 0
Grenade Launcher 50-100 100 1.0 1.0 0.6 0 0 1.0 1216.6 0
Stickybomb Launcher 60-120 120 1.15 0.5 0.6 0 0 1.0 925.38 0
Sapper 3 2.5 1.0 1.0 0.1 0 0 0 0
Medi Gun -3 -3 1.0 0 0.125 0 0 0 0 540
Flame Thrower 3 3.25 2.0 0 0.075 0 0 0 0 330
Rocket Launcher 45-90 90 1.25 0.528 0.8 0 0 1.0 1100 0
Syringe Gun 10 10 1.2 0.528 0.1 0 0 0 1000 0
Melee 65 65 1.0 0.0 0.8 0 0 0 0 48
Bat 35 35 1.0 0.0 0.5 0 0 0 0 48
Knife 40 40 1.0 0.0 0.8 0 0 0 0 48
Flare Gun 30 30 1.0 1.0 2.0 0 0 0.0 2000 0
Ball 15 15 1.0 1.5 0.25 0 0 0.0 3000 0
indivisible particle smasher 60 60 1.2 .528 0.8 0 0 0.0 1200 0
shield bash 50 50 0.314 1.0 12.0 0 0 0.0 750 0 1125
fireball 25 25 1.2 0.90 0.8 0 0 0.0 3000 0 526
bolt 50 50 1.0 1.0 1.94 0 0 0.0 2400 0
stomp 75 75 1.0 0 3.0 0 0 0 651 0

These entries are used in "Damage weapon"'s "Damage variant" "basis" parameter. The intent is that all weapons are based on one of these.

This is mostly opinion-based, but it's practical. Usually the in-game +/- attributes appear based on the basis weapon.

  • Scattergun is just a shotgun with a different ramp (and reload speed)
  • Pistol is currently the basis for all recoil/recovery weapons including the revolver and SMG.
  • Dragon's Fury fireball is unique - while comparable to the flame thrower it functions very differently.
  • Short Circuit and its alt-fire, are unique.
  • Minigun has enough unique features to be its own category even though it functionally is a high-speed low-fragment high-spread no-reload shotgun.
  • Sandman's Ball is basis for all the throwable weapons
  • Bat is really based on melee, but since all melee uses these stats for that class it is listed as a separate basis.
  • bolt is the basis for all the "skewering" weapons: huntsman, crossbow, and rescue ranger
  • stomp damage is unique
  • other expected stock bases: sapper, medi gun, flamethrower, rocket launcher, syringe gun, melee, knife, grenade launcher, stickybomb launcher
  • flare guns
  • indivisible particle smasher (pomson and bison, not cowmangler)
  • shield bashes
  • others don't do direct damage
  • spells and sentries are TBD

Entity spawn points - x value ("Xoffset") is used in point blank calculation based on shounic's https://youtu.be/UFtZMIWt0WI?t=37 (i.e. close damage doesn't match ramp up math... unless you say distance to target is this value instead of 0)

  • 32x
    • balls (including cleaver) spawn (from eyes, translated from origin) 32x 0y -15z
  • 23.5x
    • original (standing) spawn (from eyes) 23.5x 0y -3z (crouching: 8z (I think))
    • rocket launchers & flare gun (standing) spawn (from eyes) 23.5x 12y -3z (crouching: 8z)
    • energy weapons (including cm5k) (standing) spawn (from eyes) 23.5x 8y -3z (crouching: 8z)
    • bolts(including grapple) spawn (from eyes) 23.5x 8y -3z
  • 16x
    • demo launchers & jars spawn (from eyes) 16x 8y -6z
    • syringes spawn (from eyes) 16x 6y -8z
  • 0x
    • flamethrowers spawn (from eyes) 0x 12y 0z
    • lunchbox toss spawn (from eyes) 0x 0y -8z (video mistake corrected in comment)
  • energy orb & fireball: unknown. assume 23.5 & 0x?
  • bullet weapons: ? assume 30? (32 doesn't round down for pistol, 28 is too high damage for scattergun)


Basis (default) base rampup rampdown time spread-value fragments splash-percent velocity recovery maxRange
Shotgun (scattergun) 6-60 60 1.5 0.528 0.625 0.0675 10 0 0
Pistol (smg, revolver) 15 15 1.5 0.528 0.15 0.04 0 0 1.25
Minigun 9-36 36 1.5 0.528 0.1 0.08 4 0 0
Sniper Rifle 50 50 1.0 1.0 1.5 0 0 0 0
Grenade Launcher 50-100 100 1.0 1.0 0.6 0 0 1.0 1216.6 0
Stickybomb Launcher 60-120 120 1.15 0.5 0.6 0 0 1.0 925.38 0
Sapper 3 2.5 1.0 1.0 0.1 0 0 0 0
Medi Gun -3 -3 1.0 0 0.125 0 0 0 0 540
Flame Thrower 3 3.25 2.0 0 0.075 0 0 0 0 330
Rocket Launcher 45-90 90 1.25 0.528 0.8 0 0 1.0 1100 0
Syringe Gun 10 10 1.2 0.528 0.1 0 0 0 1000 0
Melee 65 65 1.0 0.0 0.8 0 0 0 0 48
Bat 35 35 1.0 0.0 0.5 0 0 0 0 48
Knife 40 40 1.0 0.0 0.8 0 0 0 0 48
Flare Gun 30 30 1.0 1.0 2.0 0 0 0.0 2000 0
Ball 15 15 1.0 1.5 0.25 0 0 0.0 3000 0
indivisible particle smasher 60 60 1.2 .528 0.8 0 0 0.0 1200 0
shield bash 50 50 0.314 1.0 12.0 0 0 0.0 750 0 1125
fireball 25 25 1.2 0.90 0.8 0 0 0.0 3000 0 526
bolt 50 50 1.0 1.0 1.94 0 0 0.0 2400 0
stomp 75 75 1.0 0 3.0 0 0 0 651 0