Hello,
I tried to implement cl_mouseAccel (mouse acceleration depending on how fast you move the mouse) as it appears in Q3A - I got so used to it I can't really play Nexuiz with any reasonable skill. The state of it so far:
* I named the cvar "cl_mouseaccel" - I'm not sure if that complies with Nexuiz cvar naming policy (are abbreviations allowed?, should I use camel case? etc.) but I figured people would be looking for it under the name they know it by from other games.
* It works. (In principle, that is.)
* it's way too sensitive - usable values are around 0.001 and even then you'll probably have to decrease your sensitivity quite a bit.
* The lower the value is, the jerkier the movement.
* m_filter has to be on for it to work. Setting cl_mouseaccel to a non-zero value and turning m_filter off after that does not change the value of cl_mouseaccel but it does cancel the effect of it. However, setting m_filter back to 1 doesn't have any effect at all (other than turning the mouse filter on, of course). I was unable to figure out what causes this behaviour - I used openarena source as reference and only altered the corresponding parts of the Nexuiz source I could identify - just around 4 LOC really.
the altered cl_input.c file is
here, just grep it for cl_mouseaccel to see the changes. If you can improve it or point me in the right direction, I'd really appreciate it, thanks.