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"

Any way to make ambient sounds play dynamically?

Hi, I've migrated over from the Source engine not long ago and I'm still getting used to using UE4. My question is: Is there any way to replicate the soundscape scripts into UE4?

Incase you didn't know, the source engine uses scripts to play sounds on loop (if specified) or randomly (not on loop), either spatial or not and it is used to create some really good dynamic, soundscapes with minimal effort whilst also ensuring no 2 soundscapes will be the same. These soundscapes are placed down via entities (or actors) in the level and the soundscape closest to the player will be the one which is played, therefore they are usually place in doorways, caves etc. The sounds from a soundscape will crossfade into another should a different soundscape be activated (making it sound more dynamic and realistic as opposed to just cutting the sound) and if a sound in the current soundscape is also in the next soundscape it will continue playing instead of fading.

This is a much easier method than placing seperate sound emitters with triggers to turn them on and off as desired, and I'd like to know if it would be possible to implement a similar system into UE4.

Any help is appreciated, thanks! :)

Product Version: UE 4.10
Tags:
more ▼

asked Jan 28 '16 at 06:03 PM in Using UE4

avatar image

bundestrojaner
11 1 2 2

avatar image walldiv Jan 28 '16 at 06:08 PM

In your explenation - i cant see a better way to do this... other than within code triggered events on overlaps or event dispatchers to play the audio (at location?)

Where are you having troubles or issues with the current engine method for Ambient Sound actors? Have you looked at the Ambient Sound Actor Guide in the docs? I've not had any sound problems using multiple sounds playing at runtime - both spawned at location as well ambient sound actors placed within the level for on-overlap events such as doorways, water noises etc...

Hope this helps!

avatar image bundestrojaner Jan 28 '16 at 06:35 PM

No I haven't had any problems with sound, I was just wondering if there was any way to replicate the soundscape system (maybe through coding it into the source files?)

Thanks for your help anyway though! :)

avatar image FilipeTessaro Jan 29 '16 at 01:13 AM

it is a good suggestion, I use box triggers, fade in and fade out and attenuence to get a better result, but it should be great have something like that here^^

I´m giving a positive vote to your question!

avatar image Jonas_Molgaard Oct 02 '17 at 10:27 AM

Also upvoting this. It's a very nice feature. If i understand the system correct, you can place down entities like (windy1) (windy2) (weary atmosphere1) etc. at different parts of your level? And then the system picks the one nearest to the player to play? If that sound then is not nearest anymore, and are different from the current, it will crossfade to the nearest one... is that correct? If so, i think it would be fairly easy to make such a system, in fact i may make one now in case you still need it.

avatar image Jonas_Molgaard Oct 02 '17 at 11:28 AM

On second thought.. this is very close to what the AmbientSound actor does, so im actually just gonna use that i think...

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

0 answers: sort voted first
Be the first one to answer this question
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