ReactiveDrop / developer.reactivedrop.com

Alien Swarm: Reactive Drop developer information website
https://developer.reactivedrop.com/
3 stars 1 forks source link

Audio settings feedback for the new UI #3

Open Duke-M-commits opened 1 year ago

Duke-M-commits commented 1 year ago

I scribbled something together: image I'll create the html for it a bit later when I find the time.

What was the idea? I grouped stuff together, like in the controls-page. The groups 'Global' & 'Ingame' as also the groups 'Voice' and 'Hit-Feedback' should have around the same height, which should make them easy to reposition from the left to the right and vice versa.

The sounds will also need some popup-helptexts like in the video-page. I guess they will show when the cursor selects the option or when the mouse hovers over it, for controller-compatibility.

Also, I have a question: Which controls are available to you? I mean, do you have an On-/Off-Toggle or will these be again drop-downs with 'Enabled' & 'Disabled'?

Some reasoning for the scribble:

Duke-M-commits commented 1 year ago

Some more ideas to lower the pure mass of controls:

Duke-M-commits commented 1 year ago

How did you generate the positioning in the css classes?

BenLubar commented 1 year ago

Custom combat music has been a feature since 2010. You can import mp3 files and the game plays one at random (without repeating back-to-back) instead of the map-specific music.

The "Sound on Hit" and "Sound on Kill" labels are for dropdowns with these options: https://github.com/ReactiveDrop/reactivedrop_translations/blob/235cd91ce30d8d45bad12238125e45ff5247eeff/resource/reactivedrop_english.txt#L4546-L4565

I'm going to try to have at least these controls available:

I've been using dropdowns instead of checkboxes for the controls, audio, and video pages because it felt better to me but I'll probably have checkboxes on the options tab.

Story dialogue is a toggle because even if the volume is 0 it still ducks the other audio. It also tells the server you don't want story dialogue which can save a little network bandwidth. Can't remember if it affects the stylincam.

Sound quality affects effects like HRTF and ADSP. Low->medium affects mixing quality and medium->high turns on more complex processing.

I did the layout CSS manually with some ported source engine features - yres is 1/480th of the screen height, xres is 1/640th of screen width (usually you want yres here as well so your units are square). Page automatically switches between 4:3, 5:4, 16:9, 16:10, and 21:9 aspect ratios as you resize it.

We can do audio volume settings for various effects, but they'll probably stack with the mixers that are currently on the left. Mixers are based on the wav/mp3 file/directory name.

I agree that cc_lang should probably remain the domain of people who edit config files manually.