Counter-Strike 2

Counter-Strike 2

Not enough ratings
CS2 Autoexec
By woe
Settings for an optimal CS2 experience + how to create your own autoexec.cfg
   
Award
Favorite
Favorited
Unfavorite
Where is the autoexec for CS2 located?
In order to add these settings to your config in CS2 you will need to go to:

Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg
How to make an autoexec cfg
Make sure you're in the right folder for a CS2 config listed in the step above. Right-click and make a new text document and name it "autoexec". Open the text document and type anything inside of it, this step doesn't matter right now.

Once you have typed something go to File > save as. Make sure the filename is "autoexec.cfg". It's very important to type the ".cfg" at the end. In the drop down where it says "save as type" make sure you change it from "text document" to "all files"







After selecting this make sure that your file is still "autoexec.cfg" and NOT "autoexec.cfg.txt". Once you save this you will have TWO autoexec files. Look for the one labeled "text document" which you first created and delete it leaving only the "CFG File" left.
Adding commands to your autoexec
Open your "autoexec.cfg" file and if prompted to choose a program to open it with, choose notepad. Once you open the autoexec add these lines into the file:

cl_showfps "0"
rate "1000000"

After adding these lines just simply click on file > save, and you will be done! This will automatically load when you open the game!
What the commands do and extra commands
rate "1000000" - The optimal and highest rate for server connection

Other commands you can add to your autoexec:

cl_allow_animated_avatars "0" - Turns off animated avatars, saves some FPS.
cl_radar_square_with_scoreboard "0" - This makes the radar stay the same shape when opening the scoreboard. Normally it will change.
cl_showfps "0" - Shows your in-game fps and the current map
fps_max "999" - Sets your maximum fps value (Currently 999 is better than 0)
r_show_build_info "0" - Removes the build info from the bottom left corner.
My autoexec.cfg
///SMOKE -LEFTARROW
bind "leftarrow" "buy smokegrenade"

///FLASH -UPARROW
bind "uparrow" "buy flashbang"

///HEGREN -RIGHTARROW
bind "rightarrow" "buy hegrenade"

///DEFUSER -DOWNARROW
bind "downarrow" "buy defuser"

/////MOVEMENT
bind "a" "+left"
bind "d" "+right"
bind "w" "+forward"
bind "s" "+back"
bind "CTRL" "+duck"
bind "SHIFT" "+sprint"
bind "SPACE" "+jump"
bind "MWHEELDOWN" "+jump"

/////BINDS
bind "`" "toggleconsole"
bind "q" "lastinv"
bind "MOUSE_X" "yaw"
bind "MOUSE_Y" "pitch"
bind "p" "say =^.^= meow =^.^="

//////CONNECTION
cl_showfps "0"
fps_max "999"
rate "1000000"

//////MODEL + RADAR
viewmodel_presetpos "0"
viewmodel_fov "68"
viewmodel_offset_x "2.5"
viewmodel_offset_y "2"
viewmodel_offset_z "-2"
cl_radar_always_centered "0"
cl_radar_square_with_scoreboard "0"
cl_radar_scale "0.45"
cl_hud_radar_scale "1.15"
cl_radar_icon_scale_min "1"
cl_teammate_colors_show "2"
cl_radar_rotate "1"
cl_prefer_lefthanded "1"

/////MISC
cl_allow_animated_avatars "0"
cl_obs_interp_enable "0"
r_show_build_info "0"
r_fullscreen_gamma "2"
sensitivity "1"
zoom_sensitivity_ratio "0.85"

host_writeconfig
echo "autoexec loaded"
2 Comments
Prometheus Sep 29, 2023 @ 4:22am 
Viewmodel commands still work, I tried them in game.
space Sep 27, 2023 @ 4:21pm 
thanks, do the viewmodel commands still work? and are jumpthrow binds still necessary? i heard they made it so that it's a little easier and much more consistent to hit a proper jumpthrow. unless im mistaken