Alliedassault

Alliedassault (alliedassault.us/index.php)
-   MoH Maps, Mods & Skins (alliedassault.us/forumdisplay.php?f=11)
-   -   Custom music and the .pk3 (alliedassault.us/showthread.php?t=13265)

crunch 11-24-2002 08:10 AM

Custom music and the .pk3
 
I have succeeded in placing custom music in my maps, however I can not get the music to play directly out of the .pk3. I have tried mirroring the directories with no useful results.
If I place the .mp3 files directly into the main>sound>amb_stereo folder, the music plays flawlessly. But as soon as I try to mirro those directories, no music!
Anyone know how to do this?

jv_map 11-24-2002 12:20 PM

MoHAA can't stream sound files from a pk3. How do you get your music to play? I might be able to help you.

crunch 11-24-2002 02:58 PM

Here's how I did it:

I chose the music I wanted, took the .mp3 and named it "Amb_mymap.mp3". I then placed this file in my main>sound>amb_stereo folder.

Then I pointed to this file in my .mus file.

And Voila! The music played when I ran the map.

But--- I can't pack the music into the .pk3 file and have it work.
Here's exactly what the .mus file looks like:

path sound/amb_stereo

normal Amb_Verlassene_ext.mp3 // Plays over entire level
aux1 Amb_Verlassene_ext.mp3 // Exterior 1 - all exteriors
aux6 Amb_church.mp3 // Interior 1 - church interior
aux4 Amb_Verlassene_int.mp3 // house interiors

!normal volume 2
!normal loop

!aux1 volume 2.0
!aux1 loop

!aux6 volume 1.5
!aux6 loop

!aux4 volume 1.0
!aux4 loop


//Music Recommendation
//mus_09a_action.mp3

//Just in case we can get multiple ambiences working...
//normal Amb_Verlassene_ext // Player Start
//!normal volume 1
//!normal loop

The music works fine when I physically place it in the amb_stereo folder, but not if I try to pack it into the .pk3.

jv_map 11-25-2002 10:30 AM

Feeling so sorry...
 
Well actually there's only one way to get sounds playing from a pk3 file, which is by loading them with the ubersound file. This means you can't use the .mus file :(.

Really annoying isn't it? I will keep looking for other solutions though.

To learn more about the ubersound file, read this:
http://www.planetmedalofhonor.com/map/t ... sound.html

It's really the developers fault that this doesn't work. All the ubersound crap should have directly been shipped into the trash bin.


All times are GMT -6. The time now is 01:31 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.