x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Ambient sound volume

Hello,

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 ?

Product Version: Not Selected
Tags:
more ▼

asked Mar 14 '15 at 10:36 AM in Using UE4

avatar image

Stro21
0 1 1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered Mar 16 '15 at 01:34 PM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question