Multiple music in a single map?
Multiple music in a single map?
How to specify multiple music, either mp3 or ogg, in a single map?
RE: Multiple music in a single map?
Scripts?ucreator wrote: How to specify multiple music, either mp3 or ogg, in a single map?
Code: Select all
script 1 OPEN
{
Delay(35*240);
SetMusic("asdf");
Delay(35*240);
SetMusic("*");
restart;
}
Last edited by Llewellyn on Sun Dec 09, 2012 5:27 am, edited 1 time in total.
RE: Multiple music in a single map?
What was the delay for?
RE: Multiple music in a single map?
You can't have more than one "music" playing at a time. If you want multiple files to be playing at once you'll have to play one as a looping sound on startup, only OGG and FLAC loops seamlessly I believe.ucreator wrote: What was the delay for?
RE: Multiple music in a single map?
FLAC and OGG will still need cues (or tags you name it) to know they should loop http://zdoom.org/wiki/Audio_loop and have 256 slot to know it loops.
[][][][][][][][][][][][][][][]
Nothing to see here
[][][][][][][][][][][][][][][]
Nothing to see here
[][][][][][][][][][][][][][][]
RE: Multiple music in a single map?
I was trying to tell that after the 1st music, and 2nd one will play and so on. Most of my musics are mp3
-
darkstar64
- Forum Regular
- Posts: 264
- Joined: Sun Dec 09, 2012 3:48 am
- Location: Canada
RE: Multiple music in a single map?
MP3 will most likely be too big of a file size and will increase the sixe of your wad/pk3.ucreator wrote: I was trying to tell that after the 1st music, and 2nd one will play and so on. Most of my musics are mp3
The only thing I can recommend is to use Llewellyn's script and set the delay to match up when the song ends.
Hypnotoad wrote:
That's a pony? I pegged him for some kind of skunk furry.
- -Jes-
- Frequent Poster Miles card holder
- Posts: 975
- Joined: Fri Aug 03, 2012 9:55 am
- Location: Void Zone
RE: Multiple music in a single map?
Even then, the script delay will not count while paused/in menu, but the music will continue.
Generally, you should merge your music into one file if you want a simple loop, as any other method will invariably have holes in it.
Anything else can be done with linedef script triggers and multiple files.
Generally, you should merge your music into one file if you want a simple loop, as any other method will invariably have holes in it.
Anything else can be done with linedef script triggers and multiple files.