Skip to content

Instantly share code, notes, and snippets.

@OsamaShabrez
Created June 17, 2017 15:50
Show Gist options
  • Save OsamaShabrez/ddfcb44d465853a0763b4c83e8a2e75d to your computer and use it in GitHub Desktop.
Save OsamaShabrez/ddfcb44d465853a0763b4c83e8a2e75d to your computer and use it in GitHub Desktop.
CSGO Config File
// Rates
rate "307200"
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 "1.00"
zoom_sensitivity_ratio_mouse "1.2"
m_rawinput "1"
m_pitch "0.022"
m_customaccel "0"
m_mouseaccel1 "0"
m_mouseaccel2 "0"
m_mousespeed "0"
// Video
mat_queue_mode "-1" // auto detect multi-core rendering
fps_max "999"
fps_max_menu "145"
r_dynamic "1"
r_drawtracers_firstperson "1"
// Audio
volume "0.8"
voice_enable "1"
voice_scale "1" // receive volume
voice_mixer_volume "1" // mic volume
windows_speaker_config "1" // headphone audio output
snd_use_hrtf "1"
snd_mixahead "0.07" // sound delay
snd_pitchquality "1"
snd_ducking_off "1"
snd_front_headphone_position "90"
snd_rear_headphone_position "90"
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
dsp_enhance_stereo "0"
snd_musicvolume "0.3"
lobby_voice_chat_enabled "0" // voice chat in lobby
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_righthand "1"
cl_showloadout "1"
cl_showpos "0"
cl_showfps "0"
net_graph "1"
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"
// 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"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.5"
cl_crosshair_dynamic_splitdist "3"
cl_crosshair_outlinethickness "1"
cl_crosshair_sniper_show_normal_inaccuracy "0"
cl_crosshair_sniper_width "1"
cl_crosshairalpha "255"
cl_crosshaircolor "5"
cl_crosshaircolor_b "255"
cl_crosshaircolor_g "255"
cl_crosshaircolor_r "255"
cl_crosshairdot "0"
cl_crosshairgap "-1"
cl_crosshairgap_useweaponvalue "0"
cl_crosshairscale "2"
cl_crosshairsize "3"
cl_crosshairstyle "5"
cl_crosshairthickness "1"
cl_crosshairusealpha "1"
cl_fixedcrosshairgap "-4.5"
// 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 "150" // 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_join_advertise "2" // let friends join your game
cl_disablehtmlmotd "0"
cl_autohelp "0"
cl_showhelp "0"
cl_disablefreezecam "0"
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
closeonbuy "0"
hud_takesshots "0" // scoreboard screenshot at end of match
cl_clanid "" // rip afterlife
cl_showloadout 1 // always show loadout
password ""
// Aliases
alias "showmouse" // for mouse on scoreboard
alias "+ngscore" "+showscores;net_graph 1"
alias "-ngscore" "-showscores;net_graph 0"
// binds
//Don't touch this
alias "clutch" "clutchon"
alias "clutchon" "voice_enable 0; gameinstructor_enable 1; cl_clearhinthistory; r_cleardecals; playvol buttons\weapon_confirm 0.5; say_team Voice Disabled, can't hear anything; alias clutch clutchoff"
alias "clutchoff" "voice_enable 1; gameinstructor_enable 0; playvol buttons\button2 0.5; say_team Voice Enabled, I can hear you now; alias clutch clutchon"
clutchoff
bind "rshift" clutch
bind "4" "use weapon_knife;use weapon_flashbang"
bind "5" "use weapon_knife;use weapon_smokegrenade";
bind "6" "use weapon_knife;use weapon_molotov;use weapon_incgrenade"
bind "7" "use weapon_knife;use weapon_hegrenade"
bind shift "+speed; r_cleardecals"
bind ctrl "+duck; r_cleardecals"
// Bomb Finder
alias +bombfind "+use;gameinstructor_enable 1;cl_clearhinthistory"
alias -bombfind "-use;gameinstructor_enable 0;cl_clearhinthistory"
bind l "+bombfind"
bind "h" "use weapon_knife; use weapon_c4; drop"
bind "uparrow" "buy molotov; buy incgrenade;"
bind "leftarrow" "buy smokegrenade;"
bind "downarrow" "buy hegrenade;"
bind "rightarrow" "buy flashbang;"
bind "del" "buy vest;"
bind "pgdn" "buy vesthelm;"
bind "end" "buy defuser;"
echo ""
echo ""
echo "- autoexec.cfg executed -"
echo "-------------------------"
echo "- toggle VC on right shift"
echo "- drop bomb with H"
echo "- find bomb with L`"
echo "- buy Vest: DEL"
echo "- buy Helmet: PG_DOWN"
echo "- buy Defuse: END"
echo ""
echo ""
echo "- Bomb Find: L"
echo "- Clutch Toggle: rShift"
host_writeconfig // write settings to config.cfg
echo ""
echo ""
echo ""
echo "########## LOADING PRACTICE CONFIG ##########"
echo ""
echo ""
echo ""
// 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
mp_restartgame 1
// Binds
bind "t" "noclip"
bind "del" "give weapon_hegrenade;give weapon_flashbang;give weapon_smokegrenade;give weapon_incgrenade;give weapon_molotov;give weapon_decoy"
bind "pgdn" "cast_ray"
echo ""
echo ""
echo ""
echo "########## PRACTICE CONFIG LOADED ##########"
echo "- use T for noclip toggle"
echo "- use DEL to get all grenades"
echo "- use pageDown to cast ray"
echo ""
echo ""
echo ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment