new audio binds, refactored
This commit is contained in:
@ -3,7 +3,9 @@ input_button_code_is_scan_code_scd "1"
|
||||
|
||||
exec "binds/buy"
|
||||
exec "binds/chat"
|
||||
// Don't execute binds/drop, this is only toggled
|
||||
exec "binds/gameplay"
|
||||
exec "binds/slots"
|
||||
exec "binds/ui"
|
||||
exec "binds/ui"
|
||||
|
||||
exec "binds/special"
|
||||
// Don't execute binds/drop, this is only toggled
|
||||
@ -1,9 +1,9 @@
|
||||
bind "scancode5" buymenu // [b]
|
||||
|
||||
bind "scancode58" "buy ak47; buy m4a1; buy m4a1_silencer" // [f1]
|
||||
bind "scancode59" "buy galilar; buy famas" // [f2]
|
||||
bind "scancode60" "buy deagle" // [f3]
|
||||
bind "scancode61" "buy awp" // [f4]
|
||||
bind "scancode58" "buy rifle0" // [f1]
|
||||
bind "scancode59" "buy rifle1" // [f2]
|
||||
bind "scancode60" "buy secondary1" // [f3]
|
||||
bind "scancode61" "buy rifle2" // [f4]
|
||||
|
||||
bind "scancode62" "buy molotov; buy incgrenade" // [f5]
|
||||
bind "scancode63" "buy flashbang" // [f6]
|
||||
|
||||
42
binds/special.cfg
Normal file
42
binds/special.cfg
Normal file
@ -0,0 +1,42 @@
|
||||
// Aliases to switch buying mode
|
||||
alias +buymode "exec binds/drop"
|
||||
alias -buymode "exec binds/buy"
|
||||
|
||||
// Bind to CTRL, together with duck
|
||||
alias +ctrl_action "+duck;+buymode"
|
||||
alias -ctrl_action "-duck;-buymode"
|
||||
bind "scancode224" +ctrl_action // [ctrl]
|
||||
bind "scancode228" +ctrl_action // [rctrl]
|
||||
|
||||
// Default mode is buy binds
|
||||
exec "binds/buy"
|
||||
|
||||
// Consistent crouch jump
|
||||
alias +crouch_jump "+duck;+jump"
|
||||
alias -crouch_jump "-duck;-jump"
|
||||
bind "scancode6" +crouch_jump // [c]
|
||||
|
||||
// Bombsites
|
||||
bind "scancode80" go_a // [leftarrow]
|
||||
bind "scancode79" go_b // [rightarrow]
|
||||
|
||||
// Switch to bomb and drop
|
||||
bind "scancode226" "use weapon_c4; drop" // [alt]
|
||||
|
||||
// Switch to lineup crosshair only if E and Mouse 1 is pressed at the same time
|
||||
alias +e_alt_action "+use;exec crosshair/lineup"
|
||||
alias -e_alt_action "-use;default_crosshair"
|
||||
alias +mouse1_action "+attack;bind e +e_alt_action"
|
||||
alias -mouse1_action "-attack;-use;bind e +use; default_crosshair"
|
||||
bind "scancode8" +use // [e]
|
||||
bind MOUSE1 +mouse1_action
|
||||
|
||||
// Mouse thumb button binds
|
||||
alias +mouse_thumb "+buymode; +radar_zoom"
|
||||
alias -mouse_thumb "-buymode; -radar_zoom"
|
||||
bind "scancode96" "+mouse_thumb" // [kp_up]
|
||||
|
||||
// Loopback audio to test microphone
|
||||
alias +loopback "voice_loopback 1"
|
||||
alias -loopback "voice_loopback 0"
|
||||
bind "scancode15" +loopback
|
||||
@ -1,3 +1,7 @@
|
||||
bind "scancode43" +showscores // [tab]
|
||||
bind "scancode41" cancelselect // [esc]
|
||||
bind "scancode72" pause // [pause]
|
||||
bind "scancode72" pause // [pause]
|
||||
|
||||
bind "scancode87" +radialradio // [kp_plus]
|
||||
|
||||
bind "scancode14" toggleconsole // [k]
|
||||
Reference in New Issue
Block a user