// config v1.9 - include Necro19.cfg

// Circle Strafe - use with Forward 
alias +circ_r "cl_forwardspeed 180.000000 ;+moveright ; +left" 
alias -circ_r "cl_forwardspeed 425.000000 ;-moveright ; -left" 
alias +circ_l "cl_forwardspeed 180.000000 ;+moveleft  ;+right" 
alias -circ_l "cl_forwardspeed 425.000000 ;-moveleft  ;-right" 

// Quick Rocket - will not coincide with impulse 10 selections
alias rock1 "impulse 7 ;+attack ;wait ;impulse 1 ;-attack"
alias rock2 "impulse 7 ;+attack ;wait ;impulse 2 ;-attack"
alias rock3 "impulse 7 ;+attack ;wait ;impulse 3 ;-attack"
alias rock4 "impulse 7 ;+attack ;wait ;impulse 4 ;-attack"
alias rock5 "impulse 7 ;+attack ;wait ;impulse 5 ;-attack"
alias rock6 "impulse 7 ;+attack ;wait ;impulse 6 ;-attack"
alias rock7 "impulse 7 ;+attack ;wait ;impulse 7 ;-attack"
alias rock8 "impulse 7 ;+attack ;wait ;impulse 8 ;-attack"
alias qr01 "impulse 1 ;bind MOUSE3 rock1"
alias qr02 "impulse 2 ;bind MOUSE3 rock2"
alias qr03 "impulse 3 ;bind MOUSE3 rock3"
alias qr04 "impulse 4 ;bind MOUSE3 rock4"
alias qr05 "impulse 5 ;bind MOUSE3 rock5"
alias qr06 "impulse 6 ;bind MOUSE3 rock6"
alias qr07 "impulse 7 ;bind MOUSE3 rock7"
alias qr08 "impulse 8 ;bind MOUSE3 rock8"

// Screen Centering - will not function in network games :(
alias center "scr_ofsx -25 ;scr_ofsy 25"
alias offcn2  "scr_ofsx -13 ;scr_ofsy 13"
alias offcn1  "scr_ofsx  -6 ;scr_ofsy  6"
alias uncent "scr_ofsx   0 ;scr_ofsy  0"

// Full Zoom (10x) w/crosshair toggle and Zoom Incremental (1x) 
alias zoom90 "bind p zoom70 ;uncent;bind ] in70  ;bind o   bf   ;bind [   bf   ;fov 90.00 ;sensitivity 5.00"
alias zoom70 "bind p zoom58 ;offcn1;bind ] in58  ;bind o zoom90 ;bind [ zoom90 ;fov 70.00 ;sensitivity 4.00"
alias zoom58 "bind p zoom45 ;offcn2;bind ] in45  ;bind o zoom70 ;bind [ out70  ;fov 58.00 ;sensitivity 3.25"
alias zoom45 "bind p zoom30 ;center;bind ] in30  ;bind o zoom58 ;bind [ out58  ;fov 45.00 ;sensitivity 2.50"
alias zoom30 "bind p zoom22 ;       bind ] in22  ;bind o zoom45 ;bind [ out45  ;fov 30.00 ;sensitivity 1.67"
alias zoom22 "bind p zoom18 ;       bind ] in18  ;bind o zoom30 ;bind [ out30  ;fov 22.50 ;sensitivity 1.25"
alias zoom18 "bind p zoom15 ;       bind ] in15  ;bind o zoom22 ;bind [ out22  ;fov 18.00 ;sensitivity 1.00"
alias zoom15 "bind p zoom12 ;       bind ] in12  ;bind o zoom18 ;bind [ out18  ;fov 15.00 ;sensitivity 0.83"
alias zoom12 "bind p zoom11 ;       bind ] in11  ;bind o zoom15 ;bind [ out15  ;fov 12.86 ;sensitivity 0.71"
alias zoom11 "bind p zoom10 ;       bind ] zoom10;bind o zoom12 ;bind [ out12  ;fov 11.25 ;sensitivity 0.63"
alias zoom10 "bind p bf     ;       bind ] bf    ;bind o zoom11 ;bind [ out11  ;fov 10.00 ;sensitivity 0.56"

alias in70 "fov 70.00 ;offcn1 ;sensitivity 4.00 ;wait ;  in58"
alias in58 "fov 58.00 ;offcn2 ;sensitivity 3.25 ;wait ;  in45"
alias in45 "fov 45.00 ;center ;sensitivity 2.50 ;wait ;crosshair 1 ;in30"
alias in30 "fov 30.00 ;        sensitivity 1.67 ;wait ;  in22"
alias in22 "fov 22.50 ;        sensitivity 1.25 ;wait ;  in18"
alias in18 "fov 18.00 ;        sensitivity 1.00 ;wait ;  in15"
alias in15 "fov 15.00 ;        sensitivity 0.83 ;wait ;  in12"
alias in12 "fov 12.86 ;        sensitivity 0.71 ;wait ;  in11"
alias in11 "fov 11.25 ;        sensitivity 0.63 ;wait ;zoom10"

alias out70 "fov 70.00 ;offcn1;sensitivity 4.00 ;wait ;crosshair 0 ;zoom90"
alias out58 "fov 58.00 ;offcn2;sensitivity 3.25 ;wait ; out70"
alias out45 "fov 45.00 ;center;sensitivity 2.50 ;wait ; out58"
alias out30 "fov 30.00 ;       sensitivity 1.67 ;wait ; out45"
alias out22 "fov 22.50 ;       sensitivity 1.25 ;wait ; out30"
alias out18 "fov 18.00 ;       sensitivity 1.00 ;wait ; out22"
alias out15 "fov 15.00 ;       sensitivity 0.83 ;wait ; out18"
alias out12 "fov 12.86 ;       sensitivity 0.71 ;wait ; out15"
alias out11 "fov 11.25 ;       sensitivity 0.63 ;wait ; out12"

