Hi!,

First, add your music files into data/music/ingame/ (.ogg and .mp3 
should be supported).

Then create a .m3u file in the same folder (data/music/ingame/). There 
are other .m3u files in this folder, be free to look at them to 
understand the very simple syntax :-) (let's say you have choose to 
create perso.m3u)

At the end, add the following tag to data/map/<mymap>/config.xml:
<music_playlist>perso</music_playlist>

With "perso" the name of your m3u file (perso.m3u).

You can look at sea.m3u and map aquarium to have an example.

Hope it helps ! :-)

Matt (gentildemon)

PS: if it is not clear enough, please ask again :-)

Josiah a écrit :
> I figured out how to make my own maps and all, but I can't figure out if I
> can put my own music into it. I've tried a couple ways, but I'm not sure how
> to have the music play while on my map. Can you help?
> _______________________________________________
> Wormux-dev mailing list
> Wormux-dev@gna.org
> https://mail.gna.org/listinfo/wormux-dev
>
>
>   

_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à