Home Forum Downloads My Favorites Register FAQ

Go Back   EQInterface Forums > Developer Discussion > XML modification help.
User Name
Password

Reply
 
Thread Tools Display Modes
Old 12-11-2002, 08:23 PM   #1
Centarus
A Bat
 
Join Date: Dec 2002
Posts: 1
Default Help! [Adding % to HP, MANA, FAG]

Well I'm new to this, but I love these forums so far and was wondering if anyone could provide me any assistance.

I am trying to add the neat %'s to my PlayerWindow. I have done a comprehensive serach on this forum and read a lot. However to no avail of my own I can't seem to understand how to do this.

EG:

HP: ----------------- 100%
MANA: ----------------- 100%
Fag: ----------------- 100%
XP: ----------------- 100%
XPAA: ----------------- 100%

where "------------" are the bars.

I emplore any great soul out there to help me out.

Thanks again guys, and great forum!

Code:
<?xml version = "1.0"?> <XML ID = "EQInterfaceDefinitionLanguage"> <Schema xmlns = "EverQuestData" xmlns:dt = "EverQuestDataTypes"/> <Gauge item = "Player_HP"> <ScreenID>PlayerHP</ScreenID> <!--<Font>3</Font>--> <TextColor> <R>240</R> <G>240</G> <B>240</B> </TextColor> <RelativePosition>true</RelativePosition> <Location> <X>3</X> <Y>0</Y> </Location> <Size> <CX>108</CX> <CY>41</CY> </Size> <TextOffsetX>8</TextOffsetX> <GaugeOffsetY>33</GaugeOffsetY> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <!--<TooltipReference/>--> <FillTint> <R>240</R> <G>0</G> <B>0</B> </FillTint> <LinesFillTint> <R>220</R> <G>220</G> <B>0</B> </LinesFillTint> <DrawLinesFill>false</DrawLinesFill> <EQType>1</EQType> <GaugeDrawTemplate> <Background>A_GaugeBackground</Background> <Fill>A_GaugeFill</Fill> <Lines>A_GaugeLines</Lines> <LinesFill>A_GaugeLinesFill</LinesFill> <EndCapLeft>A_GaugeEndCapLeft</EndCapLeft> <EndCapRight>A_GaugeEndCapRight</EndCapRight> </GaugeDrawTemplate> </Gauge> <Gauge item = "Pet_HP"> <ScreenID>PetHP</ScreenID> <!--<Font>3</Font>--> <TextColor> <R>0</R> <G>0</G> <B>0</B> </TextColor> <RelativePosition>true</RelativePosition> <Location> <X>7</X> <Y>39</Y> </Location> <Size> <CX>108</CX> <CY>2</CY> </Size> <TextOffsetY>-50</TextOffsetY> <GaugeOffsetY>-2</GaugeOffsetY> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <!--<TooltipReference/>--> <FillTint> <R>51</R> <G>192</G> <B>51</B> </FillTint> <LinesFillTint> <R>0</R> <G>0</G> <B>0</B> </LinesFillTint> <DrawLinesFill>false</DrawLinesFill> <EQType>16</EQType> <GaugeDrawTemplate> <Background>A_GaugeBackground</Background> <Fill>A_GaugeFill</Fill> <!--<Lines>A_GaugeLines</Lines>--> <LinesFill>A_GaugeLinesFill</LinesFill> <!--<EndCapLeft>A_GaugeEndCapLeft</EndCapLeft>--> <!--<EndCapRight>A_GaugeEndCapRight</EndCapRight>--> </GaugeDrawTemplate> </Gauge> <Gauge item = "Player_Mana"> <ScreenID>PlayerMana</ScreenID> <!--<Font>3</Font>--> <RelativePosition>true</RelativePosition> <Location> <X>3</X> <Y>46</Y> </Location> <Size> <CX>108</CX> <CY>8</CY> </Size> <GaugeOffsetY>0</GaugeOffsetY> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <!--<TooltipReference/>--> <FillTint> <R>0</R> <G>0</G> <B>240</B> </FillTint> <LinesFillTint> <R>0</R> <G>220</G> <B>220</B> </LinesFillTint> <DrawLinesFill>false</DrawLinesFill> <EQType>2</EQType> <GaugeDrawTemplate> <Background>A_GaugeBackground</Background> <Fill>A_GaugeFill</Fill> <Lines>A_GaugeLines</Lines> <LinesFill>A_GaugeLinesFill</LinesFill> <EndCapLeft>A_GaugeEndCapLeft</EndCapLeft> <EndCapRight>A_GaugeEndCapRight</EndCapRight> </GaugeDrawTemplate> </Gauge> <Gauge item = "Player_Fatigue"> <ScreenID>PlayerFatigue</ScreenID> <!--<Font>3</Font>--> <RelativePosition>true</RelativePosition> <Location> <X>3</X> <Y>59</Y> </Location> <Size> <CX>108</CX> <CY>8</CY> </Size> <GaugeOffsetY>0</GaugeOffsetY> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <!--<TooltipReference/>--> <FillTint> <R>240</R> <G>240</G> <B>0</B> </FillTint> <LinesFillTint> <R>0</R> <G>220</G> <B>0</B> </LinesFillTint> <DrawLinesFill>false</DrawLinesFill> <EQType>3</EQType> <GaugeDrawTemplate> <Background>A_GaugeBackground</Background> <Fill>A_GaugeFill</Fill> <Lines>A_GaugeLines</Lines> <LinesFill>A_GaugeLinesFill</LinesFill> <EndCapLeft>A_GaugeEndCapLeft</EndCapLeft> <EndCapRight>A_GaugeEndCapRight</EndCapRight> </GaugeDrawTemplate> </Gauge> <Screen item = "PlayerWindow"> <!--<ScreenID/>--> <RelativePosition>false</RelativePosition> <Location> <X>516</X> <Y>0</Y> </Location> <Size> <CX>124</CX> <CY>78</CY> </Size> <Text>Player</Text> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <TooltipReference>The Breath Meter</TooltipReference> <DrawTemplate>WDT_RoundedNoTitle</DrawTemplate> <Style_Titlebar>false</Style_Titlebar> <Style_Closebox>false</Style_Closebox> <Style_Minimizebox>false</Style_Minimizebox> <Style_Border>true</Style_Border> <Style_Sizable>false</Style_Sizable> <Pieces>Player_HP</Pieces> <Pieces>Player_Mana</Pieces> <Pieces>Player_Fatigue</Pieces> <Pieces>Pet_HP</Pieces> </Screen> </XML>
Centarus is offline   Reply With Quote
Old 12-12-2002, 02:11 PM   #2
ghostlancer
A Gray Wolf
 