// Full Zoom Hotkey (CH tog/FL on)
alias +zoom "in70 ;+mlook"
alias -zoom "out12 ;-mlook"

// Sniper Zoom Hotkey (CH tog/FL on)
alias +snipe "fov 70.00 ;offcn1 ;sensitivity 4.00 ;wait ;fov 58.00 ;offcn2 ;sensitivity 3.25 ;wait ;fov 45.00 ;center ;crosshair 1;sensitivity 2.50 ;+mlook"
alias -snipe "fov 58.00 ;offcn2 ;sensitivity 3.25 ;wait ;fov 70.00 ;offcn1 ;sensitivity 4.00 ;wait ;fov 90.00 ;uncent ;crosshair 0;sensitivity 5.00 ;-mlook"

// Full Zoom Hotkey 2 (CH tog/no FL)
alias +zoom2 "in70"
alias -zoom2 "out12"

// Sniper Zoom Hotkey 2 (CH tog/no FL)
alias +snipe2 "fov 70.00 ;offcn1 ;sensitivity 4.00 ;wait ;fov 58.00 ;offcn2 ;sensitivity 3.25 ;wait ;fov 45.00 ;center ;crosshair 1;sensitivity 2.50"
alias -snipe2 "fov 58.00 ;offcn2 ;sensitivity 3.25 ;wait ;fov 70.00 ;offcn1 ;sensitivity 4.00 ;wait ;fov 90.00 ;uncent ;crosshair 0;sensitivity 5.00"

// FreeLook Mode (remaps MOUSE2 to impulse 10)
alias look_t look_on
alias look_on  "bf ;alias look_t look_off ;bind SPACE +snipe2 ;bind \ +snipe2 ;bind x +zoom2 ;bind i nocross ;bind MOUSE2 w_cycle ;+mlook ;echo freelook ON"
alias look_off "bf ;alias look_t look_on ;bind SPACE +snipe ;bind \ +snipe ;bind x +zoom ;bind i cross_t ;bind MOUSE2 +mlook ;-mlook ;echo freelook OFF"
alias nocross "bind i bf ;echo turn OFF Freelook to set Crosshair"
alias w_cycle "impulse 10"

// Gamma Correction
alias gam_cor g1
alias g1  "alias gam_cor g2  ;gamma .95 ;echo .95"
alias g2  "alias gam_cor g3  ;gamma .90 ;echo .90"
alias g3  "alias gam_cor g4  ;gamma .85 ;echo .85"
alias g4  "alias gam_cor g5  ;gamma .80 ;echo .80"
alias g5  "alias gam_cor g6  ;gamma .75 ;echo .75"
alias g6  "alias gam_cor g7  ;gamma .70 ;echo .70"
alias g7  "alias gam_cor g8  ;gamma .65 ;echo .65"
alias g8  "alias gam_cor g9  ;gamma .60 ;echo .60"
alias g9  "alias gam_cor g10 ;gamma .55 ;echo .55"
alias g10 "alias gam_cor g11 ;gamma .50 ;echo .50"
alias g11 "alias gam_cor g12 ;gamma .45 ;echo .45"
alias g12 "alias gam_cor g13 ;gamma .40 ;echo .40"
alias g13 "alias gam_cor g1  ;gamma 1.0 ;echo 1.0"

bind ENTER "+showscores"
bind SPACE "+snipe" 
bind ' "echo Version 1.9 NecroBoi Config"
bind , "grv700"
bind . "grvdef"
bind / "sv_gravity"
bind 0 "impulse 255"
bind 1 "impulse 1"
bind 2 "impulse 2"
bind 3 "impulse 3"
bind 4 "impulse 4"
bind 5 "impulse 5"
bind 6 "impulse 6"
bind 7 "impulse 7"
bind 8 "impulse 8"
bind [ "out12"
bind \ "+snipe"
bind ] "in70"
bind a "+moveleft"
bind b "vid_mode 0"
bind c "look_t"
bind d "+moveright"
bind e "+circ_r"
bind f "+moveup"
bind i "cross_t"
bind m "vid_mode 12"
bind n "vid_mode 7"
bind o "bf"
bind p "zoom70"
bind q "+circ_l"
bind r "weap_t"
bind s "+back"
bind v "+movedown"
bind w "+forward"
bind x "+zoom"
bind z "impulse 10"
bind LEFTARROW "+moveleft"
bind RIGHTARROW "+moveright"
bind ALT "float_t"
bind CTRL "flyer"
bind SHIFT "+jump"
bind F7 "demos ;bind HOME togglemenu"
bind F11 "gam_cor"
bind F12 "map start ;bind HOME restart"
bind INS "bf ;echo all weapons, keys and ammo ; wait; impulse 9"
bind DEL "bf ;god"
bind PGDN "xray_t"
bind PGUP "bf ;noclip"
bind HOME "togglemenu"
bind END "bf ;notarget"
bind MOUSE1 "+attack"
bind MOUSE2 "+mlook"
bind MOUSE3 "bf ;bind MOUSE3 bf ;echo Quick Weapon Disabled"

sensitivity 5.00
lookstrafe 0.000000
lookspring 1.000000
cl_backspeed 400.000000
cl_forwardspeed 425.000000
cl_sidespeed 375.00000
sv_maxspeed 500.00000