Skip to content

Instantly share code, notes, and snippets.

@CrumblyLiquid
Last active September 6, 2021 17:49
Show Gist options
  • Save CrumblyLiquid/181a011ab57a2e9b966854933461f5cb to your computer and use it in GitHub Desktop.
Save CrumblyLiquid/181a011ab57a2e9b966854933461f5cb to your computer and use it in GitHub Desktop.
My config for Counter-Strike: Global Offensive
// -- CrumblyLiquid's config --
// Still a lot more that could be added like audio
// === Launch options ===
// -nojoy -novid +exec autoexec.cfg
// -nojoy - launches with controller input disabled (required on Linux)
// -novid - launches CS:GO without the intro video
// +exec autoexec.cfg - executes this configuration file ie it runs all the commands listed below
// === Settings ===
// Incrementvar - can be used to alter settings
// incrementvar <varName> <minVal> <maxVal> <delta>
// Mouse
sensitivity "1.0"
zoom_sensitivity_ratio_mouse "1.0"
m_rawinput "1"
m_pitch "0.022"
m_customaccel "0"
m_mouseaccel1 "0"
m_mouseaccel2 "0"
m_mousespeed "0"
// Graphics
fps_max "0"
fps_max_menu "120"
mat_queue_mode "2"
mat_monitorgamma "1.6"
r_dynamic "0"
r_drawtracers_firstperson "1"
// Crosshair
cl_crosshair_drawoutline "0"
cl_crosshair_dynamic_maxdist_splitratio "0.300000"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.5"
cl_crosshair_dynamic_splitdist "7"
cl_crosshair_friendly_warning "0"
cl_crosshair_outlinethickness "1"
cl_crosshair_sniper_show_normal_inaccuracy "0"
cl_crosshair_sniper_width "1"
cl_crosshair_t "0"
cl_crosshairalpha "255"
cl_crosshaircolor "5"
cl_crosshaircolor_b "255.000000"
cl_crosshaircolor_g "255.000000"
cl_crosshaircolor_r "0.000000"
cl_crosshairdot "0"
cl_crosshairgap "-1.700000"
cl_crosshairgap_useweaponvalue "0"
cl_crosshairsize "1.400000"
cl_crosshairstyle "4"
cl_crosshairthickness "0.300000"
cl_crosshairusealpha "1"
cl_fixedcrosshairgap "3"
// Viewwmodel
cl_viewmodel_shift_left_amt "0.5"
cl_viewmodel_shift_right_amt "0.25"
viewmodel_fov "68"
viewmodel_offset_x "2.5"
viewmodel_offset_y "-2"
viewmodel_offset_z "-2"
viewmodel_presetpos "0"
viewmodel_recoil "0"
cl_bob_lower_amt "5"
cl_bobamt_lat "0.1"
cl_bobamt_vert "0.1"
cl_bobcycle "0.98"
// HUD
cl_hud_background_alpha "0.350000"
cl_hud_bomb_under_radar "1"
cl_hud_color "2"
cl_hud_healthammo_style "0"
cl_hud_playercount_pos "0"
cl_hud_playercount_showcount "0"
cl_hud_radar_scale "1.100000"
hud_scaling "0.800000"
hud_showtargetid "0"
cl_righthand "1"
// Radar
cl_color "3"
cl_radar_always_centered "0"
cl_radar_icon_scale_min "0.7"
cl_radar_rotate "1"
cl_radar_scale "0.400000"
cl_radar_square_with_scoreboard "1"
// Audio
// will add later
// FPS Optimizations
// Not entirely sure if all of them work :D
cl_disablehtmlmotd "1" // Disables The Servers Message of The Day.
cl_forcepreload "1" // Preloads The Whole Map & Sounds.
r_eyegloss "0" // No Makeup.
r_eyemove "0" // No Eye Movement.
r_eyeshift_x "0" // No Eye Movement X-Angel.
r_eyeshift_y "0" // No Eye Movement Y-Angel.
r_eyeshift_z "0" // No Eye Movement Z-Angel.
r_eyesize "0" // Smaller Eyes.
// Console
con_enable "1"
developer "0"
// con_filter_enable "2"
// con_filter_text "Damage "
// Gameplay
cl_autowepswitch "0"
cl_use_opens_buy_menu "0"
closeonbuy "0"
cl_dm_buyrandomweapons "0"
hud_takesshots "0"
// Help
cl_autohelp "0"
cl_showhelp "0"
gameinstructor_enable "0"
// === Bindings ===
// Weapons
bind "f" "slot1" // Primary weapon
bind "q" "slot2" // Pistol
bind "c" "slot3" // Knife
bind "r" "+reload"
// Grenades
bind "1" "slot6" // HE
bind "2" "slot7" // Flash
bind "3" "slot8" // Smoke
bind "4" "slot10" // Molotov/Incendiary
bind "5" "slot9" // Decoy
bind "x" "slot4" // All grenades
// Helath shot
bind "n" "slot12"
// Bomb
bind "z" "slot5"
// Mouse
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "MOUSE3" "player_ping"
bind "MOUSE4" "lastinv"
bind "MOUSE5" "+voicerecord"
// Movement
bind "w" "+forward; r_cleardecals"
bind "s" "+back; r_cleardecals"
bind "a" "+moveleft; r_cleardecals"
bind "d" "+moveright; r_cleardecals"
bind "SPACE" "+jump"
bind "SHIFT" "+duck"
bind "CTRL" "+speed"
// Jump throw
alias "+jumpthrow" "+jump;-attack"
alias "-jumpthrow" "-jump"
bind "j" "+jumpthrow"
// Buy
bind "b" "buymenu"
bind "," "buyammo1"
bind "." "buyammo2"
bind "kp_slash" "buy awp;" // /
bind "kp_multiply" "buy defuser;" // *
bind "kp_minus" "buy vest;" // -
bind "kp_plus" "buy vesthelm;" // +
bind "kp_home" "buy mac10; buy mp9;" // 7
bind "kp_uparrow" "buy mp7;" // 8
bind "kp_pgup" "buy p90;" // 9
bind "kp_leftarrow" "buy famas; buy galilar;" // 4
bind "kp_5" "buy ak47; buy m4a1;" // 5
bind "kp_rightarrow" "buy aug; buy sg556;" // 6
bind "kp_end" "buy hegrenade;" // 1
bind "kp_downarrow" "buy flashbang;" // 2
bind "kp_pgdn" "buy smokegrenade;" // 3
bind "kp_ins" "buy molotov; buy incgrenade;" // 4
bind "kp_del" "buy deagle;" // ,
bind "kp_enter" "buy ak47; buy m4a1; buy vesthelm; buy defuser; buy hegrenade; buy smokegrenade; buy flashbang; buy molotov; buy incgrenade;" // Enter
// Radar
// Might be worth to add binds for HUD scale
bind "[" "incrementvar cl_radar_scale 0 1 -.05" // Zooms radar out
bind "]" "incrementvar cl_radar_scale 0 1 +.05" // Zooms radar in
// Menus
bind "m" "teammenu"
bind "k" "+spray_menu"
bind "l" "toggleconsole"
bind "TAB" "+showscores"
bind "ESCAPE" "cancelselect"
// Chat
bind "y" "messagemode"
bind "u" "messagemode2"
// Misc
bind "e" "+use"
bind "g" "drop"
bind "h" "+lookatweapon"
bind "i" "show_loadout_toggle"
bind "DEL" "mute"
bind "PAUSE" "pause"
bind "F3" "autobuy"
bind "F4" "rebuy"
bind "F5" "jpeg"
bind "F6" "save quick"
bind "F7" "load quick"
bind "F10" "quit prompt"
bind "p" "noclip"
// Log to console
echo
echo /----------------------------------------\
echo | Executed autoexec.cfg by CrumblyLiquid |
echo \----------------------------------------/
echo
@CrumblyLiquid
Copy link
Author

To use these settings you will need to put the autoexec.cfg file into ...\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment