ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.55k stars 594 forks source link

[HL25] Weapon hit sounds on players don't work in multiplayer #3772

Open pierow opened 1 month ago

pierow commented 1 month ago

The bullet hit sounds don't work in HL25 multiplayer regardless if the hitbox or bounding box was hit, and the current SDK code doesn't reflect whatever changes cause this issue. Please correct this and publish any SDK changes needed to make it work.

This is related to the HL25 patch note:

Improved client-side prediction to reduce "ghost shots". Like Counter-Strike, consider hitboxes and not just bounding boxes for hits on the client.

The following behavior is what happens when shooting either at and/or near a player with videos below:

The issue occurs regardless if it's a listen server or HLDS.

https://github.com/ValveSoftware/halflife/assets/6503238/f1ba7619-01db-4c2a-9f48-89b786f831d4

https://github.com/ValveSoftware/halflife/assets/6503238/5276747c-2d07-4b2a-9599-5b35dd9dcc42

https://github.com/ValveSoftware/halflife/assets/6503238/3e7a591f-f718-4992-b5fe-ca71bac0ab4e

https://github.com/ValveSoftware/halflife/assets/6503238/30f4ac95-9a49-4bba-bc4e-cb15206e4a74

https://github.com/ValveSoftware/halflife/assets/6503238/288b5988-0d5b-4a49-bafd-a8ba72166663