Getting Started

Summary
Getting Started
BasicsTo modify your interface, you simply need to modify existing lua/xml files or create your own lua/xml files in .\UserInterface folder.
Multiple UI SetsYou can also save multiple UI sets into different folders.
Add new lua or xml filesInterface.lua and Interface.xml are the entry point for the interface system.

Basics

To modify your interface, you simply need to modify existing lua/xml files or create your own lua/xml files in .\UserInterface folder.

First, unzip file .\UserInterface\Default.zip which will create folder .\UserInterface\Default.

Next, modify any lua or xml files under this folder.  The modified files will override the default interface files stored in UO SA Client.

Finally, delete the lua/xml files you did NOT modify.

  • You only need to put the modified lua or xml files in this folder.  If the files are the same as default version, they don’t need to be put into this folder.  This will help you to have less code merges next time when client has a new patch.
  • Each time SA client has a new patch, you are responsible to check if the new patch has any change that would require a code merge to your modified lua or xml files.

Multiple UI Sets

You can also save multiple UI sets into different folders.  For example, you can create .\UserInterface\Interface1 and .\UserInterface\Interface2 folders.  Each folder contains a different UI Sets.  Then by choosing custom UI folder in the Main menu of UO SA Client, you can set which UI set to use.

Add new lua or xml files

Interface.lua and Interface.xml are the entry point for the interface system.  When you add new lua or xml files for new windows, you need to make sure these two files are updated to load the new files and initialize the new windows properly.