User:RotatcepS/tests/Damage basis

From Team Fortress Wiki
Jump to: navigation, search

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