summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Glüpker <git@wgmd.de>2020-01-20 19:10:33 +0100
committerAndré Glüpker <git@wgmd.de>2020-03-08 10:58:18 +0100
commit88cf954a98657d4125a1accd837c9894cfb69f73 (patch)
tree06db5d10220145c25339a7d4e3e7e001ca5049f7
parent90fe7c10e47f283fb0cc796c3adf0fc7bca317bb (diff)
downloadconfig-csgo-88cf954a98657d4125a1accd837c9894cfb69f73.tar.gz
config-csgo-88cf954a98657d4125a1accd837c9894cfb69f73.tar.bz2
config-csgo-88cf954a98657d4125a1accd837c9894cfb69f73.zip
Use incrementvar for volume changes
-rw-r--r--bindings-aliases.cfg9
-rw-r--r--bindings-normal.cfg4
-rw-r--r--bindings.cfg2
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"