new audio binds, refactored
This commit is contained in:
15
audio/general.cfg
Normal file
15
audio/general.cfg
Normal file
@ -0,0 +1,15 @@
|
||||
volume 0.7
|
||||
|
||||
snd_headphone_eq 0
|
||||
|
||||
snd_menumusic_volume 0.01
|
||||
snd_roundstart_volume 0
|
||||
snd_roundend_volume 0
|
||||
snd_mapobjective_volume 0.04
|
||||
snd_deathcamera_volume 0
|
||||
snd_tensecondwarning_volume 0.04
|
||||
|
||||
snd_mvp_volume 0.08
|
||||
snd_mute_mvp_music_live_players 1
|
||||
|
||||
snd_mute_losefocus 1
|
||||
54
autoexec.cfg
54
autoexec.cfg
@ -1,46 +1,9 @@
|
||||
// Unbind all key bindings and rebind regular keys
|
||||
unbindall
|
||||
exec "binds/all"
|
||||
bind "scancode14" toggleconsole // [k]
|
||||
|
||||
// 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"
|
||||
|
||||
// Netgraph toggle
|
||||
// net_graph 1
|
||||
// net_graphheight 9999
|
||||
// bind "scancode17" "toggle net_graphheight 0 9999" // [n]
|
||||
|
||||
// Show netgraph with scoreboard
|
||||
// alias +scoreboard_netgraph "+showscores; net_graphheight 0"
|
||||
// alias -scoreboard_netgraph "-showscores; net_graphheight 9999"
|
||||
// bind "scancode43" +scoreboard_netgraph // [tab]
|
||||
|
||||
// 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]
|
||||
|
||||
// Ping
|
||||
bind MOUSE3 player_ping
|
||||
bind "scancode87" +radialradio // [kp_plus]
|
||||
|
||||
// Switch to bomb and drop
|
||||
bind "scancode226" "use weapon_c4; drop" // [alt]
|
||||
// Audio settings
|
||||
exec "audio/general"
|
||||
|
||||
// Set default crosshair
|
||||
alias default_crosshair "exec crosshair/dot"
|
||||
@ -50,14 +13,6 @@ default_crosshair
|
||||
alias dot "exec crosshair/dot"
|
||||
alias cross "exec crosshair/cross"
|
||||
|
||||
// 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
|
||||
|
||||
// Aliases for local and remote practice
|
||||
alias localpractice "exec practice/local"
|
||||
alias remotepractice "exec practice/remote"
|
||||
@ -72,11 +27,6 @@ cl_radar_scale 0.445
|
||||
alias +radar_zoom "cl_radar_scale 1.2"
|
||||
alias -radar_zoom "cl_radar_scale 0.445"
|
||||
|
||||
// Mouse thumb button binds
|
||||
alias +mouse_thumb "+buymode; +radar_zoom"
|
||||
alias -mouse_thumb "-buymode; -radar_zoom"
|
||||
bind "scancode96" "+mouse_thumb" // [kp_up]
|
||||
|
||||
// 21:9 safezones
|
||||
safezonex 0.5
|
||||
safezoney 0.9
|
||||
@ -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/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 "scancode87" +radialradio // [kp_plus]
|
||||
|
||||
bind "scancode14" toggleconsole // [k]
|
||||
@ -1,8 +0,0 @@
|
||||
// bind radio to wasd
|
||||
bind "w" "+forward; getout"
|
||||
bind "s" "+back; getout"
|
||||
bind "d" "+moveright; getout"
|
||||
bind "a" "+moveleft; getout"
|
||||
|
||||
// toggle radio
|
||||
ignorerad
|
||||
@ -1,8 +0,0 @@
|
||||
// unbind radio from wasd
|
||||
bind "w" "+forward"
|
||||
bind "s" "+back"
|
||||
bind "d" "+moveright"
|
||||
bind "a" "+moveleft"
|
||||
|
||||
// toggle radio
|
||||
ignorerad
|
||||
Reference in New Issue
Block a user