04-26-2015, 12:45 AM
|
#1
|
A Gray Wolf
Join Date: Apr 2015
Posts: 7
|
Text Shadow Bug (Drakah save me!)
I'm having a problem where if I don't have a target, it still shows a value of 0%.
It's strange because the target name doesn't have the same issue.
Code:
<?xml version="1.0" encoding="us-ascii"?>
<XML ID="EQInterfaceDefinitionLanguage">
<Schema xmlns="EverQuestData" xmlns:dt="EverQuestDataTypes" />
<TextureInfo item="TargetBox.tga">
<Size>
<CX>256</CX>
<CY>54</CY>
</Size>
</TextureInfo>
<Ui2DAnimation item="A_TargetBox">
<Cycle>false</Cycle>
<Frames>
<Texture>TargetBox.tga</Texture>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<CX>256</CX>
<CY>54</CY>
</Size>
</Frames>
</Ui2DAnimation>
<StaticAnimation item="A_TargetBoxStaticAnim">
<ScreenID>A_TargetBoxStaticAnim</ScreenID>
<Animation>A_TargetBox</Animation>
</StaticAnimation>
<Gauge item="Target_HP">
<ScreenID>TargetHP</ScreenID>
<Font>5</Font>
<TextColor>
<R>240</R>
<G>240</G>
<B>240</B>
</TextColor>
<RelativePosition>true</RelativePosition>
<Location>
<X>0</X>
<Y>17</Y>
</Location>
<Size>
<CX>256</CX>
<CY>38</CY>
</Size>
<GaugeOffsetY>0</GaugeOffsetY>
<TextOffsetX>-1000</TextOffsetX>
<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>6</EQType>
<GaugeDrawTemplate>
<Background>A_GaugeBackground</Background>
<Fill>A_GaugeFill</Fill>
</GaugeDrawTemplate>
</Gauge>
<Label item="Target_Name">
<ScreenID>NameLabel</ScreenID>
<EQType>28</EQType>
<RelativePosition>true</RelativePosition>
<Font>5</Font>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<CX>256</CX>
<CY>50</CY>
</Size>
<Text>Playername123456</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</B>
</TextColor>
<NoWrap>true</NoWrap>
<AlignCenter>false</AlignCenter>
<AlignRight>false</AlignRight>
</Label>
<Label item="Target_Name_Shadow">
<ScreenID>NameLabelShadow</ScreenID>
<EQType>28</EQType>
<RelativePosition>true</RelativePosition>
<Font>5</Font>
<Location>
<X>1</X>
<Y>1</Y>
</Location>
<Size>
<CX>256</CX>
<CY>50</CY>
</Size>
<Text>Playername123456</Text>
<TextColor>
<R>0</R>
<G>0</G>
<B>0</B>
</TextColor>
<NoWrap>true</NoWrap>
<AlignCenter>false</AlignCenter>
<AlignRight>false</AlignRight>
</Label>
<Label item="Target_HPLabel">
<ScreenID>HPLabel</ScreenID>
<EQType>29</EQType>
<RelativePosition>true</RelativePosition>
<Font>5</Font>
<Location>
<X>178</X>
<Y>25</Y>
</Location>
<Size>
<CX>50</CX>
<CY>50</CY>
</Size>
<Text>100</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_HPLabel_Shadow">
<ScreenID>HPLabelShadow</ScreenID>
<EQType>29</EQType>
<RelativePosition>true</RelativePosition>
<Font>5</Font>
<Location>
<X>179</X>
<Y>26</Y>
</Location>
<Size>
<CX>50</CX>
<CY>50</CY>
</Size>
<Text>100</Text>
<TextColor>
<R>0</R>
<G>0</G>
<B>0</B>
</TextColor>
<NoWrap>true</NoWrap>
<AlignCenter>false</AlignCenter>
<AlignRight>true</AlignRight>
</Label>
<Label item="Target_HPPercLabel">
<ScreenID>HPPercLabel</ScreenID>
<RelativePosition>true</RelativePosition>
<Font>5</Font>
<Location>
<X>230</X>
<Y>25</Y>
</Location>
<Size>
<CX>50</CX>
<CY>50</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>
<Label item="Target_HPPercLabel_Shadow">
<ScreenID>HPPercLabelShadow</ScreenID>
<RelativePosition>true</RelativePosition>
<Font>5</Font>
<Location>
<X>231</X>
<Y>26</Y>
</Location>
<Size>
<CX>50</CX>
<CY>50</CY>
</Size>
<Text>%</Text>
<TextColor>
<R>0</R>
<G>0</G>
<B>0</B>
</TextColor>
<NoWrap>true</NoWrap>
<AlignCenter>false</AlignCenter>
<AlignRight>false</AlignRight>
</Label>
<Screen item="TargetWindow">
<ScreenID />
<RelativePosition>false</RelativePosition>
<Location>
<X>516</X>
<Y>242</Y>
</Location>
<Size>
<CX>256</CX>
<CY>55</CY>
</Size>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>true</Style_Transparent>
<TooltipReference>Your Current Target</TooltipReference>
<DrawTemplate>WDT_Filigree2</DrawTemplate>
<Style_Titlebar>false</Style_Titlebar>
<Style_Closebox>false</Style_Closebox>
<Style_Minimizebox>false</Style_Minimizebox>
<Style_Border>false</Style_Border>
<Style_Sizable>false</Style_Sizable>
<Pieces>Target_HP</Pieces>
<Pieces>A_TargetBoxStaticAnim</Pieces>
<Pieces>Target_Name_Shadow</Pieces>
<Pieces>Target_HPLabel_Shadow</Pieces>
<Pieces>Target_HPPercLabel_Shadow</Pieces>
<Pieces>Target_Name</Pieces>
<Pieces>Target_HPLabel</Pieces>
<Pieces>Target_HPPercLabel</Pieces>
</Screen>
</XML>
I saw somebody else post about this in 2004 and they never got an answer, so I'm not hopeful. I really appreciate any direction on this.
|
|
|
04-26-2015, 09:55 AM
|
#2
|
On tour since '99
Join Date: Sep 2002
Server: Innoruuk forever!
Posts: 473
|
Are you sure your ScreenID names are correct? What is/are the shadow entry for?
__________________
Gold: 03/16/99 - 03/15/12 Silver: 03/16/12 - 03/15/18 Done:03/16/18
And with a heavy heart I bid adieu to Everquest Live.
|
|
|
04-26-2015, 12:28 PM
|
#3
|
Skinning Guru
Join Date: Jul 2002
Posts: 1,076
|
Several times I brought this up to the devs to fix this exact issue and they never have.
I too wanted to have a shadow under "100%", and have it totally disappear when you have no target, but you cannot.... so you need to trick it alittle.
Since, by default, the 100% disappears, you need to reuse the ID names, since the backend will have these tags disappear that is linked to the ID Names and not the EQType. You cannot have a "%" text after the percent and have it disappear since you need to reuse that tag.
So...
For your white 100 number needs to be:
Name: Target_HPLabel
ID: HPLabel
EQTYPE: 29
For your black (shadow) 100, needs to be:
Name: Target_HPPercLabel
ID: HPPercLabel
EQTYPE: 29
You can have a full 100% show -OR- a 100 with a 100(shadow).
Hope this makes sense.
I wish someone in SOE would fix this.
__________________
Regards,
Drakah
shakahr.com
Remember...it is only a GAME
|
|
|
04-26-2015, 02:26 PM
|
#4
|
A Gray Wolf
Join Date: Apr 2015
Posts: 7
|
Quote:
Originally Posted by Drakah
...
You can have a full 100% show -OR- a 100 with a 100(shadow).
Hope this makes sense.
I wish someone in SOE would fix this.
|
I see exactly what you're saying. How silly. I'm not sure what I'll end up doing but at least I know what's possible now.
Thanks for the quick responses! I almost thought this forum was out of commission. I may have more questions soon so keep checking back, o great UI master.
PS Savok I played on Innoruuk from 99-2003. I'm working on some UIs for p99!
|
|
|
04-26-2015, 03:32 PM
|
#5
|
Skinning Guru
Join Date: Jul 2002
Posts: 1,076
|
Most welcome, good luck
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|