Assigning Ambient
Moderator: Core Staff
Assigning Ambient
Nightmare mentioned at one time it was possible to assign ambient to specific parts of the map. I want to do this so I can have different ambient in specifically different parts of the map. Is this possible and if so how would i do it? I know you can just do sounds with a script_origin but i don't want a radial effect.
"Zaitsev is a cunt." - Pedsdude
^^^ wtf?Yano wrote:trigger pressed -> ambientPlay("ambient_mp_carentan");
I am pretty sure luke has the answer, because I recall on ultra_gap_training that when you got out of the secret room, the music stopped playing.
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
That was just a "playloopsound" that only starts when you're within a certain range of it.
Watch this before posting a question: http://www.albinoblacksheep.com/flash/posting.php
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Ambient sound is background noise. If you want certain areas to have sound, just do it the same way as always...
Available sound commands...
ambientplay
ambientstop
iswaitingonsound
musicplay
musicstop
playloopsound
playsound
playsoundasmaster
setsoundblend
soundexists
soundfade
stoploopsound
check the CoD2 documentation for help...
Available sound commands...
ambientplay
ambientstop
iswaitingonsound
musicplay
musicstop
playloopsound
playsound
playsoundasmaster
setsoundblend
soundexists
soundfade
stoploopsound
check the CoD2 documentation for help...
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
i was right?Drofder2004 wrote:Ambient sound is background noise. If you want certain areas to have sound, just do it the same way as always...
Available sound commands...
ambientplay
ambientstop
iswaitingonsound
musicplay
musicstop
playloopsound
playsound
playsoundasmaster
setsoundblend
soundexists
soundfade
stoploopsound
check the CoD2 documentation for help...
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
I know some of them don't work in MP. If those ones don't, theres another way of stopping and starting sound. Give it a go
Watch this before posting a question: http://www.albinoblacksheep.com/flash/posting.php
just look in nm_jungle, I have used it a lot.
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Luckily i'm not the same God. And if you believe I am god of scripting, then you better hurry down to the local chapel and repent!Soviet wrote:since god created me, put me on this earth, and told me to pray to him and ask for thingsDrofder2004 wrote:Since when was God required to answer your prayersSoviet wrote:well im glad you're so useful drofder, the supposed god of scripting
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
Who is online
Users browsing this forum: No registered users and 36 guests