Add this to your autoexec.cfg file. You can edit the code to choose the keyboard keys that activate a toggle. See the comments in the code. Also there is a basic description of what they do. I am experimenting myself still, so I don't have all the answers. Different settings seem to work better for different computers and player styles.
To use start a game then hit a key to turn on a "fix", again to turn it off:
- l for help with lag, or problems aiming
o for help with open gl, or frame rate problems or input problems (this didn't do anything for me)
k for connection speed problems (haven't tried this one myself yet)
The code will always start up with the defaults. If you decide you like a fix, you can change the code to start with the fix instead of the default setting.
I like the lag fix (set cl_movement 0), not sure about gl fix or rate fix yet.
- Code: Select all
// AOT performance tuning toggles
// lag fix, 1 (default)=lag correction similar to image stabilization
alias "aot_lagfix0" "set cl_movement 0 ; echo cl_movement 0 ; alias aot_lagfix_toggle aot_lagfix1"
alias "aot_lagfix1" "set cl_movement 1 ; echo cl_movement 1 ; alias aot_lagfix_toggle aot_lagfix0"
// start with default setting
aot_lagfix1
//open gl fix, 0 (default), 1 helps with some graphic cards/drivers I guess
alias "aot_glfix0" "set gl_finish 0 ; echo gl_finish 0 ; alias aot_glfix_toggle aot_glfix1"
alias "aot_glfix1" "set gl_finish 1 ; echo gl_finish 1 ; alias aot_glfix_toggle aot_glfix0"
// start with default setting
aot_glfix0
//maxrate fix, 10000 is normal, 20000 is better if server has same setting
alias "aot_ratefix10" "set rate 10000 ; echo rate 10000 ; alias aot_ratefix_toggle aot_ratefix20"
alias "aot_ratefix20" "set rate 20000 ; echo rate 20000 ; alias aot_ratefix_toggle aot_ratefix10"
// start with default setting
aot_ratefix10
// USER SETTINGS-keyboard keys
// change the letter after bind to the key you want to use to adjust that toggle
bind l "aot_lagfix_toggle"
bind o "aot_glfix_toggle"
bind k "aot_ratefix_toggle"
// END OF USER SETTINGS