Source-1-Games icon indicating copy to clipboard operation
Source-1-Games copied to clipboard

[TF2] Sniper rifles cannot headshot if left click is held after the first shot

Open blackletum opened this issue 3 months ago • 1 comments

Apologies if the title was confusing, I couldn't think of a better way to word it.

There appears to be an issue with Sniper rifles where holding down primary fire after your first shot (or literally just the first shot itself, in the Machina's case) prevents the weapon from doing headshots.

This is particularly easy to reproduce with the Machina:

  • Hold down primary fire while the weapon is unable to fire.
  • Zoom in while continuing to hold primary fire.
  • As soon as the weapon becomes able to fire, shoot at an enemy's head.
  • The shot will hit the head, but it will not register as a headshot.

You can observe this behavior here:

https://github.com/user-attachments/assets/8d213636-2767-4500-8812-5ddf15c40e05

The issue appears to be related to Sniper charge? My guess is that the weapon considers the shot to have no charge when subsequent shots are fired.

If the player is scoped in and the weapon is able to fire, a shot that hits an enemy directly in the head should presumably be capable of registering as a headshot, regardless of its current charge level.

The issue does not occur when primary fire is released and pressed again immediately afterwards, making it appear to be specifically related to holding the fire button.

Here's another video showing it with the normal Sniper rifle:

https://github.com/user-attachments/assets/7b30e0d4-4cd1-4d1f-8505-d936fb72f98c

As you can see, I get a headshot and then continue to hold down left click, which results in no more headshots.

This behavior was first observed in the base TF2 SDK, but then I checked and it happens in actual base TF2 as well.

blackletum avatar Aug 16 '26 23:08 blackletum

This not a bug, this is an intended balancing decision which was added in the February 14th, 2008 Patch "Added a small delay (200 ms) before a zoomed sniper shot can get a critical hit".

BreavyTF2 avatar Aug 17 '26 04:08 BreavyTF2