This might be common knowledge, but I found an interesting way to add ambient sound effects to buildings. In my example I added some eerie ambient sound effects to randomly play around the crashed Scrin ship. Example code:
In this example 4 different ambient sound effects get randomly played around the ship. The RandomLoopDelay key controls how often each sound gets played. Eg. RandomLoopDelay=2000,2250 means that there is always a long break between the sound playing, but also little randomization since the two values are so close to each other. While RandomLoopDelay=250,1000 plays more often, but also plays more randomly since the two values are further away from each other. Report key naturally holds whatever sound effect you want to be played.
One thing this logic could be used is to give each building in the base a random ambient sound. Like maybe the repair bay plays a mechanical sound of something being repaired, or the Temple of Nod broadcasts different propaganda messages to Nod forces. Come to think of it, add in some debris logic animations and you could make nearby units heal every time a propaganda message is broadcast. Think Kane's Wrath had similar structure, Statue of Kane or something. Anyway, let's not go offtopic here _________________ QUICK_EDIT
Joined: 28 Apr 2009 Location: Auckland, New Zealand
Posted: Wed Sep 28, 2011 10:35 pm Post subject:
Bloody Hell, can you get a degree in Medicine so we can use your out of the box thinking to better mankind? You could probably cure cancer with a band-aid or some shit. You're like the freaking MacGyver of the TS engine! _________________ Beta Tester for Mental Omega 3.0
This kind of method has been used before for production animations for War Factories, this way you can have a door opening sound. _________________ QUICK_EDIT
Too bad that the TS engine has big problems with playing several sounds at the same time.
I fear these additional sounds will be cut off in the middle when an explosion is shown or a weapon is fired and also vice versa cut off other sounds.
But none the less a good effect.
RandomLoopDelay is also a good way to create natural effects like dustdevils, tumbleweeds, rain etc and make them appear randomly.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum