Skip to content

Instantly share code, notes, and snippets.

@moismailzai
Last active August 31, 2021 05:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moismailzai/b901b756dc19e6c3a5e0d19cc15631d6 to your computer and use it in GitHub Desktop.
Save moismailzai/b901b756dc19e6c3a5e0d19cc15631d6 to your computer and use it in GitHub Desktop.
CS:GO autoexec.cfg
// Net Stuff (affects connection to the server: increases bandwidth, reduces interpolation, choke, and latency)
rate "786432"
cl_cmdrate "128"
cl_forcepreload "1"
cl_lagcompensation "1"
cl_interp "0"
cl_interp_ratio "1"
cl_updaterate "128"
mm_dedicated_search_maxping "35"
// Mouse Stuff (affects input: reduces interpolation, smoothing, and acceleration)
m_customaccel "0"
m_customaccel_exponent "0"
m_mouseaccel1 "0"
m_mouseaccel2 "0"
m_mousespeed "0"
m_rawinput "1"
zoom_sensitivity_ratio_mouse 1
// Client Stuff
//// Interface tweaks
cl_autohelp "0"
cl_autowepswitch "0"
cl_disablefreezecam "1"
cl_disablehtmlmotd "0"
cl_forcepreload 1
cl_showhelp "0"
closeonbuy "0"
con_enable "1"
fps_max "300"
fps_max_menu "300"
hud_takesshots "1"
net_graphproportionalfont "1"
player_nevershow_communityservermessage "1"
////// GFX, Viewmodel, and HUD Tweaks
cl_hud_bomb_under_radar "1"
cl_hud_color "0"
cl_hud_healthammo_style "0"
cl_hud_playercount_pos "1"
cl_hud_playercount_showcount "1"
cl_bobamt_lat "0"
cl_bobamt_vert "0"
cl_radar_always_centered "0"
cl_radar_scale ".4"
cl_righthand "0"
cl_viewmodel_shift_left_amt "0"
cl_viewmodel_shift_right_amt "0"
hud_scaling 0.85
hud_showtargetid "1"
mat_monitorgamma "1.7"
mat_monitorgamma_tv_enabled "0"
r_drawtracers_firstperson "0"
viewmodel_fov "54"
viewmodel_offset_x "2.5"
viewmodel_offset_y "2"
viewmodel_offset_z "-2"
mat_savechanges
//// Sound Tweaks (https://www.reddit.com/r/GlobalOffensive/comments/3zqtvm/improved_csgo_sound_why_the_popular_settings_suck/)
snd_front_headphone_position "90.0"
snd_headphone_pan_exponent "1.0"
snd_headphone_pan_radial_weight "0.0"
snd_mixahead "0.05"
snd_musicvolume "0.05"
snd_rear_headphone_position "90.0"
snd_use_hrtf "1"
voice_enable "1"
voice_scale "0.75"
volume "1"
windows_speaker_config "1"
//// Show Damage On UI
developer "1"
con_filter_enable "2"
con_filter_text "Damage"
con_filter_text_out "Player:"
//// QuickSwitch Only Between Primary and Secondary Weapon Alias
alias rotate1 "slot1; bind t rotate2; bind q rotate2"
alias rotate2 "slot2; bind t rotate1; bind q rotate2"
alias resetrotate "bind t rotate1; bind q rotate1"
//// Show Net Graph With Scoreboard Alias
alias "+ng" "+showscores; net_graph 1"
alias "-ng" "-showscores; net_graph 0"
//// Switch Sensitivity
alias "switchsensitivity" "lowsensitivity"
alias "lowsensitivity" "sensitivity 1; crosshairdotred; alias switchsensitivity highsensitivity"
alias "highsensitivity" "sensitivity 1.2; crosshairdotgreen; alias switchsensitivity lowsensitivity"
//// Crosshair Aliases
alias "crosshairdotgreen" "cl_crosshairalpha 255;cl_crosshaircolor 5;cl_crosshaircolor_b 0;cl_crosshaircolor_r 0;cl_crosshaircolor_g 175;cl_crosshairdot 1;cl_crosshairgap 0;cl_crosshairsize 0;cl_crosshairstyle 4;cl_crosshairusealpha 1;cl_crosshairthickness 2.5;cl_fixedcrosshairgap 0;cl_crosshair_outlinethickness 0;cl_crosshair_drawoutline 0;cl_crosshairstyle 5;"
alias "crosshairdotred" "cl_crosshairalpha 255;cl_crosshaircolor 5;cl_crosshaircolor_b 0;cl_crosshaircolor_r 175;cl_crosshaircolor_g 0;cl_crosshairdot 1;cl_crosshairgap 0;cl_crosshairsize 0;cl_crosshairstyle 4;cl_crosshairusealpha 1;cl_crosshairthickness 2.5;cl_fixedcrosshairgap 0;cl_crosshair_outlinethickness 0;cl_crosshair_drawoutline 0;cl_crosshairstyle 5;"
alias "crosshairregular" "cl_crosshair_drawoutline 0; cl_crosshaircolor 1; cl_crosshairdot 0; cl_crosshairgap -1; cl_crosshairsize 5; cl_crosshairstyle 5; cl_crosshairthickness 1.15"
////// Setup
lowsensitivity
crosshairregular
//// Keyboard & Mouse Binds
unbindallmousekeyboard
bind "ESCAPE" "cancelselect"
bind "TAB" "+ng"
bind "SPACE" "+duck"
bind "," "buyammo1"
bind "." "buyammo2"
bind "0" "slot5; resetrotate"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3; resetrotate"
bind "4" "slot4; resetrotate"
bind "5" "slot1"
bind "6" "slot2; resetrotate"
bind "7" "slot3; resetrotate"
bind "8" "slot4; resetrotate"
bind "9" "slot5; resetrotate"
bind "a" "+moveleft"
bind "b" "buymenu"
bind "c" "+voicerecord"
bind "d" "+moveright"
bind "e" "+use"
bind "f" "+ng"
bind "g" "+moveleft"
bind "h" "+back"
bind "i" "+reload"
bind "j" "+moveright"
bind "k" "use weapon_smokegrenade"
bind "l" "drop"
bind "m" "+voicerecord"
bind "n" "use weapon_incgrenade;use weapon_molotov"
bind "o" "+lookatweapon"
bind "p" ""
bind "q" "rotate1"
bind "r" "+reload"
bind "s" "+back"
bind "t" "rotate1"
bind "u" "+use"
bind "v" ""
bind "w" "+forward"
bind "x" "radio2"
bind "y" "+forward"
bind "z" "radio1"
bind "CTRL" "+duck"
bind "SHIFT" "+speed"
bind "'" "+moveup"
bind "," "buymenu"
bind "." "buyammo2"
bind "-" "sizedown"
bind "=" "buyequip"
bind "SPACE" "+duck"
bind "TAB" "+ng"
bind "ESCAPE" "cancelselect"
bind "INS" ""
bind "DEL" ""
bind "HOME" ""
bind "END" ""
bind "PGUP" ""
bind "PGDN" ""
bind "ALT" "+jumpthrow2"
bind "CTRL" "+duck"
bind "F1" ""
bind "F2" "crosshairregular"
bind "F3" "voice_enable 0; say_team voice chat muted for a sec;"
bind "F4" "voice_enable 1; say_team"
bind "F5" ""
bind "F6" "crosshairregular"
bind "F7" "voice_enable 0; say_team voice chat muted for a sec;"
bind "F8" "voice_enable 1;"
bind "F9" "jpeg"
bind "F10" "save quick"
bind "F11" "load quick"
bind "F12" "toggleconsole"
bind "downarrow" "holdpos"
bind "uparrow" "use weapon_c4;drop"
bind "leftarrow" "followme"
bind "rightarrow" "fallback"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+speed"
bind "MOUSE3" ""
bind "MOUSE4" "use weapon_flashbang"
bind "MOUSE5" "+attack2"
bind "MWHEELDOWN" "+jump"
bind "MWHEELUP" "use weapon_hegrenade"
//// Numpad Buy Binds
bind "NumLock" " buy flashbang;"
bind "kp_slash" " buy smokegrenade;"
bind "kp_multiply" " buy hegrenade;"
bind "kp_minus" " buy incgrenade; buy molotov;"
bind "kp_home" "buy ump45;"
bind "kp_uparrow" "buy scout;"
bind "kp_pgup" "buy g3sg1; buy scar20;"
bind "kp_leftarrow" "buy ak47; buy m4a1;"
bind "kp_5" "buy galilar; buy famas;"
bind "kp_rightarrow" "buy awp;"
bind "kp_end" "buy p250"
bind "kp_downarrow" "buy fiveseven; buy tec9;"
bind "kp_pgdn" "buy revolver; buy deagle;"
bind "kp_plus" "buy smokegrenade; buy flashbang; buy flashbang; buy hegrenade; buy defuser;"
bind "kp_ins" "buy vest; buy vesthelm;"
bind "kp_del" "buy vest;"
bind "kp_enter" "buy defuser;"
// Wrapping Up
echo Launch opts: -novid -tickrate 128 -high -threads 6 -d3d9ex -nojoy
echo "Critic's Custom AUTOEXEC.CFG loaded"
echo "Critic's Custom AUTOEXEC.CFG loaded"
echo "Critic's Custom AUTOEXEC.CFG loaded"
echo "Critic's Custom AUTOEXEC.CFG loaded"
echo "Critic's Custom AUTOEXEC.CFG loaded"
echo "Critic's Custom AUTOEXEC.CFG loaded"
echo "Critic's Custom AUTOEXEC.CFG loaded"
echo "Critic's Custom AUTOEXEC.CFG loaded"
echo "Critic's Custom AUTOEXEC.CFG loaded"
echo "Critic's Custom AUTOEXEC.CFG loaded"
echo "Critic's Custom AUTOEXEC.CFG loaded"
echo "Critic's Custom AUTOEXEC.CFG loaded"
echo "Critic's Custom AUTOEXEC.CFG loaded"
echo "Critic's Custom AUTOEXEC.CFG loaded"
echo "GL HF GL HF GL HF GL HF GL HF GL HF"
host_writeconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment