Dynamic Mod Menu [3.10.*]

Utilities


Ever felt like your edicts list becomes cluttered by edicts whose sole purpose is to open the settings of a mod? Here is a lightweight and performance-friendly mod that can solve that issue!

For playersThis mod adds a button on the main menu (opened up by pressing escape) that opens the Mod Menu. You can then select the mod you want to access the settings of. Simple right?
The mods simpl...

Розробник: mr_trousers

Дата створення: 15 Apr, 2021 @ 10:24am

Оновлено: 19 Nov, 2023 @ 1:40am

Підписників: 53419


Розмір (розпакований) : 1.940 MB

Ever felt like your edicts list becomes cluttered by edicts whose sole purpose is to open the settings of a mod? Here is a lightweight and performance-friendly mod that can solve that issue!

For players
This mod adds a button on the main menu (opened up by pressing escape) that opens the Mod Menu. You can then select the mod you want to access the settings of. Simple right?
The mods simply have to register themselves. If you don't see the mod you're looking for, you can kindly ask its modder to come see this mod description, so they can see if they want to make their mod register itself.

Concerning the keyboard feature:
You can use SHIFT+A for an A. You can activate capslock with CTRL+C and spaces with CTRL+S. The majority of the special chars need a click (except for + and - with use the numpad + and -).

Place this mod below SWFR and any other mod altering interface/mainmenu_view.gui.
This mod changes checksum and has nearly no compatibility issues.
This mod alters interface/mainmenu_view.gui.
If you don't see the button on the "escape menu", another mod is altering that file. To solve it, you can simply place DMM below it (or at the bottom of the load order).
This mod is save game compatible. It can't be uninstalled during a game.

Mods supporting DMM
This is a non-exhaustive list, if you know of other mods supporting DMM, feel free to comment ;)

For modders
How to add a button for your mod in DMM
This is really straightforward, so don't be afraid ;)
All the infos are here.
I had to move them from this page to that discussion because steam limits the size of the workshop description.

Keyboard Feature
This mod also adds a "keyboard" that allows the player to rename stuff. Simply use
dmm_keyboard_rename = { TARGET = thing_to_rename }
in the country scope of the player (you can use event targets for the TARGET).
Once the renaming is done, the on_action
dmm_keyboard_rename_finished (this = TARGET, from = player country that renamed)
will be fired. If you use it, use a unique flag to make sure that it was your mod that required the rename and check the scope type before (`is_scope_type = leader` if checking for a leader flag).
See example add-on here
This feature was codeveloped with mr_trousers with some design advice from TheMinxLynx.

Template for settings menu
You probably know it, modding GUI in Stellaris is quite hard and annoying. But having a good looking event is really nice. So I created a template you can freely use and change!
Checkout this discussion for more info on it!

Credits
Thank you to mr_trousers for the keyboard feature and to TheMinxLynx for design advice.
Thank you to Mario for allowing me to use this mod name.
Thank you to OldEnt for making an example template.
Thank you to The Stellaris Modding Den.

Legal Stuff
Do not copy any content from this mod without permission. This includes modpacking of course (instead do a steam collection and let your user merge locally).
You have my permission to use the template (event and gui code files having "template" in the name). Make sure to rename the elements if you change them. Please credit ;)

Github link[github.com]
Link for manual install for 3.3[github.com]
[discordapp.com]

Як завантажити моди?

Натисніть на кнопку вище та завантажте обраний мод з файлового сховища.

Як встановити мод?

Див. секцію "Як встановити".

Чи безпечний завантажуваний файл?

Моди перезаливаються нами з оригінального джерела, без жодних змін. Ми лише запаковуємо їх в звичайний архів. Додатково можете перевірити архів на наявність загроз за допомогою будь-якого антивірусу або онлайн-сканеру на кшталт virustotal.com. Також рекомендуємо робити резервні копії ваших сейвів, про всяк випадок.

Інструкції для цієї гри ще немає..