Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ace of Thumbs Script for Mouse Wheel Instagib Sniping

#1
//Ace of Thumbs Script for Mouse Wheel Instagib Sniping

// AceOfThumbs 7 (was 3) level mouse wheel FOV zoom lock with quick release
// Given courtesy of Zatoichi, worked great for me with altered variables.

// USER SETTINGS-zoom levels
// adjust zoom FOV amount and mouse sensitivity levels to suit yourself, zoom0 and sens0 are for no zoom

set aot_zoom0 120
set aotzoom1 70
set aotzoom2 60
set aotzoom3 50
set aotzoom4 40
set aotzoom5 30
set aotzoom6 20

set aot_sens0 0.63
set aotsens1 0.55
set aotsens2 0.5
set aotsens3 0.5
set aotsens4 0.5
set aotsens5 0.5
set aotsens6 0.4

// 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_level6" "set aot_cur_zoom $aotzoom6 ; set aot_cur_sens $aotsens6 ; +aot_zoom_now ; alias aot_zoom_in aot_zoom_level6 ; alias aot_zoom_out aot_zoom_level5"

alias "aot_zoom_level5" "set aot_cur_zoom $aotzoom5 ; set aot_cur_sens $aotsens5 ; +aot_zoom_now ; alias aot_zoom_in aot_zoom_level6 ; alias aot_zoom_out aot_zoom_level4"

alias "aot_zoom_level4" "set aot_cur_zoom $aotzoom4 ; set aot_cur_sens $aotsens4 ; +aot_zoom_now ; alias aot_zoom_in aot_zoom_level 5 ; alias aot_zoom_out aot_zoom_level3"

alias "aot_zoom_level3" "set aot_cur_zoom $aotzoom3 ; set aot_cur_sens $aotsens3 ; +aot_zoom_now ; alias aot_zoom_in aot_zoom_level4 ; alias aot_zoom_out aot_zoom_level2"

alias "aot_zoom_level2" "set aot_cur_zoom $aotzoom2 ; set aot_cur_sens $aotsens2 ; +aot_zoom_now ; 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 ; 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 ; 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 "mouse3" "aot_zoom_level0"
Reply

#2
//NOTE : This script will break mouse wheel weapon changing for non-instagib play.
//Place in autoexec.cfg in the ~/.xonotic/data directory to execute this script.
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  What's your mouse? Rage_ATWM 130 100,866 09-04-2019, 01:03 PM
Last Post: nAnXiety
  Using Mouse Acceleration JoeMaro 4 5,253 02-26-2015, 05:14 AM
Last Post: JoeMaro
  Best settings config for instagib voice 8 13,193 08-29-2012, 07:24 AM
Last Post: Lee_Stricklin

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-