Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
Theshyguy489

Add simple mod option menu?

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×