2023-09-29 07:32:25 +00:00
|
|
|
//
|
2023-11-28 08:34:48 +00:00
|
|
|
// CS2 autoexec
|
|
|
|
//
|
|
|
|
// Launch arguments: gamemoderun %command% +exec autoexec.cfg
|
|
|
|
//
|
|
|
|
// https://github.com/Guanran928/csgo-autoexec
|
|
|
|
// thanks @jounim! https://steamcommunity.com/sharedfiles/filedetails/?id=3035701443
|
2023-09-29 07:32:25 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
|
2023-11-28 08:34:48 +00:00
|
|
|
// Alias
|
|
|
|
alias +duckjump "+jump; +duck"
|
|
|
|
alias -duckjump "-jump; -duck"
|
2023-10-04 08:22:20 +00:00
|
|
|
alias +incvol "+sprint; volume 1"
|
|
|
|
alias -incvol "-sprint; volume 0.5"
|
2023-09-29 07:32:25 +00:00
|
|
|
alias +switchknife slot3
|
|
|
|
alias -switchknife lastinv
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-11-28 08:34:48 +00:00
|
|
|
// Sensitivity
|
|
|
|
// https://www.reddit.com/r/GlobalOffensive/comments/43urd4/why_0818933027098955175_is_the_best_zoom/
|
2023-12-07 10:28:28 +00:00
|
|
|
sensitivity "1"
|
2023-11-28 08:34:48 +00:00
|
|
|
zoom_sensitivity_ratio "0.818933027098955175"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Binds
|
2023-09-29 07:32:25 +00:00
|
|
|
unbindall
|
2023-12-07 10:30:29 +00:00
|
|
|
cl_use_opens_buy_menu "0"
|
2023-11-28 08:34:48 +00:00
|
|
|
|
|
|
|
// 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
|
2023-10-04 08:22:20 +00:00
|
|
|
bind "LEFTARROW" "+turnleft"
|
|
|
|
bind "RIGHTARROW" "+turnright"
|
2023-11-28 08:34:48 +00:00
|
|
|
bind "v" "toggle cl_crosshairsize 1 1024"
|
2023-09-29 07:32:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-11-28 08:34:48 +00:00
|
|
|
// 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"
|
2023-12-07 10:31:01 +00:00
|
|
|
snd_voipvolume "0.7"
|
2023-09-29 07:32:25 +00:00
|
|
|
|
|
|
|
|
2023-11-28 08:34:48 +00:00
|
|
|
|
|
|
|
// Video
|
|
|
|
fps_max "0"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// HUD
|
|
|
|
// Radar HUD
|
2023-11-28 09:24:42 +00:00
|
|
|
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"
|
2023-09-29 07:32:25 +00:00
|
|
|
cl_radar_square_with_scoreboard "1"
|
|
|
|
|
|
|
|
|
2023-11-28 08:34:48 +00:00
|
|
|
// Misc HUD
|
2023-11-28 09:24:42 +00:00
|
|
|
hud_scaling "1.1"
|
2023-11-28 08:34:48 +00:00
|
|
|
cl_hud_color "3" // Cyan
|
|
|
|
cl_showloadout "1"
|
|
|
|
cl_autohelp "1"
|
|
|
|
gameinstructor_enable "0"
|
|
|
|
hud_showtargetid "1"
|
2024-07-22 04:37:59 +00:00
|
|
|
r_show_build_info false
|
2023-09-29 07:32:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2023-11-28 08:34:48 +00:00
|
|
|
// Apply config
|
2023-09-29 07:32:25 +00:00
|
|
|
host_writeconfig
|