Join Date: Nov 2002
Posts: 6
Default

You need to add the % sign as a seperate Label is what I do, I'll snip the code for my Number and percent below.
This will display the Number (You might wanna edit sizes/Location for both BTW)
*****
<Label item="PW_HP">
<ScreenID>HPLabel</ScreenID>
<EQType>19</EQType>
<Font>2</Font>
<RelativePosition>true</RelativePosition>
<Location>
<X>111</X>
<Y>44</Y>
</Location>
<Size>
<CX>20</CX>
<CY>15</CY>
</Size>
<Text>0</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</B>
</TextColor>
<NoWrap>true</NoWrap>
<AlignCenter>false</AlignCenter>
<AlignRight>true</AlignRight>
</Label>

***
And for the percent sign, I make another Label:
***

<Label item="PW_HP%">
<ScreenID>HPLabel%</ScreenID>
<Font>2</Font>
<RelativePosition>true</RelativePosition>
<Location>
<X>132</X>
<Y>44</Y>
</Location>
<Size>
<CX>13</CX>
<CY>15</CY>
</Size>
<Text>%</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</B>
</TextColor>
<NoWrap>true</NoWrap>
<AlignCenter>false</AlignCenter>
<AlignRight>false</AlignRight>
</Label>

***
There may be a way to make it implement it but I don't know how and this suffices for me
and don't forget to add the <Pieces> for both of them so it will work
ghostlancer is offline   Reply With Quote
Reply




Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -5. The time now is 12:54 AM.


vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI