FWGS / xash3d-fwgs

Xash3D FWGS engine.
1.45k stars 220 forks source link

[Half-Life] Crowbar swing sound plays twice; animation not smooth #1150

Open Flintastic opened 1 year ago

Flintastic commented 1 year ago

The HL crowbar swing attack (not hitting anything) plays the swing sound twice, and the animation is not as smooth as it should be. The crowbars from other games (Team Fortress, Deathmatch Classic) do not share this issue.

a1batross commented 1 year ago

This as far as I know, a bug from HLSDK when they added prediction.

Our https://github.com/FWGS/hlsdk-portable should have a fix for that.

Flintastic commented 1 year ago

Indeed it does. Though I think there is some merit to supporting the original libraries.

a1batross commented 1 year ago

Well, we support original libraries but we can't fix bugs in them.

вт, 6 дек. 2022 г., 21:59 Flintastic @.***>:

Indeed it does. Though I think there is some merit to supporting the original libraries.

— Reply to this email directly, view it on GitHub https://github.com/FWGS/xash3d-fwgs/issues/1150#issuecomment-1339833679, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYQTANCC6AF5OAWY5W2Y4LWL6EJDANCNFSM6AAAAAASVBYLQM . You are receiving this because you commented.Message ID: @.***>

Flintastic commented 1 year ago

Oh no, what I meant was that this particular glitch doesn't happen with the original HL executable, so I thought that this might be an area of improvement concerning how FWGS interprets the old libraries.

a1batross commented 1 year ago

Ah, hm. That's weird now. Let's keep this open then

nekonomicon commented 1 year ago

Anyway, such issues was reported to Valve: https://github.com/ValveSoftware/halflife/issues/3230 https://github.com/ValveSoftware/halflife/issues/3173 https://github.com/ValveSoftware/halflife/issues/617

Vladislav4KZ commented 1 year ago

This bug is not reproduced for me both on Xash3D FWGS and on GoldSource.

Maybe you are using an old Half-Life build? Did you download it from Steam, or from somewhere else?

Vladislav4KZ commented 1 year ago

My version of Half-Life is

Protocol version 48
Exe version 1.1.2.2/Stdio (valve)
Exe build: 19:53:27 Aug  3 2020 (8684)

And I installed the valve folder from this version to Xash3D FWGS.

Flintastic commented 1 year ago

I’m testing Xash3D FWGS with the WON libraries.

For Half-Life:

Older libraries (1.0.1.6 and older) do not work with Xash.

Opposing Force is also affected (both the crowbar and the wrench):

Other custom mods that were built off these versions of the SDK also inherit this issue.

Buggy libraries or not, GoldSrc does not exhibit this issue. Xash is doing something different with the logic in question.