// Based on st0lo Version 26
// Last update by schy7zo
// 240208
// VIDEO: ENABLED | DISABLED | CUSTOM | 2x MSAA | HIGH | MEDIUM | Anisotropic 16X | LOW | LOW | MEDIUM | PERFORMANCE | DISABLED | ON + BOOST
// (Optional) Launch Options: -condebug -insecure
// Notes:
// If your PC can support it, I would d run VERY HIGH on Global Shadow Quality, to make the game look nicer. FPS might take a hit though.
// To use the autoexec, it is no longer necessary to have anything as a launch flag, simply drag and drop to the directory below:
// As of 1/9/2023 for the CS2 Beta Season, the installation directory is Counter-Strike Global Offensive\game\csgo\cfg
// All dependencies should be copied into the same directory.
// For routing-related issues, if Steam routing is screwing your ping over (check on Steam Overlay), you can disable it with this:
// Steam > Settings > In Game > Steam Networking > Always
// If you cannot see label strings in CS2, e.g. #CSGO_MainMenu_Loadout, check your launch options and remove -language <thing> if it exists
// This is the way to reset console size if it hides itself:
// userdata\<steamid32>\730\local\cfg\cs2_machine_convars.vcfg
// ctrl+f and search panorama_console_position_and_size on the right of the convar, change the value between the quotes to: 0.0|0.0|1280|960
// settings are x/y/w/h
// Other config locations:
// userdata\<steamid32>\730\local\cfg\cs2_user_keys_0_slot0
// userdata\<steamid32>\730\local\cfg\cs2_video
// Resources:
// - https://cstrike2.oof.lv/cs2commands/
// - https://cstrike2.oof.lv/cvars/
// ---------- DEPENDENCIES ---------
exec "keybinds.cfg" //
// exec "crosshairs.cfg" // optional
// exec "knifebuddy.cfg" // optional
// - training -
// alias "pex" "exec training.cfg" // optional
// sv_cheats "0" // might fix the issue of sv_cheats 1 not working while inside a practice server
game_type "0" // these two commands together
game_mode "1" // default to a competitive `map de_mapname` thingy.
// rcon addr/pw (currently not working, Valve fault)
// rcon_address "localhost:27015"
// rcon_password "practicemode"
// ---------- ALIAS ----------
// - spectator/moviemaking alias -
alias "gotps" "sv_cheats 1; thirdperson; cam_idealpitch 0;cam_idealyaw 0;cam_idealdelta 4;cam_idealdist 77;cam_ideallag 0;c_mindistance 55;c_maxdistance 100;c_minpitch 0;c_maxpitch 0;c_minyaw 0;c_maxyaw 0;c_thirdpersonshoulder 1;c_thirdpersonshoulderheight 0;c_thirdpersonshoulderaimdist 700;c_thirdpersonshoulderoffset 20; alias switchpov gofps"
alias "gofps" "sv_cheats 1; firstperson; alias switchpov gotps"
alias "switchpov" "gotps"
alias "goinfront" "c_thirdpersonshoulderheight -16; c_minyaw 145; c_maxyaw 145; crosshair 0; alias switchsides gobehind"
alias "gobehind" "c_thirdpersonshoulderheight 0; c_minyaw 0; c_maxyaw 0; crosshair 1; alias switchsides goinfront"
alias "switchsides" "goinfront"
alias "goin" "-camout;+camin; alias switchtpszoom goout"
alias "goout" "-camin;+camout; alias switchtpszoom goin"
alias "switchtpszoom" "goin"
// - ui -
alias "ENABLE_FPS_COUNTER" "cl_showfps 1; cl_showmem 1"
alias "DISABLE_FPS_COUNTER" "cl_showfps 0; cl_showmem 0"
// alias "+scores" "+showscores; ENABLE_FPS_COUNTER"
// alias "-scores" "-showscores; DISABLE_FPS_COUNTER"
alias "+scores" "+showscores"
alias "-scores" "-showscores"
alias "+zoomout" "cl_radar_scale 0.3; hud_scaling 1.1"
alias "-zoomout" "cl_radar_scale 0.515; hud_scaling 0.9"
// - toggle recoil -
alias "_play_toggle_sound" "_play_switch_sound"
alias "_play_switch_sound" "play ui/panorama/sidemenu_click_01.wav; alias _play_toggle_sound _play_switch_off_sound"
alias "_play_switch_off_sound" "play ui/menu_back; alias _play_toggle_sound _play_switch_sound"
alias "toggle_recoil" "toggle cl_crosshair_recoil; _play_toggle_sound"
// - comms -
// - convenience -
alias "dc" "disconnect"
alias "v0" "volume 0; clear"
alias "v1" "volume .1; clear"
alias "v2" "volume .65; clear"
alias "v3" "volume .85; clear"
// ---------- MISCELLANEOUS ---------
// rate "786432" // INFINITE POWAAAAAA!1 serious sidenote: this might be deprecated (likely not though)
rate "524288" // 4 Mbps for Greek internet
con_enable "true" // enable the console
r_show_build_info "0" // turn this to 1 if you ever intend to send a bug report with video
cl_autohelp "0" // turn off help
cl_new_user_phase "-1" // disabled
ui_steam_overlay_notification_position "bottomright"
demo_quitafterplayback "0"
// - diag -
// start with these off, as a default
cl_showfps "0"
cl_showmem "0"
// netgraph should be permanently on, its unintrusive
cq_netgraph_problem_show_auto "1" // no reason to check for enable/disable if it is permanently on
// - sens -
// target edpi 910 or less
// sensitivity "0.56875" // 1600 DPI
// sensitivity ".91" // 1000 DPI
// sensitivity "1.1375" // 800 DPI
sensitivity "1.12" // 800 DPI
// sensitivity "2.27500" // 400 DPI
m_pitch ".022000"
m_yaw ".022000"
zoom_sensitivity_ratio "1"
// - matchmaking -
ui_setting_advertiseforhire_auto "1" // this is the looking for hire setting but affects friend invites, do not disable!
lobby_default_privacy_bits2 "1" // public lobbies for friends
mm_dedicated_search_maxping "70"
cl_join_advertise "2"
cl_color "1" // blue, green, yellow, orange, purple (blue is 0)
cl_hide_avatar_images "2"
cl_sanitize_muted_players "1"
cl_sanitize_player_names "0"
cl_allow_animated_avatars "0"
cl_mute_enemy_team "1"
cl_mute_all_but_friends_and_party "0"
cl_invites_only_mainmenu "1"
cl_player_ping_mute "0"
cl_ping_fade_deadzone "15"
cl_ping_fade_distance "80"
cl_show_observer_crosshair "2" // player crosshair being observed. 0: off 1: friends and party 2: everyone
cl_observed_bot_crosshair "1" // player crosshair only when we can take it
// - fps -
fps_max "360"
fps_max_ui "80" // this GREATLY reduces GPU utilization for some stupid fucking reason
snd_mute_losefocus "0" // do not mute if tabbed out
engine_no_focus_sleep "0"
// This needs more testing! it is possible this might be causing tons of issues.
// check: https://old.reddit.com/r/GlobalOffensive/comments/16xmlk6/what_exactly_is_engine_low_latency_sleep_after/
// engine_low_latency_sleep_after_client_tick "1"
safezonex "0.89"
safezoney "1"
// option_duck_method "0" // toggle crouch off test
// option_speed_method "0" // toggle crouch off test
// - audio -
snd_headphone_eq "1" // eq profile (crisp is better but harsher)
snd_spatialize_lerp "0.35" // L/R Isolation
snd_steamaudio_enable_perspective_correction "0"
// - sound on shiftwalking -
alias "+shh" "incrementvar volume 0 2 0.1; +sprint";
alias "-shh" "incrementvar volume 0 2 -0.1; -sprint";
bind "SHIFT" "+shh";
// - sound -
voice_loopback "0"
// enable comms by default on startup
sv_voiceenable "1"
voice_modenable "1"
volume "1"
// This is a fix from u/qwertysac
// https://old.reddit.com/r/GlobalOffensive/comments/17ii3y5/microphone_bug_the_reason_why_no_ones_talking_or/
// default value is 4000.00
voice_threshold "100"
snd_voipvolume ".50"
// - music -
snd_menumusic_volume "0.1" // main menu music
snd_roundstart_volume "0" // round start music
snd_roundend_volume "0" // round end music
snd_mapobjective_volume ".01" // map objective music
snd_deathcamera_volume "0" // death camera music
snd_tensecondwarning_volume "0.02" // ten second warning music
snd_mvp_volume "0.06" // MVP music
snd_mute_mvp_music_live_players "1" // Mute MVP music if players from both teams are still alive
// sounds in tools (e.g. Hammer, SFM), affects `play` cmd
snd_toolvolume "0.2"
// - hud -
hud_scaling ".9"
cl_hud_color "12" // player colour
hud_showtargetid "1" // show target id
// - opts -
cl_playerspray_auto_apply "1"
cl_debounce_zoom "0"
cl_silencer_mode "0"
cl_sniper_delay_unscope "0"
cl_sniper_auto_rezoom "1"
cl_teammate_colors_show "1"
cl_dm_buyrandomweapons "0"
cl_showloadout "1"
cl_teamid_overhead_mode "2"
cl_teamid_overhead_colors_show "1" // show names in teammate colours
cl_teamcounter_playercount_instead_of_avatars "0" // show avatars instead of just a number
// Added convar cl_deathnotices_show_numbers for observers to have quick access to player spectate index
cl_deathnotices_show_numbers "0"
// force these settings so we do not get randomly bamboozled by a bug
cl_drawhud_force_radar "1" // force on
cl_drawhud_force_teamid_overhead "1" // force cl_showloadout
// - buywheel -
cl_use_opens_buy_menu "0"
cl_buywheel_donate_key "0"
cl_buywheel_nonumberpurchasing "0"
// - radial menu -
// FIXME `cl_radial_menu_tap_duration` is still broken (due to Valve)
cl_radial_radio_tap_to_ping "1"
// - vanity -
ui_mainmenu_bkgnd_movie_1016BB11 "de_anubis"
ui_vanitysetting_loadoutslot_ct "secondary0"
ui_vanitysetting_loadoutslot_t "rifle1"
ui_vanitysetting_team "ct"
// ---------- RADAR ----------
cl_hud_radar_scale "1.3"
cl_radar_scale ".515"
cl_radar_icon_scale_min ".4"
cl_radar_rotate "1"
cl_radar_square_with_scoreboard "1"
// ---------- VIEWMODEL ----------
viewmodel_presetpos "3"
viewmodel_offset_x "2.5"
viewmodel_offset_y "2"
viewmodel_offset_z "-2"
echo "Loaded autoexec.cfg"
host_writeconfig
// ---------- END ----------
echoln " _ _ _ _ _ "
echoln " / /\ /\ \ /\ \ _\ \ /\ \ "
echoln " / / \ \_\ \ / \ \ /\__ \ / \ \ "
echoln " / / /\ \__ /\__ \ / /\ \ \ / /_ \_\ / /\ \ \ "
echoln " / / /\ \___\/ /_ \ \ / / /\ \ \ / / /\/_/ / / /\ \ \ "
echoln " \ \ \ \/___/ / /\ \ \/ / / \ \_\/ / / / / / \ \_\ "
echoln " \ \ \ / / / \/_/ / / / / / / / / / / / / / "
echoln " _ \ \ \ / / / / / / / / / / / ____ / / / / / / "
echoln " /_/\__/ / / / / / / / /___/ / / /_/_/ ___/\/ / /___/ / / "
echoln " \ \/___/ / /_/ / / / /____\/ /_______/\__\/ / /____\/ / "
echoln " \______/ \_\_ \/_________/\________/ \/_________/ "
echoln " /\ \/_/\ /\ \ /\ \ /\ \ "
echoln " / \ \ \ \ \ \_\ / \ \ / \ \ "
echoln " / /\ \ \ \ \__/ / / / /\ \ \ / /\ \ \ "
echoln " / / /\ \_\ \__ \/_/ / / /\ \_\ / / /\ \ \ "
echoln " / /_/_ \/_/\/_/\__/\ / /_/_ \/_/ / / / \ \_\ "
echoln " / /____/\ _/\/__\ \ / /____/\ / / / \/_/ "
echoln " / /\____\/ / _/_/\ \ \ / /\____\/ / / / "
echoln " / / /______ / / / \ \ \/ / /______ / / /________ "
echoln "/ / /_______\/ / / /_/ / / /_______/ / /_________\ "
echoln "\/__________/\/_/ \_\/\/__________\/____________/ "