Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HL25] Weapon model desync when switching while +attack held #3819

Open
0Ky opened this issue Sep 5, 2024 · 0 comments
Open

[HL25] Weapon model desync when switching while +attack held #3819

0Ky opened this issue Sep 5, 2024 · 0 comments

Comments

@0Ky
Copy link

0Ky commented Sep 5, 2024

Description

There is a bug where the wrong weapon model is displayed both in the player's POV and on the player model for others after switching weapons while holding the +attack key. When switching between certain weapon combinations, the weapon viewmodel may disappear entirely and the player model will look as though it's holding nothing. Also, firing produces no sound in some weapon combinations, but this sound bug appears to be client-side only and doesn't affect other players.

Steps to Reproduce

  1. Equip a weapon (e.g., Gauss gun) and deplete all its ammo while holding the +attack key.
  2. Without releasing the +attack key, switch to another weapon (e.g., Crowbar) using the lastinv command (or any weapon_* command).
  3. Switch back to the original weapon (e.g., Gauss gun) using the same command while still holding +attack.
  4. Obtain ammo while continuing to hold +attack.

Expected Behavior

The correct weapon model should be displayed in the player's POV and on the player model.

Actual Behavior

  • The viewmodel shows the incorrect weapon (e.g., Crowbar) even though the original weapon (e.g., Gauss gun) is equipped.
  • The player model (as seen by other players) also appears to be holding the wrong weapon.
  • When firing, the effects (e.g., Gauss gun beam) come from the incorrect weapon (e.g., Crowbar).

Additional Information

  • OS: Windows 11 Pro x64, version 23H2, build 22631.4112
  • Half-Life 1 Client (25th Anniversary): Exe build: 12:23:38 Dec 22 2023 (9920)
  • This bug existed prior to the 25th Anniversary update and continues after it.

Video Demonstration

9Mmhandgun to Gauss (sound + weapon missing)
9Mmhandgun.To.Gauss.mp4
357 to 9mmAR
357.To.9Mmar.mp4
Tripmine to Gauss
Tripmine.To.Gauss.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants