HOW IT WORKS
Use the mouse wheel to zoom in and out with 3 presets so you can zoom a little for close quarters of a lot for the wide open spaces. Shift acts as a quick release so you can Press and release shift to unlock the zoom in case you are zoomed all the way in and someone starts attacking nearby.
CUSTOMIZE
At the top and bottom, you'll see USER SETTINGS. These are areas that you can easily set even if you are unfamiliar with the console.
WEAPON SELECTION
Since this script uses the mouse wheel, you will need to use mouse buttons or or the keyboard to switch weapons. Many on the forum recommend using the keyboard for weapons because it is faster. I suggest you give it a try.
Another good tip is to bind a mouse key or keyboard key to a bestweapon console command. You can specify which weapons you like best and with one click Nexuiz will switch to the best weapon available.
OPTION SCREEN
This script does not use the FOV and sensitivity settings you choose in the Options screen. This is because those settings are being modified on the fly and if you are killed while you are zoomed in, the zoomed settings become the new default. It's actually easier to set all of the settings in the script instead of some here and some there anyway.
THE SCRIPT
Copy and paste this into your autoexec.cfg file.
// AceOfThumbs 3 level mouse wheel FOV zoom lock with quick release
// USER SETTINGS-zoom levels
// adjust zoom amount and mouse sensitivity levels to suit yourself, zoom0 and sens0 are for no zoom
set aot_zoom0 110
set aotzoom1 70
set aotzoom2 50
set aotzoom3 20
set aot_sens0 3
set aotsens1 2
set aotsens2 1.5
set aotsens3 1
// END OF USER SETTINGS-zoom levels
// these actually do the zooming
alias "+aot_zoom_now" "fov $aot_cur_zoom ; sensitivity $aot_cur_sens"
alias "-aot_zoom_now" "fov $aot_zoom0 ; sensitivity $aot_sens0"
// these zoom level commands set up the sequence for zooming in and out
alias "aot_zoom_level3" "set aot_cur_zoom $aotzoom3 ; set aot_cur_sens $aotsens3 ; +aot_zoom_now ; echo zoom3 ; alias aot_zoom_in aot_zoom_level3 ; alias aot_zoom_out aot_zoom_level2"
alias "aot_zoom_level2" "set aot_cur_zoom $aotzoom2 ; set aot_cur_sens $aotsens2 ; +aot_zoom_now ; echo zoom2 ; alias aot_zoom_in aot_zoom_level3 ; alias aot_zoom_out aot_zoom_level1"
alias "aot_zoom_level1" "set aot_cur_zoom $aotzoom1 ; set aot_cur_sens $aotsens1 ; +aot_zoom_now ; echo zoom1 ; alias aot_zoom_in aot_zoom_level2 ; alias aot_zoom_out aot_zoom_level0"
alias "aot_zoom_level0" "set aot_cur_zoom $aot_zoom0 ; set aot_cur_sens $aot_sens0 ; +aot_zoom_now ; echo zoom off ; alias aot_zoom_in aot_zoom_level1 ; alias aot_zoom_out aot_zoom_level0"
// start with no zoom
aot_zoom_level0
// USER SETTINGS-key bindings
// you can change the binding here, but it is so cool having it on the wheel that you should try it first
bind "mwheelup" "aot_zoom_in"
bind "mwheeldown" "aot_zoom_out"
// this is the quick release, shift is good for me, but set to whatever works for you
bind "shift" "aot_zoom_level0"
// END USER SETTINGS-key bindings
I hope you enjoy this. I find it to be very useful. I'm happy to help if you like the idea, but would like some adjustment.