ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.67k stars 622 forks source link

m_rawinput 1 and VGUI menu #815

Closed Drone101 closed 11 years ago

Drone101 commented 11 years ago

I love the command but in CS 1.6 setting "m_rawinput 1" means the game retains your mouse's position between VGUI menus and from one round to the next when buying.

This is a massive change to the behaviour of the mouse in VGUI menus.

With "m_rawinput 0" the mouse centres to the middle of your crosshair after you complete a purchase. With "m_rawinput 1" it remembers it's position from one purchase to the next.

The consequence of which is that you can no longer use pure muscle memory to make each individual purchase.

As a long standing cs player I am used to buying items without concious thought. With the mouse position no longer resetting each round purchase takes much longer as you have to consciously reposition the mouse. When you have only 3 seconds to call a strat and buy up in a league match this is incredibly frustrating.

Suggested Solution 1: Remove the way the new "m_rawinput 1" remembers your mouse position each round or when using the mouse in other menus in-game Suggested Solution 2: Create new variable "m_mousefocusreset 1" to keep the buy menus working as we have trained ourselves for.

Related to but separate from: [HL1/Mods] Mouse Focus gets lost when using VGUI menus or click scoreboard. (Exact opposite problem!)

TL:DR CS 1.6 VGUI buy menus relied on mouse resetting to let you buy from memory with a flick of the mouse, the same flick each round would get you the same gun. With "m_rawinput 1" as the mouse focus (position) is retained you now have to actively look where your mouse is before and during buying - wasting time at a very critical moment in a round. Thanks for your help, really appreciate the love you guys are giving to the goldsource engine!

Drone101 commented 11 years ago

System information not attached - deemed irrelevant. When tested with 6 of my friends using a variety of setups we all noticed that using "m_rawinput 1" made buying feel weird but could not identify in what way until I cottoned on.

alfred-valve commented 11 years ago

Leaving the mouse position alone is the behavior we want. For the buy menus I would suggest using the keyboard shortcuts.