halflife icon indicating copy to clipboard operation
halflife copied to clipboard

GoldSrc:HL:CS16 Zoom Sensitivity Becomes Corrupt With MouseAccel ON

Open longboardtard opened this issue 9 years ago • 2 comments

Basically a revival of https://github.com/ValveSoftware/halflife/issues/456

The issue was closed, but it hasn't been fixed, or if it was, the solution was probably useless as this issue is still present today.

I use the following script and settings in order to have a button to toggle mouse accel ON/OFF:

m_customaccel_max 0
alias "maccel" "m_customaccel 0.18"
alias "sens_noaccel" "sensitivity 2; zoom_sensitivity_ratio 1.2"
alias "sens_accel" "sensitivity 2; zoom_sensitivity_ratio 2"
alias "maccel_settings" "maccel; m_customaccel_exponent 2; m_customaccel_scale 0.00002; m_customaccel_max 4"
alias "+customaccel" "maccel_settings; sens_accel; bind r -customaccel; exec black-ch.cfg; net_graphpos 2; echo [maccel:ON]" 
//alias "+customaccel" "maccel_settings; sensy; bind r -customaccel; exec green-ch.cfg; echo [maccel:ON]" 
alias "-customaccel" "m_customaccel 0; sens_noaccel; bind r +customaccel; exec white-ch.cfg; net_graphpos 2; echo [maccel:OFF]"
bind "r" "+customaccel"

When I zoom with no acceleration, the zoom sensitivity works fine, but when I zoom with acceleration on, I have to bring zoom_sensitivity_ratio all way up to 2 in order to be somewhat comfortable, then the zoom sensitivity in the second zoom becomes atrociously slow, completely unusable (in relation with what the actual unzoomed feel is). I haven't seen the code that handles this, and I don't know what the mistake is, but something in the calculation is wrong.

longboardtard avatar May 28 '17 18:05 longboardtard

@mikela-valve Looks like important bug to look at

i486 avatar Jul 10 '19 14:07 i486

Can you please fix this? Custom accel makes double zoom super slow.

ognyanstanev avatar Feb 03 '21 01:02 ognyanstanev