Skip to content

Instantly share code, notes, and snippets.

@augbog
Last active January 14, 2020 09:32
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 augbog/6b0377d0192a2dea870a60c8001cffac to your computer and use it in GitHub Desktop.
Save augbog/6b0377d0192a2dea870a60c8001cffac to your computer and use it in GitHub Desktop.
CS:GO Settings
alias +bombfind "+use;gameinstructor_enable 1;cl_clearhinthistory"
alias -bombfind "-use;gameinstructor_enable 0;cl_clearhinthistory"
bind e "+bombfind"
bind "mouse4" "use weapon_knife; use weapon_flashbang"
bind "v" "use weapon_smokegrenade"
bind "mouse5" "use weapon_incgrenade"
bind t "use weapon_c4; drop;"
bind h "+spray_menu"
bind [ "toggle cl_righthand 0 1"
// buy binds
bind "uparrow" "buy vesthelm; buy defuser;"
bind "downarrow" "buy smokegrenade;"
bind "rightarrow" "buy molotov; buy incgrenade;"
bind "kp_leftarrow" "buy ump45;"
bind "kp_pgdn" "buy deagle;"
bind "kp_ins" "buy ak47; buy m4a1;"
bind "kp_end" "buy p250;"
bind "leftarrow" "buy flashbang;"
bind "kp_downarrow" "buy tec9; buy fiveseven;"
bind "kp_5" "buy ssg08;"
bind "kp_rightarrow" "buy awp;"
bind mwheeldown "+jump"
bind mwheelup "+jump"
bind mouse3 "+voicerecord"
// cross hair
cl_crosshairalpha "255"
cl_crosshaircolor "5"
cl_crosshaircolor_b "50"
cl_crosshaircolor_r "50"
cl_crosshaircolor_g "250"
cl_crosshairdot "0"
cl_crosshairgap "0"
cl_crosshairsize "3"
cl_crosshairstyle "4"
cl_crosshairusealpha "1"
cl_crosshairthickness "1.5"
cl_fixedcrosshairgap "0"
cl_crosshair_outlinethickness "0"
cl_crosshair_drawoutline "0"
// sens
sensitivity 1.000000
echo "Loaded Autoexec"
echo "NOTE: To run practice config, just type exec practice.cfg"

How to use

I wrote some Powershell scripts to make things easier.

If you do not know where your cfg folder is, run these in order. Replace "G:\Program Files (x86)" with wherever your Steam games are located.

First extract the path of your autoexec.cfg from the raw file link in your gist. For example the one here would look like below and set it into the variable $rawFilePath

PS C:\Users\PC> $rawFilePath = "https://gist.githubusercontent.com/augbog/6b0377d0192a2dea870a60c8001cffac/raw/7d7f9667357866e66d078349b2b44c1704c27fda/autoexec.cfg"

Then after defining that run these in order.

PS C:\Users\PC> $pathVar = $(Get-ChildItem "G:\Program Files (x86)" -filter "Counter-Strike Global Offensive" -Recurse -Directory -ErrorAction SilentlyContinue | Select-Object -Property FullName).FullName
PS C:\Users\PC> $finalPath = "$pathVar\csgo\cfg\autoexec.cfg" 
PS C:\Users\PC> Invoke-WebRequest -Method Get -Uri $rawFilePath -OutFile $finalPath

If you do know where your cfg folder is, feel free to only run the last line and replace $finalPath with the actual path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment