Skip to content

Instantly share code, notes, and snippets.

@BlackCetha
Last active January 20, 2023 14:42
Show Gist options
  • Save BlackCetha/411c6f8d11796d33831e to your computer and use it in GitHub Desktop.
Save BlackCetha/411c6f8d11796d33831e to your computer and use it in GitHub Desktop.
CSGO autoexec
// Show net_graph with scoreboard
alias "+netg" "netg2; +showscores"
alias "-netg" "netg3; -showscores"
alias "netg2" "net_graph 1"
alias "netg3" "net_graph 0"
bind "TAB" "+netg"
// MOUSE ACCEL FIX
m_customaccel "0"
m_mouseaccel1 "0"
m_mouseaccel2 "0"
m_mousespeed "0"
// SENSITIVITY
sensitivity "0.9"
// NEW CROSSHAIR
cl_crosshair_drawoutline "0"
cl_crosshair_dynamic_maxdist_splitratio "0"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.5"
cl_crosshair_dynamic_splitdist "7"
cl_crosshair_outlinethickness "0.100000"
cl_crosshairalpha "255"
cl_crosshaircolor "0"
cl_crosshaircolor_b "0"
cl_crosshaircolor_g "0"
cl_crosshaircolor_r "0"
cl_crosshairdot "0"
cl_crosshairgap "-1"
cl_crosshairgap_useweaponvalue "0"
cl_crosshairscale "1.5"
cl_crosshairsize "6"
cl_crosshairstyle "4"
cl_crosshairthickness "1"
cl_crosshairusealpha "1"
// VIEWMODEL
cl_viewmodel_shift_left_amt "1.5"
cl_viewmodel_shift_right_amt "0.75"
viewmodel_fov "90"
viewmodel_offset_x "2.5"
viewmodel_offset_y "-2.0"
viewmodel_offset_z "-2.0"
viewmodel_presetpos "0"
cl_bob_lower_amt "21"
cl_bobamt_lat "0.4"
cl_bobamt_vert "0.25"
cl_bobcycle "0.98"
// NADE binds
bind F "use weapon_smokegrenade"
bind X "use weapon_hegrenade"
bind C "use weapon_incgrenade; use weapon_molotov"
bind MOUSE3 "use weapon_flashbang"
bind H "+lookatweapon"
// MISC
cl_disablehtmlmotd "1"
fps_max "150"
cl_forcepreload "1"
cl_showloadout "1"
snd_mixahead "0.1"
cl_use_opens_buy_menu "0"
bindToggle F3 "gameinstructor_enable"
cl_join_advertise "2"
cl_crosshair_sniper_width "1"
// There was some exploit a while back and
// I dont see any reason to turn this back on
cl_allowdownload "0"
cl_allowupload "0"
cl_customsounds "0"

CSGO autoexec

To use this config in-game you will have to put the file into your csgo/cfg directory. Normally, steam will create different folders on a per-user basis, so if you have multiple accounts on one computer, some more work is required to avoid copying the configs.

If you only use one account on your computer, just go to your steam installation directory (probably C:\Program Files (x86)\Steam) and then into the userdata directory. It will contain one directory with only numbers as a name. Go into that directory and then 730\local\cfg. Copy the configs there.

If you use multiple accounts you can restore the old behaviour of CSGO and make it read the config from its installation directory. The approach differs between operation systems, so its best you search for instructions to set permanent environment variables yourself. Once you know how to do it, create one called USRLOCALCSGO and set it to the path to your CSGO installation directory including the csgo subdirectory. Now copy the configs into Counter-Strike Global Offensive\csgo\cfg.

sv_cheats 1
mp_maxmoney 50000
mp_startmoney 50000
mp_freezetime 1
mp_roundtime_defuse 60
mp_buy_anywhere 1
mp_buytime 1000
bot_kick
sv_infinite_ammo 1
mp_warmup_end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment