Skip to content

Instantly share code, notes, and snippets.

@itotallyrock
Last active December 7, 2023 08:06
Show Gist options
  • Save itotallyrock/cf29d538b20d05ad524633a3ccf9c71a to your computer and use it in GitHub Desktop.
Save itotallyrock/cf29d538b20d05ad524633a3ccf9c71a to your computer and use it in GitHub Desktop.
CS2 Config

Compiled on 2023-12-07 02:07:25

// og/aliases.cfg
//ALIASES
echo "[R0CK's EXEC] SETTING UP ALIASES"
alias "exit" "quit"
alias "dc" "disconnect"
alias "vt" "voiceoff"
alias "voiceon" "snd_voipvolume 0.5; echo Voice Enabled; alias vt voiceoff"
alias "voiceoff" "snd_voipvolume 0; echo Voice Disabled; alias vt voiceon"
voiceon
alias "practice" "bot_kick all; sv_cheats 1; give weapon_ak47; give weapon_smokegrenade; give weapon_hegrenade; give weapon_flashbang; give weapon_molotov; give weapon_incgrenade; sv_grenade_trajectory 1; sv_infinite_ammo 2; sv_showimpacts 1; god"
alias "togglesound" "mute"
alias "mute" "volume 0; echo Muting Game Sounds; alias togglesound unmute"
alias "unmute" "volume 0.3; echo Unmuting Game Sounds; alias togglesound mute"
alias "togglemusic" "mutemusic"
alias "mutemusic" "snd_musicvolume 0; echo Muting Music; alias togglemusic unmutemusic"
alias "unmutemusic" "snd_musicvolume 0.07; echo Unmuting Music; alias togglemusic mutemusic"
alias "exit" "quit"
// Grenade aliases
alias "useflash" "slot3; slot7"
alias "usehe" "slot3; slot6"
alias "usesmoke" "slot3; slot8"
alias "usefire" "slot3; slot10"
// Alt aliases
alias "+q_reg" "lastinv"
alias "-q_reg" ""
alias "+q_alt" "followme"
alias "-q_alt" ""
alias "+r_reg" "+reload"
alias "-r_reg" "-reload"
alias "+r_alt" "fallback"
alias "-r_alt" ""
alias "+z_reg" "useflash"
alias "-z_reg" ""
alias "+z_alt" "cheer"
alias "-z_alt" ""
alias "+f_reg" "+lookatweapon"
alias "-f_reg" "-lookatweapon"
alias "+f_alt" "thanks"
alias "-f_alt" ""
alias "+t_reg" "usefire"
alias "-t_reg" ""
alias "+t_alt" "getout"
alias "-t_alt" ""
alias "+c_reg" "usehe"
alias "-c_reg" ""
alias "+c_alt" "sectorclear"
alias "-c_alt" ""
alias "+g_reg" "drop"
alias "-g_reg" "-spray_menu"
alias "+g_alt" "+spray_menu"
alias "-g_alt" "-spray_menu"
alias "+x_reg" "+voicerecord"
alias "-x_reg" "-voicerecord"
alias "+x_alt" "slot12"
alias "-x_alt" ""
alias "+v_reg" "usesmoke"
alias "-v_reg" ""
alias "+v_alt" "+cl_show_team_equipment"
alias "-v_alt" "-cl_show_team_equipment"
alias "+alt" "bind q +q_alt;bind r +r_alt;bind x +x_alt;bind z +z_alt;bind f +f_alt;bind t +t_alt;bind c +c_alt;bind g +g_alt;bind v +v_alt;"
alias "-alt" "bind q +q_reg;bind r +r_reg;bind x +x_reg;bind z +z_reg;bind f +f_reg;bind t +t_reg;bind c +c_reg;bind g +g_reg;bind v +v_reg;"
echo "[R0CK's EXEC] SETUP ALL ALIASES"
// og/autobind.cfg
//BINDS
echo "[R0CK's EXEC] LOADING BINDS"
bind "kp_1" "buy awp"
bind "kp_4" "buy ssg08"
bind "kp_2" "buy ak47; buy m4a1"
bind "kp_3" "buy tec9; buy fiveseven"
bind "kp_6" "buy p250"
bind "kp_5" "buy deagle"
bind "kp_enter" "buy smokegrenade; buy hegrenade; buy molotov; buy incgrenade; buy flashbang"
bind "kp_plus" "buy smokegrenade; buy molotov; buy incgrenade; buy flashbang; buy flashbang"
bind "kp_0" "buy vesthelm; buy vest"
bind "kp_del" "buy defuser"
bind "kp_8" "buy sg556; buy aug"
echo "[R0CK's EXEC] LOADED ALL AUTOBUYS"
//TOGGLE CROUCH/WALK
option_duck_method "0"
option_speed_method "0"
echo "[R0CK's EXEC] RESET TOGGLE CROUCH/WALK"
bind "mwheelup" "" //UNBIND SCROLL
bind "mwheeldown" "+jump" //BHOP
bind "=" "togglesound" //MUTE GAME
bind "-" "togglemusic" //MUTE MUSIC
bind "H" "vt" //TOGGLE VOICE
cl_use_opens_buy_menu "0" //DISABLE USE BUY MENU
// GRENADE QUICKSWITCHES
bind "Z" "useflash"
bind "C" "usehe"
bind "T" "usefire"
echo "[R0CK's EXEC] LOADED: GRENADE QUICKSWITCHES"
// Chat binds
bind "j" "+radialradio"
bind "k" "+radialradio2"
bind "l" "+radialradio3"
bind "p" "say ᵧₒᵤᶠᵘᶜᵏ"
bind "o" "say -$50"
// Alt Key Binds
bind "alt" "+alt";
echo "[R0CK's EXEC] LOADED ALL BINDS"
// og/autoexec.cfg
echo "[R0CK's EXEC] INITIALIZING"
exec "og/reset"
//SOUND
snd_musicvolume "0.03"
snd_voipvolume "0.5"
volume "0.3"
snd_setmixer Dialog vol 0.1 //Radio commands
// HRTF New Sound
snd_mixahead 0.05
snd_headphone_pan_exponent 3
snd_headphone_pan_radial_weight 1
snd_front_headphone_position 53.2 //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 126.8
snd_tensecondwarning_volume 0.07
echo "[R0CK's EXEC] LOADED AUDIO SETTINGS"
//SENSITIVITY
m_pitch "0.022"
m_yaw "0.022"
sensitivity "1.8"
echo "[R0CK's EXEC] LOADED MOUSE SETTINGS"
//RADAR SCALE
cl_hud_radar_scale "0.900000"
echo "[R0CK's EXEC] LOADED RADAR SCALE"` `
//TICK RATE
cl_lagcompensation "1"
cl_predict "1"
cl_predictweapons "1"
echo "[R0CK's EXEC] LOADED TICK RATE SETTINGS"
//MM SETTINGS
mm_dedicated_search_maxping "30"
mm_dedicated_force_servers ""
lobby_default_privacy_bits2 0
echo "[R0CK's EXEC] LOADED MM SETTINGS"
//HELP MESSAGES
gameinstructor_enable "0"
cl_autohelp "0"
//CLIENT DEFAULTS
cl_join_advertise "2" //Allows teammates to join community servers
cl_dm_buyrandomweapons "0"
cl_teammate_colors_show "1"
cl_draw_only_deathnotices "0"
cl_hud_color "4"//4 purple 9 cyan
cl_resend "2"
echo "[R0CK's EXEC] RESET: CLIENT DEFAULTS"
cl_color "4"
//cl_clanid "8627658" //BushidoCS
//cl_clanid "7472593" //LSHOTS
//cl_clanid "10565319" //TEAM PIZZA CATS
//cl_clanid "10565568" //TEAM TRVLR
//cl_clanid "11663672" //TEAM PHEIR
//cl_clanid "11433149" //NOX ATRA
cl_clanid "0"
echo "[R0CK's EXEC] SET CLANID"
exec "og/aliases"
exec "og/autobind"
exec "og/viewmodel"
exec "og/crosshair"
echo "[R0CK's EXEC] FINISHED LOADING"
// og/crosshair.cfg
echo "[R0CK's EXEC] CONFIGURING CROSSHAIR"
cl_crosshair_drawoutline "1"
cl_crosshair_dynamic_maxdist_splitratio "0.35"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.5"
cl_crosshair_dynamic_splitdist "7"
cl_crosshair_outlinethickness "1"
cl_crosshair_sniper_width "1"
cl_crosshairalpha "200"
cl_crosshaircolor "5"
cl_crosshaircolor_b "152"
cl_crosshaircolor_g "11"
cl_crosshaircolor_r "222"
cl_crosshairdot "0"
cl_crosshairgap "-1.5"
cl_crosshairgap_useweaponvalue "0"
cl_crosshairsize "3"
cl_crosshairstyle "4"
cl_crosshairthickness "0"
cl_crosshairusealpha "1"
cl_fixedcrosshairgap "3"
echo "[R0CK's EXEC] LOADED CROSSHAIR"
// og/reset.cfg
echo "[R0CK's EXEC] RESETTING BINDS"
unbindall
bind "0" "slot10"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind "6" "slot6"
bind "7" "slot7"
bind "8" "slot8"
bind "9" "slot9"
bind "n" "slot12"
bind "a" "+left"
bind "b" "buymenu"
bind "c" "+c_reg"
bind "d" "+right"
bind "e" "+use"
bind "f" "+f_reg"
bind "g" "+g_reg"
bind "i" "show_loadout_toggle"
bind "k" "kill"
bind "m" "teammenu"
bind "q" "+q_reg"
bind "r" "+r_reg"
bind "s" "+back"
bind "t" "+t_reg"
bind "u" "messagemode2"
bind "v" "+v_reg"
bind "w" "+forward"
bind "x" "+x_reg"
bind "y" "messagemode"
bind "z" "+z_reg"
bind "`" "toggleconsole"
bind "," "buyammo1"
bind "." "buyammo2"
bind "SPACE" "+jump"
bind "TAB" "+showscores"
bind "ESCAPE" "cancelselect"
bind "ENTER" "messagemode"
bind "DEL" "mute"
bind "PAUSE" "pause"
bind "SHIFT" "+duck"
bind "CTRL" "+sprint"
bind "F3" "autobuy"
bind "F4" "rebuy"
bind "F5" "jpeg"
bind "F6" "save quick"
bind "F7" "load quick"
bind "F10" "quit prompt"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "MOUSE3" "player_ping"
bind "MWHEELDOWN" "+jump"
bind "X_AXIS" "rightleft"
bind "Y_AXIS" "!forwardback"
bind "MOUSE_X" "yaw"
bind "MOUSE_Y" "pitch"
bind "U_AXIS" "yaw"
bind "R_AXIS" "pitch"
echo "[R0CK's EXEC] RESET BINDS CONFIG."
// og/viewmodel.cfg
echo "[R0CK's EXEC] CONFIGURING VIEWMODEL"
viewmodel_fov "63"
viewmodel_offset_x "1.25"
viewmodel_offset_y "0.75"
viewmodel_offset_z "-1.25"
echo "[R0CK's EXEC] LOADED VIEWMODEL"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment