Skip to content

Instantly share code, notes, and snippets.

@leg7
Created August 28, 2022 18:31
Show Gist options
  • Save leg7/3730dcf8ded036d026b86994b3b017d1 to your computer and use it in GitHub Desktop.
Save leg7/3730dcf8ded036d026b86994b3b017d1 to your computer and use it in GitHub Desktop.
My old csgo cfgs (retired from gayming)
// WARNING: This is my autoexec and most settings are my preferences, keep this in mind if you want to use this. I use very different binds than everyone else and also use the dvorak keyboard layout for peak autism.
// This is a csgo configuration file that loads all my settings when the game starts, to use it go to your csgo game folder and put this file into the "cfg" folder so "csgo/cfg/". Also add +exec autoexec to your steam launch options
// or manually load it ingame by opening the console and typing "exec autoexec".
// Every setting has been tested to work there is no esoteric bs that doesn't even work in this autoexec
// Launch Options: "-novid -tickrate 128 -freq 240 +exec autoexec" (Use 64 tick when surfing if you don't want to get blocked by invisible walls mid surf)
// FEATURES: - Every useful action is bound and easily changable making this a very good basis to modify and make your own personal autoexec
// - Weird choices besides keybinds are marked by comments like so "//*"
// - No 10000 nonsense commands that probably do nothing except destroy your game
// - Toggle the entire voice chat on or off with a text chat notice on the press of a key
// - Weapons and knife dropper for custom games (requires you to download the extra knife.cfg on my gist page, see above)
// - Grenade practice binds like no clip, simulate trajectory, clear smokes, rethrow grenade and more (download my extra nades.cfg on my gist page and just press f3 in your custom lobby for it to setup everything)
// - Disable HUD with F10
// - Quick weapon switch to animation cancel bind
// - Jumpthrow bind
// - Bomb drop bind
// - Increases grenade switching speed
// - Inspect your knife with the key you use to pull it out, sometimes automatically inspects your knife when you select it.
// - "Netgraph" on TAB
// - Radar size toggle to see the entire map or a zoomed in version
// - Franzj sounds (removed from this version)
// - Type "dc" in the console to leave a lobby
// - Tye "dust" to load a private dust2 lobby, works with every map.
// - Display damage given and damage taken at the top left of your screen after death
// - Probably more I can't think of because this config is so based
//CLEAR
unbindall // Unbinds everything to get a clean slate
snd_async_flush
//SENS
sensitivity "1.04"
zoom_sensitivity_ratio_mouse "0.818933027098955175" // This is 0% Monitor distance for Awp single scope (Highly recommended)
m_rawinput "1"
m_pitch "0.022"
m_yaw "0.022"
m_customaccel "0"
m_mouseaccel1 "0"
m_mouseaccel2 "0"
m_mousespeed "0"
//BINDS (I use dvorak and an analog keyboard this is why my keybinds look very wierd or impossible to use)
//MOUSE
bind "mouse1" "+attack" // See aliases
bind "mouse2" "+attack2"
bind "mouse3" "player_ping"
bind "mouse4" "+voicerecord"
bind "mouse5" "toggle cl_radar_scale 0.85 0.38" // Toggles the radar focus between your whereabouts (zoomed in) and the whole map (zoomed out)
bind "mwheeldown" "+jump"
bind "mwheelup" "+use" // Snatch weapon drops :)))))
//DIRECTIONAL
bind "ralt" "+forward"
bind "rctrl" "+back" // I swapped the right super key (windows key) with right control to make this possible, I'm not an alien.
bind "t" "+moveleft"
bind "n" "+moveright;r_cleardecals"
bind "h" "+duck"
bind "d" "+speed"
option_duck_method "0" // Sets crouch to hold
option_speed_method "0" // Sets walk to hold
//SELECT
bind "f" "slot1"
bind "g" "slot2"
bind "i" "slot3;+lookatweapon"
bind "w" "slot5"
bind "m" "use weapon_knife;use weapon_hegrenade;buy hegrenade"
bind "y" "use weapon_knife;use weapon_flashbang;buy flashbang"
bind "b" "use weapon_knife;use weapon_smokegrenade;buy smokegrenade"
bind "k" "use weapon_knife;use weapon_decoy;buy decoy"
bind "x" "use weapon_knife;use weapon_incgrenade;use weapon_molotov;buy molotov"
bind "r" "+switch" // quickswitch
//INTERACT
bind "s" "+use;use weapon_healthshot;buy defuser" // Selects the healthshot with your interact button
bind "l" "+reload"
bind "-" "drop"
bind "v" "+jumpthrow"
bind "8" "+lookatweapon"
bind "tab" "toggle cl_righthand 1 0" //* toggles the viewmodel between left handed and right handed
bind "z" "buymenu"
bind "/" "+_scoregraph"
bind "enter" "say_team"
bind "space" "toggleVoice"
//BUY
//bind "'" "buy tec9"
//bind "," "buy mac10"
//bind "." "buy ak-47;buy m4a1"
//bind "p" "buy sg556"
//bind "a" "buy deagle"
//bind "o" "buy ssg08"
//bind "e" "buy awp"
//bind "semicolon" "buy vest"
//bind "q" "buy vesthelm"
//bind "shift" "buy defuser"
//OTHER
bind "f1" "exec autoexec"
bind "f3" "exec nades"
bind "f11" "exec surf"
bind "f4" "allnades"
bind "f5" "rifles"
bind "f6" "smgs"
bind "f7" "heavy"
bind "f8" "pistols"
bind "f9" "knives"
bind "f10" "toggle cl_drawhud;toggle cl_draw_only_deathnotices"
bind "leftarrow" "say plz enjoy game"
bind "rightarrow" "say good game, wp"
bind "uparrow" "say knife from below in 3 2 1..."
bind "downarrow" "say behind you :)"
bind "6" "noclip;say .noclip"
bind "0" "sv_rethrow_last_grenade"
bind "9" "cl_sim_grenade_trajectory 12"
bind "]" "+clearsmoke"
//ALIASES
alias "dc" "disconnect"
alias "nuke" "map nuke"
alias "mirage "map mirage"
alias "cache" "map cache"
alias "inferno "map inferno"
alias "train" "map train"
alias "vertigo" "map vertigo"
alias "overpass" "map overpass"
alias "dust" "map dust2"
//JUMPTHROW
alias "+jumpthrow" "+jump;-attack"
alias "-jumpthrow" "-jump"
//CLEARSMOKE
alias "+clearsmoke" "host_timescale 18"
alias "-clearsmoke" "host_timescale 1"
//NETGRAPH
alias "+_scoregraph" "+showscores;net_graphheight 64"
alias "-_scoregraph" "-showscores;net_graphheight 9999"
//QUICKSWITCH
alias "+switch" "slot3"
alias "-switch" "lastinv"
//BUY
alias "avp" "buy awp"
alias "bfg" "buy negev"
alias "chopper" "buy tec9"
//GIVE (Can't include knives, they have to be in a separate cfg)
alias "allnades" "give weapon_flashbang;give weapon_hegrenade;give weapon_incgrenade;give weapon_smokegrenade;give weapon_decoy"
alias "rifles" "give weapon_m4a1;give weapon_m4a1_silencer;give weapon_ak47;give weapon_aug;give weapon_awp;give weapon_famas;give weapon_g3sg1;give weapon_galilar;give weapon_scar20;give weapon_sg556;give weapon_ssg08"
alias "smgs" "give weapon_bizon;give weapon_mac10;give weapon_mp7;give weapon_mp9;give weapon_p90;give weapon_ump45;give weapon_mp5sd"
alias "heavy" "give weapon_m249;give weapon_mag7;give weapon_negev;give weapon_nova;give weapon_sawedoff;give weapon_xm1014"
alias "pistols" "give weapon_usp_silencer;give weapon_deagle;give weapon_elite;give weapon_fiveseven;give weapon_glock;give weapon_hkp2000;give weapon_p250;give weapon_tec9;give weapon_cz75a;give weapon_revolver"
alias "knives" "exec knife"
//MUTE_SWITCH
alias "toggleVoice" "disableVoice"
alias "disableVoice" "alias toggleVoice enableVoice;voice_enable 0;say_team I'm turning voice chat OFF"
alias "enableVoice" "alias toggleVoice disableVoice;voice_enable 1;say_team I'm turning voice chat ON"
//VIEWMODEL
viewmodel_fov "68"
viewmodel_offset_x "2.5"
viewmodel_offset_y "2"
viewmodel_offset_z "-2"
viewmodel_recoil "0"
cl_viewmodel_shift_left_amt "2"
cl_viewmodel_shift_right_amt "2"
cl_righthand "0" //* Makes your viewmodel left-handed
//BOB (default values)
cl_bob_lower_amt "21" //5 Lowest
cl_bobamt_lat "0.4" //0.1 Lowest
cl_bobamt_vert "0.25" //0.1 Lowest
cl_bobcycle "0.98" //(Default)
//HUD
hud_scaling "0.75"
safezonex "1"
safezoney "1"
cl_hud_color "10"
cl_hud_playercount_showcount "1"
cl_hud_playercount_pos "0"
cl_hud_healthammo_style "1"
cl_hud_background_alpha "0.35"
cl_showloadout "1"
hud_showtargetid "0"
cl_show_clan_in_death_notice "0"
//COMMS
cl_mute_all_but_friends_and_party "0" //* No rage
cl_mute_enemy_team "1" //*
//DAMAGEOUTPUT
con_filter_text "damage"
con_filter_text_out "Player:"
con_filter_enable "2"
developer "1"
//NETGRAPH
net_graph "1"
net_graphproportionalfont "1"
net_graphpos "2"
//RADAR
cl_hud_bomb_under_radar "1"
cl_teammate_colors_show "1"
cl_radar_always_centered "0"
cl_radar_scale "0.35"
cl_hud_radar_scale "1.3"
cl_radar_icon_scale_min "0.4"
cl_radar_rotate "0"
cl_radar_square_with_scoreboard "1"
//CROSSHAIR
cl_crosshaircolor_r "127"
cl_crosshaircolor_g "255"
cl_crosshaircolor_b "0"
cl_crosshairusealpha "1"
cl_crosshairalpha "255"
cl_crosshaircolor "5"
cl_crosshair_drawoutline "0"
cl_crosshair_outlinethickness "0.8"
cl_crosshairsize "1.1"
cl_crosshairthickness "0.5"
cl_crosshairgap "-2.1"
cl_crosshairgap_useweaponvalue "0"
cl_crosshairstyle "4" // 4 is static crosshair
cl_crosshairdot "0"
cl_crosshair_t "0"
cl_crosshair_sniper_width "2" //* Thickness of the sniper scope lines
//SOUND
//VOLUMES
volume "1"
voice_system_enable "1"
voice_scale "0.7" // Teammate voip volume
voice_loopback "0" //* Hear yourself in-game
voice_enable "1"
snd_deathcamera_volume "0.0"
snd_mapobjective_volume "0.0"
snd_menumusic_volume "0.0"
snd_mvp_volume "0"
snd_mute_losefocus "0" // Keeps the game audio running while alt-tabbed so you can hear the notification when you find a game
snd_roundend_volume "0"
snd_roundstart_volume "0.0"
snd_tensecondwarning_volume "0.18" // Keep this high enough so you know if you have time to defuse without a kit or not
//SETTINGS
snd_mix_async "1" // I guess this allows asynchronous processing of audio in-game so it most likely is already on by default
snd_mixahead "0.10" // Sound buffer size in ms, Value range to be used (0.01-0.1)
snd_pitchquality "1" // Because it is the default value , and if it is messed up for you , it might make a difference in the bad sense of the word.
snd_ducking_off "1"
dsp_enhance_stereo "0"
//NON HRTF (I don't recommend using this)
//snd_occlusion_eq_high
//snd_front_headphone_position "45.0" // 43.2 (5:4 resolution), 45.0 (4:3 resolution), 50.2 (16:10 resolution), or 53.2 (16:9 resolution)
//snd_rear_headphone_position "90.0"
//snd_headphone_pan_exponent "1.2"
//snd_headphone_pan_radial_weight "0.5"
//HRTF (Leave these to default like this when using hrtf)
snd_front_headphone_position "90.0"
snd_rear_headphone_position "90.0"
snd_headphone_pan_exponent "1"
snd_headphone_pan_radial_weight "1"
//NETWORKING
rate "786432" //* This is the rate for connections that are atleast 6Mbps, adjust according to your internet speeds
cl_cmdrate "128" // 128 tick servers require this rate (64 will default to 64 for you, no need to edit)
cl_updaterate "128" // 128 tick servesr require this rate (64 will default to 64 for you, no need to edit)
cl_interp "0"
cl_interpolate "1"
cl_interp_ratio "1" // Common interp setting for MM/League
cl_predict "1"
cl_predictweapons "1"
cl_lagcompensation "1"
net_client_steamdatagram_enable_override "1"
mm_dedicated_search_maxping "25" // Max server ping allowed in MM search, try bumping this up if you can't find games
//OTHER
//ENABLE CONSOLE
con_enable "1"
//ANALOG
joystick "0" //* Enables controller support
//GAMEPLAY
gameinstructor_enable "0"
cl_use_opens_buy_menu "0"
cl_autowepswitch "0"
cl_autohelp "0"
cl_showhelp "0"
cl_disablefreezecam "0"
cl_disablehtmlmotd "1"
cl_dm_buyrandomweapons "0" // Turns off random weapons in deathmatch
//PERFORMANCE
mat_queue_mode "2" // Enables multicore rendering
cl_forcepreload "1" // Preloads assets for better performance on most systems.
fps_max "0" //*
fps_max_menu "120" //*
//GRAPHICS
mat_monitorgamma "2.2" // Default brightness setting (I highly recommend not changing your brightness ingame to try to see things better in-game)
r_dynamic "0" // Disables dynamic lighting
r_drawtracers_firstperson "0" // Disables first person bullet trails you can see when shooting a weapon
//END
host_writeconfig // Forces the changes to be written to the config.cfg file
echo "! - - - - - - - - - - - - - - - ! Autoexec loaded ! - - - - - - - - - - - - - - - !"
// This config drops every knife in the game and let's you drop your knife to pick up another one
sv_cheats 1
mp_drop_knife_enable 1
give weapon_knifegg;ent_fire weapon_knife addoutput "classname weapon_knifegg"
give weapon_knife_css;ent_fire weapon_knife addoutput "classname weapon_knifegg"
give weapon_bayonet;ent_fire weapon_knife addoutput "classname weapon_knifegg"
give weapon_knife_flip;ent_fire weapon_knife addoutput "classname weapon_knifegg"
give weapon_knife_gut;ent_fire weapon_knife addoutput "classname weapon_knifegg"
give weapon_knife_karambit;ent_fire weapon_knife addoutput "classname weapon_knifegg"
give weapon_knife_m9_bayonet;ent_fire weapon_knife addoutput "classname weapon_knifegg"
give weapon_knife_tactical;ent_fire weapon_knife addoutput "classname weapon_knifegg"
give weapon_knife_butterfly;ent_fire weapon_knife addoutput "classname weapon_knifegg"
give weapon_knife_falchion;ent_fire weapon_knife addoutput "classname weapon_knifegg"
give weapon_knife_falchion;ent_fire weapon_knife addoutput "classname weapon_knifegg"
give weapon_knife_push;ent_fire weapon_knife addoutput "classname weapon_knifegg"
give weapon_knife_survival_bowie;ent_fire weapon_knife addoutput "classname weapon_knifegg"
give weapon_knife_ursus;ent_fire weapon_knife addoutput "classname weapon_knifegg"
give weapon_knife_gypsy_jackknife;ent_fire weapon_knife addoutput "classname weapon_knifegg"
give weapon_knife_stiletto;ent_fire weapon_knife addoutput "classname weapon_knifegg"
give weapon_knife_widowmaker;ent_fire weapon_knife addoutput "classname weapon_knifegg"
give weapon_knife_ghost;ent_fire weapon_knife addoutput "classname weapon_knifegg"
give weapon_knife_canis;ent_fire weapon_knife addoutput "classname weapon_knifegg"
give weapon_knife_cord;ent_fire weapon_knife addoutput "classname weapon_knifegg"
give weapon_knife_skeleton;ent_fire weapon_knife addoutput "classname weapon_knifegg"
give weapon_knife_outdoor;ent_fire weapon_knife addoutput "classname weapon_knifegg"
give weapon_axe;ent_fire weapon_melee addoutput "classname weapon_knifegg"
give weapon_hammer;ent_fire weapon_melee addoutput "classname weapon_knifegg"
give weapon_spanner;ent_fire weapon_melee addoutput "classname weapon_knifegg"
// This cfg file sets up your private lobby for practicing and learning nades
// This nade setup assumes you've bound noclip, rethrownade, givenades, sim_preview and smokeclear commands in your autoexec. The binds are right below if you need them.
// If you use my autoexec just type F3 to setup your lobby with these settings, otherwise place this in csgo's /cfg folder and then type "exec nades" in your console without quotes to use the config in a practice lobby
// Uncomment/change the binds you need, I already have them bound in my autoexec
//BINDS (useful binds you will want while practicing)
//bind "5" "noclip;say .noclip"
//bind "z" "sv_rethrow_last_grenade"
//bind "/" "cl_sim_grenade_trajectory 9"
//bind "=" "+clearsmoke"
//alias "+clearsmoke" "host_timescale 18"
//alias "-clearsmoke" "host_timescale 1"
//bind "F3" "exec nades"
//bind "F4" "allnades"
//alias "allnades" "give weapon_flashbang;give weapon_hegrenade;give weapon_incgrenade;give weapon_smokegrenade;give weapon_decoy"
//GENERAL SETUP
mp_limitteams 0
mp_autoteambalance 0
bot_kick
sv_cheats 1
sv_infinite_ammo 1
sv_showimpacts 1
sv_showimpacts_time 6
//NADE PREVIEWS AND TRAJECTORIES
sv_grenade_trajectory 1
cl_grenadepreview 1
sv_grenade_trajectory_time 10
sv_grenade_trajectory_dash 1
sv_grenade_trajectory_thickness 0.4
//BUY SETTINGS
mp_buy_anywhere 1
mp_buy_allow_grenades 1
mp_buytime 60000
mp_maxmoney 60000
mp_startmoney 60000
mp_afterroundmoney 60000
ammo_grenade_limit_total 5
//ROUND SETTINGS
mp_freezetime 0
mp_roundtime 60
mp_roundtime_defuse 60
mp_limitteams 0
mp_autoteambalance 0
mp_respawn_on_death_ct 1
mp_respawn_on_death_t 1
mp_humanteam any
//END
mp_warmup_end
mp_restartgame 1
fadein; fadeout; fadein; fadeout; fadein; fadeout
echo "! - - - - - ! Nade Practice Config Loaded ! - - - - - !"
// This is a configuration file for csgo players who wish to play surf maps.
// I'm not very good at surfing but these are the settings I use to surf, I don't know if they are correct but they work for me
// To surf put this file in your csgo's cfg folder and type "exec surf" without quotes in the console while in your surf map of choice, alternatively you if you use my autoexec just press F11
sv_cheats 1
//ROUND SETTINGS
bot_kick
mp_limitteams 0
mp_autoteambalance 0
mp_freezetime 0
mp_solid_teammates 0
mp_roundtime 999999
mp_timelimit 999999
mp_round_restart_delay 0
mp_roundtime_deployment 0
//AUTO BHOP
sv_enablebunnyhopping 1
sv_autobunnyhopping 1
sv_staminamax 0
sv_staminajumpcost 0
sv_staminalandcost 0
sv_staminarecoveryrate 0
//SURF SETTINGS
sv_airaccelerate 150
sv_accelerate 10
sv_accelerate_use_weapon_speed 0 // So you can surf with negev like a chad
sv_maxvelocity 10000
mp_restartgame 1
fadein; fadeout; fadein; fadeout; fadein; fadeout
echo "! - - - - - ! Surf Config Loaded ! - - - - - !"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment