View Single Post
Old 07-27-2004, 03:12 PM   #3
Xylan Trueheart
A Treant
 
Join Date: Dec 2003
Server: Tunare
Posts: 21
Default

I like to thank Weskat for steering me in the right direction on how to name the Endurance number addition.

This turned out to be quite simple and I show the same coding as done by Remelio but for displaying Endurance Numbers. I placed this right after the last <Gauge> line of the <Gauge item="Player_Fatigue"> section.

<Label item ="PW_EnduranceNumbers">
<ScreenID>EnduranceNumberLabel</ScreenID>
<EQType>129</EQType>
<Font>2</Font>
<RelativePosition>true</RelativePosition>
<Location>
<X>42</X>
<Y>60</Y>
</Location>
<Size>
<CX>108</CX>
<CY>14</CY>
</Size>
<Text> </Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</B>
</TextColor>
<NoWrap>true</NoWrap>
<AlignCenter>true</AlignCenter>
<AlignRight>false</AlignRight>
<AlignLeft>false</AlignLeft>
</Label>

Please keep in mind the postion numbers are for the custom UI I am using. Please refer to the above Remelio link on setting the correct numbers.

And I added this at the end of the Pieces section.

<Pieces>PW_EnduranceNumbers</Pieces>

Also this code is for a simple Player Window mod. There are other Player Window mods that are heavily modified and you may want to contact the original designer to help you make the changes if its proves too intimidating to do it yourself. Hope this helps those itching to make these changes who have, like me, rudimentary xml knowledge.

Xylan Trueheart
65th Mage
Tunare
Xylan Trueheart is offline   Reply With Quote