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

[L4D2] Jockey hitbox doesn't sync with his model

Open ObsoleteGuy opened this issue 6 months ago • 2 comments

I don't know for how long this problem is in the game.

Video demonstration:

https://github.com/user-attachments/assets/05273adc-35ae-4687-952c-708293be77f7

ObsoleteGuy avatar May 22 '26 22:05 ObsoleteGuy

This is technically not a bug as much as it's a limitation of interpolation/lag compensation.

What you're seeing is the real time hitbox on the serverside. On the client some latency is applied to smooth out animations, which is often tied to cl_interp (so it can smooth out between lost packets etc.)

Whenever you fire a weapon, the server will do lag compensation to try and match with what the client is seeing to the best of it's ability. In the case of L4D2, this applies to I.E.

  • Survivors
  • Special Infected
  • Common Infected
  • Witches
  • prop_dynamic derivatives with the LagCompensate keyvalue set to 1

This limitation pretty much applies to every Source Engine game (I.E. players in general,) however unfortunately people keep misrepresenting sv_showhitboxes, causing a lot of confusion. Hence why it was probably removed from public MP builds as seen on the Source SDK 2013.

https://github.com/user-attachments/assets/aa8a14d5-faab-412b-9af3-0c3eb6fe0490

zxz41 avatar Jun 01 '26 17:06 zxz41

This limitation pretty much applies to every Source Engine game (I.E. players in general,) however unfortunately people keep misrepresenting sv_showhitboxes, causing a lot of confusion.

You can thank that one YouTube short that went viral with over 7 million views. It's astonishing how many likes it got. The top comments don't help, either.

inco-cc avatar Sep 03 '26 04:09 inco-cc