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

From Team Fortress Wiki
Jump to: navigation, search
(create basis template for Damage_weapon to minimize repeated stats and have indirection if the basis changes.)
 
m (try blank E/V/F by default)
Line 10: Line 10:
 
   | 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|LL=0.5 |H=1.5 |OL=0.528
|S=0.0675|F=10 }}
+
|S=0.0675|F=10|E|V }}
  
 
   | 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|LL=0.5 |H=1.5  |OL=0.528
|S=0.08|F=4 }}
+
|S=0.08|F=4|E|V }}
  
 
   | electro-sapper
 
   | electro-sapper
 
   | sapper          = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
 
   | sapper          = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
|D=5 |T=0.2 |L=1.0 |H=1.0
+
|D=5 |T=0.2 |L=1.0 |H=1.0|E|V|F
 
<!-- Time / Damage are guessed given 25dps. Placement max range is like melee, but damage while placed is independent of range -->
 
<!-- Time / Damage are guessed given 25dps. Placement max range is like melee, but damage while placed is independent of range -->
 
  }}
 
  }}
Line 33: Line 33:
 
|D=6.5<!--exposure causes 100%-200%-->
 
|D=6.5<!--exposure causes 100%-200%-->
 
  |T=0.075|L=0 |H=2.0 |CL=0|CH=2.0 <!-- crits (CL/CH) use ramped value, not 1.0 -->
 
  |T=0.075|L=0 |H=2.0 |CL=0|CH=2.0 <!-- crits (CL/CH) use ramped value, not 1.0 -->
|maxRange=340}} <!-- 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 -->
+
|maxRange=340|E|V|F}} <!-- 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 -->
  
 
   | 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 |LL=0.5 |H=1.5  |OL=0.528
|S=0.04|recovery=1.25 }}
+
|S=0.04|recovery=1.25|E|V|F }}
  
 
   | 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 |LL=1.0 |H=1.0  |OL=1.0|E|V|F }}
  
 
   | 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  |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) -->         
|V=1100|E=1.0 }}
+
|V=1100|E=1.0|F }}
  
 
   | 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  |LL=1.0 |H=1.0  |OL=1.0             
|V=1200|E=1.0 }}
+
|V=1200|E=1.0|F }}
  
 
   | 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  |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) -->
|V=925.38|E=1.0 }}
+
|V=925.38|E=1.0|F }}
  
 
   | 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 |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 -->
|V=1000 }}
+
|V=1000|E|F }}
 
    
 
    
 
   | shovel | fire axe | bottle | fists | wrench | bonesaw | kukri
 
   | shovel | fire axe | bottle | fists | wrench | bonesaw | kukri
 
   | melee          = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
 
   | melee          = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
 
|D=65 |T=0.8 |L=0.0 |H=1.0
 
|D=65 |T=0.8 |L=0.0 |H=1.0
|maxRange=50|attack=swing <!-- range guessed --> }}
+
|maxRange=50|attack=swing|E|V|F <!-- range guessed --> }}
 
   | bat
 
   | bat
 
   | melee-scout            = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
 
   | melee-scout            = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
 
|D=35 |T=0.5 |L=0.0 |H=1.0
 
|D=35 |T=0.5 |L=0.0 |H=1.0
|maxRange=50|attack=swing }}
+
|maxRange=50|attack=swing|E|V|F }}
 
   | melee-spy
 
   | melee-spy
 
   | knife          = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
 
   | knife          = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
 
|D=40 |T=0.8 |L=0.0 |H=1.0
 
|D=40 |T=0.8 |L=0.0 |H=1.0
|maxRange=50|attack=stab }}
+
|maxRange=50|attack=stab|E|V|F }}
 
   | {{{W|{{{1|0}}}}}}
 
   | {{{W|{{{1|0}}}}}}
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}<!--until this is considered a template, apparently Documentation doesn't work-->{{User:RotatcepS/tests/Damage_basis/doc}}
 
{{Documentation}}<!--until this is considered a template, apparently Documentation doesn't work-->{{User:RotatcepS/tests/Damage_basis/doc}}
 
</noinclude>
 
</noinclude>

Revision as of 01:51, 22 September 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