Skip to content

Instantly share code, notes, and snippets.

@mobeigi
Last active October 11, 2023 14:47
Show Gist options
  • Save mobeigi/579ad88d986ea5eac2fdae08f222fc5d to your computer and use it in GitHub Desktop.
Save mobeigi/579ad88d986ea5eac2fdae08f222fc5d to your computer and use it in GitHub Desktop.
Byte's CS2 Config
// Byte's CS2 config
// Updated 12/10/2023
echo ""
echo "##########################################"
echo " Executing Byte's autoexec.cfg"
echo "##########################################"
echo ""
// *********** Binds *****************
unbindall
bind "0" "slot10"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind "6" "slot6;slot12"
bind "7" "slot7"
bind "8" "slot8"
bind "9" "slot9"
bind "a" "+left"
bind "b" "buymenu"
bind "c" "radio3"
bind "d" "+right"
bind "e" "+use"
bind "f" "+lookatweapon"
bind "g" "drop"
alias "+dropbomb" "slot5"
alias "-dropbomb" "drop"
bind "h" "+dropbomb;"
bind "i" "show_loadout_toggle"
bind "j" ""
bind "k" "kill"
bind "m" "teammenu"
bind "n" "noclip"
bind "q" "lastinv"
bind "r" "+reload"
bind "s" "+back"
bind "u" "messagemode2"
bind "w" "+forward"
bind "x" "radio2"
bind "y" "messagemode"
bind "z" "radio1"
bind "`" "toggleconsole"
bind "," "buyammo1"
bind "." "buyammo2"
bind "SPACE" "+jump"
bind "TAB" "+showscores"
bind "ESCAPE" "cancelselect"
bind "DEL" "mute"
bind "PAUSE" "pause"
bind "SHIFT" "+sprint"
bind "CTRL" "+duck"
bind "F1" "autobuy"
bind "F2" "rebuy"
bind "F3" "askconnect_accept"
bind "F4" "bug"
bind "F5" "jpeg"
bind "F6" "save quick"
bind "F7" "load quick"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "MOUSE4" "+jump"
bind "MOUSE5" "+voicerecord"
bind "MWHEELUP" "slot1"
bind "MWHEELDOWN" "slot2"
bind MOUSE3 "player_ping"
bind "MOUSE_X" "yaw"
bind "MOUSE_Y" "pitch"
// *********** Default Overrides *****************
con_enable "1"
cl_clanid "7498695" // Invex Gaming
cl_autowepswitch "0"
cl_use_opens_buy_menu 0
gameinstructor_enable "0"
net_graph "1"
net_graphheight "50"
net_graphholdsvframerate "0"
net_graphmsecs "400"
net_graphpos "2"
net_graphproportionalfont "0"
net_graphshowinterp "1"
net_graphshowlatency "1"
net_graphshowsvframerate "0"
net_graphsolid "1"
net_graphtext "1"
sensitivity "1.5"
snd_menumusic_volume 0
snd_roundstart_volume 0
snd_roundend_volume 0.25
snd_mapobjective_volume 0
snd_tensecondwarning_volume 0
snd_deathcamera_volume 0
spec_show_xray "1"
volume "0.22"
// *********** Crosshair *****************
cl_crosshair_drawoutline "0"
cl_crosshair_dynamic_maxdist_splitratio "0"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "1.000000"
cl_crosshair_dynamic_splitdist "5"
cl_crosshair_friendly_warning "1"
cl_crosshair_outlinethickness "1"
cl_crosshair_sniper_show_normal_inaccuracy "0"
cl_crosshair_sniper_width "1"
cl_crosshair_t "0"
cl_crosshairalpha "255"
cl_crosshaircolor "5"
cl_crosshaircolor_b "0"
cl_crosshaircolor_g "255"
cl_crosshaircolor_r "255"
cl_crosshairdot "0"
cl_crosshairgap "-2"
cl_crosshairgap_useweaponvalue "0"
cl_crosshairsize "3"
cl_crosshairstyle "4"
cl_crosshairthickness "1"
cl_crosshairusealpha "1"
cl_fixedcrosshairgap "3"
// *********** Rates and Networking *****************
rate "786432" // max rate, lower if having network issues
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
// *********** Video *****************
mat_monitorgamma "1.6"
mat_queue_mode "-1" // auto detect multi-core rendering
fps_max "999"
fps_max_menu "144"
r_dynamic "0"
r_drawtracers_firstperson "0"
engine_no_focus_sleep "0" // default 50
// *********** Buyscript Binds *****************
//// Gun Alias
//Pistols
alias glock "buy glock"
alias elite "buy elite"
alias fiveseventec9 "buy tec9;buy fiveseven"
alias deagle "buy deagle"
alias pistol1 "buy hkp2000; buy tec9"
alias p250 "buy p250"
//Rifles
alias rifle1 "buy ak47; buy m4a1"
alias rifle2 "buy galilar; buy famas"
//SMG
alias p90 "buy p90"
alias mp7 "buy mp7"
alias smg1 "buy mp9; buy mac10"
alias bizon "buy bizon"
alias ump "buy ump45"
//Snipers
alias awp "buy awp"
alias autosniper "buy g3sg1; buy scar20"
alias scout "buy ssg08"
alias rifle-zoom "buy sg556; buy aug"
//Shotguns
alias autoshotty "buy xm1014"
alias shotgun1 "buy sawedoff; buy mag7"
alias nova "buy nova"
//Machine guns
alias negev "buy negev"
alias m249 "buy m249"
//Grenades
alias flashbang "buy flashbang"
alias smokegrenade "buy smokegrenade"
alias hegrenade "buy hegrenade"
alias firebomb "buy molotov; buy incgrenade"
alias decoy "buy decoy"
//Gear
alias vesthelm "buy vesthelm"
alias vest "buy vest"
alias defuser "buy defuser"
alias taser "buy taser"
//// Binds
//Middle keys (nades)
bind "ins" "smokegrenade"
bind "Home" "flashbang"
bind "pgup" "firebomb"
bind "del" "hegrenade"
bind "End" "decoy"
//bind "pgdn" ""
//Numpad (armour)
bind "KP_0" "vesthelm" //0
bind "KP_DEL" "vest" //dot .
bind "KP_ENTER" "defuser"
//Numpad (guns)
bind "KP_1" "rifle1"
bind "KP_2" "rifle2"
bind "KP_3" ""
bind "KP_4" "bizon"
bind "KP_5" "ump"
bind "KP_6" "p90"
bind "KP_7" "scout"
bind "KP_8" "awp"
bind "KP_9" "autosniper"
bind "KP_DIVIDE" "p250" // '/'
bind "KP_MULTIPLY" "fiveseventec9" //*
bind "KP_MINUS" "deagle" //-
//Sprays
bind "t" "+spray_menu"
//voice toggle
alias "clutch" "clutchon"
alias "clutchon" "voice_enable 0; alias clutch clutchoff; playvol buttons\blip2 0.5"
alias "clutchoff" "voice_enable 1; alias clutch clutchon; playvol buttons\blip2 0.5"
bind "v" "clutch"
// RECOMMENDED HEADPHONES SETTINGS
snd_front_headphone_position "53.2"
snd_rear_headphone_position "90.0"
snd_headphone_pan_exponent "1.2"
snd_headphone_pan_radial_weight "0.5"
// Viewmodel
cl_viewmodel_shift_left_amt "0.500000"
cl_viewmodel_shift_right_amt "0.250000"
viewmodel_presetpos 0 // Needs to be set to an invalid value so autoexec can overwrite custom values
viewmodel_fov "68"
viewmodel_offset_x "2.5"
viewmodel_offset_y "2"
viewmodel_offset_z "-1.5"
viewmodel_recoil "0"
cl_bob_lower_amt "5.000000"
cl_bobamt_lat "0.100000"
cl_bobamt_vert "0.100000"
cl_bobcycle "0.98"
// Radar
cl_radar_always_centered "0"
cl_radar_scale "0.35"
cl_hud_radar_scale "1.1"
cl_radar_icon_scale_min "0.7"
cl_radar_rotate "1"
cl_radar_square_with_scoreboard "1"
// Write config
host_writeconfig
echo ""
echo "##########################################"
echo " Byte's autoexec.cfg executed"
echo "##########################################"
echo ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment