Current and retro-compatible menus (MENUDEF)

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
User avatar
DBThanatos
Posts: 3101
Joined: Fri Apr 14, 2006 3:17 pm
Location: in "the darkness that lurks in our mind"

Current and retro-compatible menus (MENUDEF)

Post by DBThanatos »

In D4T I have a menu with certain options that are very relevant to the mod, like changing the X-hair and forcing it to be default (or not), the sprite clipping, allow jump/crouch, amongst other options.

This menu worked up to 3.1. Now in 3.2 it's not there.

How do I add a custom menu with "shortcuts" to some other gzdoom options aswell as a couple keybinds relevant to D4T, that will be compatible with 3.2 and 1.8.6?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49183
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Current and retro-compatible menus (MENUDEF)

Post by Graf Zahl »

Where did you put the menu? Normally the new handling should preserve unknown menu entries but it is definitely possible to have setups where stuff may get lost.


But with keybinds you have to be careful. In order to save them properly they have to be declared through KEYCONF or they will pollute the global Doom namespace.

Return to “Scripting”