ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.68k stars 623 forks source link

+attack stuck with VGUI menus or game menu #2669

Open CS-PRO1 opened 5 years ago

CS-PRO1 commented 5 years ago

Simply load any Goldsrc game and use any weapon you want (better be full auto trigger). Start shooting the weapon and open the game menu or any other VGUI element (like the buy menu in CS). You'll notice the gun will keep firing till it's depleted. And it won't reload cuz +attack will stay stuck till you unstuck it via mouse1 click (even if you force reload the weapon will start shooting again once reload is done). This also happens with melee weapons (knife, crowbar etc..)

tschumann commented 5 years ago

Might be a consequence of FL_FROZEN or whatever being set in the player's pev->flags?

afwn90cj93201nixr2e1re commented 5 years ago

Also same can be reproduced with: Push mouse1 button, open console, minimize a window release mouse1 button, open cs, and now you IN_ATTACK, i think it's feature, not a bug.

RauliTop commented 5 years ago

Impossible to be a feature, it doesn't have any sense.

Command attack should be stop when open the Game Menu and whatever VGUI too.

afwn90cj93201nixr2e1re commented 5 years ago

It's have sense if you play goldsrc game's since quake.

CS-PRO1 commented 5 years ago

For me it's frustrating and not useful at all. Should be fixed

RauliTop commented 5 years ago

It's have sense if you play goldsrc game's since quake.

Explain why we should keep that bug.

You didn't give any reason

afwn90cj93201nixr2e1re commented 5 years ago

You didn't too. Coz on some mod's we need this feature.

RauliTop commented 5 years ago

Coz on some mod's we need this feature.

What mod? Why? Explain the situation or your comment will be irrelevant