ec- / Quake3e

Improved Quake III Arena engine
GNU General Public License v2.0
1.22k stars 153 forks source link

s_volume becomes mastervolume for s_musicvolume #237

Closed ghost closed 5 months ago

ghost commented 1 year ago

Just a NOTE: it seems different people expect different behaviour: https://github.com/ioquake/ioq3/issues/502 Personally I can't say what the 'correct' behaviour is. Maybe, three cvars? s_effectsVolume, s_musicVolume, s_volume? s_volume that reduces volume for both at once than?

ec- commented 1 year ago

Well, it seems to broke config compatibility a bit but current behavior (-independend sfx and music control) is more convenient because you can emulate any vq3 combinations with it - while opposite (like sfx_vol=0 + musiv_vol=1 i.e. leave only music) is not possible

ghost commented 1 year ago

Just a NOTE: it seems different people expect different behaviour: ioquake/ioq3#502 Personally I can't say what the 'correct' behaviour is. Maybe, three cvars? s_effectsVolume, s_musicVolume, s_volume? s_volume that reduces volume for both at once than?

My original idea was to add s_mastervolume to control everything, Is this okay?

ghost commented 1 year ago

image I feel that having s_volume as the master volume is what it was originally supposed to be, but anyways, I added 's_mastervolume'.

ghost commented 1 year ago

I think if you call current s_volume something different (something like s_effectsVolume) and s_volume will act as your 'mastervolume' than even existing cfgs will not break (something ec- tries to avoid if I'm correct). This would be more user friendly, maybe.