From 88cf954a98657d4125a1accd837c9894cfb69f73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Gl=C3=BCpker?= Date: Mon, 20 Jan 2020 19:10:33 +0100 Subject: Use incrementvar for volume changes --- bindings-aliases.cfg | 9 ++------- bindings-normal.cfg | 4 ++-- bindings.cfg | 2 +- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/bindings-aliases.cfg b/bindings-aliases.cfg index e1be9d5..37110bd 100644 --- a/bindings-aliases.cfg +++ b/bindings-aliases.cfg @@ -22,13 +22,8 @@ alias "+mic" "volume 0.01; +voicerecord" alias "-mic" "-voicerecord; volume_c" // alias "+mic" "+voicerecord" // alias "-mic" "-voicerecord" -alias volume_c "volume_2" -alias volume_5 "volume 0.4; echo "Volume |----+|"; alias volume_c "volume_5"; alias volume_up "volume_5"; alias volume_down "volume_4"" -alias volume_4 "volume 0.2; echo "Volume |---+-|"; alias volume_c "volume_4"; alias volume_up "volume_5"; alias volume_down "volume_3"" -alias volume_3 "volume 0.1; echo "Volume |--+--|"; alias volume_c "volume_3"; alias volume_up "volume_4"; alias volume_down "volume_2"" -alias volume_2 "volume 0.05; echo "Volume |-+---|"; alias volume_c "volume_2"; alias volume_up "volume_3"; alias volume_down "volume_1"" -alias volume_1 "volume 0.02; echo "Volume |+----|"; alias volume_c "volume_1"; alias volume_up "volume_2"; alias volume_down "volume_0"" -alias volume_0 "volume 0; echo "Volume |-OFF-|"; alias volume_c "volume_0"; alias volume_up "volume_1"; alias volume_down "volume_0"" +alias volume_up "incrementvar volume 0 1 0.1; volume" +alias volume_down "incrementvar volume 0 1 -0.1; volume" alias "fdefault" "con_filter_text "-"; con_filter_text_out "Player"" alias "fvotes" "con_filter_text "Votes"; con_filter_text_out """ diff --git a/bindings-normal.cfg b/bindings-normal.cfg index a5e2b49..62443d0 100644 --- a/bindings-normal.cfg +++ b/bindings-normal.cfg @@ -76,10 +76,10 @@ bind "END" "coverme" bind "MOUSE1" "+attack" bind "MOUSE2" "+attack2" bind "MOUSE3" "compliment" //fallback" -bind "MOUSE4" "+mic" +bind "MOUSE4" "+voicerecord" bind "MOUSE5" "+jumpthrow" //fallback" // bind "MOUSE4" "+jumpthrow" // bind "MOUSE5" "maybe_c" bind "MWHEELUP" "" bind "MWHEELDOWN" "+jump" -bind "KP_MULTIPLY" "+mic" +bind "KP_MULTIPLY" "+voicerecord" diff --git a/bindings.cfg b/bindings.cfg index 3981090..2247d87 100644 --- a/bindings.cfg +++ b/bindings.cfg @@ -136,7 +136,7 @@ exec bindings-crosshair exec bindings-local exec bindings-aliases fdefault -volume_c +volume 0.3 // log_dumpchannels // log_color "Console" "FFFFFFFF" -- cgit v1.2.3