Thread: Nesting Issues
View Single Post
  #4  
Unread 05-02-2012, 11:24 AM
EQAditu's Avatar
EQAditu EQAditu is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Permafrost
Posts: 256
Default

This will probably sound crazy as I can barely remember it myself... but there are multiple versions of the UI the game has.

There's a "memory" version and a "file" version. The reason I call it those is that the "file" version has the XML reference structure of the files, while the "memory" version is the one the game actively uses but does not have the same structure for referencing.

File structure:
Code:
<root>
    <MainHUD>
        <Clock/>
    </MainHUD>
    <Custom>
        <Settings/>
    </Custom>
</root>
Memory structure:
Code:
<root>  <!-- Some called it _HUD -->
    <Clock/>  <!-- ALL windows are merged into one XML node -->
    <Settings/>
</root>
The memory structure is what you should always use as otherwise you'll have odd side effects. Similar to how if you use /show_window with the wrong capitalization. "A window" will show up, but it won't work correctly.
Reply With Quote