Link volume sliders?
Moderator: GZDoom Developers
Link volume sliders?
Idea: A link volume toggle for the "sound options" menu?
Which when enabled, would link, or tie, sound, menu and music volumes together.
So if you increase sound volume for 0.1, menu and music volume would be also raised for 0.1.
Or maybe a general volume slider, so you can raise all volume by the same value at once. Thanks!
Which when enabled, would link, or tie, sound, menu and music volumes together.
So if you increase sound volume for 0.1, menu and music volume would be also raised for 0.1.
Or maybe a general volume slider, so you can raise all volume by the same value at once. Thanks!
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49234
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Link volume sliders?
Aside from being pointless in my opinion, this would require quite a bit of very specific coding in the menu. I might close this right away as I wouldn't expect anyone to invest some time in such a niche feature.
Re: Link volume sliders?
How about a "mute" cvar instead? So you could bind it to a key.
Moving 3 sliders all the back to zero to get silence isn't practical.
Moving 3 sliders all the back to zero to get silence isn't practical.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49234
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Link volume sliders?
That sounds more practical and infinitely more useful.
Re: Link volume sliders?
You know, if you really want that, you can do it by yourself with some console aliases.
You want to change snd_sfxvolume, snd_menuvolume, and snd_musicvolume.
To lower all three values:
To raise all three values:
With some barely more complicated code, you can first store the current values in temporary user CVARs and then do proper toggling.
You can even make yourself a small menu mod like mine where you put the console aliases in a KEYCONF lump and then you can add the raise all and lower all functions as commands in the [wiki]MENUDEF[/wiki] part.
You want to change snd_sfxvolume, snd_menuvolume, and snd_musicvolume.
To lower all three values:
Code: Select all
alias snd_lowerall "eval - $snd_sfxvolume 0.1 snd_sfxvolume; eval - $snd_sfxvolume 0.1 snd_menuvolume; eval - $snd_sfxvolume 0.1 snd_musicvolume"
Code: Select all
alias snd_lowerall "eval + $snd_sfxvolume 0.1 snd_sfxvolume; eval + $snd_sfxvolume 0.1 snd_menuvolume; eval + $snd_sfxvolume 0.1 snd_musicvolume"
You can even make yourself a small menu mod like mine where you put the console aliases in a KEYCONF lump and then you can add the raise all and lower all functions as commands in the [wiki]MENUDEF[/wiki] part.
- NeuralStunner
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: Link volume sliders?
Would a Master Volume be more practical?
- Major Cooke
- Posts: 8212
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: GZBoomer Town
- Contact:
Re: Link volume sliders?
That used to be in zdoom, and was eventually removed. I think...
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49234
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Link volume sliders?
ZDoom once had a separate MIDI volume slider but that became redundant with FModEx and was removed. I can't remember a master volume slider.
Re: Link volume sliders?
Master volume suggestion is still open...