Skip to content

Instantly share code, notes, and snippets.

@Saturate
Last active February 22, 2019 22:08
Show Gist options
  • Save Saturate/c176c29bd1da8f3a0b546c7fa202bc4c to your computer and use it in GitHub Desktop.
Save Saturate/c176c29bd1da8f3a0b546c7fa202bc4c to your computer and use it in GitHub Desktop.
Counter Strike Global Offensive - autoexec cfg file

autoexec.cfg

Opinionated settings and commands for Counter-Strike Global Offensive. You might want to change some of these to your preferences and equipment.

Install

Create or edit the file under:

%steamLibrary%\steamapps\common\Counter-Strike Global Offensive\csgo\cfg\autoexec.cfg

Ex. C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\autoexec.cfg

Settings

1. Network

Network settings, these should be set according to your network and computer specs. The default here assumes that you have a screen above 60Hz, if your screen is not fast the extra tick rate will not help you, as you can't render the information that fast anyway. Set it to 64 if your screen is slow.

The rate "786432" part assumes that you have a fast internet connection, this is above 6.2 Mbps. If you have a slower connection, you need to change this.

2. Weapon Setup

Disable automatically switching to a more powerful weapon when it is picked up. This can be annoying, and might make you lose a firefight.

3. Radar Settings

A lot is happening here, but the gist of it is that we show the entire radar, this is useful as you can gain more map info without pressing tab.

4. Disable annoying MOTDs

Some servers have MOTDs, we don't really want this.

5. Show netgraph on tab

Shows network stats on tab, can be useful but they can also be annoying if you have them on all the time.

6. Show team loadout

I like to know what my team got, without TABing. Can be useful for public non premade games.

7. CROSSHAIR CVARS

This is my crosshair, I suggest that you just find one that you like. This one is a almost 1:1 rip of the settings the CSGO Pro Player dupreeh uses, you can find many more online. I used the crosshair generator map.

8. Display Damage, In Game

Display damage in top left. Read more here: https://steamcommunity.com/sharedfiles/filedetails/?id=221277004

Have fun!

// 1. Network
// Set your rate values to be optimal for all CS:GO servers, even 128 tick.
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rate "786432"
cl_cmdrate "128"
cl_updaterate "128"
// 2. Weapon Setup
// disable automatically switching to a more powerful weapon when it is picked up.
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cl_autoweaponswitch "0"
// 3. Radar settings
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cl_radar_always_centered 0
cl_radar_scale 0.3
cl_hud_radar_scale 1.15
cl_radar_rotate 1
cl_radar_square_with_scoreboard 1
// radar zoom in-out script
bind “KP_plus” “incrementvar cl_radar_scale 0.25 1.0 0.05”;
bind “KP_minus” “incrementvar cl_radar_scale 0.25 1.0 -0.05”;
// 4. Disable annoying MOTDs
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cl_disablehtmlmotd "1"
cl_downloadfilter "nosounds"
// 5. Show netgraph on tab
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bind "TAB" "+ng";
alias "+ng" "+showscores; net_graph 1"
alias "-ng" "-showscores; net_graph 0"
// 6. Show team loadout
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cl_show_team_equipment
cl_teamid_overhead_always 1
// 7. CROSSHAIR CVARS
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cl_crosshairstyle 4
cl_crosshairsize 4
cl_crosshairthickness 1
cl_crosshairgap -0.5
cl_crosshair_drawoutline 1
cl_crosshair_outlinethickness 1
cl_crosshairdot 0
cl_crosshair_t 0
cl_crosshaircolor 1
cl_crosshaircolor_r 0
cl_crosshaircolor_g 255
cl_crosshaircolor_b 255
cl_crosshairalpha 250
// 8. Display Damage, In Game
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
developer "1"
con_filter_text "Damage"
con_filter_text_out "Player:"
con_filter_enable "2"
// Print a message in console that the autoexec.cfg was successfully executed. Useful for troubleshooting and peace of mind.
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo “Loaded AKJ's autoexec!”
host_writeconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment