Hi
I'm trying to make a "AddDefaultMap" section on a MAPINFO lump in PWAD, but the properties aren't making any affect on Doom default maps. Seems that the engine reads first the "Oficial" map definitions in ZDOOM.PK3, then afterwards, it reads MAPINFO lumps in PWADs. This makes the "AddDefaultMap" option useless, because the map data for all levels are based on the first DefaulMap. Is this proposital? This seems to be a bug...
MAPINFO AddDefaultMap reading
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
-
Kate
- ... in rememberance ...
- Posts: 2975
- Joined: Tue Jul 15, 2003 8:06 pm
Re: MAPINFO AddDefaultMap reading
AddDefaultMap is not for existing definitions, it is only for new definitions following it. It was intended to be used to be combined with DefaultMap so you don't have to type all of the options at once:
Code: Select all
DefaultMap
{
[...]
gravity = 800
}
[...maps...]
AddDefaultMap
{
gravity = 200
}
[...more maps...]-
Blzut3
-

- Posts: 3215
- Joined: Wed Nov 24, 2004 12:59 pm
- Operating System Version (Optional): Kubuntu
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: MAPINFO AddDefaultMap reading
I've seen this kind of post a few times now, so out of curiousity what are you trying to set retroactively? A block to do this could be added, but given the purpose of mapinfo I'm not sure it's the proper way to do things anyways (that is to say most of the map properties really are more for setting based on the design of the map).
-
Daniel
- Posts: 811
- Joined: Sun Jul 04, 2004 3:21 pm
Re: MAPINFO AddDefaultMap reading
I thought that we could change internal maps... but seems to do so, we have to "copy and paste" original DOOM 1 and 2 map definitions.
-
Xaser
-

- Posts: 10774
- Joined: Sun Jul 20, 2003 12:15 pm
Re: MAPINFO AddDefaultMap reading
The important part was this bit:
Though the way defaultmap works won't change, listing what specifically you were trying to do might help identify something that might be implementable as a global setting (in the gameinfo block). Otherwise, nothing will happen.Blzut3 wrote:out of curiousity what are you trying to set retroactively?