Skip to content

Instantly share code, notes, and snippets.

@jmahc
Created July 16, 2015 04:24
Show Gist options
  • Save jmahc/ea8545285d2b910d27cd to your computer and use it in GitHub Desktop.
Save jmahc/ea8545285d2b910d27cd to your computer and use it in GitHub Desktop.
CSGO autoexec.cfg
alias "vh_y2" "viewmodel_offset_y 2; echo_y_2; alias toggle_down vh_y1; Notice1"
alias "vh_y1" "viewmodel_offset_y 1; echo_y_1; alias toggle_down vh_y0; alias toggle_up vh_y2"
alias "vh_y0" "viewmodel_offset_y 0; echo_y_0; alias toggle_down vh_y-1;alias toggle_up vh_y1"
alias "vh_y-1" "viewmodel_offset_y -1; echo_y_-1; alias toggle_down vh_y-2;alias toggle_up vh_y0"
alias "vh_y-2" "viewmodel_offset_y -2; echo_y_-2; Notice2 ;alias toggle_up vh_y-1"
vh_y0
Bind "downarrow" "toggle_down"
Bind "uparrow" "toggle_up"
alias echo_y_2 "echo Change value to viewmodel_offset_y 2"
alias echo_y_1 "echo Change value to viewmodel_offset_y 1"
alias echo_y_0 "echo Change value to viewmodel_offset_y 0"
alias echo_y_-1 "echo Change value to viewmodel_offset_y -1"
alias echo_y_-2 "echo Change value to viewmodel_offset_y -2"
//—————————————————————————————————————————————————————————
// Left & Right viewmodel position. |
//—————————————————————————————————————————————————————————
alias "vh_x-2" "viewmodel_offset_x -2; echo_x_-2; alias toggle_right vh_x-1; Notice2"
alias "vh_x-1" "viewmodel_offset_x -1; echo_x_-1; alias toggle_right vh_x0; alias toggle_left vh_x-2"
alias "vh_x0" "viewmodel_offset_x 0; echo_x_0 ; alias toggle_right vh_x1; alias toggle_left vh_x-1"
alias "vh_x1" "viewmodel_offset_x 1; echo_x_1 ; alias toggle_right vh_x2; alias toggle_left vh_x0"
alias "vh_x2" "viewmodel_offset_x 2; echo_x_2 ; Notice1 ; alias toggle_left vh_x1"
vh_x0
Bind "leftarrow" "toggle_left"
Bind "rightarrow" "toggle_right"
alias echo_x_-2 "echo Change value to viewmodel_offset_x -2;"
alias echo_x_-1 "echo Change value to viewmodel_offset_x -1;"
alias echo_x_0 "echo Change value to viewmodel_offset_x 0;"
alias echo_x_1 "echo Change value to viewmodel_offset_x 1;"
alias echo_x_2 "echo Change value to viewmodel_offset_x 2;"
//——————————————————————————————-———————————————————————————
//—————————————————————————————————————————————————————————-
alias Notice1 "echo Viewmodel is set to the maximum value!"
alias Notice2 "echo Viewmodel is set to the minimum value!"
viewmodel_offset_z "-2"
viewmodel_fov "65"
clear
echo "V1TAS's VIEWMODEL CONFIG V.2.3"
//hud
//color: 1 = white, 2 = light blue,
//3 = dark blue, 4 = purple, 5 = red, 6 = orange, 7 = yellow,
//8 = light green, 9 = turquois, 10 = pink
cl_hud_color "5"
cl_hud_healthammo_style "1"
cl_hud_playercount_pos "1"
cl_hud_radar_scale "1.3"
cl_hud_bomb_under_radar "1"
cl_hud_background_alpha ".7"
cl_mute_enemy_team "1"
cl_hud_healthammo_style "1"
net_graph "1"
cl_loadout_colorweaponnames "1"
//crosshair dog
//cl_crosshairalpha "200"
//cl_crosshaircolor "5"
//cl_crosshaircolor_b "50"
//cl_crosshaircolor_r "50"
//cl_crosshaircolor_g "250"
//cl_crosshairdot "0"
//cl_crosshairgap "-4"
//cl_crosshairsize "3"
//cl_crosshairstyle "4"
//cl_crosshairusealpha "1"
//cl_crosshairthickness "0.5"
//cl_fixedcrosshairgap "-4"
//cl_crosshair_outline "0"
//cl_crosshair_outline_draw "0"
cl_crosshairalpha "200"
cl_crosshaircolor "1"
cl_crosshaircolor_b "246"
cl_crosshaircolor_r "250"
cl_crosshaircolor_g "50"
cl_crosshairdot "1"
cl_crosshairgap "--1"
cl_crosshairsize "4"
cl_crosshairstyle "4"
cl_crosshairusealpha "1"
cl_crosshairthickness "1"
cl_fixedcrosshairgap "-7"
cl_crosshair_drawoutline "1"
//binds - jumpthrow to 't'
alias "+jumpthrow" "+jump;-attack; -ATTACK2"
alias "-jumpthrow" "-jump; forward"
bind "t" "+jumpthrow"
//binds - number pad
//
// BOTTOMROW = EQUIPMENT
//1 = vest
//2 = vest + helmet
//3 = defuser
// MIDDLEROW = PISTOL/GRENADES
//4 = tec9/cz/5-7
//5 = smk
//6 = fb x 1
// TOPROW = MAINGUNS
//7 = aWP
//8 = M4
//9 = PP-BIZON
bind "kp_end" "buy vest;"
bind "kp_downarrow" "buy vesthelm;"
bind "kp_pgdn" "buy defuser;"
bind "kp_leftarrow" "buy tec9; buy fiveseven;"
bind "kp_5" "buy smokegrenade;"
bind "kp_rightarrow" "buy flashbang;"
bind "kp_home" "buy awp;"
bind "kp_uparrow" "buy ak47; buy m4a1;"
bind "kp_pgup" "buy bizon;"
cl_bob_lower_amt "30"
cl_bobamt_lat ".1"
cl_viewmodel_shift_left_amt ".5"
-novid
host_writeconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment