Skip to content

Instantly share code, notes, and snippets.

@Juknum
Last active February 14, 2023 01:21
Show Gist options
  • Save Juknum/8564012668cc639a782e3d228d2e7e5d to your computer and use it in GitHub Desktop.
Save Juknum/8564012668cc639a782e3d228d2e7e5d to your computer and use it in GitHub Desktop.
CS:GO Config - 2023
// Content
// 1. Main Settings
// 2. Bindings
// 3. Crosshair
// 4. Hud
// 5. Radar
// 6. Mouse
// 7. Viewmodel
// 8. Bob
// 9. Network
// 10. Netgraph
// 11. FPS & Video
// 12. Sound
// 13. Other
// 14. Scripts
echo Start Loading of autoexec [X]
////////////////////////// 1. Main Settings //////////////////////////
con_enable "1" // Enable console
cl_autowepswitch "0" // Disable auto-weapon switch
cl_join_advertise "2" // Let friends join your community servers
sdr_spew_level "3" // Remove waited xx.yy ms for SteamNetworkingSockets lock
echo Main Settings Loaded [X]
////////////////////////// 2. Bindings //////////////////////////
bind "p" "toggleconsole"
bind "r" "+reload; r_cleardecals"<
bind "F3" "say GLHF"
bind "F4" "say GH"
bind "F5" "say ( ͡° ͜ʖ ͡°)"
bind "F6" "say ¯\_(ツ)_/¯"
bind "F7" "say ^^"
bind "F8" "say (🖕゚ヮ゚)🖕
bind "F9" "say ♿"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2; r_cleardecals"
bind "k" "sv_cheats 1; sv_infinite_ammo 1; mp_limitteams 0; mp_autoteambalance 0; mp_maxmoney 60000; mp_startmoney 60000; mp_freezetime 0; mp_buytime 9999; mp_buy_anywhere 1; ammo_grenade_limit_total 5; bot_kick; mp_warmup_end"
bind "l" "god; mp_roundtime 60; mp_roundtime_defuse 60; mp_roundtime_hostage 60; mp_restartgame 1; sv_grenade_trajectory 1; sv_grenade_trajectory_time 20; sv_showimpacts 1; sv_showimpacts_time 10;"
bind "c" "toggle cl_righthand"
alias "+jumpduck" "+duck; +jump"
alias "-jumpduck" "-duck; -jump"
bind "x" "+jumpduck"
alias "+jumpthrow" "+jump;-attack"
alias "-jumpthrow" "-jump"
bind "w" "+jumpthrow"
echo Bindings Loaded [X]
////////////////////////// 3. Crosshair //////////////////////////
cl_crosshair_drawoutline "1.000000"
cl_crosshair_dynamic_maxdist_splitratio "0.300000"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.500000"
cl_crosshair_dynamic_splitdist "7"
cl_crosshair_friendly_warning "1"
cl_crosshair_outlinethickness "0.500000"
cl_crosshair_sniper_show_normal_inaccuracy "0"
cl_crosshair_sniper_width "2"
cl_crosshair_t "0.000000"
cl_crosshairalpha "255"
cl_crosshaircolor "5"
cl_crosshaircolor_b "0"
cl_crosshaircolor_g "0"
cl_crosshaircolor_r "255"
cl_crosshairdot "0"
cl_crosshairgap "-3.000000"
cl_crosshairgap_useweaponvalue "0"
cl_crosshairsize "2.000000"
cl_crosshairstyle "4.000000"
cl_crosshairthickness "1.000000"
cl_crosshairusealpha "1"
cl_fixedcrosshairgap "-6.000000"
bind "v" "toggle cl_crosshairsize 2.000000 1000"
echo Crosshair Loaded [X]
////////////////////////// 4. Hud //////////////////////////
hud_scaling "0.7" // Scales hud elements to maximum value
hud_showtargetid "1" // Enables display of target names, important
cl_disablefreezecam "1" // Disables freezecam
cl_hud_bomb_under_radar "1" // Draws bomb under radar, convenient
cl_hud_color "5" // THIS CHANGES THE HUD COLOR
cl_hud_playercount_showcount "1" // Shows player numbers instead of avatars
cl_hud_playercount_pos "1" // Puts player information in the bottom instead of top
cl_hud_healthammo_style "0" // Reverted hud style due to hidden burst mode
cl_hud_background_alpha "0.6" // Hidden but still visible black bars, easy on the eyes
cl_showloadout "1" // So it doesnt fade out the weapon slots, very annoying otherwise
cl_show_clan_in_death_notice "0" // Tagname will not show in death notices
cl_teamid_overhead_mode "2" // Always show team behind walls with equipment
cl_showhelp "0" // Removes on-screen help
cl_autohelp "0" // Removes automatic help
gameinstructor_enable "0" // Removes in-game instructions
safezonex "1" // Screen width percentage for the hud
safezoney "1" // Screen height percentage for the hud
echo Hud Settings Loaded [X]
////////////////////////// 5. Radar (Optimized radar settings) //////////////////////////
cl_teammate_colors_show "1" // Show teammates as separate colors without letter
cl_hud_radar_scale "1.2" // Optimized Radar size
cl_radar_scale "0.4" // Radar map scaled down to fit all maps
cl_radar_always_centered "0" // Centers map instead of player
cl_radar_icon_scale_min "0.4" // Minimum player icon scale
echo Radar Settings Loaded [X]
////////////////////////// 6. Mouse ("Raw Input" & "No Acceleration") //////////////////////////
m_rawinput "1" // Enable Raw Input for perfect precision
m_mouseaccel2 "0" // Disables windows mouse acceleration initial threshold, safety precaution
m_mouseaccel1 "0" // Disables windows mouse acceleration initial threshold, safety precaution
m_customaccel "0" // Custom mouse acceleration disabled
m_mousespeed "0" // Windows mouse acceleration disabled, just for precaution
zoom_sensitivity_ratio_mouse "0.818933027098955175" // Adjusts your zoom sensitivity to act as your true sensitivity, default value is 1
echo Mouse Settings Loaded [X]
////////////////////////// 7. Viewmodel //////////////////////////
viewmodel_offset_x "2" // Changes viewmodel view in X scale
viewmodel_offset_y "2" // Changes viewmodel view in Y scale
viewmodel_offset_z "-2" // Changes viewmodel view in Z scale
viewmodel_fov "54" // Highest viewmodel FOV
viewmodel_recoil "0" // Disable viewmodel reactions to weapon recoil & aimpunch
echo Viewmodel Settings Loaded [X]
////////////////////////// 8. Bob (Less weapon movement) //////////////////////////
cl_bob_lower_amt "5" // How much the viewmodel lowers when running, set to lowest for less distraction
cl_bobamt_lat "0.1" // How much the viewmodel moves side to side when running, set to lowest for less distraction
cl_bobamt_vert "0.1" // How much the viewmodel moves up and down when running, set to lowest for less distraction
cl_bobcycle "0.98" // The frequency at which the viewmodel bobs, set to default
cl_viewmodel_shift_left_amt "0.5" // Lowers the crouching animation of the viewmodel
cl_viewmodel_shift_right_amt "0.25" // Lowers the crouching animation of the viewmodel
echo Bob Settings Loaded [X]
////////////////////////// 9. Network (settings are optimized for high speed connection) //////////////////////////
rate "786432" // Your download rate to the server. Max rate: "786432"
cl_cmdrate "256" // Max number of command packets sent to server per second
cl_updaterate "256" // Number of packets per second you are requesting from the server
cl_interp "0.007813" // Sets the interpolation amount, currently on the lowest value
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
mm_dedicated_search_maxping "50" // Maxping Search in Matchmaking
echo Network Settings Loaded [X]
////////////////////////// 10. Netgraph //////////////////////////
net_graph "0" // Disables netgraph by default
net_graphheight "0" // Changes height
net_graphpos "2" // Positioning of Net Graph
net_graphproportionalfont "1" // Makes font larger
echo Netgraph Settings Loaded [X]
////////////////////////// 11. FPS & Video //////////////////////////
fps_max "0" // Max frames per second (0 = uncapped)
fps_max_menu "0" // Max frames per second in main-menu (0 = uncapped)
mat_monitorgamma "1.6" // Sets brightness level to highest
mat_monitorgamma_tv_enabled "0" // Turn off TV Mode for less off-set light
mat_powersavingsmode "0" // Disables power saving mode
mat_queue_mode "-1" // The queue/thread mode, setting this to -1 is default for your system
r_dynamic "0" // Affects dynamic lighting, turned off for more FPS
echo FPS & Video Settings Loaded [X]
////////////////////////// 12. Sound (and music, does not affect overall volume) //////////////////////////
voice_scale "0.3" // Turn down volume of other players to 40%
snd_deathcamera_volume "0" // Volume of the death camera music
snd_dzmusic_volume "0" // Volume of the Danger Zone victory music
snd_mapobjective_volume "0" // Volume of map objective music
snd_menumusic_volume "0.03" // Volume of the main menu music
snd_music_selection "2" // Tracking rotating music for players with no music packs equipped
snd_musicvolume_multiplier_inoverlay "0" // Music volume multiplier when Steam Overlay is active
snd_mute_mvp_music_live_players "0" // MVP music is muted if players from both teams are still alive
snd_mvp_volume "0.30" // Volume of the MVP music
snd_roundend_volume "0" // Volume of round end music
snd_roundstart_volume "0" // Volume of round start music
snd_tensecondwarning_volume "0.30" // 10 Second warning music, enabled on 3% volume to hear if there is time to defuse
echo Sound Settings Loaded [X]
////////////////////////// 13. Other //////////////////////////
func_break_max_pieces "0" // Less clutter from breaking vents (especially on Mirage)
cl_use_opens_buy_menu "0" // Disable button E from opening buy-menu (Useful when picking up weapons in spawn)
r_drawtracers_firstperson "0" // Remove first person tracers, does not impact gameplay, just makes it easier to spray
spec_replay_autostart "0" // Disable "Auto-start Killer Replay" when available
echo Other Settings Loaded [X]
////////////////////////// 14. Scripts //////////////////////////
// Load whatever gamemode you want with the "map" command. Examples: "map de_dust2; competitive" or "map dz_sirocco; dangerzone"
alias "casual" "game_type 0; game_mode 0"
alias "competitive" "game_type 0; game_mode 1"
alias "wingman" "game_type 0; game_mode 2"
alias "ar" "game_type 1; game_mode 0"
alias "demolition" "game_type 1; game_mode 1"
alias "dm" "game_type 1; game_mode 2"
alias "dz" "game_type 6; game_mode 0"
alias "custom" "game_type 3; game_mode 0"
// Useful shortcuts for popular commands in console
alias "d" "disconnect"
alias "q" "quit;exit"
alias "r" "retry"
alias "rs" "mp_restartgame 1"
// Show FPS with scoreboard in the top-left corner (less performance to load than netgraph)
alias "+fps" "+score; cl_showfps 1"
alias "-fps" "-score; cl_showfps 0"
// Toggle netgraph
alias "togglenet" "togglenet_on"
alias "togglenet_on" "net_graph 1; alias togglenet "togglenet_off""
alias "togglenet_off" "net_graph 0; alias togglenet "togglenet_on""
////////////////////////////////////////////////////////////////////
// Keypress Checker Script - Start
// The main functionality of the script, each number represent key presses:
alias zqsd_0 "zqsd_action_0; alias zqsd_prev zqsd_0; alias zqsd_next zqsd_1"
alias zqsd_1 "zqsd_action_1; alias zqsd_prev zqsd_0; alias zqsd_next zqsd_2"
alias zqsd_2 "zqsd_action_2; alias zqsd_prev zqsd_1; alias zqsd_next zqsd_3"
alias zqsd_3 "zqsd_action_3; alias zqsd_prev zqsd_2; alias zqsd_next zqsd_4"
alias zqsd_4 "zqsd_action_4; alias zqsd_prev zqsd_3; alias zqsd_next zqsd_4"
alias zqsd_prev "zqsd_0"
alias zqsd_next "zqsd_1"
// Additional functionality that is required for script to work:
alias +forward_zqsd "+forward; zqsd_next"
alias +back_zqsd "+back; zqsd_next"
alias +moveleft_zqsd "+moveleft; zqsd_next"
alias +moveright_zqsd "+moveright; zqsd_next"
alias -forward_zqsd "-forward; zqsd_prev"
alias -back_zqsd "-back; zqsd_prev"
alias -moveleft_zqsd "-moveleft; zqsd_prev"
alias -moveright_zqsd "-moveright; zqsd_prev"
// This decides what gets triggered depending on how many keys you press:
alias zqsd_action_0 "cl_crosshairgap -3"
alias zqsd_action_1 "cl_crosshairgap -2"
alias zqsd_action_2 "cl_crosshairgap -1"
alias zqsd_action_3 "cl_crosshairgap -1"
alias zqsd_action_4 "cl_crosshairgap -1"
// Edit 'z' 'q' 's' 'd' to your liking
bind z +forward_zqsd
bind q +moveleft_zqsd
bind s +back_zqsd
bind d +moveright_zqsd
// Leave this one right here
bind mouse1 +attack
// Keypress Checker Script - End
//////////////////////////////////////////////
echo Scripts Loaded [X]
//Final part
host_writeconfig //Store current settings to config.cfg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment