Jump to content
  • 0

Add simple mod option menu?


Theshyguy489

Question

I have been trying to learn how to add a new menu in my mod. I'm making an Accesabilty mod that will slow the game down for people incapable of comprehending DOOM's gameplay speed.

I want to add a menu where the player can scale the speed reduction down by a percent.

I learn best by example but the examples I find in the mods I play I cant understand.

If anyone can explain it better or give me a simple example to follow that would be great.

Share this post


Link to post

3 answers to this question

Recommended Posts

  • 1

Brutal Doom is probably not the best example to learn anything from, except perhaps how not to do things.

 

The code in this is probably much cleaner:

 

Share this post


Link to post
  • 0

I'd recommend checking the MENUDEF code from Brutal Doom and use the Zdoom wiki as a reference

Share this post


Link to post
  • 0

I suggested brutal doom as an example as it's one of the first mods that came to mind that had a lot of menu items and uses of CVARS but yeah there's very likely better alternatives to learn from

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