PDA

View Full Version : Changing the Exp Bar's position/length


bluealien1
10-30-2007, 06:59 PM
Hello, I'm making a UI to get more use out of my 1024x768 resolution, it's gonna be pretty simple, nothing really fancy, but there's something holding me back. I can't figure out how to make the Exp Bar's length shorter, no matter what I do, I know it's a modification using XML and inside SkinDefinition.xml. I have even went as far as downloading other UI's that have done this, and just trying to copy and paste the section for it, just to get an idea of how the coordinated work...

Thanks

http://www.imgpig.com/uploads/13672_LevelMeterHelp.jpg

Deewe
10-31-2007, 10:36 PM
Hello, you can check My Yessh UI and in the yessh + addon you'll find what you need in the xml file :

This is where you have to change the width of the level meter.

<Element ID="LevelMeter" X="0" Y="761" Width="1024" Height="6">
<Element ID="LevelMeter_BonusMeter" X="0" Y="0" Width="1024" Height="6">



Good luck messing with the XML file, I spent hours to figure out to use it.




<Mapping ArtAssetID="LetterBoxBottom" FileName="..\Graphics\letterbox_bottom_XP.tga"></Mapping>

<PanelFile ID="toolbar">

<!-- Set your resolution below Width and Height -->
<Element ID="ToolbarField" X="0" Y="0" Width="1024" Height="768" Detach="1">

<!-- Y=Height-85 Also Set your resolution Width and Height -->
<Element ID="ToolbarFieldMain" X="0" Y="683" Width="1024" Height="768"></Element>

<!-- Y=Height-7 Also Set your resolution Width, do not change the Height -->
<Element ID="LevelMeter" X="0" Y="761" Width="1024" Height="6">


<!-- Set your resolution Width only in the 2 lines below -->
<Element ID="LevelMeterFill" X="0" Y="0" Width="1024" Height="6">
<Element ID="LevelMeter_BonusMeter" X="0" Y="0" Width="1024" Height="6">
</Element>
</Element>

<Element ID="ToolbarButton_LevelUpXP_TutorialHighlight" X="1" Y="1" Width="1" Height="1"></Element>
<Element ID="ToolbarButton_Experience_TutorialHighlight" X="0" Y="1" Width="1" Height="1"></Element>
<Element ID="LevelMeterText" X="0" Y="0" Width="1" Height="1"></Element>
</Element>