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 01-27-2004, 10:44 PM   #1
Mutley
An Icepaw Kobold
 
Join Date: Sep 2002
Posts: 81
Interface Author - Click to view interfaces
Default Pet HP Display Question

I have a plain Target window, nothing fancy. I wanted to put my pet percent hp above the target hp (for when charm killing), which is easy enough.

But when I don't have a pet, I do not want to see a green "0" there for no hp on a pet I don't have. I want it blank if I have no pet.

As I've seen group windows that do not have anything showing until a group member joins, I'm thinking it has to be possible, but I can't get it to vanish yet.

Including my target file here and a sample of how the target looks.

Any help is appreciated, thanks!



<?xml version = "1.0"?>
<XML ID = "EQInterfaceDefinitionLanguage">
<Schema xmlns = "EverQuestData" xmlns:dt = "EverQuestDataTypes"/>

<!-- Disregard following between lines -->

<Label item ="Target_HPLabel">
<ScreenID>HPLabel</ScreenID>
<EQType>29</EQType>
<RelativePosition>true</RelativePosition>
<Location>
<X>500</X>
<Y>500</Y>
</Location>
<Size>
<CX>0</CX>
<CY>0</CY>
</Size>
<Text>Playername123456</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</B>
</TextColor>
<NoWrap>true</NoWrap>
<AlignCenter>false</AlignCenter>
<AlignRight>true</AlignRight>
</Label>

<Label item ="Target_HPPercLabel">
<ScreenID>HPPercLabel</ScreenID>
<RelativePosition>true</RelativePosition>
<Location>
<X>500</X>
<Y>500</Y>
</Location>
<Size>
<CX>0</CX>
<CY>0</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>

<!-- Disregard above between lines -->


<Gauge item = "Target_HP">
<ScreenID>TargetHP</ScreenID>
<Font>2</Font>
<TextColor>
<R>240</R>
<G>240</G>
<B>240</B>
</TextColor>
<RelativePosition>true</RelativePosition>
<Location>
<X>16</X>
<Y>0</Y>
</Location>
<Size>
<CX>115</CX>
<CY>24</CY>
</Size>
<GaugeOffsetY>16</GaugeOffsetY>
<TextOffsetX>0</TextOffsetX>
<TextOffsetY>3</TextOffsetY>
<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>240</R>
<G>105</G>
<B>85</B>
</LinesFillTint>
<DrawLinesFill>true</DrawLinesFill>
<EQType>6</EQType>
<GaugeDrawTemplate>
<Background>A_GaugeBackground</Background>
<Fill>A_GaugeFill</Fill>
<Lines>A_GaugeLines</Lines>
<LinesFill>A_GaugeLinesFill</LinesFill>
</GaugeDrawTemplate>
</Gauge>

<Label item ="Target_Percent">
<ScreenID>TargetPercentage</ScreenID>
<EQType>29</EQType>
<Font>1</Font>
<RelativePosition>true</RelativePosition>
<Location>
<X>98</X>
<Y>14</Y>
</Location>
<Size>
<CX>35</CX>
<CY>15</CY>
</Size>
<Text>0</Text>
<TextColor>
<R>237</R>
<G>204</G>
<B>87</B>
</TextColor>
<NoWrap>true</NoWrap>
<AlignCenter>false</AlignCenter>
<AlignRight>true</AlignRight>
<AlignLeft>false</AlignLeft>
</Label>

<Label item ="Target_PercentFig">
<Font>1</Font>
<RelativePosition>true</RelativePosition>
<Location>
<X>106</X>
<Y>14</Y>
</Location>
<Size>
<CX>35</CX>
<CY>15</CY>
</Size>
<Text>%</Text>
<TextColor>
<R>237</R>
<G>204</G>
<B>87</B>
</TextColor>
<NoWrap>true</NoWrap>
<AlignCenter>false</AlignCenter>
<AlignRight>true</AlignRight>
<AlignLeft>false</AlignLeft>
</Label>

<!-- IS PET HP READOUT -->

<Label item ="Target_PetHPPercent">
<ScreenID>Target_PetHPPercent</ScreenID>
<EQType>69</EQType>
<Font>1</Font>
<RelativePosition>true</RelativePosition>
<Location>
<X>98</X>
<Y>5</Y>
</Location>
<Size>
<CX>35</CX>
<CY>15</CY>
</Size>
<Text>0</Text>
<TextColor>
<R>40</R>
<G>240</G>
<B>40</B>
</TextColor>
<NoWrap>true</NoWrap>
<AlignCenter>false</AlignCenter>
<AlignRight>true</AlignRight>
<AlignLeft>false</AlignLeft>
</Label>

<!-- 11/5 TARGET WINDOW PATCH -->

<TextureInfo item = "TargetBox.tga">
<Size>
<CX>157</CX>
<CY>31</CY>
</Size>
</TextureInfo>

<Ui2DAnimation item = "A_TargetBox">
<Cycle>false</Cycle>
<Frames>
<Texture>TargetBox.tga</Texture>
<Location>
<X>7</X>
<Y>2</Y>
</Location>
<Size>
<CX>157</CX>
<CY>31</CY>
</Size>
</Frames>
</Ui2DAnimation>

<StaticAnimation item = "A_TargetBoxStaticAnim">
<ScreenID>A_TargetBoxStaticAnim</ScreenID>
<Animation>A_TargetBox</Animation>
</StaticAnimation>

<!-- END OF 11/5 TARGET WINDOW PATCH -->

<Screen item = "TargetWindow">
<ScreenID/>
<RelativePosition>false</RelativePosition>
<Location>
<X>197</X>
<Y>240</Y>
</Location>
<Size>
<CX>150</CX>
<CY>35</CY>
</Size>
<Text>Target</Text>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<TooltipReference>Your Current Target</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>Target_HP</Pieces>
<Pieces>Target_Percent</Pieces>
<Pieces>Target_PercentFig</Pieces>
<Pieces>Target_HPLabel</Pieces>
<Pieces>Target_HPPercLabel</Pieces>
<Pieces>Target_PetHPPercent</Pieces>
<Pieces>A_TargetBoxStaticAnim</Pieces>

</Screen>

</XML>
Attached Images
File Type: gif target.gif (1.8 KB, 15 views)
Mutley is offline   Reply With Quote
Old 01-27-2004, 11:09 PM   #2
Cairenn
Credendo Vides
 
Cairenn's Avatar
 
Join Date: Jul 2002
Posts: 3,866
Interface Author - Click to view interfaces
Default

Unfortunately, from everything I've been able to find out, if you move a gauge or the corresponding percentage to any window other than its "parent' window, it'll always show (exception to this being the spell cast bar). Sorry. =/
Cairenn 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 09:29 PM.


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