Like how you can change the volume of music relative to the player's music volume, it'd be nice if you could dip certain playing sounds by a certain factor. For example, I got dialogue that plays, and it'd be nice to scale back other sounds as it plays.
I don't think there's a current way to do so except using A_StartSound's volume parameter, but that's only able when you start playing sounds. There's no way of doing it for sounds all ready playing as far as I can tell.
Scale sounds playing on actor
Moderator: GZDoom Developers
- SanyaWaffles
- Posts: 841
- Joined: Thu Apr 25, 2013 12:21 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Windows 11 for the Motorola Powerstack II
- Graphics Processor: nVidia with Vulkan support
- Location: The Corn Fields
- Contact:
Re: Scale sounds playing on actor
You can change the volume of currently-playing sounds with A_SoundVolume.
- SanyaWaffles
- Posts: 841
- Joined: Thu Apr 25, 2013 12:21 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Windows 11 for the Motorola Powerstack II
- Graphics Processor: nVidia with Vulkan support
- Location: The Corn Fields
- Contact:
Re: Scale sounds playing on actor
Wow. How did I miss that? I looked everywhere for a function like that.
Thanks.
Thanks.
