With the Randomized Sound System, you can set up different entities as "hubs" that will play random sound effects while you're playing your game!
The system includes 2 variants of the script. The first is for playing sound effects that will play from different 3D locations on the map (the sound will play relative to your location, and the second version will play the sound effects in a non 3D format. There is a randomized timer (between 1 minute and 5 minutes in length) that will play the sound each time the timer is up and then reset it and select another random time limit.
How to use:
Place an entity
Assign either of the corrosion_random_sound_system scripts to it
Set the entity to always active
Set it to dynamic yes
Select up to 5 different sound effects and place them in the sound slots for the entity
(You can do this several times for many different sounds to play on a level)
Your game is now much more immersive, dynamic, and interesting with random sounds playing at different times of play!
Try setting the timer setting to 1 to 3 seconds, fill in all the sound slots, and I guarantee it will work if you've set it up properly. Silence[e] = math.random(1000, 3000)
Others have confirmed that it works and I just tested it and can happily say it is working 100%
Yes it does. You must have either set it up wrong or didn't wait long enough for it to trigger. Please post exactly how you set it up, any modifications you made, and what you have tried.
The line: "silence[e] = math.random(60000, 300000)" is what makes it wait between 1 minute (60000) and 5 minutes (300000). 3 minutes would be (180000).
After a series of tests, I can confirm that it works. How can I lower the amount of time that has to pass bevore a new sound plays?
I apologize for previous comments and want to thank for this script.
Others have confirmed that it works and I just tested it and can happily say it is working 100%
The line: "silence[e] = math.random(60000, 300000)" is what makes it wait between 1 minute (60000) and 5 minutes (300000). 3 minutes would be (180000).
I apologize for previous comments and want to thank for this script.