ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.62k stars 611 forks source link

[HL/HL:OF] Gluon gun glitches #1077

Open Matthaiks opened 11 years ago

Matthaiks commented 11 years ago

Jerky idle animation in HL right after weapon pick up (the secondary attack key is not pressed):

http://youtu.be/ZC95JuKke68

Split beam in OF:

http://youtu.be/J849M0Rc_s0

Oh, and the gluon's secondary attack acts in OF like primiary one (no idle animation). Maybe it's a feature...

Protocol version 48 Exe version 1.1.2.2/Stdio (valve) Exe build: 17:47:17 Apr 25 2013 (6027)

Processor Information: Vendor: AuthenticAMD Speed: 3214 Mhz 4 logical processors 4 physical processors HyperThreading: Unsupported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Unsupported SSE4a: Supported SSE41: Unsupported SSE42: Unsupported

Network Information: Network Speed:

Operating System Version: Windows 7 (64 bit) NTFS: Supported Crypto Provider Codes: Supported 311 0x0 0x0 0x0

Video Card: Driver: ATI Radeon HD 5700 Series

DirectX Driver Name:  aticfx32.dll
Driver Version:  12.104.0.0
DirectX Driver Version:  8.17.10.1191
Driver Date: 28 Mar 2013
Desktop Color Depth: 32 bits per pixel
Monitor Refresh Rate: 60 Hz
DirectX Card: ATI Radeon HD 5700 Series
VendorID:  0x1002
DeviceID:  0x68b8
Number of Monitors:  1
Number of Logical Video Cards:  1
No SLI or Crossfire Detected
Primary Display Resolution:  1920 x 1200
Desktop Resolution: 1920 x 1200
Primary Display Size: 26.65" x 16.65"  (31.42" diag)
                                        67.7cm x 42.3cm  (79.8cm diag)
Primary Bus Type Not Detected
Primary VRAM: 1024 MB
Supported MSAA Modes:  2x 4x 8x 

Sound card: Audio device: Glosniki (ASUS Xonar DS Audio D

Memory: RAM: 8191 Mb

Matthaiks commented 10 years ago

Another glitch. Holding a reload button causes this:

http://youtu.be/Y0_Huvb1KEY

Protocol version 48 Exe version 1.1.2.2/Stdio (valve) Exe build: 16:21:28 Aug 27 2013 (6151)

agrastiOs commented 5 years ago

Should be closed in favor of #2510. @kisak-valve

agrastiOs commented 5 years ago

If you still have these issues, I would suggest you mention them in there @Matthaiks

kisak-valve commented 5 years ago

Hello @Matthaiks, is this issue report and #2510 covering the same issue? I'd prefer to keep the older issue report open and bring your newer feedback over here if it's the same thing.

Matthaiks commented 5 years ago

Hi @kisak-valve, #2510 is like a fifth issue (gluon's animation appearance in single player), but it can be discussed here, I guess.

Build 8279

  1. idle animation: doesn't work anymore (cl_lw 1 or 0) #2495
  2. split beam in OF: only with cl_lw 0
  3. gluon's secondary attack = primary attack in OF (cl_lw 1 or 0)
  4. reload glitch: only with cl_lw 1
kisak-valve commented 10 months ago

[Half-Life] [Bug Fix] How to fix Gluon/Egon Gun's Idle animations.

Issue transferred from https://github.com/ValveSoftware/halflife/issues/3404. @theOneTrueFunniBoi posted on 2023-10-22T00:35:56:

Currently, the gluon gun's animations are fundamentally broken. Stuttering before ceasing to play. Only properly playing when alt fire is held down. This is however a very simple fix.

Open egon.cpp.

Inside of void CEgon::WeaponIdle( void ), find:

float flRand = RANDOM_FLOAT(0,1);,

And replace it with:

float flRand = UTIL_SharedRandomFloat(m_pPlayer->random_seed, 0, 1);.

There you go, probably the simplest fix to implement.