ValveSoftware / halflife

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

[CS1.6] Change mouse sens by speed #1355

Open r3n4m3 opened 11 years ago

r3n4m3 commented 11 years ago

I propose to add the console commands that will adjust the sensitivity, depending on the speed. As an alternative to acceleration.

For example: I need high accuracy but I want to stay mobile. Based on this I will be playing at a higher sensetiviti value, but when I move the mouse slower then certain value (m_speed_min), the sensitivity will changed to the set value (m_sens_min), but as soon as the speed becomes higher than this value, then the sensitivity return to the default value (m_sens_default).

suggesting cvars: m_sens_min m_sens_max m_sens_defalut m_speed_min m_speed_max

PS: if enybody found better solution, or u have any questions and suggestion then welcome

Tele42 commented 11 years ago

@r3n4m3 does this mechanism already exist in the goldsource engine?

r3n4m3 commented 11 years ago

I doubt

MPNumB commented 11 years ago

Tried using mouse acceleration? It's basically the same thing - the faster you move your mouse, the higher angle is gained. I'm actually amazed, how VALVe managed to mess up mouse acceleration - it's really hard to find values what would be similar to classic mouse acceleration. Anyways, here are my settings, maybe you'll find them useful.

sensitivity "0.2" // do not touch this cvar m_rawinput "1" m_customaccel "1" m_customaccel_exponent "0.8" m_customaccel_max "0" m_customaccel_scale "0.09" // edit this to change mouse sensetivity.

// Edit the last cvar to change the sensetivity. // 0.09 simulates how earlier 3.6 sensetivity would be // with mouse-accel enabled before all mouse updates. // So it's basically: ( your_old_sensetivity / 40 )

// EDIT:

Also can just play with "m_customaccel_max" to set your max acceleration value.