SilentSys / SLAM

Source Live Audio Mixer
MIT License
390 stars 128 forks source link

[Feature Request]-Exchange mode for a same bind #122

Open woajaja opened 6 years ago

woajaja commented 6 years ago

First of all forgive me the translation of google. for example, I have 11 sounds assigned from F1 to F11 but I need another binded key to switch between 11 another set of sounds assigned to the same range of binned keys. Ty.

killtux commented 4 years ago

i know its a bit late but this should be possible through the source scripting options.

for example you can have a .cfg (for example sounds.cfg) with bind "F1" "187"; bind "F2" "17"; bin "F3" "headshot" then another cfg (for example music.cfg) with bind "F1" "66"; bind "F2" "satisfaciton"; etc

then you can bind "KP_1" "exec sounds.cfg"; bind "KP_2" "exec music.cfg"; etc so you can switch soundbinds with Numpad 1, 2, etc

you can even switch with one key thorugh your binds if you write the bind of the opposite cfg at the end of the cfg. or make the bind for the next cfg at the same key, so you can cycle through it.