Jump to content

Zmapinfo Question


Recommended Posts

When in GZdoom builder an error appears in the lower left corner that states "MAPINFO error in "Azazel's Second Descent.wad\ZMAPINFO:0", line 7. Unexpected token "map"."   I have copy the mapinfo below. When playing the map the map name, cluster and par time does not work. The other 2 maps listed everything works just fine. I have tried taking out both map and map01 and it did not solve the problem.  So my question is why does just map 01 not work and how do I fix it so it behaves like the following 2 maps.

 

Thanks for your time and feed back.

 

defaultmap
{
NOJUMP
NOCROUCH


MAP MAP01 "Dysmal Nightmares" <<This is line 7>>
{
    levelnum = 1
    titlepatch = CWILV00
    next = MAP02
    sky1 = SKY2  0
    cluster = 100
    par = 600
    music = D_RUNNIN
}

MAP MAP02 "Walking Tombs"
{
    levelnum = 2
    titlepatch = CWILV01
    next = MAP03
    secretnext = MAP03
    sky1 = SKY2  0
    cluster = 100
    par = 600
    music = D_STALKS
}


MAP MAP03 "Unknown Experiemnt"
{
    levelnum = 3
    titlepatch = CWILV02
    next = MAP04
    secretnext = MAP04
    sky1 = SKY2  0
    cluster = 100
    par = 900
    music = D_COUNTD
}

}

Share this post


Link to post

Pretty sure you need to close the defaultmap definition before other map definitions begin.

defaultmap
{
NOJUMP
NOCROUCH
}

 

Share this post


Link to post
1 hour ago, jaeden said:

Pretty sure you need to close the defaultmap definition before other map definitions begin.


defaultmap
{
NOJUMP
NOCROUCH
}

 

@Bloodbath Giraffe Precisely this, you forgot to close it and accidentally left the closing bracket for it doubled up under MAP03's entry.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...