autoexec.cfg路径:~\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg
跳投(以绑定v键为例):
(注:24年8月20日的更新中禁用了一些输入绑定指令导致一键跳投失效,相信在不久的将来cs2会原生支持一键跳投)
//失效
alias +jp "+jump;-jump"
alias +ak "-attack;-attack2"
bind v "+jp;+ak"
一键丢包(以绑定4为例):
alias +bombdrop "slot3;slot5"
alias -bombdrop "drop;slot2;slot1"
bind 4 "+bombdrop"
一键切换主/副武器(以绑定q键为例):
alias +switch "slot2"
alias -switch "slot1"
bind q "+swich"
- 注:这里是原来csgo有个按键设置,在有主武器的时候切出主武器,没有主武器则切出副武器,原csgo指令为
bind "q" "invnextnongrenade"
现在这个指令在cs2里失效,我个人非常喜欢这个键位设定,故用alisa实现(我这个版本应该是全网首发)
cs2里小键盘购买指令和原来稍有不同,cs2版本如下:
bind "KP_0" "buy vesthelm"
bind "KP_1" "buy ak47;buy m4a1_silencer"
bind "KP_2" "buy sg556;bug aug"
bind "KP_3" "buy flashbang"
bind "KP_4" "buy hegrenade"
bind "KP_5" "buy smokegrenade"
bind "KP_6" "buy molotov;buy incgrenade"
bind "KP_7" "buy mac10;buy mp9"
bind "KP_8" "buy AWP"
bind "KP_9" "buy deagle"
bind "KP_ENTER" "buy defuser"
bind "KP_DEL" "buy vest"
bind "KP_DIVIDE" "null"
bind "KP_MULTIPLY" "null"
bind "KP_MINUS" "null"
bind "KP_PLUS" "null"