how do i make ambient sounds sound of randomly...

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Falidell

FNG / Fresh Meat
May 22, 2009
646
78
0
33
Mesa,Az,USA
how do i make ambient sounds sound off randomly? for example i don't want an ambient sound to be looped nor do it want it to be the same sound over and over again. i want it to play a random sound off of a list of sound(a sound group) and i want it to activate randomly..

so:
i go near the ambientsound ent ingame
first, it'll randomly decide to activate. say 25% chance.
second, if it does activate it'll choose a sound in the sound group and play it.

i've tried a number of things and i can't seem to get it to work.. at all... ingame or in unrealed. i want this for a more dynamic ambience for my level, shots of scary noises, metal stresses, disturbances in the distance... etc.
 
Last edited:

PiX

FNG / Fresh Meat
Mar 20, 2009
306
69
0
Sweden
That's one way to do it.
I would use a scriptedtrigger though, just to avoid the headache of editing and hearing that sound all the time.
 

Falidell

FNG / Fresh Meat
May 22, 2009
646
78
0
33
Mesa,Az,USA
hmm i was thinking of doing that... i was also thinking of using proxy triggers.. but the sound emitters are much simpler to use. however if the sounds become annoying after some more play testing i'll change up to the proxy/scripted triggers
 

driftwood

FNG / Fresh Meat
Jun 9, 2009
672
22
0
Gold Coast, Qld, Australia
I was happy with just using AmbientSound I think, iirc I assigned several sounds to each AmbientSound actor and it randomly plays stuff from the list every so often. Every now and then when someone plays my map they go 'holy f*** where is that patriarch?'