Skip to content

Instantly share code, notes, and snippets.

@Stef16Robbe
Last active March 7, 2026 14:04
Show Gist options
  • Select an option

  • Save Stef16Robbe/5b88ea67e94a69ca375f20da4855a4f3 to your computer and use it in GitHub Desktop.

Select an option

Save Stef16Robbe/5b88ea67e94a69ca375f20da4855a4f3 to your computer and use it in GitHub Desktop.
CSGO autoexec
//~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--
//
// ____ ____ ____ ____ _ ____
// / ___)(_ _)( __)( __)(// ___)
// \___ \ )( ) _) ) _) \___ \
// (____/ (__) (____)(__) (____/
// _
// ___ _ _| |_ ___ ___ _ _ ___ ___
//| .'| | | _| . | -_|_'_| -_| _|
//|__,|___|_| |___|___|_,_|___|___|
//
//
//~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--
echo "Stef's autoexec.cfg started executing"
// ---- Aliases ----
alias "+switch" "slot3"
alias "-switch" "lastinv"
alias "+jumpthrow" "+jump; -attack"
alias "-jumpthrow" "-jump"
// ---- Mouse ----
bind "MOUSE_X" "yaw"
bind "MOUSE_Y" "pitch"
// ---- Key binds ----
bind "0" "+spray_menu"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind "a" "+left"
bind "b" "buymenu"
bind "c" "+duck"
bind "d" "+right"
bind "e" "+use"
bind "f" "+lookatweapon"
bind "g" "drop"
bind "h" "messagemode2"
bind "n" "noclip"
bind "q" "+switch"
bind "r" "+reload"
bind "s" "+back"
bind "t" "slot6"
bind "v" "+voicerecord"
bind "w" "+forward"
bind "x" "slot10"
bind "y" "messagemode"
bind "z" "slot7"
bind "]" "toggleconsole"
bind "`" "toggleconsole"
bind "SPACE" "+jumpthrow"
bind "TAB" "+showscores"
bind "ESCAPE" "cancelselect"
bind "SHIFT" "+sprint"
bind "CTRL" "slot8"
bind "RCTRL" "+altbinds"
bind "F3" "say_team https://discord.com.ru/ https://www.teamspeak.com/ru/"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "MOUSE3" "player_ping"
bind "MOUSE4" "lastinv"
bind "MOUSE5" "incrementvar cl_radar_scale 0.35 0.75 0.25"
bind "MWHEELUP" "+jump"
bind "MWHEELDOWN" "+jump"
// ---- Numpad buy binds ----
// Note: use CS2 key names — KP_0 through KP_9, KP_PERIOD, KP_DIVIDE
bind "KP_0" "buy ak47; buy m4a1;"
bind "KP_1" "buy deagle;"
bind "KP_2" "buy mac10; buy mp9;"
bind "KP_3" "volume 0"
bind "KP_4" "buy smokegrenade;"
bind "KP_5" "buy flashbang;"
bind "KP_6" "volume 0.05"
bind "KP_7" "buy molotov; buy incgrenade;"
bind "KP_8" "buy hegrenade;"
bind "KP_9" "volume 0.15"
bind "KP_DIVIDE" "buy defuser;"
bind "KP_PLUS" "buy vest;"
bind "KP_ENTER" "buy vesthelm;"
bind "KP_DEL" "buy awp;"
// ---- Mouse settings ----
m_pitch "0.022"
m_yaw "0.022"
sensitivity "0.9"
// ---- Viewmodel ----
viewmodel_fov "68"
viewmodel_offset_x "2.5"
viewmodel_offset_y "0"
viewmodel_offset_z "-1.5"
viewmodel_presetpos "3"
r_drawtracers_firstperson "1"
// ---- Crosshair ----
crosshair "1"
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_width "1"
cl_crosshair_t "0"
cl_crosshairalpha "255"
cl_crosshaircolor "1"
cl_crosshaircolor_b "0"
cl_crosshaircolor_g "0"
cl_crosshaircolor_r "0"
cl_crosshairdot "0"
cl_crosshairgap "-3"
cl_crosshairgap_useweaponvalue "0"
cl_crosshairsize "2"
cl_crosshairstyle "4"
cl_crosshairthickness "0"
cl_crosshairusealpha "1"
cl_fixedcrosshairgap "1.000000"
cl_show_observer_crosshair "2"
cl_observed_bot_crosshair "0"
// ---- Radar ----
cl_radar_always_centered "0"
cl_radar_icon_scale_min "0.6"
cl_radar_rotate "1"
cl_radar_scale "0.350000"
cl_radar_square_with_scoreboard "1"
cl_hud_radar_scale "1.100000"
// ---- HUD ----
hud_scaling "0.850000"
hud_showtargetid "1"
cl_hud_color "2"
safezonex "1.0"
safezoney "1.0"
// ---- Network ----
rate "300000"
net_allow_multicast "1"
mm_dedicated_search_maxping "70"
// ---- Sound ----
volume "0.5"
snd_deathcamera_volume "0.150460"
snd_duckerattacktime "0.5"
snd_duckerreleasetime "2.5"
snd_duckerthreshold "0.15"
snd_ducktovolume "0.55"
snd_hrtf_distance_behind "100"
snd_mapobjective_volume "0"
snd_menumusic_volume "0.000000"
snd_mixahead "0.025"
snd_mute_losefocus "1"
snd_mute_mvp_music_live_players "1"
snd_mvp_volume "0.000000"
snd_roundend_volume "0.000000"
snd_roundstart_volume "0"
snd_tensecondwarning_volume "0.178545"
sound_device_override "{0.0.0.00000000}.{ff03eaee-6831-47ec-80db-c5a66eece973}"
// ---- Voice ----
voice_modenable "1"
voice_threshold "-50"
sv_voiceenable "1"
// ---- Video / rendering ----
mat_monitorgamma "1.999014"
mat_monitorgamma_tv_enabled "0"
mat_powersavingsmode "0"
r_player_visibility_mode "1"
r_eyegloss "1"
r_eyemove "1"
r_eyeshift_x "0"
r_eyeshift_y "0"
r_eyeshift_z "0"
r_eyesize "0"
muzzleflash_light "1"
cl_minimal_rtt_shadows "1"
cl_grass_mip_bias "-0.5"
cl_itemimages_dynamically_generated "2"
// ---- Misc gameplay ----
cl_autowepswitch "0"
cl_use_opens_buy_menu "0"
cl_dm_buyrandomweapons "0"
cl_sniper_delay_unscope "0"
cl_disablefreezecam "0"
cl_freezecampanel_position_dynamic "1"
cl_spec_follow_grenade_key "0"
cl_spec_mode "4"
cl_teamid_overhead_mode "2"
cl_teammate_colors_show "1"
cl_show_clan_in_death_notice "1"
cl_sanitize_player_names "0"
cl_player_ping_mute "0"
cl_ping_fade_deadzone "60"
cl_ping_fade_distance "300"
cl_playerspray_auto_apply "1"
cl_disable_round_end_report "0"
closeonbuy "0"
zoom_sensitivity_ratio_mouse "1.0"
gameinstructor_enable "0"
spec_replay_autostart "1"
spec_show_xray "1"
// ---- Console / logging ----
con_allownotify "1"
con_enable "1"
sv_logfile "1"
sv_logecho "1"
sv_logbans "0"
sv_log_onefile "0"
sv_logflush "0"
sv_logsdir "logs"
// ---- Player ----
name "Stef"
cl_color "0"
cl_clanid "43269593"
password ""
cl_timeout "30"
echo "Stef's autoexec.cfg done"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment