Skip to content

Notes on ULD Editing

ocealot edited this page Aug 24, 2023 · 3 revisions

.uld editing is still in it's early stages, and can be somewhat tempermental

Replacing Textures

If you replaced a commonly-used texture (for example, the window background), it may not be updated the next time you open the UI element. This can sometimes happen because another UI element already has the old version of the texture loaded, so the game uses that rather than requesting a new, updated version.

You can get around this by using a custom texture path:

image

Make sure that the new texture has dimensions which are multiples of 8, and check to see if there is an HD version which also needs to be replaced.

Creating New Nodes

When creating new nodes, the order and Id is extremely important. Let's look at an example:

Here I have created a new node (renamed to DogNose) which I want to appear after the text node CurrencyText

image

I gave the new node an Id of 13, since this is not being used by any other node in the component. This is important, since the game will sometimes search for specific nodes based on their Id in order to modify them, and we don't want to mess that up.

In addition, I dragged it above CurrencyText in the list, so that in the actual game it will appear on top of it. Finally, I adjusted the Next Sibling Id of CurrencyText to point to my new node.

image