Thread: Panel File IDs
View Single Post
  #4  
Unread 10-08-2008, 02:56 PM
Frosty's Avatar
Frosty Frosty is offline
Tools and UI Engineer
Interface Author - Click to view interfaces
 
Join Date: Feb 2007
Posts: 177
Quote:
Originally Posted by Supermax
Lol we've only been complaining since it was released.
There's the problem. There is "complaining" and there is "COMPLAINING". I'm sure I can dig up a post to see where I said I'd investigate, but things happened...

Anyway. The results are that it *does* work. Sort of. There are issues with panels that live inside the "hidden drag box" (activated with ctrl / ) and some panels that can lie inside other panles (think "the money display"). The problem is the script that's used to generate the SkinDictionary.txt file doesn't work in all cases. Bleah.

What I need to do is re-engineer that script to start at the highest level and drill all the way down to the lowest level while crossing the boundaries of "included and embedded UIs". This will make the SkinDictionary.txt file a lot larger, but it should be easier to understand how it all fits together.

FWIW, the following SkinDefinition.xml does work, the missing piece is that we haven't told you what "GamePlay_DestinyWallet" is anywhere. That piece of info lies along the "embedded UI" line and gets dropped with the current version of the script. I've used the Destiny display as a demo because it was a small, self contained UI.

<?xml version="1.0" encoding="UTF-8"?>
<opt>
<SkinName Name="BasePanel"></SkinName>
<PanelFile ID="ID_UISkin_DestinyWallet_Template">
<Element ID="GamePlay_DestinyWallet" X="0" Y="0" Width="118" Height="54">
<Element ID="DestinyWallet_Box" X="0" Y="0" Width="116" Height="54"></Element>
<Element ID="DestinyWallet_Close" X="2" Y="2" Width="15" Height="15"></Element>
<Element ID="DestinyWallet_Button" X="8" Y="5" Width="101" Height="19"></Element>
<Element ID="DestinyWallet_Destiny" X="9" Y="28" Width="95" Height="22"></Element>
</Element>
</PanelFile>
</opt>
Reply With Quote