In this tutorial we create a dynamic system for loading forest sounds and a custom function to spawn some animal sounds. Everything is based on the number of trees around the Player, which are placed with the Procedural Foliage Spawner.
This setup can be used for other environments as well, as you can load whatever meshes you like into the Spawner: swap out the trees for buildings, asteroids, lollipops, people - whatever your game needs.
Download the sounds used here: http://tbf.me/a/B24J0C
Procedural Foliage Spawner Tutorials
Epic: • Foliage | Live Training | Unreal Engine
Nitrogen: • How To Create And Use Procedural Foli...
Forest sounds by Valkyrie Sound, including original compositions.
Footsteps from Epic’s Shooter Game.
Thanks to Loraash on Reddit for letting me know that we can use custom channels to count trees.
00:00 - Start
00:30 - Custom Collision
01:25 - Making the Forest
02:58 - Forest Sound Cue
05:18 - Character Blueprint Setup
10:57 - One Shot Sound Cues
11:44 - One Shot Character Blueprint Setup
17:25 - One Shot Attenuation
17:44 - Test with Debug