Stellaris

Stellaris

Mod Menu
 This topic has been pinned, so it's probably important
had  [developer] 24 Jul, 2017 @ 3:48am
[Guide] Part 3: Resources of Mod Menu.
How to really add a mod to the menu?

You will need a flag from the first guide and a mod menu event for your mod from the second guide.
Then you need to contact me so that I can add a new option which will use your flag to make it appear only when your mod is active in-game and link to your menu event.

Example of option:

option = { name = modmenu.2 custom_tooltip = modmenu.2.tooltip trigger = { or = { has_global_flag = has_nsc_active has_global_flag = has_playable_guardians } } hidden_effect = { country_event = { id = NSC_features.1 } } }

There are two ways to proceed:

Leave it as it is, then to access your menu, your subscribers will need to also subscribe to Mod Menu mod in order to see the button.

If you consider the menu an important part of your mod or do not want to bother the user with a subscription to an extra mod, you can simply copy all the files of this mod to your own.

You can also change your local copy of the Mod Menu as you want in localisation, as long as the localisation string is alphabetically superior to any other mod using the Mod Menu. For example, with careful localisation rewrites, this is the new localisation for the local Mod Menu found in NSC:

http://puu.sh/wRI2W/f85c440ca1.jpg
Last edited by had; 26 Jul, 2017 @ 9:31am