lumps: Add MAPINFO for FreeDM.

In ZDoom-based ports, this removes the text intermission screens
that are intended to show story text (which is redundant for FreeDM).
It also makes the game loop back to MAP01 after MAP30 so that you can
keep playing endlessly.

Unfortunately this doesn't work in Odamex or ZDaemon, but it has been
tested in ZDoom and Zandronum. Odamex and ZDaemon are based on an
older version of ZDoom that does not support the newer MAPINFO
syntax, only an older, Hexen-style syntax. This old syntax does not
appear to be sufficient to accomplish what is desired here - at least,
not without potentially breaking things like Dehacked patches that
change the level name.

This fixes #111.
This commit is contained in:
Simon Howard 2014-10-11 16:00:35 +00:00
parent 3163f62207
commit 6abaae20dd
3 changed files with 48 additions and 0 deletions

View file

@ -179,6 +179,7 @@ DBIGFONT
#ifdef FREEDM
DEHACKED = fdm_deh
ZMAPINFO = fdmmpinf
ENDOOM = endoomdm
FREEDM
#else

1
lumps/fdmmpinf.lmp Symbolic link
View file

@ -0,0 +1 @@
fraggle/freedm_mapinfo.txt

View file

@ -0,0 +1,46 @@
// MAPINFO lump for FreeDM. This doesn't do much, except strip out
// most of the normal Doom II story for ZDoom-based ports.
// After finishing MAP30, loop back to MAP01 and start again.
map MAP30 lookup "HUSTR_30"
{
next = "MAP01"
titlepatch = "CWILV29"
sky1 = "SKY3"
cluster = 8
allowmonstertelefrags
music = "$MUSIC_OPENIN"
}
// Show no intermissions text between levels.
cluster 5
{
exittext = ""
}
cluster 6
{
exittext = ""
}
cluster 7
{
exittext = ""
}
cluster 8
{
exittext = ""
}
cluster 9
{
exittext = ""
}
cluster 10
{
exittext = ""
}