![]() |
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... |
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. |
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.
|
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... |
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. |
Ah! Much thanks you helped me a heap and I didnt even ask!
|
Small correction, the path has to be sound/amb_stereo.
|
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.