Skip to content

Instantly share code, notes, and snippets.

@master-hax
Last active October 1, 2023 07:50
Show Gist options
  • Save master-hax/f2a2655117a7dcd63e6ba29473625e4b to your computer and use it in GitHub Desktop.
Save master-hax/f2a2655117a7dcd63e6ba29473625e4b to your computer and use it in GitHub Desktop.
cs2 config
// my CS2 config file
// crosshair code CSGO-A2KWo-P6kQJ-dAJQP-iAzGm-YSc3K
// mouse sensitivity stuff
sensitivity "1.65"
// HUD scaling for ultrawide
safezonex 0.55
safezoney 1.0
hud_scaling 0.8
developer "1"
cl_teamid_overhead_mode "2"
alias showvoice "con_filter_text voice_"
alias showdamage "con_filter_text Damage"
alias showradar "con_filter_text radar_"
// radar zoom changer
alias radar_normal "cl_radar_scale 0.40; playvol buttons\blip1 0.2; clear; echo radar_scale[0.40]; alias radar_action radar_big; showdamage"
alias radar_big "cl_radar_scale 0.80; playvol buttons\blip1 0.2; clear; echo radar_scale[0.60]; alias radar_action radar_normal; showdamage"
alias radar_action "radar_normal"
alias "+radarkey" "showradar"
alias "-radarkey" "radar_action"
alias "dc" "disconnect"
alias "gg" "disconnect"
// keybinds
unbindall // unbinds all keys
bind "`" "toggleconsole"
bind "F1" "callvote"
bind "F3" "autobuy"
bind "MOUSE_X" "yaw"
bind "MOUSE_Y" "pitch"
bind "w" "+forward"
bind "s" "+back"
bind "a" "+left"
bind "d" "+right"
bind "e" "+use"
bind "g" "drop"
bind "SHIFT" "+sprint"
bind "ctrl" "+duck"
bind "space" "+jump"
bind "f" "+lookatweapon" // inspect weapon
bind "v" "toggle cl_righthand" // toggle right hand/left hand
bind "u" "messagemode2" // team chat
bind "y" "messagemode" // public chat
bind "k" "+voicerecord" // push to talk
bind "n" "player_ping" // ping things
bind "tab" "+showscores" // scoreboard
bind "t" "+spray_menu"
bind "x" "radio;"
bind "b" "buymenu"
//bind "m" "+mutekey" // for old mute alias
bind "m" "clutch_mode_toggle" // temporarily mute team
bind "h" "+radarkey" // see alias above
bind "1" "slot3" // knife
bind "2" "slot2; slot1" // primary/secondary if no primary
bind "3" "slot2" // secondary
bind "4" "slot4" // cycle grenade
bind "MOUSE3" "slot5" // bomb
bind "q" "slot5" // HE grenade
bind "z" "slot7" // flashbang
bind "x" "slot8" // smoke grenade
bind "c" "slot10" // molotov
bind "v" "slot12" // healthshot for Danger Zone
bind "mouse1" "+attack" // shoot
bind "mouse2" "+attack2" // zoom
bind "r" "+reload"
bind "mwheeldown" "+jump"
bind "alt" "-attack; r_cleardecals 1" // for jump throw with space and clears map decals
bind "F9" "buy flashbang"
bind "F10" "buy smokegrenade"
bind "F11" "buy hegrenade"
bind "F12" "buy incgrenade; buy molotov"
bind "ins" "buy ak47; buy m4a1"
bind "home" "buy ssg08"
bind "pgup" "buy awp"
bind "del" "buy p250"
bind "end" "buy fiveseven; buy tec9"
bind "pgdn" "buy deagle"
bind "uparrow" "buy vesthelm"
bind "downarrow" "buy vest"
bind "rightarrow" "buy defuser"
bind "leftarrow" "buy decoy"
//host_writeconfig // persistently saves settings to host config file
echo “”
echo “”
echo “”
echo “########## BEST_CONFIG LOADED ##########”
echo “”
echo “”
echo “”
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment