Custom User Interface

Return to: Client User Guide – Enhanced
Custom User Interfaces
By Miss Echo of Spellweave.com, Reproduced with Permission.
Enhanced Client Guide Index


When logging into EC you will notice on the top menu bar of the log in screen a button for Custom UI’s. This is where you may select to use a custom UI if you have one installed in your User Interface.  You may also switch your UI from ‘in game’ in the Main Menu/User Settings/Options tab under the heading ‘Interface’.

If you can’t ‘create your own UI or just wish to ‘learn’ how to create and/or install one, you will find people who are willing to ‘share’ the ones they have created with all EC Users or those who will ‘assist’ you in how to actually do it.  Since the introduction of KR, the ‘Modders Exchange’ has been building a list of downloadable UI’s for all to use. Questions on custom UI’s may be had by asking on the Forums or by visiting the Modders Exchange website (links below).

I am no expert on creating a Custom UI, however for those of you who think you have the ability then these are the ‘original’ instructions provided by EA/Mythic via a news post by Jeremy Dalberg in 2007 for the KR client.  The difference being replace the words KR for EC when following the instructions.

KR Custom UI, part 1
Jeremy Dalberg
17 Aug 2007 15:30:43 EST
With the latest KR patch, we’ve added the ability to customize your interface. Below the jump are some basic instructions on how to go about it – we’ll be providing more details and examples over the next few weeks, but if you’re comfortable playing with XML, go for it! Getting Started

1. Locate the UserInterface folder. It will be in the install directory for UO Kingdom Reborn.
2. Extract Default.zip to the UserInterface folder. This archive contains the source layouts and artwork that you will be modifying.
3. Make sure that the extraction process created a Default folder under UserInterface
4. Create a new folder under UserInterface with the name that you want to use for your Custom UI.
5. At this point you can begin copying files over from the Default folder and making modifications to them. (Make sure you maintain the same directory structure)

General Notes

* The zip file in the UserInterface folder contains the default layouts and textures used in UOKR. By modifying these files you will be able to customize the look of the UOKR interface.
* If you are running Vista you will need to be logged in as administrator in order to manipulate files in the install directory.
* Script files can not be edited. This means that you will only be able to change the layout of existing windows. You will not be able to change any functionality or add new windows to the game. Don’t change or remove any script includes or the interface will not function properly.
* You only need to put the files you have actually modified in the custom UI folder. Any file that does not exist in your custom UI folder will be pulled from the default UI built into the game.

XML Editing

* Make sure your event handlers match the ones in the default UI.
* If you remove an element that is referenced in a script, it may cause the script to break. The safest thing to do is remove the texture from the element or have its position set so that it is off the screen.
* CoreWindowTemplates.xml and UO_Default_UI_Templates.xml contain the majority of the templates used across the UI. Making changes to these templates will affect multiple windows across the interface.
* UO_DefaultWindow is the template that is used for the standard windows in the game. Altering this template will change the look of all windows that contain a titlebar and a close button.
* You can reload the XML definitions while the game is running by switching back and forth between the Default UI and your custom UI in the user settings screen.

Texture Editing

* Our interface textures are in DXT (.dds) format. The following link has downloads for DXT tools and photoshop plugins: http://developer.nvidia.com/object/nv_texture_tools.html
* Make sure you save your textures in DXT3 format
* You can add new textures by adding them to the Textures.xml file found in the Textures folder.
* Some textures are referenced by more than one template or window. Instead of modifying them in place, its best to put your customized art in a new texture and modify the xml to point to the new location.
* The game must be restarted to see changes made to the textures.

 

Last modified: May 28, 2013

Leave a Reply

You must be logged in to post a comment.