Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 44 lines (31 sloc) 3.46 KB
//======================================================================================
// Ninja Config v1 - AceOfThumbs Zoom Script | Last Updated 05/20/08
//======================================================================================
//
// 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 fov 110
aot_set_fov1
fov 110
// END ZOOM SCRIPT ---------------------------------------------------------------------
// -------------------------------------------------------------------------------------
You can’t perform that action at this time.