Skip to content

Instantly share code, notes, and snippets.

@vivekkupadhyay
Created October 3, 2023 11:16
Show Gist options
  • Save vivekkupadhyay/56a573490fab686e9ca4a3effd131e7e to your computer and use it in GitHub Desktop.
Save vivekkupadhyay/56a573490fab686e9ca4a3effd131e7e to your computer and use it in GitHub Desktop.
CS2 main config file | <Steam_Installation_Location>\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg
// 1. Main Settings
con_enable "1" //Enables Console
// cl_disablehtmlmotd "1" //Removes "Message of the day" page when joining a server
// cl_forcepreload "1" // Pre-loads The Whole Map & Sounds.
gameinstructor_enable "0" //Removes in-game instructions
// cl_showhelp "0" //Removes on-screen help
cl_autohelp "0" //Removes automatic help
// cl_disablefreezecam "1" //Disables Freezecam
// cl_righthand "0" //Makes Player View Model Left-Handed
ui_steam_overlay_notification_position "bottomright" //Steam Overlay Notifications will appear Bottom-Right corner
// cl_autowepswitch "0" //Disable auto-weapon switch
// cl_forcepreload "0" //Disabled for higher FPS, and a smoother experience (thanks John McDonald)
cl_join_advertise "2" //Let friends join your community servers
// lobby_default_privacy_bits1 "0" //Set default lobby permissions to "friends need invite"
// 2. Radar (Optimized radar settings)
cl_teammate_colors_show "1" //Show teammates as separate colors with letter
cl_hud_radar_scale "1.2" //Radar size, not too big and not too small
cl_radar_scale "0.5" //Radar map scale size, 0.4 works on all maps
cl_radar_always_centered "0" //Centers map instead of player
cl_radar_icon_scale_min "0.4" //Minimum player icon scale
// 3. Rates (These network settings are optimized for high speed internet)
rate "786432" // Your download rate to the server. Max rate: "786432"
// cl_cmdrate "128" //Max number of command packets sent to server per second
// cl_updaterate "128" //Number of packets per second you are requesting from the server
// cl_interp "0.046875" //Sets the interpolation amount, always set this to 0
// cl_interp_ratio "1" //Sets the interpolation amount (final amount is cl_interp_ratio / cl_updaterate)
cl_lagcompensation "1" //Lag compensation helps by eliminating combat latency from client side view
cl_predict "1" //Skip waiting for server feedback and simulate client side movement in real-time
cl_predictweapons "1" //Skip waiting for server feedback and perform client side prediction of weapon effects
// 4. Net (Netgraph positioning)
// net_graph "1" //Shows my network usage data
// net_graphheight "10" //Changes height
// net_graphmsecs "400" //The latency graph represents this many milliseconds
// net_graphpos "2" //Positioning of Net Graph
// net_graphproportionalfont "0.9" //Makes font smaller
// net_graphshowinterp "1" //Shows interpolation value
// net_graphshowlatency "1" //Shows latency value
// net_graphsolid "1" //Solid Net Graph
// net_graphtext "1" //Shows text fields
net_maxroutable "1200" //Requested max packet size before packets are split
// net_scale "5" //Makes font smaller
// 5. Video (Video settings and FPS Boosts)
fps_max "300" //Max frames per second, setting it to 0 causes long loading times
// fps_max_menu "120" //Max frames per second in main-menu
// mat_monitorgamma "1.6" //Sets Brightness to highest, highly recommended
// mat_monitorgamma_tv_enabled "0" //Turn off TV Mode for less off-set light
// mat_powersavingsmode "0" //Disables power saving mode
// mat_queue_mode "2" //The queue/thread mode the material system should use, setting this to 2 gave me an FPS boost
// r_dynamic "0" //Affects dynamic lighting, turned off for more FPS
r_drawtracers_firstperson "0" //Remove first person tracers, does not impact gameplay, just makes it easier to spray
// 6. Sound (optimized sound settings, does not affect your volume)
// snd_hwcompat "1" //Enables "Advanced 3D Audio Processing"
// snd_musicvolume_multiplier_inoverlay "0" // Disable music volume when Steam Overlay is active
// voice_scale "0.4" //Turns down the volume of other players voice to 40%
// 7. Others
cl_use_opens_buy_menu "0" //Disables E from opening buy-menu, really useful
mm_dedicated_search_maxping "50" //Maxping Search in Matchmaking
func_break_max_pieces "0" //Less clutter from breaking vents (especially on Mirage)
developer "1" //Prints everything to Console
con_enable "1" //Enables Console
// con_filter_enable "2" //The following commands will edit the console's formatting
// con_filter_text "Damage Given" //so that damage given to enemies will be highlighted white with the
// con_filter_text_out "Player:" //rest appearing as a light grey.
player_nevershow_communityservermessage "1"
option_duck_method "0"
option_speed_method "0"
// cl_downloadfilter "nosound" // mapsonly pls volvo
spec_replay_autostart "0"
cl_dm_buyrandomweapons "0"
// cl_autowepswitch "0" // auto weapon switch on pickup
// hud_takesshots "1" // scoreboard screenshot at end of match
cl_show_clan_in_death_notice "1"
// 8. Aliases
alias autoexec "exec autoexec.cfg"
alias warmup "exec warmup.cfg"
alias dc "disconnect"
// alias "+fastq" "slot3;r_cleardecals"
alias "+fastq" "slot3"
alias "-fastq" "lastinv"
alias "+shootr" "+attack;cl_crosshair_recoil true;"
alias "-shootr" "-attack;cl_crosshair_recoil false;"
// 9. Binds
bind "mouse4" "-attack"
bind "q" "+fastq"
bind "n" "incrementvar gameinstructor_enable 0 1 1"
bind "MWHEELUP" "+jump"
bind "MWHEELDOWN" "+jump"
bind "h" "radio_bot";
bind "mouse1" "+shootr"
bind "key_for_pistol" "slot2; bind mouse1 +attack;"
bind "key_primary_weapon" "slot1; bind mouse1 +shootr;"
// 10. ViewModel
// cl_viewmodel_shift_left_amt "1.5"
// cl_viewmodel_shift_right_amt "0.75"
viewmodel_fov "63"
viewmodel_offset_x "1.25"
viewmodel_offset_y "0.75"
viewmodel_offset_z "-1.25"
viewmodel_presetpos "0"
// viewmodel_recoil "1.0"
// cl_bob_lower_amt "21"
// cl_bobamt_lat "0.4"
// cl_bobamt_vert "0.25"
// cl_bobcycle "0.98"
// 11. Crosshair
cl_crosshair_drawoutline "1.000000"
cl_crosshair_dynamic_maxdist_splitratio "0.35"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.5"
cl_crosshair_dynamic_splitdist "2"
cl_crosshair_outlinethickness "0.100000"
cl_crosshair_sniper_show_normal_inaccuracy "0"
cl_crosshair_sniper_width "1"
cl_crosshair_t "0.000000"
cl_crosshairalpha "200.000000"
cl_crosshaircolor "5.000000"
cl_crosshaircolor_b "0.000000"
cl_crosshaircolor_g "255.000000"
cl_crosshaircolor_r "0.000000"
cl_crosshairdot "0.000000"
cl_crosshairgap "-2.500000"
cl_crosshairgap_useweaponvalue "0"
// cl_crosshairscale "0"
cl_crosshairsize "2.000000"
cl_crosshairstyle "4.000000"
cl_crosshairthickness "1.000000"
cl_crosshairusealpha "1"
cl_fixedcrosshairgap "3"
host_writeconfig //Store current settings to config.cfg
clear //clear the console output
// Print out so we know the config has been executed.
echo "Autoexec Config Executed, GLHF"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment