csgo-autoexec/autoexec.cfg

144 lines
3 KiB
INI
Executable file

//
// CS2 autoexec
//
// Launch arguments: gamemoderun %command% +exec autoexec.cfg
//
// https://github.com/Guanran928/csgo-autoexec
// thanks @jounim! https://steamcommunity.com/sharedfiles/filedetails/?id=3035701443
//
// Alias
alias +duckjump "+jump; +duck"
alias -duckjump "-jump; -duck"
alias +incvol "+sprint; volume 1"
alias -incvol "-sprint; volume 0.5"
alias +switchknife slot3
alias -switchknife lastinv
// Sensitivity
// https://www.reddit.com/r/GlobalOffensive/comments/43urd4/why_0818933027098955175_is_the_best_zoom/
sensitivity "1"
zoom_sensitivity_ratio "0.818933027098955175"
// Binds
unbindall
cl_use_opens_buy_menu "0"
// Movement binds
bind "w" "+forward"
bind "a" "+left"
bind "s" "+back"
bind "d" "+right"
bind "CTRL" "+duck"
bind "SHIFT" "+incvol"
bind "SPACE" "+duckjump"
bind "MWHEELUP" "+jump"
bind "MWHEELDOWN" "+jump"
bind "MOUSE_X" "yaw"
bind "MOUSE_Y" "pitch"
bind "MOUSE3" "exec jumpthrow.cfg"
// Weapon binds
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "r" "+reload"
bind "e" "+use"
bind "f" "+lookatweapon"
bind "g" "drop"
// UI binds
bind "TAB" "+showscores"
bind "ESCAPE" "cancelselect"
bind "`" "toggleconsole"
bind "b" "buymenu"
bind "m" "teammenu"
bind "t" "+spray_menu"
// Slot binds
bind "1" "slot1" // primary
bind "2" "slot2" // secondary
bind "3" "slot8" // smoke
bind "4" "slot10" // molly
bind "z" "slot6" // he
bind "x" "slot7" // flash
bind "MOUSE4" "slot3" // knife
bind "5" "slot5" // c4
bind "0" "slot12" // healthshot
bind "q" "+switchknife" // quick switch
// Communication binds
// Text
bind "y" "messagemode" // all chat
bind "u" "messagemode2" // team chat
// Voice
bind "j" "toggle voice_modenable"
bind "k" "+voicerecord"
bind "MOUSE5" "+voicerecord"
// Others
bind "ALT" "player_ping"
bind "c" "radio2"
// Misc binds
bind "LEFTARROW" "+turnleft"
bind "RIGHTARROW" "+turnright"
bind "v" "toggle cl_crosshairsize 1 1024"
bind "l" "toggle m_yaw 0.022 50"
// Audio
volume "0.5"
snd_menumusic_volume "0"
snd_roundstart_volume "0"
snd_roundaction_volume
snd_roundend_volume "0"
snd_mvp_volume "0"
snd_mapobjective_volume "0"
snd_tensecondwarning_volume "0.04"
snd_deathcamera_volume "0"
snd_voipvolume "0.7"
// Video
fps_max "0"
// HUD
// Radar HUD
cl_hud_radar_scale "1"
cl_radar_always_centered "1"
cl_radar_icon_scale_min "0.4"
cl_radar_rotate "1"
cl_radar_scale "0.8"
cl_radar_square_with_scoreboard "1"
// Misc HUD
hud_scaling "1.1"
cl_hud_color "3" // Cyan
cl_showloadout "1"
cl_autohelp "1"
gameinstructor_enable "0"
hud_showtargetid "1"
// Apply config
host_writeconfig