Level Music -

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Galaxy_Stranger
Posts: 1326
Joined: Sat Aug 16, 2003 11:42 pm
Location: Shropshire
Contact:

Level Music -

Post by Galaxy_Stranger »

Hey - I've scripted in some music and every time I do, the game starts playing it's original .mid for a half second before the script kicks in, I guess.

Is there any way to stop that, or do I have to put in a blank midi file in its place?
User avatar
Chris
Posts: 2978
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Chris »

Make a MAPINFO that specifies no music. Or something.
User avatar
Kappes Buur
 
 
Posts: 4182
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Post by Kappes Buur »

Chris wrote:Make a MAPINFO that specifies no music. Or something.
I would go for the something :D
and specify a music lump in MAPINFO, ie:

Code: Select all

map MAP01 "mapname"
levelnum 1
next MAP02
sky1 SKY1 0
music musicname
and insert the music lump into the pwad, just to be sure that it does play.

Else, if you do not want to insert a MAPINFO lump into the pwad and the map is for map01, rename the music lump (mp3, ogg, wav, etc.) to D_RUNNIN.WAD and stuff it into the skins folder. Or if for map02 rename to D_STALKS, map03 rename to D_COUNTD, etc.
User avatar
Kirby
Posts: 2697
Joined: Thu Aug 26, 2004 1:23 pm

Post by Kirby »

Kappes Buur wrote:D_RUNNIN.WAD
I think u simply mean "D_RUNNIN"
User avatar
Kappes Buur
 
 
Posts: 4182
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Post by Kappes Buur »

Kirby wrote:I think u simply mean "D_RUNNIN"
nnnnnooh, I am pretty sure that I didn't mean that. :P

When I just have D_RUNNIN as the file name in the Skins folder, the music lump will not play.
But it does play as soon as that file is renamed to D_RUNNIN.WAD.

Aahh, I should have typed the .WAD for the other lumps as well, ie:

D_STALKS.WAD
D_COUNTD.WAD

Thanx for pointing that out. :D
User avatar
Macil
Posts: 2529
Joined: Mon Mar 22, 2004 7:00 pm
Preferred Pronouns: He/Him
Location: California, USA. Previously known as "Agent ME".
Contact:

Post by Macil »

Um.. I don't recommend doing this. Name it D_RUNNIN.* (* = whatever you want). Then insert it into your wad. I HATE wads that are split up into many generic wads, and you forget what goes with what.
User avatar
Kirby
Posts: 2697
Joined: Thu Aug 26, 2004 1:23 pm

Post by Kirby »

Kappes Buur wrote:
Kirby wrote:I think u simply mean "D_RUNNIN"
nnnnnooh, I am pretty sure that I didn't mean that. :P

When I just have D_RUNNIN as the file name in the Skins folder, the music lump will not play.
But it does play as soon as that file is renamed to D_RUNNIN.WAD.

Aahh, I should have typed the .WAD for the other lumps as well, ie:

D_STALKS.WAD
D_COUNTD.WAD

Thanx for pointing that out. :D
:D :) :P 8-) :laff:
User avatar
BetaSword
Posts: 650
Joined: Fri Jul 02, 2004 10:53 am
Location: Doing some stuff.

Post by BetaSword »

Or just insert the music into the pwad, and rename the lump D_RUNNIN. Does the exact same thing, but without the skins folder or other external files.
User avatar
Woolie Wool
Posts: 1713
Joined: Mon Dec 15, 2003 3:36 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Arch Linux, Windows 11
Graphics Processor: nVidia with Vulkan support
Contact:

Post by Woolie Wool »

You know, if you name a midi file D_RUNNIN with no extension and copy it into your Doom directory (DO NOT put it into a wad, just put it into the directory) and run ZDoom, that file will play whenever you play map01. Even if you play a WAD that has its own D_RUNNIN lump.
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

If so, that's a bug. The file should need to placed in the zdoom\skins folder in order to be auto-loaded. :P
User avatar
Enjay
 
 
Posts: 27088
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Post by Enjay »

I just tried it and it does work. I also tried loading another lump type (a dehacked file called dehacked (no extention)) and it didn't load. Perhaps it is just music lumps. As for intentional or bug? I dunno.

BTW, just for info, if you call a file zvox.wad and dump it into your Zdoom directory, it too will be autoloaded. I think this was originally put in because Randy anticipated a player voice pack kind-of wad (or similar) but no-one has ever really made any kind of fuss about it and the feature just sits there dormant. :)
Locked

Return to “Editing (Archive)”