Skip to content

Instantly share code, notes, and snippets.

@yannbertrand
Last active January 30, 2022 01:11
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 yannbertrand/18ce95c4c55fa868f0dadd8469590f5b to your computer and use it in GitHub Desktop.
Save yannbertrand/18ce95c4c55fa868f0dadd8469590f5b to your computer and use it in GitHub Desktop.
CS:GO autoexec file
//C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg
cl_autowepswitch "0" // we dont want to pick up & switch to a rifle up if we're in the middle of firing
cl_disablefreezecam "1"
cl_downloadfilter "nosounds"
cl_disablehtmlmotd "1" // Disables The Servers Message of The Day.
cl_forcepreload "1" // Preloads The Whole Map & Sounds.
fps_max "300" // You Choose, i Use 999.
mat_queue_mode "2" // Forcing Your CPU To Use Multi-Threaded Mode.
r_drawtracers_firstperson "0" // Firstperson Tracers OFF.
r_eyegloss "0" // No Makeup.
r_eyemove "0" // No Eye Movement.
r_eyeshift_x "0" // No Eye Movement X-Angel.
r_eyeshift_y "0" // No Eye Movement Y-Angel.
r_eyeshift_z "0" // No Eye Movement Z-Angel.
r_eyesize "0" // Smaller Eyes.
//Crosshair
cl_crosshair_drawoutline "1"
cl_crosshair_dynamic_maxdist_splitratio "0.0"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.300000"
cl_crosshair_dynamic_splitdist "0"
cl_crosshair_outlinethickness "1"
cl_crosshair_sniper_show_normal_inaccuracy "0"
cl_crosshair_sniper_width "1"
cl_crosshair_t "0"
cl_crosshairalpha "200"
cl_crosshaircolor "1"
cl_crosshaircolor_b "50"
cl_crosshaircolor_g "250"
cl_crosshaircolor_r "50"
cl_crosshairdot "0"
cl_crosshairgap "-2"
cl_crosshairgap_useweaponvalue "0"
cl_crosshairscale "600"
cl_crosshairsize "2.5"
cl_crosshairstyle "4"
cl_crosshairthickness "0.5"
cl_crosshairusealpha "1"
cl_fixedcrosshairgap "-12.000000"
//Bobbing and Movement Shifting - remove all the dumb view bob
//cl_viewmodel_shift_left_amt "0"
//cl_viewmodel_shift_right_amt "0"
cl_bob_lower_amt "0"
cl_bobamt_lat "0"
cl_bobamt_vert "0"
cl_showloadout "1"
cl_bobcycle "1"
//View model
cl_viewmodel_shift_left_amt "1.5"
cl_viewmodel_shift_right_amt "0.75"
viewmodel_fov "54"
viewmodel_offset_x "2.5"
viewmodel_offset_y "-2"
viewmodel_offset_z "-2"
viewmodel_presetpos "0"
viewmodel_recoil "0"
// Radar
cl_radar_always_centered "0"
cl_radar_scale "0.3"
cl_hud_radar_scale "1.15"
cl_radar_icon_scale_min "1"
cl_radar_rotate "0"
cl_radar_square_with_scoreboard "1"
//Radar
alias "smokeradar" "toggle cl_radar_rotate 0 1;toggle cl_radar_always_centered 0 1;toggle cl_radar_scale 0.3 1;"
cl_radar_rotate 0
cl_radar_always_centered 0
cl_radar_scale 0.3
bind "a" "smokeradar"
//Sound - less delayed, better sound
snd_mixahead "0.05"
snd_headphone_pan_exponent "2"
snd_headphone_pan_radial_weight "1"
snd_rear_headphone_position "90"
// Jump throw
alias "+jumpthrow" "+jump;-attack"
alias "-jumpthrow" "-jump"
alias "smoke_crosshair" "toggle cl_crosshairsize 4 1000000;toggle cl_crosshairstyle 4 4;"
// netgraph & showscores
alias +netg "net_graph 1;+showscores"
alias -netg "net_graph 0;-showscores"
cl_hud_playercount_showcount "1"
cl_bobamt_lat "0.100000"
cl_bobamt_vert "0.100000"
sensitivity 0.5
bind "f" "r_cleardecals"
bind "mouse5" "smoke_crosshair"
bind "tab" "+netg"
bind "n" "+jumpthrow"
bind "e" "+voicerecord"
bind "mouse4" "+use"
con_enable "1"
bind "'" "toggleconsole"
bind "z" "+forward"
bind "q" "+moveleft"
bind "d" "+moveright"
bind "s" "+back"
// 128 ticks
cl_cmdrate "128"
cl_updaterate "128"
cl_interp "0"
cl_interp_ratio "1"
// Optim
r_dynamic 0
cl_autohelp 1
cl_disablefreezecam 1
cl_forcepreload 1
cl_freezecameffects_showholiday 0
cl_showhelp 1
gameinstructor_enable 1
mat_queue_mode -1
r_drawtracers_firstperson 0
r_dynamic 0
echo "Autoexec Config loaded" // make sure this autoexec does its fine
host_writeconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment