Ambient sound volume
I have an ocean inside a map, and i would like to know a way to have a 2d sound that play while the player is inside the area (anywhere inside the area) and start attenuate while outside of that area
This is my setup but it doesn't work: - 1 Soundcue "Ocean" where i set an attenuation - 1 Soundclass "Ocean_inside" which is assigned to the soundcue - 1 Audio Volume with ambient volume setting 1.0 for inside and outside (i want to hear the sound that is inside while the player is outside of area but with an attenuation curve) - 1 Ambient Sound inside the Audio Volume
Did i forgot something ?
asked Mar 14 '15 at 10:36 AM in Using UE4
I think you may be misunderstanding how an audio volume works in some way, they determine whether you can hear a sound in/out of the volume but it won't have any effect on their underlying attenuation. It seems like you're expecting the volume to prevent the sound from attenuating when inside the volume? You could set your ambient sound so that it has no attenuation but is only heard inside the volume. It will fade in and out as you enter it but only over a period of time, not based on distance.
Another option would be to just set up your sound with a box attenuation shape that matches your current audio volume. You don't have the same freedom in terms of how you define your shape as you do with a volume but you can still see the inner box where the sound will be at maximum and an outer box where it will start to attenuate.
answered Mar 16 '15 at 01:34 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here