Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@razor-x
Last active March 3, 2016 02:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save razor-x/9669db53d38f15d2c3e4 to your computer and use it in GitHub Desktop.
Save razor-x/9669db53d38f15d2c3e4 to your computer and use it in GitHub Desktop.
Counter-Strike: Global Offensive Config

Counter-Strike: Global Offensive Config

Launch Options

-novid -w 1920 -h 1080 -tickrate 128

autoexec.cfg and config.cfg

Install autoexec.cfg into \Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg.

The included config.cfg is a snapshot of my config before anything from autoexec.cfg has been applied. Thus, only values that are set by the client or settings available via the in-game menus appears in config.cfg.

All settings available via the in-game menu are not included in autoexec.cfg.

Since autoexec.cfg or manual console commands write values directly to config.cfg, simply removing a line from autoexec.cfg will not revert that setting to its default value. Thus, the provided config.cfg can be used to reset the configuration to a set of personal defaults that may be verified and configured visually in the client.

// Key Bindings
bind "MWHEELDOWN" "+jump"
bind "F9" "exec practice;"
// Buy binds.
bind "kp_enter" "buy ak47; buy m4a1; buy p250; buy vesthelm; buy defuser; buy flashbang; buy smokegrenade; buy flashbang; buy hegrenade;"
bind "kp_ins" "buy vest;"
bind "kp_slash" "buy smokegrenade;"
bind "kp_multiply" "buy flashbang;"
bind "kp_minus" "buy hegrenade;"
bind "kp_del" "buy defuser;"
bind "kp_plus" "buy vesthelm;"
bind "kp_5" "buy ak47; buy m4a1;"
bind "kp_uparrow" "buy sg556; buy aug;"
bind "kp_downarrow" "buy galilar; buy famas;"
bind "kp_leftarrow" "buy p250;"
bind "kp_rightarrow" "buy tec9; buy fiveseven;"
bind "kp_pgup" "buy molotov; buy incgrenade;"
bind "kp_end" "buy awp;"
bind "kp_pgdn" "buy ssg08;"
bind "kp_home" "buy bizon;"
// Crosshair
cl_crosshairalpha "200"
cl_crosshaircolor "5"
cl_crosshaircolor_b "0"
cl_crosshaircolor_r "255"
cl_crosshaircolor_g "0"
cl_crosshairdot "0"
cl_crosshairgap "0"
cl_crosshairsize "1"
cl_crosshairstyle "4"
cl_crosshairusealpha "1"
cl_crosshairthickness "2"
cl_fixedcrosshairgap "0"
cl_crosshair_outline "0"
cl_crosshair_outline_draw "0"
// Disable Switch weapon on pickup.
cl_autowepswitch "0"
// Disable Deathcam
cl_disablefreezecam "1"
// Run smoothly when not in focus.
engine_no_focus_sleep "0"
// Write to config.cfg
host_writeconfig
unbindall
bind "1" "radio1"
bind "2" "radio2"
bind "3" "radio3"
bind "4" "slot11"
bind "a" "+moveleft"
bind "c" "slot9"
bind "d" "+moveright"
bind "e" "slot3"
bind "f" "+use"
bind "m" "teammenu"
bind "q" "slot2"
bind "r" "slot5"
bind "s" "+back"
bind "t" "+lookatweapon"
bind "u" "messagemode2"
bind "v" "drop"
bind "w" "+forward"
bind "x" "slot10"
bind "y" "messagemode"
bind "z" "slot8"
bind "[" "slot1"
bind "`" "toggleconsole"
bind "," "+reload"
bind "." "buyammo2"
bind "/" "+attack2"
bind "=" "slot7"
bind "SPACE" "+jump"
bind "TAB" "+showscores"
bind "ESCAPE" "cancelselect"
bind "DEL" "mute"
bind "PAUSE" "pause"
bind "SHIFT" "+duck"
bind "CTRL" "slot6"
bind "F1" "rebuy"
bind "F2" "callvote"
bind "F3" "+voicerecord"
bind "F4" "buymenu"
bind "F5" "jpeg"
bind "F7" "load quick"
bind "F10" "quit prompt"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+speed"
bind "A_BUTTON" "+jump"
bind "B_BUTTON" "+reload"
bind "X_BUTTON" "+use"
bind "Y_BUTTON" "invnextnongrenade"
bind "L_SHOULDER" "invnextitem"
bind "R_SHOULDER" "+lookspin"
bind "BACK" "togglescores"
bind "START" "gameui_activate"
bind "STICK2" "+attack2"
bind "DOWN" "drop"
bind "S1_UP" "xmove"
bind "L_TRIGGER" "+duck"
bind "R_TRIGGER" "+attack"
bind "S2_UP" "xlook"
adsp_debug "0"
ai_report_task_timings_on_limit "0"
ai_think_limit_label "0"
budget_averages_window "30"
budget_background_alpha "128"
budget_bargraph_background_alpha "128"
budget_bargraph_range_ms "16.6666666667"
budget_history_numsamplesvisible "100"
budget_history_range_ms "66.666666667"
budget_panel_bottom_of_history_fraction ".25"
budget_panel_height "384"
budget_panel_width "512"
budget_panel_x "0"
budget_panel_y "50"
budget_peaks_window "30"
budget_show_averages "0"
budget_show_history "1"
budget_show_peaks "1"
bugreporter_uploadasync "0"
bugreporter_username ""
c_maxdistance "200"
c_maxpitch "90"
c_maxyaw "135"
c_mindistance "30"
c_minpitch "0"
c_minyaw "-135"
c_orthoheight "100"
c_orthowidth "100"
c_thirdpersonshoulder "false"
c_thirdpersonshoulderaimdist "120.0"
c_thirdpersonshoulderdist "40.0"
c_thirdpersonshoulderheight "5.0"
c_thirdpersonshoulderoffset "20.0"
cam_collision "1"
cam_idealdelta "4.0"
cam_idealdist "150"
cam_idealdistright "0"
cam_idealdistup "0"
cam_ideallag "4.0"
cam_idealpitch "0"
cam_idealyaw "0"
cam_snapto "0"
cc_lang ""
cc_linger_time "1.0"
cc_predisplay_time "0.25"
cc_subtitles "0"
chet_debug_idle "0"
cl_allowdownload "1"
cl_allowupload "1"
cl_autohelp "1"
cl_autowepswitch "0"
cl_bob_lower_amt "21"
cl_bobamt_lat "0.4"
cl_bobamt_vert "0.25"
cl_bobcycle "0.98"
cl_buy_favorite_nowarn "0"
cl_buy_favorite_quiet "0"
cl_chatfilter_version "1"
cl_chatfilters "63"
cl_clanid "0"
cl_cmdrate "64"
cl_color "0"
cl_crosshair_drawoutline "1"
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 "1"
cl_crosshairalpha "200"
cl_crosshaircolor "1"
cl_crosshaircolor_b "50"
cl_crosshaircolor_g "250"
cl_crosshaircolor_r "50"
cl_crosshairdot "1"
cl_crosshairgap "1"
cl_crosshairgap_useweaponvalue "0"
cl_crosshairscale "0"
cl_crosshairsize "5"
cl_crosshairstyle "2"
cl_crosshairthickness "0.5"
cl_crosshairusealpha "1"
cl_debugrumble "0"
cl_detail_avoid_force "0.4"
cl_detail_avoid_radius "64"
cl_detail_avoid_recover_speed "0.25"
cl_detail_max_sway "5"
cl_disablefreezecam "0"
cl_disablehtmlmotd "0"
cl_dm_buyrandomweapons "1"
cl_downloadfilter "all"
cl_embedded_stream_audio_volume "60"
cl_embedded_stream_audio_volume_xmaster "1"
cl_fixedcrosshairgap "3"
cl_forcepreload "0"
cl_freezecampanel_position_dynamic "1"
cl_hud_background_alpha "0.750000"
cl_hud_bomb_under_radar "0"
cl_hud_color "0"
cl_hud_healthammo_style "0"
cl_hud_playercount_pos "0"
cl_hud_playercount_showcount "0"
cl_hud_radar_scale "1"
cl_idealpitchscale "0.8"
cl_inv_showdividerline "2"
cl_inventory_saved_filter "all"
cl_inventory_saved_sort "newest"
cl_join_advertise "1"
cl_loadout_colorweaponnames "0"
cl_logofile ""
cl_minimal_rtt_shadows "1"
cl_mouselook "1"
cl_mute_enemy_team "0"
cl_obs_interp_enable "1"
cl_observercrosshair "1"
cl_operation_premium_reminder_op06 "0"
cl_radar_always_centered "1"
cl_radar_icon_scale_min "0.6"
cl_radar_rotate "1"
cl_radar_scale "0.355000"
cl_radar_square_with_scoreboard "1"
cl_righthand "1"
cl_rumblescale "1.0"
cl_scalecrosshair "1"
cl_scoreboard_mouse_enable_binding "+jump"
cl_show_clan_in_death_notice "1"
cl_showhelp "1"
cl_showloadout "1"
cl_showpluginmessages "1"
cl_soundfile ""
cl_spec_follow_grenade_key "0"
cl_spec_mode "0"
cl_teamid_overhead_name_alpha "245"
cl_teamid_overhead_name_fadetime "1.0"
cl_teammate_colors_show "1"
cl_thirdperson "0"
cl_timeout "30"
cl_updaterate "64"
cl_use_opens_buy_menu "1"
cl_viewmodel_shift_left_amt "1.5"
cl_viewmodel_shift_right_amt "0.75"
closecaption "0"
closeonbuy "0"
commentary_firstrun "0"
con_enable "1"
crosshair "1"
cursortimeout "60.0"
dsp_enhance_stereo "0"
econ_highest_baseitem_seen "63"
engine_no_focus_sleep "50"
force_audio_english "0"
func_break_max_pieces "15"
g15_update_msec "250"
gameinstructor_enable "0"
hud_scaling "0.702500"
hud_showtargetid "1"
hud_takesshots "0"
joy_accelmax "1.0"
joy_accelscale "4.0"
joy_accelscalepoly "0.5"
joy_advanced "1"
joy_advaxisr "2"
joy_advaxisu "4"
joy_advaxisv "0"
joy_advaxisx "3"
joy_advaxisy "1"
joy_advaxisz "0"
joy_autoaimdampen "0.4"
joy_autoAimDampenMethod "1"
joy_autoaimdampenrange "0.99"
joy_axisbutton_threshold "0.3"
joy_cfg_preset "1"
joy_circle_correct "1"
joy_curvepoint_1 "0.005"
joy_curvepoint_2 "0.1"
joy_curvepoint_3 "0.4"
joy_curvepoint_4 "0.8"
joy_curvepoint_end "2"
joy_diagonalpov "0"
joy_display_input "0"
joy_forwardsensitivity "-1.0"
joy_forwardthreshold "0.1"
joy_gamma "0.1"
joy_inverty "0"
joy_lowend "0.35"
joy_lowend_linear "0.55"
joy_lowmap "0.1"
joy_movement_stick "0"
joy_name "joystick"
joy_no_accel_jump "0"
joy_pitchsensitivity "-1"
joy_pitchthreshold "0.15"
joy_response_look "0"
joy_response_look_pitch "1"
joy_response_move "1"
joy_sensitive_step0 "0.1"
joy_sensitive_step1 "0.4"
joy_sensitive_step2 "0.90"
joy_sidesensitivity "1"
joy_sidethreshold "0.15"
joy_wingmanwarrior_centerhack "0"
joy_wingmanwarrior_turnhack "0"
joy_yawsensitivity "-1"
joy_yawthreshold "0.15"
joystick "0"
joystick_force_disabled "1"
joystick_force_disabled_set_from_options "1"
key_bind_version "1"
lobby_default_access "0"
lobby_voice_chat_enabled "1"
lockMoveControllerRet "0"
lookspring "0"
lookstrafe "0"
m_customaccel "0"
m_customaccel_exponent "1.05"
m_customaccel_max "0"
m_customaccel_scale "0.04"
m_forward "1"
m_mouseaccel1 "0"
m_mouseaccel2 "0"
m_mousespeed "1"
m_pitch "0.022"
m_rawinput "1"
m_side "0.8"
m_yaw "0.022"
mat_monitorgamma "2.2"
mat_monitorgamma_tv_enabled "0"
mat_powersavingsmode "0"
mat_queue_report "0"
mat_spewalloc "0"
mat_texture_list_content_path ""
mc_accel_band_size "0.5"
mc_dead_zone_radius "0.06"
mc_max_pitchrate "100.0"
mc_max_yawrate "230.0"
mm_csgo_community_search_players_min "3"
mm_dedicated_search_maxping "101.000000"
mm_server_search_lan_ports "27015,27016,27017,27018,27019,27020"
muzzleflash_light "1"
name "That's Mr. n00b 2u"
net_allow_multicast "1"
net_graph "0"
net_graphheight "64"
net_graphholdsvframerate "0"
net_graphmsecs "400"
net_graphpos "1"
net_graphproportionalfont "1"
net_graphshowinterp "1"
net_graphshowlatency "1"
net_graphshowsvframerate "0"
net_graphsolid "1"
net_graphtext "1"
net_maxroutable "1200"
net_scale "5"
net_steamcnx_allowrelay "1"
npc_height_adjust "1"
option_duck_method "0"
option_speed_method "0"
password ""
play_distance "1"
player_botdifflast_s "0.000000"
player_competitive_maplist_8_5_1_FE007AD3 "mg_de_dust2,mg_de_train,mg_de_inferno,mg_de_mirage,mg_de_cache,mg_de_season,mg_de_log,mg_de_rails,mg_de_resort,mg_de_zoo,mg_cs_agency,mg_de_overpass,mg_de_cbble"
player_gamemodelast_m "0"
player_gamemodelast_s "0.000000"
player_gametypelast_m "0"
player_gametypelast_s "3.000000"
player_last_leaderboards_filter "0"
player_last_leaderboards_mode "0"
player_last_leaderboards_panel "0"
player_last_medalstats_category "0"
player_last_medalstats_panel "0"
player_maplast_m "0"
player_maplast_s "0"
player_medalstats_most_recent_time "0"
player_nevershow_communityservermessage "0"
player_teamplayedlast "3"
r_drawmodelstatsoverlaymax "1.5"
r_drawmodelstatsoverlaymin "0.1"
r_drawtracers_firstperson "1"
r_eyegloss "1"
r_eyemove "1"
r_eyeshift_x "0"
r_eyeshift_y "0"
r_eyeshift_z "0"
r_eyesize "0"
safezonex "1.0"
safezoney "1.000000"
scene_showfaceto "0"
scene_showlook "0"
scene_showmoveto "0"
scene_showunlock "0"
sensitivity "1.000000"
sf_ui_tint "1"
sk_autoaim_mode "1"
skill "1.000000"
snd_deathcamera_volume "1.0"
snd_duckerattacktime "0.5"
snd_duckerreleasetime "2.5"
snd_duckerthreshold "0.15"
snd_ducking_off "1"
snd_ducktovolume "0.55"
snd_legacy_surround "0"
snd_mapobjective_volume "1.0"
snd_menumusic_volume "1.0"
snd_mixahead "0.1"
snd_music_selection "2"
snd_musicvolume "0.7"
snd_musicvolume_multiplier_inoverlay "0.1"
snd_mute_losefocus "1"
snd_pitchquality "1"
snd_roundend_volume "1.0"
snd_roundstart_volume "1.0"
snd_tensecondwarning_volume "1.0"
spec_show_xray "0"
spec_usenumberkeys_nobinds "1"
ss_splitmode "0"
store_version "1"
suitvolume "0.25"
sv_forcepreload "0"
sv_log_onefile "0"
sv_logbans "0"
sv_logecho "1"
sv_logfile "1"
sv_logflush "0"
sv_logsdir "logs"
sv_noclipaccelerate "5"
sv_noclipspeed "5"
sv_pvsskipanimation "1"
sv_skyname "sky_dust"
sv_specaccelerate "5"
sv_specnoclip "1"
sv_specspeed "3"
sv_unlockedchapters "1"
sv_voiceenable "1"
sys_antialiasing "6"
sys_aspectratio "1"
sys_refldetail "0"
texture_budget_background_alpha "128"
texture_budget_panel_bottom_of_history_fraction ".25"
texture_budget_panel_height "284"
texture_budget_panel_width "512"
texture_budget_panel_x "0"
texture_budget_panel_y "450"
tr_best_course_time "0"
tr_completed_training "0"
tv_nochat "0"
ui_steam_overlay_notification_position "topleft"
vgui_message_dialog_modal "1"
viewmodel_fov "60"
viewmodel_offset_x "1"
viewmodel_offset_y "1"
viewmodel_offset_z "-1"
viewmodel_presetpos "1"
voice_caster_enable "0"
voice_caster_scale "1"
voice_enable "1"
voice_forcemicrecord "1"
voice_mixer_boost "0"
voice_mixer_mute "0"
voice_mixer_volume "1.0"
voice_modenable "1"
voice_scale "1"
voice_system_enable "1"
voice_threshold "4000"
volume "1.0"
vprof_graphheight "256"
vprof_graphwidth "512"
vprof_unaccounted_limit "0.3"
vprof_verbose "1"
vprof_warningmsec "10"
weapon_accuracy_logging "0"
windows_speaker_config "1"
xbox_autothrottle "1"
xbox_throttlebias "100"
xbox_throttlespoof "200"
zoom_sensitivity_ratio_joystick "1.0"
zoom_sensitivity_ratio_mouse "1.0"
cmd1 +jlook
// Server Config
sv_cheats 1
mp_limitteams 0
mp_autoteambalance 0
mp_roundtime 60
mp_roundtime_defuse 60
mp_maxmoney 60000
mp_startmoney 60000
mp_freezetime 0
mp_buytime 9999
mp_buy_anywhere 1
sv_infinite_ammo 1
ammo_grenade_limit_total 5
bot_kick
mp_warmup_end
// Practice
sv_grenade_trajectory 1
sv_grenade_trajectory_time 10
sv_showimpacts 1
sv_showimpacts_time 10
// Binds
bind "F8" "noclip"
bind "F7" "give weapon_hegrenade;give weapon_flashbang;give weapon_smokegrenade;give weapon_incgrenade;give weapon_molotov;give weapon_decoy"
bind "F6" "cast_ray"
mp_restartgame 1
echo ""
echo "## Practice Config Loaded ##"
echo ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment