Skip to content

Instantly share code, notes, and snippets.

@recursive
Created January 2, 2016 09:27
Show Gist options
  • Save recursive/31596f291096c647459b to your computer and use it in GitHub Desktop.
Save recursive/31596f291096c647459b to your computer and use it in GitHub Desktop.
CS:GO config
// Exec line
// -novid -console -high -threads 4 -freq 144 -refresh 144 -tickrate 128 -nojoy -nod3d9ex +exec autoexec.cfg
// on mac install smoothmouse and put sensitivity on lowest
// Rates
rate "128000"
cl_cmdrate "128"
cl_updaterate "128"
cl_interp "0.0"
cl_interp_ratio "1"
cl_lagcompensation "1"
// Mouse
//sensitivity "0.8000000001" // low res sens
//sensitivity "2.8" // 1440 res sensitivity
sensitivity "2.5" // 1240 res sensitivity
zoom_sensitivity_ratio_mouse "1.0"
m_rawinput "1"
m_pitch "0.022"
m_customaccel "0"
m_mouseaccel1 "0"
m_mouseaccel2 "0"
// Video
mat_monitorgamma "2.1"
mat_queue_mode "-1" // auto detect multi-core rendering
fps_max "0"
fps_max_menu "0"
r_dynamic "0"
r_drawtracers_firstperson "0"
// Audio
volume "0.75"
voice_enable "1"
voice_scale "1" // receive volume
windows_speaker_config "1" // headphone audio output
snd_musicvolume "0"
snd_mixahead "0.05" // sound delay
snd_headphone_pan_exponent "2"
snd_headphone_pan_radial_weight "2"
snd_legacy_surround "0" // emulated surround sound
snd_mute_losefocus "1" // mute game when alt-tabbed
lobby_voice_chat_enabled "0" // voice chat in lobby
// HUD
hud_scaling "0.80" // CS:S sized HUD
hud_showtargetid "1"
cl_hud_background_alpha "0.100000"
cl_hud_bomb_under_radar "0"
cl_hud_color "1"
cl_hud_healthammo_style "1"
cl_hud_playercount_pos "0"
cl_hud_playercount_showcount "0"
cl_hud_radar_scale "0.900000"
cl_draw_only_deathnotices "0"
cl_righthand "1"
cl_showloadout "1"
cl_showpos "0"
cl_showfps "1"
net_graph "0"
net_graphproportionalfont "0" // small netgraph font
// Radar
cl_radar_always_centered "0"
cl_radar_rotate "1"
cl_radar_scale "0.38"
cl_radar_icon_scale_min "0.4"
cl_radar_square_with_scoreboard "0"
// Reposition gun model to mimic 1.6
viewmodel_presetpos "0"
viewmodel_fov "68"
viewmodel_offset_x "2.500000"
viewmodel_offset_y "0"
viewmodel_offset_z "-1.500000"
// Reduce gun shifting when crouching
cl_viewmodel_shift_left_amt "0.5"
cl_viewmodel_shift_right_amt "0.5"
// Reduce gun and scope shifting/bobbing when moving
cl_bobcycle "2" // 0.98 is enforced by ESEA/ESL
cl_bob_lower_amt "5"
cl_bobamt_lat "0.1"
cl_bobamt_vert "0.1"
// Crosshair
cl_crosshair_drawoutline "0"
cl_crosshair_dynamic_maxdist_splitratio "0.35"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.5"
cl_crosshair_dynamic_splitdist "7"
cl_crosshair_outlinethickness "0.500000"
cl_crosshairalpha "300"
cl_crosshaircolor "5"
cl_crosshaircolor_b "0"
cl_crosshaircolor_g "64"
cl_crosshaircolor_r "255"
cl_crosshairdot "0"
cl_crosshairgap "-2.500000"
cl_crosshairgap_useweaponvalue "0"
cl_crosshairscale "0"
cl_crosshairsize "4.500000"
cl_crosshairstyle "4"
cl_crosshairthickness "1.000000"
cl_crosshairusealpha "1"
cl_fixedcrosshairgap "-4.5"
// Old Crosshair
//cl_crosshairstyle "4"
//cl_crosshairsize "2"
//cl_crosshairthickness "1"
//cl_crosshairgap "-1" // classic
//cl_fixedcrosshairgap "3" // new
//cl_crosshairdot "0"
//cl_crosshairusealpha "1"
//cl_crosshairalpha "999"
//cl_crosshair_drawoutline "1"
//cl_crosshair_outlinethickness "1"
//cl_crosshairgap_useweaponvalue "0"
// White crosshair
//cl_crosshaircolor "5"
//cl_crosshaircolor_r "255"
//cl_crosshaircolor_g "255"
//cl_crosshaircolor_b "255"
// Debug accuracy (sv_cheats)
weapon_debug_spread_show "0" // show possible shot accuracy
weapon_debug_spread_gap "0.67
// Misc
developer "0"
con_enable "1"
con_filter_enable "2" // print console on screen
con_filter_text "Damage " // highlight damage in console
ui_steam_overlay_notification_position "bottomright"
player_nevershow_communityservermessage "1"
mm_dedicated_search_maxping "80" // max ping for matchmaking games
mm_dedicated_force_servers ""
gameinstructor_enable "0"
option_duck_method "0"
option_speed_method "0"
cl_forcepreload "1"
cl_downloadfilter "nosound" // mapsonly pls volvo
cl_disablehtmlmotd "0"
cl_autohelp "0"
cl_showhelp "0"
cl_disablefreezecam "1"
spec_replay_autostart "0"
cl_dm_buyrandomweapons "0"
cl_teammate_colors_show "1"
cl_autowepswitch "0" // auto weapon switch on pickup
cl_use_opens_buy_menu "0" // E opening buy menu
cl_scoreboard_mouse_enable_binding "showmouse" // press `t` to enable mouse on the scoreboard
closeonbuy "0"
hud_takesshots "0" // scoreboard screenshot at end of match
cl_clanid "" // rip in pepperinos afterlife
password ""
// Movement/Control Binds
unbindall
bind "TAB" "+ng"
bind space "+jump"
bind shift "+speed"
bind alt "+voicerecord"
bind ctrl "+duck"
bind e "+use"
bind r "+reload"
bind w "+forward"
bind a "+moveleft"
bind s "+back"
bind d "+moveright"
bind z "radio1"
bind x "radio2"
bind c "radio3"
bind b "buymenu"
bind g "drop"
bind del "exec autoexec"
bind ins "+lookatweapon"
bind \ "messagemode" // talk to everyone
bind enter "messagemode2" // talk to team
bind t "showmouse;toggle cl_righthand 0 1" // show mouse sb, toggle rh/lh
bind - "toggle voice_scale 1 0" // toggle voice volume
bind = "toggle volume 0.55 0.1 0" // toggle game volume
bind q "+jumpthrow" // nade jump throw
bind . "callvote"
// Weapon Binds
bind mouse1 "+attack"
bind mouse2 "+attack2"
bind mouse3 "use weapon_smokegrenade"
bind mouse4 "slot2"
bind mouse5 "slot1"
bind mwheelup "use weapon_flashbang"
bind mwheeldown "use weapon_hegrenade"
bind v "use weapon_knife"
bind 1 "use weapon_c4"
bind 4 "use weapon_decoy"
bind f "slot10" // molotov
// Aliases
alias "showmouse" // for mouse on scoreboard
alias "+ng" "+showscores; net_graph 1"
alias "-ng" "-showscores; net_graph 0"
alias "+jumpthrow" "+jump;-attack"
alias "-jumpthrow" "-jump"
// Keypad buy binds
bind kp_ins "buy vesthelm"
bind kp_del "buy vest"
bind kp_enter "buy defuser"
bind kp_end "buy smokegrenade"
bind kp_downarrow "buy flashbang"
bind kp_pgdn "buy hegrenade"
bind kp_leftarrow "buy molotov"
bind kp_5 "buy decoy"
bind kp_rightarrow "buy taser"
bind kp_home "buy awp"
bind kp_uparrow "buy m4a1"
bind kp_pgup "buy famas"
bind kp_slash "buy mp9"
bind kp_multiply "buy nova"
bind kp_minus "buy ssg08"
bind kp_plus "buy p250"
// Write the config settings to config.cfg
host_writeconfig // write settings to config.cfg
// Notify of successful load
echo ""
echo ""
echo "autoexec.cfg executed"
echo ""
echo ""
echo ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment