Page 1 of 1

[DONE] MapInfo replacements for multiple iwads in same mod?

Posted: Sat May 21, 2022 2:35 am
by eharper256
So, this is just a query before I start down a long road into a mire: I was thinking of creating and adding in new intermission backgrounds for Heretic and Hexen to Walpurgis, which would require me to do some re-write's to the MAPINFO lumps.

Obviously, Walp is currently compatible with Doom (+Wadsmoosh), Heretic, and Hexen all at once.

What I need to know is if there any pitfalls in replacing multiple game MAPINFO's, or if that's even possible?

I ~assume~ what I do is copy the format used in the zdoom.pk3, and have a folder called /mapinfo/ with a heretic.txt and hexen.txt which would override the base ones. Is that right?

And in that case, do I need to copy the full contents of the file from zdoom.pk3, or will be my changes be merged?

Thanks!

Re: MapInfo replacements for multiple iwads in same mod?

Posted: Sat May 21, 2022 6:48 pm
by Blue Shadow
I'd imagine you only need to copy the relevant parts (the cluster definitions). Each MAPINFO, then, is put in its own [wiki=Lump_filtering]filter[/wiki]. For example, the filter for Heretic: Shadow of the Serpent Riders and Hexen: Beyond Heretic should be like this:

Code: Select all

filter/heretic/heretic.shadow/mapinfo.txt
filter/hexen/hexen.hexen/mapinfo.txt

Re: MapInfo replacements for multiple iwads in same mod?

Posted: Sun May 22, 2022 7:57 am
by eharper256
Blue Shadow wrote:I'd imagine you only need to copy the relevant parts (the cluster definitions). Each MAPINFO, then, is put in its own [wiki=Lump_filtering]filter[/wiki]. For example, the filter for Heretic: Shadow of the Serpent Riders and Hexen: Beyond Heretic should be like this:

Code: Select all

filter/heretic/heretic.shadow/mapinfo.txt
filter/hexen/hexen.hexen/mapinfo.txt
Okay, so it seems that it appends to my standard mapinfo.txt I have in the root, AND overwrites any iwad resources when in /filter/ from my testing. Interesting to know.

For some reason I had it in my head that the filter directory was only for textures. :shock:

Anyway, thanks for the tip. Here's the result: