Skip to content

Instantly share code, notes, and snippets.

@bencoveney
Last active September 2, 2023 13:43
Show Gist options
  • Save bencoveney/eff331c44fce21284e6a5a8a5a932662 to your computer and use it in GitHub Desktop.
Save bencoveney/eff331c44fce21284e6a5a8a5a932662 to your computer and use it in GitHub Desktop.
CSGO configuration
// Mouse
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
// Movement
bind "a" "+left"
bind "s" "+back"
bind "w" "+forward"
bind "d" "+right"
bind "MWHEELUP" "+jump"
bind "MWHEELDOWN" "+jump"
bind "CTRL" "+duck"
bind "SHIFT" "+sprint"
// Primary, secondary, knife
bind "SPACE" "slot1"
bind "f" "slot2"
bind "q" "slot3"
// Grenades
bind "1" "slot6"
bind "2" "slot7"
bind "3" "slot8"
bind "4" "slot10"
bind "6" "slot9"
bind "7" "slot12"
// Bomb
bind "5" "slot5"
// Interactions
bind "e" "+use"
bind "g" "drop"
bind "v" "+lookatweapon; r_cleardecals"
bind "r" "+reload"
// Menus
bind "b" "buymenu"
bind "h" "commandmenu"
bind "m" "teammenu"
bind "t" "+spray_menu"
bind "`" "toggleconsole"
bind "TAB" "+ng"
bind "ESCAPE" "cancelselect"
// Comms
bind "c" "+voicerecord"
bind "j" "cheer"
bind "x" "radio2"
bind "z" "radio1"
// Misc
bind "i" "say_team !r"
alias "+jumpthrow" "+jump;-attack"
alias "-jumpthrow" "-jump"
bind "alt" "+jumpthrow"
bind "ralt" "sv_rethrow_last_grenade"
// Unused
// bind "8" "slot8"
// bind "9" "slot9"
// bind "0" "slot10"
// Buy binds
// bind "kp_slash" "buy p250;"
// bind "kp_multiply" "buy tec9; buy fiveseven;"
// bind "kp_minus" "buy vest;"
// bind "kp_home" "buy hegrenade;"
// bind "kp_uparrow" "buy smokegrenade;"
// bind "kp_pgup" "buy flashbang;"
// bind "kp_leftarrow" "buy molotov; buy incgrenade;"
// bind "kp_5" "buy deagle;"
// bind "kp_rightarrow" "buy mp9; buy mac10;"
// bind "kp_end" "buy awp;"
// bind "kp_downarrow" "buy mag7;"
// bind "kp_ins" "buy ak47; buy m4a1;"
// bind "kp_del" "buy galilar; buy famas;"
// bind "kp_pgdn" "buy mp7;"
// bind "kp_enter" "buy defuser;"
// bind "kp_plus" "buy vesthelm;"
bind "kp_1" "buy awp;"
bind "kp_0" "buy m4a1;"
bind "kp_2" "buy aug;"
bind "kp_3" "buy mp5sd;"
bind "kp_4" "buy molotov; buy incgrenade;"
bind "kp_5" "buy deagle;"
bind "kp_6" "buy mp9;"
bind "kp_7" "buy hegrenade;"
bind "kp_8" "buy smokegrenade;"
bind "kp_9" "buy flashbang;"
bind "kp_del" "buy famas;"
bind "kp_enter" "buy defuser;"
bind "kp_plus" "buy vesthelm; buy vest;"
bind "kp_minus" "buy vest;"
bind "kp_multiply" "buy fn57;"
bind "kp_divide" "buy p250;"
// Tab Netgraph
// bind "TAB" "+ng";
// alias "+ng" "+showscores; net_graph 1";
// alias "-ng" "-showscores; net_graph 0";
bind "TAB" "+showscores";
// Crosshair
cl_crosshairalpha "255"
cl_crosshaircolor "5"
cl_crosshaircolor_b "50"
cl_crosshaircolor_r "50"
cl_crosshaircolor_g "250"
cl_crosshairdot "0"
cl_crosshairgap "-1"
cl_crosshairsize "4"
cl_crosshairstyle "4"
cl_crosshairusealpha "1"
cl_crosshairthickness "0.5"
cl_fixedcrosshairgap "1"
cl_crosshair_outlinethickness "1"
cl_crosshair_drawoutline "1"
cl_crosshair_t "1"
// Crosshair IDK?
cl_crosshair_dynamic_maxdist_splitratio "0"
cl_crosshair_dynamic_splitalpha_innermod "0"
cl_crosshair_dynamic_splitalpha_outermod "0.300000"
cl_crosshair_dynamic_splitdist "0"
cl_crosshair_sniper_show_normal_inaccuracy "0"
cl_crosshair_sniper_width "1"
cl_crosshairgap_useweaponvalue "0"
// Auto Weapon Switch
// cl_autowepswitch "0"
// Bobbing and Movement Shifting - remove all the dumb view bob
// cl_viewmodel_shift_left_amt "0"
// cl_viewmodel_shift_right_amt "0"
// cl_bob_lower_amt "0"
// cl_bobamt_lat "0"
// cl_bobamt_vert "0"
cl_showloadout "1"
// cl_bobcycle "1"
// Bypass OS Interface & Acceleration
// m_rawinput "1"
// m_mouseaccel1 "0"
// m_mouseaccel2 "0"
// Help Messages
gameinstructor_enable "0"
cl_autohelp "0"
// cl_showhelp "0"
// MOTD
// cl_disablehtmlmotd "1"
// Rates
// cl_cmdrate "128"
cl_updaterate "128"
cl_interp_ratio 1
rate 786432
// Sound
snd_deathcamera_volume 0
snd_mapobjective_volume 0 // The bomb music played prior to the ten-second warning
snd_menumusic_volume 0
snd_roundend_volume 0
snd_roundstart_volume 0
snd_tensecondwarning_volume 0.5 // The ten-second warning
snd_mute_losefocus 0 // This will allow game noise to play even though youve alt-tabbed out
// Map position
cl_radar_always_centered "0"
cl_radar_scale "0.3"
cl_hud_radar_scale "1.15"
cl_radar_icon_scale_min "1"
cl_radar_rotate "1"
cl_radar_square_with_scoreboard "1"
// FPS counter
cl_showfps 1
// Output to console
echo "Autoexec Config loaded"
host_writeconfig
sv_cheats 1;
game_mode 1;
game_type 0;
mp_limitteams 0;
mp_autoteambalance 0;
mp_roundtime_defuse 60;
mp_maxmoney 60000;
mp_startmoney 60000;
mp_freezetime 0;
mp_buytime 9999;
mp_buy_anywhere 1;
sv_infinite_ammo 1;
mp_autokick 0;
sv_grenade_trajectory 1;
sv_grenade_trajectory_time 20;
sv_showimpacts 1;
sv_showimpacts_penetration 1;
bot_kick;
mp_warmup_end;
mp_restartgame 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment