From 6abaae20dd77bcf5a068c948c875521ce4bd0049 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 11 Oct 2014 16:00:35 +0000 Subject: [PATCH] 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. --- buildcfg.txt | 1 + lumps/fdmmpinf.lmp | 1 + lumps/fraggle/freedm_mapinfo.txt | 46 ++++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 120000 lumps/fdmmpinf.lmp create mode 100644 lumps/fraggle/freedm_mapinfo.txt diff --git a/buildcfg.txt b/buildcfg.txt index db622f5c..bb2fd251 100644 --- a/buildcfg.txt +++ b/buildcfg.txt @@ -179,6 +179,7 @@ DBIGFONT #ifdef FREEDM DEHACKED = fdm_deh +ZMAPINFO = fdmmpinf ENDOOM = endoomdm FREEDM #else diff --git a/lumps/fdmmpinf.lmp b/lumps/fdmmpinf.lmp new file mode 120000 index 00000000..71918d1f --- /dev/null +++ b/lumps/fdmmpinf.lmp @@ -0,0 +1 @@ +fraggle/freedm_mapinfo.txt \ No newline at end of file diff --git a/lumps/fraggle/freedm_mapinfo.txt b/lumps/fraggle/freedm_mapinfo.txt new file mode 100644 index 00000000..432d5aae --- /dev/null +++ b/lumps/fraggle/freedm_mapinfo.txt @@ -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 = "" +} +