Skip to content

Instantly share code, notes, and snippets.

@0undefined
Created May 14, 2022 13:05
Show Gist options
  • Save 0undefined/18fd9f8a87949fef53306f69a6abc535 to your computer and use it in GitHub Desktop.
Save 0undefined/18fd9f8a87949fef53306f69a6abc535 to your computer and use it in GitHub Desktop.
My CS:GO config
// Clear previous config
clear
echo Loading autoexec
unbindall
// Aliases
//// Commands
alias dc "disconnect"
//// Bound to something
alias "+jumpthrow" "+jump;-attack"; alias "-jumpthrow" "-jump";
//// Bind enter = msg-team; shift+enter = msg-all
alias "+sc" "+speed;+slow; bind enter messagemode"
alias "-sc" "-speed; bind enter messagemode2"
//// Sounds
alias +lever "playvol buttons/button17 .2" // E
alias +switch "playvol buttons/button18 .4" // G
alias +slow "playvol buttons/lever7 .1" // SHIFT
alias +low "playvol buttons/combine_button2 .1" // CTRL
alias +flip "playvol buttons/combine_button1 .2" // Q
alias +swipe "playvol buttons/button9 .15" // T
// Mouse settings
sensitivity 0.7
m_rawinput 1
m_mousespeed 0
m_customaccel 0
// Mouse bindings
bind mouse1 +attack
bind mouse2 +attack2
bind mwheelup +use
bind mwheeldown +jump
bind mouse4 +voicerecord
bind mouse5 +jumpthrow
// Key bindings
joystick 0
bind w +forward
bind s +back
bind a +moveleft
bind d +moveright
bind ctrl "+duck;+low"
bind shift "+speed;+slow"
bind space "+jump"
bind r +reload
bind e "+use;+lever"
bind g "drop;+switch"
bind x "use weapon_healthshot"
bind h "+spray_menu"
bind alt +radialradio // ping
bind tab +score
// Inventory
bind b "buymenu"
bind q "lastinv;+flip"
bind 1 "slot1;+low"
bind 2 "slot2;+switch"
bind 3 "slot3;+switch"
bind 4 "slot4;+switch"
bind 5 "slot5;+switch"
bind f "use weapon_smokegrenade"
bind c "use weapon_flashbang"
bind v "use weapon_molotov;use weapon_incgrenade"
// Communication
bind "enter" "messagemode2"
bind "shift" "+sc"
//// Voice
voice_loopback 0 // Bound to mouse4
// Misc
cl_use_opens_buy_menu 0
mm_dedicated_search_maxping 35
cl_autowepswitch 0
// HUD
cl_showloadout 1
sv_steamgroup 1
// Viewmodel
viewmodel_offset_x 2
viewmodel_offset_y -2
viewmodel_offset_z -2
viewmodel_fov 68
cl_righthand 1
// Scope
cl_bobcycle 0
cl_bobamt_vert 0
cl_bob_lower_amt 0
cl_bobamt_lat 0
// Map
cl_hud_radar_scale "0.9"
cl_radar_scale "0.4"
cl_radar_always_centered "0"
// misc/fps
fps_max 0
cl_autohelp 0
cl_disablefreezecam 1
cl_disablehtmlmotd 1
cl_freezecameffects_showholiday 0
cl_showhelp 0
gameinstructor_enable 0
mat_queue_mode -1
r_drawtracers_firstperson -1
r_dynamic 0
exec crosshair
echo Loaded autoexec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment