ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
643 stars 74 forks source link

[TF2] Secondary Attack Times may increase unexpectedly after swapping weapons - Pyro Airblast Oddity #3489

Open WhispyStreams opened 3 years ago

WhispyStreams commented 3 years ago

If you airblast and swap weapons, the airblast cooldown extends from 0.75 seconds to 1 second. This is because secondary attack times are set to primary attack times during deploy. It might be applying to the stickybomb launcher as well. Not sure if this applies to dragon's fury, I don't imagine it does.

Video demo, from 46s to 1m: https://youtu.be/0Az-g0YIIpk?t=46

Repro:

  1. On Pyro, equip a flamethrower with airblast (degreaser easiest)
  2. Use the airblast, and immediately...
  3. Begin deploying another weapon, but immediately...
  4. Switch back to the flamethrower.
  5. During the flamethrower deploy animation, hold down the secondary fire button.
  6. Note that the second airblast fires 1 second after the first.

Core issue: When deploying a weapon, the game sets the next secondary attack time to be the same as the next primary attack time. Flames have a cooldown of 1 second after airblasting, as opposed to the airblast cooldown of 0.75. So the game sets the next airblast attack time to next flame attack time, increasing the cooldown time if you are quick enough. This is unexpected behavior IMO, because there is no precedent, tip, or visual indication of this behavior. Though veteran players will have gotten used to this by now.

Some solutions with balance notes:

lamioneiros commented 2 years ago

Bumping for Johnny. Please fix, TF2 updater friend!