Home Forum Downloads My Favorites Register FAQ

Go Back   EQInterface Forums > Developer Discussion > General authoring help / discussion
User Name
Password

Reply
 
Thread Tools Display Modes
Old 07-24-2004, 06:29 PM   #1
Thingamadoodle
A Bat
 
Join Date: Sep 2002
Posts: 1
Default HoTT Percent not disappearing...

Ok, let me preface this by saying my XML expericen has been nothing more than cutting and pasting segments in WordPad, but I have a decent programming background, so I'm pretty good at picking which pieces to cut and paste.

Now... I'm trying to add HoTT info to my Target Window, and it's successful with one small quirk. If there is no Target's Target, then the percent label (a text field), and the percent numeric (EQ Type 120) remain visible, and show 0%. I don't know if this is because I'm putting it in the target window, or if I'm overlooking something simple.

The EQUI_TargetWindow.xml file looks like this:

<?xml version="1.0" encoding="us-ascii"?>
<XML ID="EQInterfaceDefinitionLanguage">
<Schema xmlns="EverQuestData" xmlns:dt="EverQuestDataTypes" />
<Gauge item="HoTT_HP">
<ScreenID>HoTTHP</ScreenID>
<Font>2</Font>
<TextColor>
<R>120</R>
<G>120</G>
<B>120</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>80</R>
<G>0</G>
<B>0</B>
</FillTint>
<LinesFillTint>
<R>200</R>
<G>90</G>
<B>85</B>
</LinesFillTint>
<DrawLinesFill>false</DrawLinesFill>
<EQType>27</EQType>
<GaugeDrawTemplate>
<Background>A_GaugeBackground</Background>
<Fill>A_GaugeFill</Fill>
<Lines>A_GaugeLines</Lines>
<LinesFill>A_GaugeLinesFill</LinesFill>
</GaugeDrawTemplate>
</Gauge>
<Label item="HoTT_Percent">
<ScreenID>HoTTHPLabel</ScreenID>
<EQType>120</EQType>
<Font>1</Font>
<RelativePosition>true</RelativePosition>
<Location>
<X>98</X>
<Y>13</Y>
</Location>
<Size>
<CX>35</CX>
<CY>15</CY>
</Size>
<Text>0</Text>
<TextColor>
<R>200</R>
<G>180</G>
<B>80</B>
</TextColor>
<NoWrap>true</NoWrap>
<AlignCenter>false</AlignCenter>
<AlignRight>true</AlignRight>
<AlignLeft>false</AlignLeft>
</Label>
<Label item="HoTT_PercentFig">
<ScreenID>HoTTHPPercLabel</ScreenID>
<Font>1</Font>
<RelativePosition>true</RelativePosition>
<Location>
<X>106</X>
<Y>13</Y>
</Location>
<Size>
<CX>35</CX>
<CY>15</CY>
</Size>
<Text>%</Text>
<TextColor>
<R>200</R>
<G>180</G>
<B>80</B>
</TextColor>
<NoWrap>true</NoWrap>
<AlignCenter>false</AlignCenter>
<AlignRight>true</AlignRight>
<AlignLeft>false</AlignLeft>
</Label>
<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>25</Y>
</Location>
<Size>
<CX>115</CX>
<CY>59</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>50</G>
<B>50</B>
</FillTint>
<LinesFillTint>
<R>240</R>
<G>105</G>
<B>85</B>
</LinesFillTint>
<DrawLinesFill>false</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>HPLabel</ScreenID>
<EQType>29</EQType>
<Font>1</Font>
<RelativePosition>true</RelativePosition>
<Location>
<X>98</X>
<Y>38</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">
<ScreenID>HPPercLabel</ScreenID>
<Font>1</Font>
<RelativePosition>true</RelativePosition>
<Location>
<X>106</X>
<Y>38</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>
<Screen item="TargetWindow">
<ScreenID />
<RelativePosition>false</RelativePosition>
<Location>
<X>197</X>
<Y>240</Y>
</Location>
<Size>
<CX>150</CX>
<CY>65</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>HoTT_HP</Pieces>
<Pieces>HoTT_Percent</Pieces>
<Pieces>HoTT_PercentFig</Pieces>
<Pieces>Target_HP</Pieces>
<Pieces>Target_Percent</Pieces>
<Pieces>Target_PercentFig</Pieces>
</Screen>
</XML>

Last edited by Thingamadoodle : 07-24-2004 at 06:39 PM.
Thingamadoodle is offline   Reply With Quote
Old 07-27-2004, 08:46 PM   #2
Sylphan
A Predatory Creeper
 
Join Date: Aug 2002
Posts: 254
Interface Author - Click to view interfaces
Default

That's just how percents work. They always show a zero. We all wish it wasn't so.

There is a special function in the group window that hides the group health percents when you're not grouped, but that only works in the group window.
Sylphan is offline   Reply With Quote
Old 07-29-2004, 01:02 PM   #3
anjilek
A Ghoul
 
Join Date: Dec 2003
Server: MT
Posts: 19
Default

hmmm.... Would it work if you put HoTT in the group window?....
anjilek is offline   Reply With Quote
Old 10-08-2004, 05:30 AM   #4
TxBlackWolf
A Bat
 
Join Date: Nov 2003
Server: Bristlebane
Posts: 1
Default

Hmm.. Target window also helpfully makes the percentage label and text label vanish when there is no relevant object (a target). Is this further example of this annoying hardcoded behavior? Been fighting a little with this myself, while trying to include HoTT with my target window.
TxBlackWolf 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 10:03 PM.


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