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

From Team Fortress Wiki
Jump to: navigation, search
m (explain stomp L value)
(add new Xoffset values for balls, demo weapons, syringes, flamethrowers, lunchboxes, assumed fireball, everything else defaults same as rocket launchers. don't have basis entry for jars yet.)
Line 37: Line 37:
 
|D=3.25<!--exposure causes 100%-200%-->
 
|D=3.25<!--exposure causes 100%-200%-->
 
  |T=0.075|L=0 |H=2.0 |CL=0|CH=2.0|ML=0 <!-- crits (CL/CH) use ramped value, not 1.0 -->
 
  |T=0.075|L=0 |H=2.0 |CL=0|CH=2.0|ML=0 <!-- crits (CL/CH) use ramped value, not 1.0 -->
|maxRange=330}} <!-- Problem: F=2 particles, however damage is not per particle, causing confusion and incorrect range info if F is set.--><!-- 340 approx in wiki text, 330 in wiki damage table tooltip from 2014 test - Template_talk:Damage_table#flame_particle_maximum_distance -->
+
|maxRange=330|Xoffset=0}} <!-- Problem: F=2 particles, however damage is not per particle, causing confusion and incorrect range info if F is set.--><!-- 340 approx in wiki text, 330 in wiki damage table tooltip from 2014 test - Template_talk:Damage_table#flame_particle_maximum_distance -->
  
 
   | pistol              = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
 
   | pistol              = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
Line 52: Line 52:
 
   | grenade launcher = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
 
   | grenade launcher = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
 
|D=100 |T=0.6  |H=1.0  |L=1.0             
 
|D=100 |T=0.6  |H=1.0  |L=1.0             
|V=1216.6|E=1.0 }}
+
|V=1216.6|E=1.0|Xoffset=16 }}
  
 
   | stickybomb launcher = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
 
   | stickybomb launcher = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
 
|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) -->
 
|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|Xoffset=16 }}
  
 
   | syringe gun = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
 
   | syringe gun = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
 
|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 -->
 
|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|Xoffset=16 }}
 
    
 
    
 
   | shovel | fire axe | bottle | fists | wrench | bonesaw | kukri
 
   | shovel | fire axe | bottle | fists | wrench | bonesaw | kukri
Line 81: Line 81:
 
   | ball      = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
 
   | ball      = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
 
|D=15 |T=0.25  |H=1.0 |L=1.5 |ML=1.5 |CL=1.5             
 
|D=15 |T=0.25  |H=1.0 |L=1.5 |ML=1.5 |CL=1.5             
|V=3000|E=0.0 }}
+
|V=3000|E=0.0|Xoffset=32 }}
  
 
   | indivisible particle smasher = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
 
   | indivisible particle smasher = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
Line 98: Line 98:
 
   | fireball = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
 
   | fireball = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
 
|D=25 |T=0.8  |H=1.2 |L=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|Xoffset=0 }}
  
 
   | stomp  = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
 
   | stomp  = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
Line 106: Line 106:
 
   | short circuit
 
   | short circuit
 
   | short circuit alt
 
   | short circuit alt
   , maybe thrown lunchbox HP -->
+
   , maybe thrown lunchbox HP|Xoffset=0 -->
  
 
   | {{{W|{{{1|0}}}}}}
 
   | {{{W|{{{1|0}}}}}}

Revision as of 17:54, 8 January 2022

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