Page 1 of 1

How to store music in .U file?

Posted: Fri Dec 30, 2011 11:50 am
by Voodoo Doll
Hello. I know that's is possible place textures and sounds in .u package, not only meshes and classes. But if I import IT or S3M song in Unrealed, it asks song name only, not package name, so it's possible to save UMX from music browser only. Is there a program which can embed music data in .u packages? I want to compile whole map in single UNR file, using mylevel.u to store all data inside it.

It will be cool if there is a way to put multiple songs in single file.

Re: How to store music in .U file?

Posted: Fri Dec 30, 2011 12:15 pm
by Feralidragon
I never did that, but I think it works the same way as textures and other external packages.

Basically, you import the music into a .umx package the normal way, close the editor, load it up again and load your map, then you should execute this in the UnrealEd console:
OBJ LOAD FILE="..\Music\MyMusic.umx" PACKAGE=MyLevel

I think.... not sure though, never tried it.

Re: How to store music in .U file?

Posted: Fri Dec 30, 2011 1:02 pm
by Voodoo Doll
Thanks a lot!! this thing working :)

Re: How to store music in .U file?

Posted: Fri Dec 30, 2011 1:07 pm
by Sp0ngeb0b
Importing music files in an external .u file also works with this line:

#exec NEW MUSICFACTORY FILE="Path\MusicFile" NAME="MyMusicFileName"

Especially usefull when you are not working with the Unrealeditor.