[MODDING TOOL] Scrollable Menus

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

Author: SylentButDedly

Last revision: 16 May, 2019 at 19:15 UTC

File size: 934.91 KB

On Steam Workshop

Description:

This tool provides scrolling capabilities to the Military Traditions menu and the Omens menu. One of the annoying things I found is that the vanilla game GUIs don’t support adding new traditions and omens. You could add new traditions and omens, but the GUIs wouldn’t expand to fit the new additions. This fixes that issue!

The Military Traditions menu is edited in the military_view.gui file of this mod. It only impacts the Military Traditions menu, not the Unit Stats menu. The scroll bar only supports adding new traditions to already existing tradition paths (ex. the Latin philosophy paths of tribal, support and Roman), adding a new path (if the game even allows that, I haven’t tried) will not show up on the GUI.

The Omens menu is edited in the religion_view.gui file of this mod. It also adds room for a second modifier for an omen, you wish to do that!

Feel free to just copy and paste this code into your own mods, or have your mod require this to be installed as well, I really don’t mind.

If anyone has any suggestions to make this better and more useful, I’m all ears!