Skip to content

Instantly share code, notes, and snippets.

@KJRV
Last active May 18, 2022 23:36
Show Gist options
  • Select an option

  • Save KJRV/79ce73ecb150999ca5ef to your computer and use it in GitHub Desktop.

Select an option

Save KJRV/79ce73ecb150999ca5ef to your computer and use it in GitHub Desktop.
CSGO autoexec.cfg
// steamapps/common/Counter-Strike Global Offensive/csgo/cfg/autoexec.cfg
// Download and install this language pack: https://github.com/Alicesyn/CSGO-Text-Mod
// Add '-console -novid -tickrate 128 -freq 240 +exec autoexec -language textmodalice' to launch options.
// Command help from bzl.no; crosshair help from tools.dathost.net
developer "1"
con_enable "1"
closeonbuy "1"
// Crosshair
cl_crosshairalpha "255"
cl_crosshaircolor "5"
cl_crosshaircolor_b "250"
cl_crosshaircolor_r "250"
cl_crosshaircolor_g "250"
cl_crosshairdot "0"
cl_crosshairgap "-1"
cl_crosshairsize "4"
cl_crosshairstyle "4"
cl_crosshairusealpha "1"
cl_crosshairthickness "1"
cl_fixedcrosshairgap "-1"
cl_crosshair_outlinethickness "0"
cl_crosshair_drawoutline "1"
cl_crosshair_friendly_warning "1"
// Keybinds
unbindall
bind "0" "slot10"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind "6" "slot6"
bind "7" "slot7"
bind "8" "slot8"
bind "9" "slot9"
bind "," "+forward"
bind "a" "+moveleft"
bind "o" "+back"
bind "e" "+moveright"
bind "SHIFT" "+speed"
bind "CTRL" "+duck"
bind "'" "lastinv"
bind "p" "+reload"
bind "." "use"
bind "y" "+lookatweapon"
bind "u" "drop"
bind "x" "buymenu"
bind "MOUSE1" "+attack"
bind "MOUSE3" "+attack2"
bind "MWHEELUP" "+jump"
bind "MWHEELDOWN" "+jump"
//bind "SPACE" "+jump"
bind "$" "toggleconsole"
bind "ŭ" "+jumpthrow"
// HUD
safezonex "0.86"
cl_hud_color "0"
cl_hud_background_alpha "0.5"
hud_scaling "0.8"
hud_showtargetid "1"
cl_hud_playercount_showcount "0"
cl_hud_playercount_pos "0"
cl_hud_bomb_under_radar "1"
cl_radar_square_with_scoreboard "0"
cl_radar_always_centered "1"
cl_radar_rotate "1"
cl_radar_scale "0.45"
cl_radar_icon_scale_min "0.6"
cl_showloadout "1"
//cl_showpos "1" https://dotesports.com/counter-strike/news/csgos-cl_showpos-command-is-now-banned
cl_showfps "0"
cl_hud_healthammo_style "0"
net_graph "1"
net_graphproportionalfont "1"
net_graphheight "2"
net_graphmsecs "400"
net_graphpos "2"
net_graphproportionalfont "0"
net_graphshowinterp "1"
net_graphshowlatency "1"
net_graphshowsvframerate "1"
net_graphsolid "1"
net_graphtext "1"
ui_steam_overlay_notification_position "bottomright"
// View model
//Quake-style view model
cl_righthand "0"
viewmodel_fov "68" //maximum is 68. it's changed several times; used to be 106
viewmodel_presetpos "0"
viewmodel_offset_x "-2.0"
viewmodel_offset_y "-2.0"
viewmodel_offset_z "-2.0"
//Widescreen view model
//cl_righthand "1"
//viewmodel_fov "68"
//viewmodel_presetpos "0"
//viewmodel_offset_x "2.5"
//viewmodel_offset_y "2"
//viewmodel_offset_z "-2.0"
// Audio
windows_speaker_config "1"
volume "0.37"
voice_enable "0"
voice_scale "1.0"
snd_mute_losefocus "1"
snd_surround_speakers "0"
lobby_voice_chat_enabled "0"
// Video
mat_monitorgamma "2.1"
fps_max "999"
fps_max_menu "60"
// Better damage reporting
con_filter_enable "2"
con_filter_text "Damage"
con_filter_text_out "Player:"
// Aliases
alias "d" "disconnect"
alias "q" "quit"
alias "+jumpthrow" "+jump;-attack"
alias "-jumpthrow" "-jump"
//***************************************************************************//
//* There's a ton of bad defaults, this fixes all of them and can be copied *//
//* to anyone's autoexec safely. *//
//***************************************************************************//
// Sound fixes
snd_mixahead "0.05"
snd_musicvolume "0.0"
snd_headphone_pan_exponent "2"
snd_headphone_pan_radial_weight "2"
snd_legacy_surround "0"
snd_roundend_volume "0.000000"
snd_roundstart_volume "0.000000"
snd_tensecondwarning_volume "0.000000"
// Video fixes
r_dynamic "0"
r_drawtracers_firstperson "0"
// Expected mouse behavior
m_rawinput "1"
m_customaccel "0.0"
zoom_sensitivity_ratio_mouse "1.0"
// Expected viewmodel behavior
cl_bob_lower_amt "5"
cl_bobamt_lat "0.1"
cl_bobamt_vert "0.1"
cl_viewmodel_shift_left_amt "0.5"
cl_viewmodel_shift_right_amt "0.25"
cl_bobcycle "0.98" //comp servers force this value
// Rates
rate "128000"
cl_cmdrate "128"
cl_updaterate "128"
cl_interp "0.0"
cl_interp_ratio "1.0"
cl_lagcompensation "1"
mm_dedicated_search_maxping "80"
// Disable bullshit
gameinstructor_enable "0"
player_nevershow_communityservermessage "1"
cl_forcepreload "1"
cl_downloadfilter "all"
cl_disablehtmlmotd "1"
cl_autohelp "0"
cl_showhelp "0"
cl_disablefreezecam "1"
cl_freezecameffects_showholiday "0"
cl_spec_mode "4"
cl_teammate_colors_show "1"
cl_loadout_colorweaponnames "1"
hud_takesshots "0"
cl_autowepswitch "0"
cl_use_opens_buy_menu "1"
cl_draw_only_deathnotices "0"
option_duck_method "0"
option_speed_method "0"
//***************************************************************************//
host_writeconfig
clear
echo "autoexec.cfg loaded"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment