Editor: TriggeredAmbientSound

Questions, Informations and Discussions
Post Reply
User avatar
£éè£å-(DOG)-
Full Game Admin
Full Game Admin
Posts: 637
Joined: Wed Jul 30, 2008 8:27 am
Location: Germany

Editor: TriggeredAmbientSound

Post by £éè£å-(DOG)- »

Hi :)

For some unknown reason I got this one never to work under 225F and 226F.
But it seems I'm not the only one. Also others had and have the same problem.
Recently I needed again an actor which can play a looping sound, but which also can be triggered on and off.
So I tried again to get it to work and this time I got a working version.

Ok, there are two ways now, to get your TriggeredAmbientSound.
I bet you all know the first, because it's an old trick. I'll explain it here for all who do not know it already.

You can fake a TriggeredAmbientSound by using a TriggerLight.
All you have to do is this:

* under LightColor set LightHue and LightSaturation to 0, LightBrightness controls the sound volume

* under Lighting set everything to 0 and LightEffect to LE_None, but LightType to LT_Steady

* under Sound/AmbientSound add the sound you want to use

* under Object/InitialState choose the function you want to use, i.e. TriggerToggle

* under TriggerLight you can use ChangeTime to fade the sound in or out, works the same like with light

Well this is not really a TriggeredAmbientSound, but it works. When you need more volume for your sound, just use 2 or more TriggerLights.

Edit: I removed the file because a problem occured. The sound can't be heard anymore once you left its radius and return to it. Seems I missed that, but the TriggerLight version should work.
Post Reply