Jump to content
  • 0

How can I add multiple interpics via clusters?


Samuel Slayer

Question

I'm doing an episodic format. I've tried following couple tutorials to see if I can change interpics from one episode to another. So far I haven't been successful doing that so I'm asking here to seek help. I really want to add this functionality to my wad, thanks!

 

Here's my ZMAPINFO scripts:

 

================================

episode e3m1
{
    
    name = "Dealing Retribution"
    key = "d"
}

episode e4m1
{
    
    name = "Whom To Fear"
    key = "g"

defaultmap
{
  nojump
  nocrouch
  sucktime = 1
}


//Episode 3

map E3M1 lookup "Hell Holds Barred"
{
    levelnum = 21
    titlepatch = "WILV20"
    next = "E3M2"
    secretnext = "E3M9"
    sky1 = "INFRSKY3"
    cluster = 3
    par = 90
    music = "$MUSIC_E3M1"
}

map E3M2 lookup "Offering For The Eclipse"
{
    levelnum = 22
    titlepatch = "WILV21"
    sky1 = "HDRKSKY4"
    cluster = 3
    par = 45
    music = "$MUSIC_E3M2"
}


// Episode 4

map E4M1 lookup "Brood Of Vipers"
{
    levelnum = 31
    titlepatch = "WILV30"
    next = "E4M2"
    secretnext = "E4M9"
    sky1 = "GREESKY3"
    cluster = 4
    par = 165
    music = "$MUSIC_E3M4"
}

map E4M2 lookup "Gnashing Of Teeth"
{
    levelnum = 32
    titlepatch = "WILV31"
    sky1 = "DS2SKY08"
    cluster = 4
    par = 255
    music = "D_E4M2"
}

cluster 3
{
  flat = "SCREEN03"
}

cluster 4
{
  flat = "SCREEN04"
}
================================

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0
1 hour ago, Nevander said:

Thanks for your thorough answer!

 

 I was failing because I was trying to enable several interpics with clusters. What I ended up using was Jimmy suggesting me to define them by map basis instead of by episode basis and it works well with my intent! So, adding interpic into map definition:

 

map MAP01 lookup "Mapname"
{
    levelnum = 1
    titlepatch = "WILVXX"
    next = "MAP02"
    sky1 = "SKYNAME"
    interpic = "Picname"
    cluster = 1
}

 

And it works great! Thanks again, though! :D

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
Answer this question...

×   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...