Volume Control Settings

Hello!

I am creating a menu to control the sound for my game. This menu will have four options of control: Music Volume, SFX Volume, Master Volume, and Muted (T/F).

I understand how to implement Music Volume, Master Volume, and Muted, however, I cannot figure out how to control SFX volume. My problem is, is that I don’t know where to start when it comes to individually controlling the volume for each player for some sound that occurred server side.

Take a door opening or a gun firing. Everyone on the server should be able to hear it. However, how do I allow one player to have its SFX volume set to 25, while another has its SFX volume set to 75?

You can add the individual sounds to a SoundGroup. The volume of each SoundGroup can be adjusted individually on each client.

Each sound can be added individually by setting the SoundGroup property or you can script it so the descendants of all your weapons go into the SFX sound group.

Edit - SoundGroups should work but I see they’re recommending Audio Objects now.

2 Likes