Mod Menu

If you liked this item, please rate it up on Steam Workshop page.

Author: had

Last revision: 17 Sep, 2023 at 15:45 UTC (34)

File size: 348.16 KB

On Steam Workshop

Description:

This is a mod resource for mods that use Mod Menu.

Load order

Put this mod after all other interface mods.

Corrently supported mods:

Explanation for users:

You need to subscribe to this mod only if it is necessary to access the menu.
Some mods can have menu files locally. In this mod always will be the latest version of menu files that can solve compatibility problems.

Explanation for modmakers:

This mod contains files that add a button (and other stuff) to call the menu.
You can add your own menu to this system (the only requirement is global flag for the trigger (for example, autobuild_installed)) to give your mod cool settings, some new game features, call for debugging of coding without using the console (usefull for ironmen), or something else, there are many possibilities.

How it works:

The new button will invoke a menu event, and each option available from this menu will call an event or menu from each mod available to control it’s features or settings. See one of the supported mods above for specific examples.

Topics:

How to set global flag
How to make menu
How to deal with resources of Mod Menu
List of com. patches

GitHub[github.com]

Write, if you have any suggestions or questions, or if you want to write something.
You can do with the mod’s code whatever you want, give me credits if you want.