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

From Team Fortress Wiki
Jump to: navigation, search
m (shield bash can reach just beyond long range, so L=1.0)
m (melee max range 48, not 50 based on a shounic video)
 
(24 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
<!-- TODO damage should support Building Modifier (1.0 by default); Sapper Modifier (0.0 by default); and Self-damage modifier (0.0 by default?) -->
 
<!-- TODO damage should support Building Modifier (1.0 by default); Sapper Modifier (0.0 by default); and Self-damage modifier (0.0 by default?) -->
  
   | shotgun          = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
+
   | shotgun          = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
 
|D=60 |T=0.625 |H=1.5 |L=0.528
 
|D=60 |T=0.625 |H=1.5 |L=0.528
|S=0.0675|F=10 }}
+
|S=0.0675|F=10|pellet=pellet|Xoffset=30 }}
  
   | minigun          = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
+
   | minigun          = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
 
|D=36 |T=0.1 |H=1.5  |L=0.528
 
|D=36 |T=0.1 |H=1.5  |L=0.528
|S=0.08|F=4 }}
+
|S=0.08|F=4|pellet=bullet|Xoffset=30 }}<!-- xoffset is a guess.  Numbers in general are off, but some are too high, some are too low.  Have to do testing to validate everything -->
  
 
   | electro-sapper
 
   | electro-sapper
   | sapper          = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
+
   | sapper          = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
|D=5 |T=0.2 |L=1.0 |H=1.0
+
|D=2.5 |T=0.1 |L=1.0 |H=1.0
<!-- Time / Damage are guessed given 25dps. Placement max range is like melee, but damage while placed is independent of range -->
+
<!-- Time / Damage: frame-by-frame shows about 2.5 damage (every about 7 frames). 25dps means 2.5 every .10s. Placement max range is like melee, but damage while placed is independent of range -->
 
  }}
 
  }}
  
 
   | medi-gun
 
   | medi-gun
 
   | medigun
 
   | medigun
   | medi gun          = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
+
   | medi gun          = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
|D=-3 |T=0.125 |L=0 |H=3.0 <!-- similar to flamethrower - L is really N/A -->
+
|D=-3 |T=0.125 |L=0 |H=1.0 <!-- similar to flamethrower - L is really N/A -->
|maxRange=540 <!-- Damage is really healing. Time/Damage are guessed given mid-strength hps. Range is really time since last damage. --> }}
+
|maxRange=540 <!-- Damage is really healing. Time/Damage are guessed given mid-strength hps. --> }}
 +
 
 +
  | medi-gun relaxed
 +
  | medigun relaxed
 +
  | medi gun relaxed  = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
 +
|D=-9 |T=0.125 |L=0 |H=1.0 <!-- similar to flamethrower - L is really N/A -->
 +
|maxRange=540 <!-- Damage is really healing. Time/Damage are guessed given mid-strength hps. --> }}
  
 
   | flamethrower
 
   | flamethrower
   | flame thrower          = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
+
   | flame thrower          = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
<!--|D=13 if exposure caused 50%-100%-->
+
|D=3.25<!--exposure causes 100%-200% (50-100% by wiki description) and buildings get full credit (no ramp-down)-->
|D=6.5<!--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 <!-- crits (CL/CH) use ramped value, not 1.0 -->
+
|B=2.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=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|medium}}}
+
   | pistol              = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
 
|D=15 |T=0.15 |H=1.5  |L=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|Xoffset=30 }}
  
   | sniper rifle        = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
+
   | sniper rifle        = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
|D=50 |T=1.5 |H=1.0  |L=1.0 }}
+
|D=50 |T=1.5 |H=1.0  |L=1.0|Xoffset=30 }}
  
   | rocket launcher  = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
+
   | rocket launcher  = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
 
|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) -->         
 
|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|text}}}
 
|D=100 |T=0.6  |H=1.0  |L=1.0             
 
|D=100 |T=0.6  |H=1.0  |L=1.0             
|V=1200|E=1.0 }}
+
|V=1216.6|E=1.0|Xoffset=16 }}
  
   | stickybomb launcher = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
+
   | 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|medium}}}
+
   | 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
   | melee          = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
+
   | melee          = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
 
|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=48|attack=swing <!-- range based on https://youtu.be/hcxh0wFB990?t=138 --> }}
 
   | bat
 
   | bat
   | melee-scout            = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
+
   | melee-scout            = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
 
|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=48|attack=swing }}
 
   | melee-spy
 
   | melee-spy
   | knife          = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
+
   | knife          = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
 
|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=48|attack=stab }}
  
   | flare gun      = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
+
   | flare gun      = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
 
|D=30 |T=2.0  |H=1.0 |L=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|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|medium}}}
+
   | indivisible particle smasher = {{User:RotatcepS/tests/Damage|type={{{type|text}}}
|D=72 |T=0.8  |H=1.2 |L=.528  <!-- can't crit -->           
+
|D=60 |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|text}}}
 
|D=50 |T=1.94  |H=1.0 |L=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|text}}}
 
|D=50 |T=12.0 <!-- TODO T should be when including supply cabinets - recharge time is for reloading --> |H=0.314 |L=1.0             
 
|D=50 |T=12.0 <!-- TODO T should be when including supply cabinets - recharge time is for reloading --> |H=0.314 |L=1.0             
|V=750|E=0.0|B=0.0|maxRange=1125 <!--750hu/s*1.5s--> }}
+
|V=750|E=0.0|B=0.0|maxRange=1125<!--750hu/s*1.5s-->
 +
|Xoffset=32<!--treat impact as point blank no separation--> }}
  
   | fireball = {{User:RotatcepS/tests/Damage|type={{{type|medium}}}
+
   | 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}}}
 +
|D=75|V=651|T=3.0|H=1.0|L=0<!--(made up interval approx time to achieve the jump; L=0 because short falls do no damage) Deals 3x falling damage to the player you land on. (actually 10+3x, and only when fall damage would apply, which user does not receive) no damage to buildings. damage is theoretical percent based on max health of 200. 651HU/s:10.85%*200*3=65.1~65 (+10) -->
 +
|Xoffset=32<!--treat impact as point blank no separation H=1 means it doesn't matter anyhow.-->}}
  
 
<!-- TODO  
 
<!-- TODO  
 
   | short circuit
 
   | short circuit
 
   | short circuit alt
 
   | short circuit alt
  | stomp (mantreads, thermal thruster)
+
   , maybe thrown lunchbox HP|Xoffset=0 -->
  | cow mangler alt
 
   , maybe thrown lunchbox HP -->
 
  
 
   | {{{W|{{{1|0}}}}}}
 
   | {{{W|{{{1|0}}}}}}

Latest revision as of 04:52, 6 August 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