Skip to content

Instantly share code, notes, and snippets.

@papricek
Last active October 25, 2019 07:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save papricek/6c3c27162a2a4e3dc577da124bbe0f54 to your computer and use it in GitHub Desktop.
Save papricek/6c3c27162a2a4e3dc577da124bbe0f54 to your computer and use it in GitHub Desktop.
Counter Strike Global Offensive Config
// budi's CS:GO config
// Updated 7/1/2019
// Rates
rate "786432" // max rate, lower if having network issues
cl_cmdrate "128"
cl_updaterate "128"
cl_interp "0.0"
cl_interp_ratio "1"
cl_interpolate "1"
cl_lagcompensation "1"
net_client_steamdatagram_enable_override "1" // SDR beta
// Mouse
sensitivity "0.7"
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"
m_pitch "-0.022" // inverts mouse
m_yaw "0.022" // inverts mouse
// Video
fps_max "120"
fps_max_menu "120"
r_dynamic "0"
r_drawtracers_firstperson "0"
engine_no_focus_sleep "50" // default 50
// Audio
volume "1"
voice_enable "1"
voice_scale "1" // receive volume
voice_mixer_volume "1" // mic volume
windows_speaker_config "1" // headphone audio output
snd_menumusic_volume "0"
snd_roundstart_volume "0"
snd_roundend_volume "0"
snd_mapobjective_volume "0"
snd_deathcamera_volume "0"
snd_tensecondwarning_volume "0"
snd_mvp_volume "0"
snd_dzmusic_volume "0.1"
snd_mix_async "1"
snd_mixahead "0.02" // sound delay
snd_pitchquality "1"
snd_ducking_off "1"
snd_front_headphone_position "90"
snd_rear_headphone_position "90"
snd_headphone_pan_exponent "1.2"
snd_headphone_pan_radial_weight "1"
snd_mute_losefocus "1" // mute game when alt-tabbed
dsp_enhance_stereo "0"
// cl_mute_all_but_friends_and_party "0"
snd_async_flush
// HUD
hud_scaling "0.80"
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.950000"
cl_teamid_overhead_name_alpha "240"
cl_teamid_overhead_always "2" // +cl_show_team_equipment
cl_righthand "1"
cl_showloadout "1"
cl_showpos "0"
cl_showfps "0"
net_graph "0"
net_graphproportionalfont "0" // small netgraph font
// Radar
cl_radar_always_centered "0"
cl_radar_rotate "1"
cl_radar_scale "0.4"
cl_radar_icon_scale_min "0.4"
cl_radar_square_with_scoreboard "0"
// Reposition gun model to mimic source
viewmodel_presetpos "0"
viewmodel_fov "68"
viewmodel_offset_x "2.500000"
viewmodel_offset_y "0"
viewmodel_offset_z "-1.500000"
viewmodel_recoil "1"
// 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 "0.98"
cl_bob_lower_amt "5"
cl_bobamt_lat "0.1"
cl_bobamt_vert "0.1"
// Crosshair
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 "250"
cl_crosshaircolor_g "250"
cl_crosshaircolor_r "250"
cl_crosshairdot "0"
cl_crosshairgap "-1"
cl_crosshairgap_useweaponvalue "0"
cl_crosshairscale "4"
cl_crosshairsize "2"
cl_crosshairstyle "4"
cl_crosshairthickness "1"
cl_crosshairusealpha "1"
// White crosshair
cl_crosshaircolor "5"
cl_crosshaircolor_r "255"
cl_crosshaircolor_g "255"
cl_crosshaircolor_b "255"
// Debug accuracy (sv_cheats)
cl_weapon_debug_show_accuracy "0"
cl_weapon_debug_show_accuracy_duration "10"
weapon_debug_spread_show "0" // requires dynamic crosshair
weapon_debug_spread_gap "0.67"
// Misc
con_enable "1"
developer "0" // print console to screen
con_filter_enable "2"
con_filter_text "Damage "
ui_steam_overlay_notification_position "bottomright"
// player_nevershow_communityservermessage "1"
mm_dedicated_search_maxping "80" // max ping for matchmaking games
mm_dedicated_force_servers ""
mm_csgo_community_search_players_min "8"
gameinstructor_enable "0"
option_duck_method "0"
option_speed_method "0"
cl_forcepreload "1"
cl_downloadfilter "nosound" // mapsonly pls volvo
cl_join_advertise "2" // let friends join your game
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 "0"
// Binds
unbindall
bind "0" "slot10"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind "6" "slot6"
bind "7" "slot7"
bind "8" "slot8"
bind "9" "slot9"
bind "a" "+moveleft"
bind "b" "buymenu"
bind "d" "+moveright"
bind "e" "+use"
bind "g" "drop"
bind "h" "noclip"
bind "i" "show_loadout_toggle"
bind "m" "teammenu"
bind "o" "+jumpthrow"
bind "q" "lastinv"
bind "r" "+reload"
bind "s" "+back"
bind "t" "+voicerecord"
bind "u" "messagemode2"
bind "v" "+lookatweapon;showmouse"
bind "w" "+forward"
bind "y" "messagemode"
bind "`" "toggleconsole"
bind "," "buyammo1"
bind "." "buyammo2"
bind "SPACE" "+jump"
bind "BACKSPACE" "+spray_menu"
bind "TAB" "+showscores"
bind "ESCAPE" "cancelselect"
bind "INS" "radio2"
bind "DEL" "mute"
bind "HOME" "radio1"
bind "PGUP" "radio"
bind "PGDN" "radio3"
bind "PAUSE" "pause"
bind shift "+speed; r_cleardecals"
bind ctrl "+duck; r_cleardecals"
bind "F3" "autobuy"
bind "F4" "rebuy"
bind "F5" "+cl_show_team_equipment"
bind "F6" "callvote"
bind "F7" "load quick"
bind "F10" "quit prompt"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "MWHEELUP" "invprev"
bind "MWHEELDOWN" "invnext"
bind n "+jumpthrow" // it's back!
bind "f" "slot5"
// Buy binds in separate cfg
// exec buybinds.cfg
// Aliases
// alias "showmouse" // for mouse on scoreboard
// alias "addscore" "+showscores;net_graph 1"
// alias "offscore" "-showscores;net_graph 0"
// alias bhopon "bind MWHEELDOWN +jump;bind MWHEELUP +jump;bind mouse3 bhopoff"
// alias bhopoff "bind MWHEELDOWN invnext;bind MWHEELUP invprev;bind mouse3 bhopon"
alias "+jumpthrow" "+jump;-attack"
alias "-jumpthrow" "-jump"
// alias "savepos" "writeip;con_logfile cfg/banned_ip.cfg;getpos_exact;con_logfile ."
// alias "loadpos" "exec banned_ip"
// alias "surf" "bind mouse4 +left;bind mouse5 +right;fps_max 300"
// alias "dangerzone" "bind mouse4 slot12"
// practice modes
alias "debug" "sv_cheats 1;impulse 101;sv_showimpacts 1;sv_showimpacts_penetration 1;sv_showbullethits 1;sv_infinite_ammo 2;ammo_grenade_limit_total 6;sv_grenade_trajectory 1;sv_grenade_trajectory_thickness 0.5;mp_freezetime 0;mp_roundtime_defuse 60;mp_buytime 9999;mp_maxmoney 65535;mp_startmoney 65535;mp_afterroundmoney 65535;mp_buy_anywhere 1;mp_teammates_are_enemies 1;mp_solid_teammates 1;bot_stop 1;mp_warmup_end;bot_kick;mp_restartgame 1;"
// practice modes
alias "stream" "sv_cheats 1;sv_infinite_ammo 2;ammo_grenade_limit_total 6;sv_grenade_trajectory 1;sv_grenade_trajectory_thickness 0.5;mp_freezetime 0;mp_roundtime_defuse 60;mp_buytime 9999;mp_maxmoney 65535;mp_startmoney 65535;mp_afterroundmoney 65535;mp_buy_anywhere 1;mp_teammates_are_enemies 1;mp_solid_teammates 1;bot_stop 1;mp_warmup_end;bot_kick;mp_restartgame 1;"
// bot warmup mode - join t side, mp_swapteams and mp_free_armor as needed
alias "warmup" "sv_cheats 1;mp_warmup_start;mp_warmuptime 300;mp_warmup_pausetimer 1;mp_freezetime 0;mp_autoteambalance 0;mp_limitteams 0;mp_buy_anywhere 1;mp_randomspawn 1;mp_randomspawn_los 1;mp_spawnprotectiontime 0;mp_respawn_immunitytime 0;sv_infinite_ammo 1;bot_quota_mode normal;bot_difficulty 3;bot_dont_shoot 1;bot_allow_grenades 0;mp_death_drop_defuser 0;mp_death_drop_gun 0;mp_death_drop_grenade 0;bot_kick;mp_restartgame 1;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;impulse 101;god"
//VoiceMute Script
alias stfu stfu1
alias stfu1 "voice_enable 0; chat_enable 0; echo Voice OFF; playvol buttons\blip2 0.5; alias stfu stfu2"
alias stfu2 "voice_enable 1; chat_enable 1; echo Voice ON; playvol buttons\blip1 0.5; alias stfu stfu1"
bind "," "stfu"
// smoke cross
bind "c" "toggle cl_crosshairsize 3 1000"
host_writeconfig // write settings to config.cfg
echo ""
echo ""
echo "autoexec.cfg executed"
echo ""
echo ""
echo ""
"VideoConfig"
{
"setting.cpu_level" "0"
"setting.gpu_level" "0"
"setting.mat_antialias" "0"
"setting.mat_aaquality" "0"
"setting.mat_forceaniso" "0"
"setting.mat_vsync" "0"
"setting.mat_triplebuffered" "0"
"setting.mat_grain_scale_override" "-1.0"
"setting.gpu_mem_level" "0"
"setting.mem_level" "3"
"setting.mat_queue_mode" "-1"
"setting.csm_quality_level" "0"
"setting.mat_software_aa_strength" "1"
"setting.mat_motion_blur_enabled" "0"
"setting.defaultres" "1600"
"setting.defaultresheight" "1200"
"setting.aspectratiomode" "2"
"setting.fullscreen" "1"
"setting.nowindowborder" "1"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment