Alliedassault

Alliedassault (alliedassault.us/index.php)
-   MoH Maps, Mods & Skins (alliedassault.us/forumdisplay.php?f=11)
-   -   Help! - Ambient Sounds in Outdoor Maps (alliedassault.us/showthread.php?t=10236)

Silence... 10-10-2002 04:27 AM

Help! - Ambient Sounds in Outdoor Maps
 
Hey,

Does anyone know how to set up a map so there is an ambient wind sound when running around outdoor environments?

Also how do you set the map up so that the sound will only play outside and not indoors?

Thanx

Silence...

Ghost Dog 10-10-2002 06:25 AM

main:

setcvar "g_scoreboardpic" "none"

exec global/exploder.scr

level waitTill prespawn

//*** Precache Dm Stuff
exec global/DMprecache.scr

level.script = maps/dm/music.scr
exec global/ambient.scr music


The red part is the music, look in the ubersound.scr which music U can use.

reimer21 10-10-2002 08:25 AM

To make the sound outside but not inside, you need to make 2 trigger_multiple's, one at the outside of each door and also one on the inside of each door. For the inside one you need to make it a targetname of interior and for the other have a target name of exterior. That should work. Thank Obersturfmer for that one.

Silence... 10-10-2002 11:11 PM

Thanks guys,

The sound works great!

Now if i could only work out a way of getting the new sound file to extract into the right place when the map is run!


Silence...

Ghost Dog 10-11-2002 01:27 AM

To extract the sound into the right folder when your map is played, you have to check the 'save full path'-box when you add it to a pk3 (with winzip or packscape). Of course the mp3 (or wav, whatever) has to be in the right folder so the path sais 'sound/music' when you check it 's properties (I 'm not sure if this is the exact path, I 'll have to check that) and not something like 'C:\Program Files\EA Games\Mohaa\main\sounds\music' -> that won't work cause the pk3 is in your main and so the path starts in your main.

Hope this helps ya.

ThinIce 10-11-2002 02:18 PM

Ah! Much thanks you helped me a heap and I didnt even ask!

Ghost Dog 10-11-2002 03:58 PM

Small correction, the path has to be sound/amb_stereo.

ThinIce 10-11-2002 05:16 PM

Ya that I figured :P M16: eatthis:


All times are GMT -6. The time now is 06:02 PM.

Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.