09-28-2008, 03:11 AM
I figured I'd toss my config up here since I had such a hard time getting it to work finally. It's set for very high sensitivity which is about as high as you can get while still being able to snipe and such. Once you get used to it, you'll love it.
I'll also try to keep this updated the best i can. You place this in your autoexec.cfg file.
I'll also try to keep this updated the best i can. You place this in your autoexec.cfg file.
Code:
// USER SETTINGS------------------------------------------------------------------------
// -------------------------------------------------------------------------------------
// fov/zoom/sensitivity settings--------------------------------------------------------
// adjust zoom amount and mouse sensitivity levels to suit yourself
// fov is the field of view that you will see, 90 is the Nexuiz default, many players prefer the wider 110, 130 is wider than most can see
set aot_fov1 130
set aot_fov2 110
set aot_fov3 90
// zoom is the field of view you'll see when you press shift or whatever key you bind for the quick zoom
set aot_zoom1 60
set aot_zoom2 40
set aot_zoom3 20
// fsens and zsens are the mouse sensitivity settings that correspond to the fov and zoom settings above
// you will probably need to change these settings
set aot_fsens1 16
set aot_fsens2 16
set aot_fsens3 16
set aot_zsens1 8
set aot_zsens2 8
set aot_zsens3 8
// key binds----------------------------------------------------------------------------
// Message menu is Bound to this Key----------------------------------------------------
bind mouse5 aotm_menu
// hold down this key for quick zoom
bind mouse3 +aot_zoom_temp
// this is the key that you hold down to adjust the fov level
bind z +aot_zoomadjust
// user aliases and commands
// END OF USER SETTINGS-----------------------------------------------------------------
// -------------------------------------------------------------------------------------
// ZOOM SCRIPT -------------------------------------------------------------------------
// 6 level mouse wheel fov adjustment with quick zoom and chase cam --------------------
// -------------------------------------------------------------------------------------
// this actually does the zooming
alias "aot_zoom_now" "fov $aot_cur_fov ; sensitivity $aot_cur_sens"
// these zoom level commands set up the sequence for zooming in and out
alias "aot_set_zoom3" "set aot_cur_fov $aot_zoom3 ; set aot_cur_sens $aot_zsens3 ; aot_zoom_now ; echo ^5>> ^2zoom ^33 ^5<<; alias aot_zoom_in aot_set_zoom3 ; alias aot_zoom_out aot_set_zoom2 ; alias +aot_zoom_temp aot_set_zoom3 ; alias -aot_zoom_temp aot_set_fov3"
alias "aot_set_zoom2" "set aot_cur_fov $aot_zoom2 ; set aot_cur_sens $aot_zsens2 ; aot_zoom_now ; echo ^5>> ^2zoom ^32 ^5<<; alias aot_zoom_in aot_set_zoom3 ; alias aot_zoom_out aot_set_zoom1 ; alias +aot_zoom_temp aot_set_zoom2 ; alias -aot_zoom_temp aot_set_fov2"
alias "aot_set_zoom1" "set aot_cur_fov $aot_zoom1 ; set aot_cur_sens $aot_zsens1 ; aot_zoom_now ; echo ^5>> ^2zoom ^31 ^5<<; alias aot_zoom_in aot_set_zoom2 ; alias aot_zoom_out aot_set_fov3 ; alias +aot_zoom_temp aot_set_zoom1 ; alias -aot_zoom_temp aot_set_fov1"
alias "aot_set_fov3" "set aot_cur_fov $aot_fov3 ; set aot_cur_sens $aot_fsens3 ; aot_zoom_now ; echo ^5>> ^2fov ^33 ^5<<; alias aot_zoom_in aot_set_zoom1 ; alias aot_zoom_out aot_set_fov2 ; alias +aot_zoom_temp aot_set_zoom3 ; alias -aot_zoom_temp aot_set_fov3"
alias "aot_set_fov2" "set aot_cur_fov $aot_fov2 ; set aot_cur_sens $aot_fsens2 ; aot_zoom_now ; echo ^5>> ^2fov ^32 ^5<<; alias aot_zoom_in aot_set_fov3 ; alias aot_zoom_out aot_set_fov1 ; alias +aot_zoom_temp aot_set_zoom2 ; alias -aot_zoom_temp aot_set_fov2"
alias "aot_set_fov1" "set aot_cur_fov $aot_fov1 ; set aot_cur_sens $aot_fsens1 ; aot_zoom_now ; -aot_chasecam ; echo ^5>> ^2fov ^31 ^5<< ; alias aot_zoom_in aot_set_fov2 ; alias aot_zoom_out aot_zoom_chase ; alias +aot_zoom_temp aot_set_zoom1 ; alias -aot_zoom_temp aot_set_fov1"
alias "aot_zoom_chase" "set aot_cur_fov $aot_fov1 ; set aot_cur_sens $aot_fsens1 ; +aot_chasecam ; echo ^5>> ^3chase camera ^5<< ; alias aot_zoom_in aot_set_fov1 ; alias aot_zoom_out aot_zoom_chase ; alias +aot_zoom_temp aot_set_fov1 ; alias -aot_zoom_temp aot_set_fov1"
// chase camera is back and up from player perspective -----------
// 96 up and 128 back are max distance allowed
set chase_up 48
set chase_back 128
alias +aot_chasecam "set chase_active 1 ; set showfps 1"
alias -aot_chasecam "set chase_active 0 ; set showfps 0"
// these work with a key bind above to switch between the wheel fov adjustment and the global wheel controls (Nexuiz default is the weapons menu)
alias "+aot_zoomadjust" "alias aotm_menu aotm_init; in_bind 2 mwheelup aot_zoom_in; in_bind 2 mwheeldown aot_zoom_out; in_bindmap 2 0; echo; echo; echo; echo ^4>^7> ^2adjust field of view ^7<^4<"
alias "-aot_zoomadjust" "in_bindmap 0 2; echo; echo; echo; echo ^3!! ^1Weapon Menu Restored ^3!!"
// start with fov1
aot_set_fov1
// END ZOOM SCRIPT ---------------------------------------------------------------------
// -------------------------------------------------------------------------------------
// MESSAGE SCRIPT ----------------------------------------------------------------------
// -------------------------------------------------------------------------------------
// Setup Global Aliases -----------------------------------------
// Cancel restores default wheel behavior
alias aotm_cancel "in_bindmap 0 1; echo; echo; echo; echo ^3!! ^1Weapon Menu Restored ^3!!; alias aotm_menu aotm_init"
alias aotm_init "in_bindmap 1 0; aotm_menu_1"
// set up menu build functions
alias aotm_off "echo ^5$*"
alias aotm_on "echo ^3>> ^1$* ^3<<"
alias aotm_build "in_bind 1 MWHEELUP $1 ; in_bind 1 MWHEELDOWN $2 ; alias aotm_menu $3"
// Setup Menu[Level 1] Aliases ----------------------------------
set aotm_0 "CANCEL"
set aotm_1 "About You"
set aotm_2 "Team commands"
set aotm_3 "Enemy/object information"
set aotm_4 "Answer"
// Setup Menu[Level 2] Aliases ----------------------------------
// About You Menu ------------------------
set aotm_1_1 "carrying enemy flag"
alias aotm_say_1_1 "say_team carrying enemy flag ^7(^1%h ^2%a^7)^8\n^2{@^7%l^2}; g_waypointsprite_team_here; aotm_cancel"
set aotm_1_2 "attacking"
alias aotm_say_1_2 "say_team attacking ^7(^1%h ^2%a^7)^8\n^2{@^7%l^2}; g_waypointsprite_team_here; aotm_cancel"
set aotm_1_3 "chasing enemy flag carrier"
alias aotm_say_1_3 "say_team chasing enemy flag carrier ^7(^1%h ^2%a^7)^8\n^2{@^7%l^2}; g_waypointsprite_team_here; aotm_cancel"
set aotm_1_4 "retrieving our flag"
alias aotm_say_1_4 "say_team retrieving our flag ^7(^1%h ^2%a^7)^8\n^2{@^7%l^2}; g_waypointsprite_team_here; aotm_cancel"
set aotm_1_5 "defending"
alias aotm_say_1_5 "say_team defending ^7(^1%h ^2%a^7)^8\n^2{@^7%l^2}; g_waypointsprite_team_here; aotm_cancel"
set aotm_1_6 "roaming"
alias aotm_say_1_6 "say_team roaming ^7(^1%h ^2%a^7)^8\n^2{@^7%l^2}; g_waypointsprite_team_here; aotm_cancel"
set aotm_1_7 "protecting flag carrier"
alias aotm_say_1_7 "say_team protecting flag carrier ^7(^1%h ^2%a^7)^8\n^2{@^7%l^2}; g_waypointsprite_team_here; aotm_cancel"
// Team commands Menu ------------------------
set aotm_2_1 "get the enemy flag"
alias aotm_say_2_1 "say_team get the enemy flag; aotm_cancel"
set aotm_2_2 "defend the base"
alias aotm_say_2_2 "say_team defend the base and flag!; aotm_cancel"
set aotm_2_3 "retrieve our flag"
alias aotm_say_2_3 "say_team retrieve our flag; aotm_cancel"
set aotm_2_4 "purge our base"
alias aotm_say_2_4 "say_team purge our base; aotm_cancel"
set aotm_2_5 "protect the flag carrier"
alias aotm_say_2_5 "say_team protect the flag carrier; aotm_cancel"
set aotm_2_6 "<last targeted person>, you have the flag!"
alias aotm_say_2_6 "say_team %p, you have the flag!; aotm_cancel"
// Enemy/object information Menu ------------------------
set aotm_3_1 "dropped flag at HERE"
alias aotm_say_3_1 "say_team dropped flag at ^2HERE ^8\n%l; g_waypointsprite_team_here; aotm_cancel"
set aotm_3_2 "enemy flag carrier at HERE"
alias aotm_say_3_2 "say_team enemy flag carrier at ^2HERE ^8\n%l; g_waypointsprite_team_here_p; aotm_cancel"
set aotm_3_3 "sniper seen at HERE"
alias aotm_say_3_3 "say_team sniper seen at ^2HERE ^8\n%l; g_waypointsprite_team_here_p; aotm_cancel"
set aotm_3_4 "incoming at DANGER"
alias aotm_say_3_4 "say_team incoming at ^1DANGER ^8\n%l; g_waypointsprite_team_danger; aotm_cancel"
set aotm_3_5 "base is overrun"
alias aotm_say_3_5 "say_team base is overrun; aotm_cancel"
set aotm_3_6 "base is clear"
alias aotm_say_3_6 "say_team base is clear; aotm_cancel"
// Answer Menu ------------------------
set aotm_4_1 "yes"
alias aotm_say_4_1 "say_team yes; aotm_cancel"
set aotm_4_2 "no"
alias aotm_say_4_2 "say no; aotm_cancel"
set aotm_4_3 "I'm on my way"
alias aotm_say_4_3 "say_team I'm on my way ^7(^1%h ^2%a^7)^8\n^2{@^7%l^2}; g_waypointsprite_team_here; aotm_cancel"
// Build Menu[Level 1] ------------------------------------------
// CANCEL Menu ------------------------
alias aotm_menu_0 "aotm_off $aotm_4 ; aotm_on CANCEL ; aotm_off $aotm_1 ; aotm_off $aotm_2 ; aotm_build aotm_menu_4 aotm_menu_1 aotm_cancel"
// About You Menu ------------------------
alias aotm_menu_1 "aotm_off CANCEL ; aotm_on $aotm_1 ; aotm_off $aotm_2 ; aotm_off $aotm_3 ; aotm_build aotm_menu_0 aotm_menu_2 aotm_menu_1_1"
// Team commands Menu ------------------------
alias aotm_menu_2 "aotm_off $aotm_1 ; aotm_on $aotm_2 ; aotm_off $aotm_3 ; aotm_off $aotm_4 ; aotm_build aotm_menu_1 aotm_menu_3 aotm_menu_2_1"
// Enemy/object information Menu ------------------------
alias aotm_menu_3 "aotm_off $aotm_2 ; aotm_on $aotm_3 ; aotm_off $aotm_4 ; aotm_off CANCEL ; aotm_build aotm_menu_2 aotm_menu_4 aotm_menu_3_1"
// Answer Menu ------------------------
alias aotm_menu_4 "aotm_off $aotm_3 ; aotm_on $aotm_4 ; aotm_off CANCEL ; aotm_off $aotm_1 ; aotm_build aotm_menu_3 aotm_menu_0 aotm_menu_4_1"
// Build Menu[Level 2] ------------------------------------------
// About You Menu ------------------------
// CANCEL
alias aotm_menu_1_0 "aotm_off $aotm_1_7 ; aotm_on CANCEL ; aotm_off $aotm_1_1 ; aotm_off $aotm_1_2 ; aotm_build aotm_menu_1_7 aotm_menu_1_1 aotm_cancel"
// carrying enemy flag
alias aotm_menu_1_1 "aotm_off CANCEL ; aotm_on $aotm_1_1 ; aotm_off $aotm_1_2 ; aotm_off $aotm_1_3 ; aotm_build aotm_menu_1_0 aotm_menu_1_2 aotm_say_1_1"
// attacking
alias aotm_menu_1_2 "aotm_off $aotm_1_1 ; aotm_on $aotm_1_2 ; aotm_off $aotm_1_3 ; aotm_off $aotm_1_4 ; aotm_build aotm_menu_1_1 aotm_menu_1_3 aotm_say_1_2"
// chasing enemy flag carrier
alias aotm_menu_1_3 "aotm_off $aotm_1_2 ; aotm_on $aotm_1_3 ; aotm_off $aotm_1_4 ; aotm_off $aotm_1_5 ; aotm_build aotm_menu_1_2 aotm_menu_1_4 aotm_say_1_3"
// retrieving our flag
alias aotm_menu_1_4 "aotm_off $aotm_1_3 ; aotm_on $aotm_1_4 ; aotm_off $aotm_1_5 ; aotm_off $aotm_1_6 ; aotm_build aotm_menu_1_3 aotm_menu_1_5 aotm_say_1_4"
// defending
alias aotm_menu_1_5 "aotm_off $aotm_1_4 ; aotm_on $aotm_1_5 ; aotm_off $aotm_1_6 ; aotm_off $aotm_1_7 ; aotm_build aotm_menu_1_4 aotm_menu_1_6 aotm_say_1_5"
// roaming
alias aotm_menu_1_6 "aotm_off $aotm_1_5 ; aotm_on $aotm_1_6 ; aotm_off $aotm_1_7 ; aotm_off CANCEL ; aotm_build aotm_menu_1_5 aotm_menu_1_7 aotm_say_1_6"
// protecting flag carrier
alias aotm_menu_1_7 "aotm_off $aotm_1_6 ; aotm_on $aotm_1_7 ; aotm_off CANCEL ; aotm_off $aotm_1_1 ; aotm_build aotm_menu_1_6 aotm_menu_1_0 aotm_say_1_7"
// Team commands Menu ------------------------
// CANCEL
alias aotm_menu_2_0 "aotm_off $aotm_2_6 ; aotm_on CANCEL ; aotm_off $aotm_2_1 ; aotm_off $aotm_2_2 ; aotm_build aotm_menu_2_6 aotm_menu_2_1 aotm_cancel"
// get the enemy flag
alias aotm_menu_2_1 "aotm_off CANCEL ; aotm_on $aotm_2_1 ; aotm_off $aotm_2_2 ; aotm_off $aotm_2_3 ; aotm_build aotm_menu_2_0 aotm_menu_2_2 aotm_say_2_1"
// defend the base
alias aotm_menu_2_2 "aotm_off $aotm_2_1 ; aotm_on $aotm_2_2 ; aotm_off $aotm_2_3 ; aotm_off $aotm_2_4 ; aotm_build aotm_menu_2_1 aotm_menu_2_3 aotm_say_2_2"
// retrieve our flag
alias aotm_menu_2_3 "aotm_off $aotm_2_2 ; aotm_on $aotm_2_3 ; aotm_off $aotm_2_4 ; aotm_off $aotm_2_5 ; aotm_build aotm_menu_2_2 aotm_menu_2_4 aotm_say_2_3"
// purge our base
alias aotm_menu_2_4 "aotm_off $aotm_2_3 ; aotm_on $aotm_2_4 ; aotm_off $aotm_2_5 ; aotm_off $aotm_2_6 ; aotm_build aotm_menu_2_3 aotm_menu_2_5 aotm_say_2_4"
// protect the flag carrier
alias aotm_menu_2_5 "aotm_off $aotm_2_4 ; aotm_on $aotm_2_5 ; aotm_off $aotm_2_6 ; aotm_off CANCEL ; aotm_build aotm_menu_2_4 aotm_menu_2_6 aotm_say_2_5"
// <last targeted person>, you have the flag!
alias aotm_menu_2_6 "aotm_off $aotm_2_5 ; aotm_on $aotm_2_6 ; aotm_off CANCEL ; aotm_off $aotm_2_1 ; aotm_build aotm_menu_2_5 aotm_menu_2_0 aotm_say_2_6"
// Enemy/object information Menu ------------------------
// CANCEL
alias aotm_menu_3_0 "aotm_off $aotm_3_6 ; aotm_on CANCEL ; aotm_off $aotm_3_1 ; aotm_off $aotm_3_2 ; aotm_build aotm_menu_3_6 aotm_menu_3_1 aotm_cancel"
// dropped flag at HERE
alias aotm_menu_3_1 "aotm_off CANCEL ; aotm_on $aotm_3_1 ; aotm_off $aotm_3_2 ; aotm_off $aotm_3_3 ; aotm_build aotm_menu_3_0 aotm_menu_3_2 aotm_say_3_1"
// enemy flag carrier at HERE
alias aotm_menu_3_2 "aotm_off $aotm_3_1 ; aotm_on $aotm_3_2 ; aotm_off $aotm_3_3 ; aotm_off $aotm_3_4 ; aotm_build aotm_menu_3_1 aotm_menu_3_3 aotm_say_3_2"
// sniper seen at HERE
alias aotm_menu_3_3 "aotm_off $aotm_3_2 ; aotm_on $aotm_3_3 ; aotm_off $aotm_3_4 ; aotm_off $aotm_3_5 ; aotm_build aotm_menu_3_2 aotm_menu_3_4 aotm_say_3_3"
// incoming at DANGER
alias aotm_menu_3_4 "aotm_off $aotm_3_3 ; aotm_on $aotm_3_4 ; aotm_off $aotm_3_5 ; aotm_off $aotm_3_6 ; aotm_build aotm_menu_3_3 aotm_menu_3_5 aotm_say_3_4"
// base is overrun
alias aotm_menu_3_5 "aotm_off $aotm_3_4 ; aotm_on $aotm_3_5 ; aotm_off $aotm_3_6 ; aotm_off CANCEL ; aotm_build aotm_menu_3_4 aotm_menu_3_6 aotm_say_3_5"
// base is clear
alias aotm_menu_3_6 "aotm_off $aotm_3_5 ; aotm_on $aotm_3_6 ; aotm_off CANCEL ; aotm_off $aotm_3_1 ; aotm_build aotm_menu_3_5 aotm_menu_3_0 aotm_say_3_6"
// Answer Menu ------------------------
// CANCEL
alias aotm_menu_4_0 "aotm_off $aotm_4_3 ; aotm_on CANCEL ; aotm_off $aotm_4_1 ; aotm_off $aotm_4_2 ; aotm_build aotm_menu_4_3 aotm_menu_4_1 aotm_cancel"
// yes
alias aotm_menu_4_1 "aotm_off CANCEL ; aotm_on $aotm_4_1 ; aotm_off $aotm_4_2 ; aotm_off $aotm_4_3 ; aotm_build aotm_menu_4_0 aotm_menu_4_2 aotm_say_4_1"
// no
alias aotm_menu_4_2 "aotm_off $aotm_4_1 ; aotm_on $aotm_4_2 ; aotm_off $aotm_4_3 ; aotm_off CANCEL ; aotm_build aotm_menu_4_1 aotm_menu_4_3 aotm_say_4_2"
// I'm on my way
alias aotm_menu_4_3 "aotm_off $aotm_4_2 ; aotm_on $aotm_4_3 ; aotm_off CANCEL ; aotm_off $aotm_4_1 ; aotm_build aotm_menu_4_2 aotm_menu_4_0 aotm_say_4_3"
// Start on menu1
alias aotm_menu aotm_init
// END MESSAGE SCRIPT ------------------------------------------------------------------
// -------------------------------------------------------------------------------------
//Advanced Menu
sbar_hudselector 1
// Weapon Binds
//
// In SVN, bestweapon and cycleweapon are deprecated. Replaced by the bind style below
// the first two numbers are identifiers for how you'd like the weapons to cycle:
//
// 20x = backwards
// 21x = best
// 22x = forwards
//
// The last number coincides with the cl_weaponpriority number. This means, you have
// up to 10 ways you can arrange the weapons and 3 ways to access them
bind c "impulse 210; cycleweapon 5 4 8" // electro, mortar, hagar
set cl_weaponpriority0 "5 4 8" // electro, mortar, hagar
bind v "impulse 211; cycleweapon 4 5 8" // mortar, electro, hagar
set cl_weaponpriority1 "4 5 8" // mortar, elextro, hagar
bind e "impulse 1" // laser
bind f "impulse 212; cycleweapon 7 3 1" // nex, mg, laser
set cl_weaponpriority2 "7 3 1 " // nex, mg, laser
bind q "impulse 213; cycleweapon 9 4 8" // rocket, mortar, hagar
set cl_weaponpriority3 "9 4 8" // rocket, mortar, hagar
bind r "impulse 214; cycleweapon 3 6 5 8" // mg, crylink, electro, hagar
set cl_weaponpriority4 "3 6 5 8" // mg, crylink, electro, hagar
bind t "impulse 215; cycleweapon 6 3 5 8" // crylink, mg, electro, hagar
set cl_weaponpriority5 "6 3 5 8" // crylink, mg, electro, hagar