EQInterface Forums

EQInterface Forums (http://www.eqinterface.com/forums/index.php)
-   XML modification help. (http://www.eqinterface.com/forums/forumdisplay.php?f=30)
-   -   Pet HP Display Question (http://www.eqinterface.com/forums/showthread.php?t=12327)

Mutley 01-27-2004 10:44 PM

Pet HP Display Question
 
1 Attachment(s)
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>

Cairenn 01-27-2004 11:09 PM

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. =/


All times are GMT -5. The time now is 11:24 PM.

vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.