// hold gun left or right
alias switchhands "sh1"
alias sh1 "cl_righthand 0; alias switchhands sh2"
alias sh2 "cl_righthand 1; alias switchhands sh1"

bind mouse5 "switchhands"


//mute sound while using mic
alias "+micfix" "+voicerecord; volume 0" 
alias "-micfix" "-voicerecord; volume 0.5"

bind mouse4 "+micfix"

//mute sound for vent too when using mic
alias "+ventfix" "volume 0" 
alias "-ventfix" "volume 0.5"
bind "CAPSLOCK" "+ventfix"


// jump scroll down
bind "mwheeldown" "+jump" 


//ignore radio commands
bind f9 "ignorerad"


//disable mouse accel
m_customaccel 0
m_mouseaccel1 0
m_mouseaccel2 0

//get input from mouse directly
m_rawinput 1


// RATES
cl_updaterate "128" //max up
cl_cmdrate "128" //max cmd
cl_interp_ratio "1"//use 2 if u get loss
cl_interp "0"
rate "128000" //max rate

fps_max "201" //triple 67hz refresh rate


//other
cl_autowepswitch "0"
cl_disablefreezecam "1"
cl_freezecampanel_position_dynamic 0 

cl_autohelp "0"
cl_showhelp "0"


//fix view model to not be so fat
viewmodel_fov "65"
viewmodel_offset_x "1.5"
viewmodel_offset_y "2"
viewmodel_offset_z "-1.5"

// removes the shifting of the arm when crouching down.
cl_viewmodel_shift_left_amt "0"
cl_viewmodel_shift_right_amt "0"

// removes the bobbing of the weapon back and forth, when you run.
cl_bob_lower_amt "0"
cl_bobamt_lat "0"
cl_bobamt_vert "0"

// resizes the HUD, 0.5 - 1.0
hud_scaling "0.7"

// lowers delay between sounds.
snd_mixahead "0.05"

// causes the scope to move less while moving scoped and reduces bobbing effect
cl_bobcycle "2"


//CROSSHAIR SETTINGS choose Classic crosshair first

//use 5 for custom color with rgb
cl_crosshaircolor "5"

//dark pink, shows up best
cl_crosshaircolor_r "255"
cl_crosshaircolor_g "20"
cl_crosshaircolor_b "147"

//put dot in center
cl_crosshairdot "1"

//set to 0 to remove crosshair lines and use only dot
cl_crosshairsize "0"

//choose dot thickness
cl_crosshairthickness "0.5"

weapon_debug_spread_show 2 //show crosshair on sniper and knife


echo "Config AutoExec Loaded"