• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

UI Modding question

keeper317

Refugee
Does anyone know if it is possible to resize the map UI so the viewing area is bigger? I have found the mapArea tags but when I try to change the size it creates a black box that is the right size but the map doesn't get any bigger.

 
Moved this to the Modding Requests and Discussions subforum as we like to keep the Mod forum clear of everything except actual mods. :)

 
find the line:

<texture depth="2" name="mapViewTexture" width="712" height="712" pos="0,0" material="Materials/MaskableMainmap"/>

the map texture size is set there (712x712), change it - if there is no result, then it is still hardcoded.

 
find the line:

<texture depth="2" name="mapViewTexture" width="712" height="712" pos="0,0" material="Materials/MaskableMainmap"/>

the map texture size is set there (712x712), change it - if there is no result, then it is still hardcoded.
Looks like it is hardcoded somewhere, I don't suppose there is a way to change that. 

 
Class XUiC_MapArea

there are constant =712 and 356 in 3-4 places.

I didn't do any resizing, but messed around with moving and centering when it was non-configurable. So i'm sure it's there, too.

So i think if you change these pairs of constant to the same value, you can achieve the desired result.

 
Last edited by a moderator:
Back
Top