Zur13
Chieftain
- Joined
- Nov 7, 2018
- Messages
- 26
So After the GS game update half of my mods stopped working. It looks like some GUI related issues so I want to create a thread where are all findings about new GS update changes related to the mod creation would be collected.
If you find solution to some issues that appear in your mods after the GS update please share it.
Right now I found that to mark mod as compatible with GS update you need to put this line in Properties section of your .modinfo file:
<CompatibleVersions>2.0</CompatibleVersions>
Any way to use Mod Buddy to put this property automatically in the modinfo file during build?
And if anyone knows why the GUI is not showing up please share.
Edit 1: OK it seems that the problem is that modded GUI elements are below the base game GUI elements on Z level.
Edit 2: Map highlight hexes does not work too.
Edit 3: Fix to Map Highlight Hexes UI Lenses etc:
before update format:
UILens.ClearLayerHexes( LensLayers.MOVEMENT_PATH );
after update:
UILens.ClearLayerHexes( UILens.CreateLensLayerHash("Movement_Path") );
Edit 4:
UI fix:
Edit 5: It looks like something changed with icons. One of my map icons background image is displaced.
If you find solution to some issues that appear in your mods after the GS update please share it.
Right now I found that to mark mod as compatible with GS update you need to put this line in Properties section of your .modinfo file:
<CompatibleVersions>2.0</CompatibleVersions>
Any way to use Mod Buddy to put this property automatically in the modinfo file during build?
And if anyone knows why the GUI is not showing up please share.
Edit 1: OK it seems that the problem is that modded GUI elements are below the base game GUI elements on Z level.
Edit 2: Map highlight hexes does not work too.
Edit 3: Fix to Map Highlight Hexes UI Lenses etc:
before update format:
UILens.ClearLayerHexes( LensLayers.MOVEMENT_PATH );
after update:
UILens.ClearLayerHexes( UILens.CreateLensLayerHash("Movement_Path") );
Edit 4:
UI fix:
Code:
ContextPtr:SetHide(false);
Edit 5: It looks like something changed with icons. One of my map icons background image is displaced.
Last edited: