I linked this tutorial in my previous blog post, however, I'm going to link it again because it is what helped me build the weather in my scene in Unreal Engine - Thunder And Lightning - Unreal Engine 4 Tutorial - YouTube. I had never build a blueprint for sound effects before, so I found this so very helpful. Basically, I downloaded a free rain and thunder sound effect (wav format) from FreeSound. I'm going to insert a screenshot and link the sound effect I downloaded below.
Freesound - "Rain and Thunder 4" by FlatHill
Blueprint Development Process
The blueprint itself can be found by doing onto blueprint in Unreal and opening the level one. Basically, you want to create an EventBeginPlay first, which will initiate the action that you're creating in your blueprint. Then, you have to create the skylight first and in order to create variation, you want to set up multiple intensities - hence why a lot of the slots in the blueprint repeat. In the intensity slots, I just changed the New Intensity to different numbers. In addition to that, beneath every Set Intensity slot, there is a Random Float in Range where you can toggle the minimum and the maximum range of the action. In the end, the reason I've connected my last slot to my very first one is so that my action can loop instead of ending.
Lastly.. I added the sound. The way I did was importing my downloaded wav Rain and Thunder file into a new folder in Effects in Unreal. Then, in order to make it play in my scene, I created a sound cue and added a looping slot first in order to make sure that it always loops and the sound effect doesn't just stop, then I set the volume and the pitch of it to what sounded good to me and connected that to an random, a modulator and plugged it in the output.
No comments:
Post a Comment