CS2 Autoexec Generator

Build your perfect CS2 autoexec.cfg file. Customize crosshair, viewmodel, radar, audio, and network settings. Download or copy.

How to Install Your Autoexec

  1. Customize settings below and click Download autoexec.cfg
  2. Navigate to your CS2 config folder: Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg/
  3. Place autoexec.cfg in the cfg folder
  4. Add +exec autoexec to your CS2 launch options
  5. Restart CS2 — your settings will load automatically every launch

Crosshair Settings

Crosshair style

cl_crosshairstyle

Crosshair line length

2
cl_crosshairsize

Gap between lines

-2
cl_crosshairgap

Line thickness

0.5
cl_crosshairthickness

Show center dot

cl_crosshairdot

Draw outline

cl_crosshair_drawoutline

Remove top line

cl_crosshair_t

Your Autoexec

// ========================================
// OnlyCSGO Autoexec - Generated at onlycsgo.com/tools/autoexec-generator
// ========================================

// --- Crosshair ---
cl_crosshairstyle 4
cl_crosshairsize 2
cl_crosshairgap -2
cl_crosshairthickness 0.5
cl_crosshairdot 0
cl_crosshair_drawoutline 1
cl_crosshair_t 0

// --- Viewmodel ---
viewmodel_fov 68
viewmodel_offset_x 2.5
viewmodel_offset_y 0
viewmodel_offset_z -1.5
viewmodel_presetpos 3
cl_bob_lower_amt 21
cl_bobamt_lat 0.4
cl_bobamt_vert 0.25

// --- Radar ---
cl_hud_radar_scale 1.15
cl_radar_scale 0.4
cl_radar_always_centered 0
cl_radar_rotate 1

// --- Mouse ---
sensitivity 2
zoom_sensitivity_ratio 1
m_rawinput 1

// --- Audio ---
volume 0.5
snd_musicvolume 0
snd_roundstart_volume 0
snd_roundend_volume 0
snd_mvp_volume 0
snd_tensecondwarning_volume 0.1

// --- HUD & Display ---
hud_scaling 0.85
cl_teamid_overhead_always 2
cl_showfps 0
cl_showloadout 1
cl_righthand 1
cl_autowepswitch 0

// --- Network ---
rate 786432
mm_dedicated_search_maxping 80

// --- Performance ---
fps_max 0
fps_max_ui 120

// --- Binds ---
alias "+jumpthrow" "+jump;-attack"
alias "-jumpthrow" "-jump"
bind "v" "+jumpthrow"
bind "shift" "+sprint; r_cleardecals" 1
bind "mwheelup" "+jump"
bind "mwheeldown" "+jump"

// --- End of Autoexec ---
echo "OnlyCSGO autoexec loaded!"
host_writeconfig

Generated at onlycsgo.com