I was wondering: Since quite some tracks in DOOM and DOOM II are used more than once, isn't there a way (like in Doomsday) to map a single OGG/MP3/whatever track to multiple maps?
In Doomsday, you can write a def where you can e.g. say that D_INTER should use "d_e2m3.ogg". This would prevent you from using the same file with a different name (in this case, "d_inter.ogg"). This could save dozens of megs if possible. Can it be done, and if so, how?
GZDoom music mapping
Moderator: Graf Zahl
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
In (G)Zdoom you'd do it via the mapinfo lump:
http://zdoom.org/wiki/MAPINFO
If you wanted to make sure you kept everything correct, and merely changed the music, you could extract the doom2 mapinfo from (G)Zdoom.pk3, modify it then load it when you run (G)Zdoom.
http://zdoom.org/wiki/MAPINFO
If you wanted to make sure you kept everything correct, and merely changed the music, you could extract the doom2 mapinfo from (G)Zdoom.pk3, modify it then load it when you run (G)Zdoom.
-
- Posts: 17
- Joined: Thu May 01, 2008 8:44
-
- Posts: 18
- Joined: Thu May 25, 2006 5:49
- Location: Buffalo, NY
- Contact:
map MAP01 "Name Here"
levelnum 1
next MAP02
sky1 SKY1 0
cluster 1
par 30
sucktime 1
music D_INTER
map MAP02 "Another Name Here"
levelnum 2
next MAP03
sky1 SKY1 0
cluster 1
par 30
sucktime 1
music D_INTER
map MAP03 "Yet Another Name Here"
levelnum 3
next MAP04
sky1 SKY1 0
cluster 1
par 30
sucktime 1
music D_INTER
And so on and so on. Obviously if this is for Doom, Replace MAPxx with ExMy.
levelnum 1
next MAP02
sky1 SKY1 0
cluster 1
par 30
sucktime 1
music D_INTER
map MAP02 "Another Name Here"
levelnum 2
next MAP03
sky1 SKY1 0
cluster 1
par 30
sucktime 1
music D_INTER
map MAP03 "Yet Another Name Here"
levelnum 3
next MAP04
sky1 SKY1 0
cluster 1
par 30
sucktime 1
music D_INTER
And so on and so on. Obviously if this is for Doom, Replace MAPxx with ExMy.
-
- Posts: 17
- Joined: Thu May 01, 2008 8:44
Errr... I meant using D_INTER just when the intermission screen comes up, not as a replacement for any level music. My point is it's defined nowhere (similar to D_BUNNY btw), and I am looking for a way to map it to D_E2M3 without having to copy the same file with a different name.
Maybe there is something like
map INTER
music D_INTER
for the Doom I intermission screen?
In jDoom, it is solved with an entry in a .ded file:
Music { ID = "inter"; Lump = "D_INTER"; Ext = "music\d_e2m3.ogg"; }
Maybe there is something like
map INTER
music D_INTER
for the Doom I intermission screen?
In jDoom, it is solved with an entry in a .ded file:
Music { ID = "inter"; Lump = "D_INTER"; Ext = "music\d_e2m3.ogg"; }
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
-
- Posts: 17
- Joined: Thu May 01, 2008 8:44