Jump to content

Dynamic EDF Menus


Quasar

Recommended Posts

The long-promised but until now totally fabled ability to define your own menus is currently being added:



Here's the code as well:

menu CustomMenu1
{
   item { type = title;  text = "custom menu one";                       }
   item { type = gap;                                                    }
   item { type = info;   text = "items ho!";       flags = centered;     }
   item { type = gap;                                                    }
   item { type = runcmd; text = "press to exit";   cmd = "mn_clearmenus" }
   item { type = toggle; text = "toggle chasecam"; cmd = "chasecam";     }
   
   nextpage = CustomMenu2
   first = 4
   flags = background
}

menu CustomMenu2
{
   item { type = title;  text = "custom menu two"; patch = "M_WADOPT"; }
   item { type = gap;                                                  }
   item { type = info;   text = "more items ho!";  flags = centered;   }
   item { type = gap;                                                  }
   item { type = slider; text = "sound volume";    cmd = "sfx_volume"; }
   
   prevpage = CustomMenu1
   first = 4
   flags = background
}

Share this post


Link to post

The sweetness!

Will this allow you to point it towards a specific map so that you can even break up a Doom2 mod into episodes by like say, making Episode 2 start at like, shit, I'll say Map12 or make new episodes for Ultimate Doom?

EDIT : found out the answer is yes and it MAKES ME HAPPY :-D

EDIT 2 : Mord...this made me realize that you could actually put all three Eps into 1 WAD using these things. When they're done...heh.

/me hears Mord shaking his fist, muttering "fuck you, BBG, I'm working on 'em."

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