strechable target window
Posted: Sat Nov 08, 2003 8:39 am
this is a target window that you can stretch. its something i found on eqgui and changed it abit, unfortunately i've lost the author's name and couldnt find it on eqgui. basically with the xml options sidl gives us, we can anchor elements to its parent and then autoupdate position and size.
use the border lines to resize, grab the black fake title bar to move the window itself. then select normal fade level 0 and you have a target HP bar any size you want, that is transparent with no borders.
so as long as you have it stretched big enough, the text of class and distance will fit. if you have it too small, stuff will overlap/be cut off
sample sizes:

use the border lines to resize, grab the black fake title bar to move the window itself. then select normal fade level 0 and you have a target HP bar any size you want, that is transparent with no borders.
so as long as you have it stretched big enough, the text of class and distance will fit. if you have it too small, stuff will overlap/be cut off
sample sizes:

Code: Select all
<?xml version = "1.0"?>
<XML ID = "EQInterfaceDefinitionLanguage">
<Schema xmlns = "EverQuestData" xmlns:dt = "EverQuestDataTypes"/>
<Gauge item = "Target_HPText">
<ScreenID>TargetHP</ScreenID>
<Font>2</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>24</CY>
</Size>
<GaugeOffsetY>16</GaugeOffsetY>
<TextOffsetX>3</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>220</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>
<EndCapLeft>A_GaugeEndCapLeft</EndCapLeft>
<EndCapRight>A_GaugeEndCapRight</EndCapRight>
</GaugeDrawTemplate>
</Gauge>
<Label item ="Target_Percent">
<ScreenID>TargetPercentage</ScreenID>
<EQType>29</EQType>
<Font>3</Font>
<RelativePosition>true</RelativePosition>
<Location>
<X>82</X>
<Y>3</Y>
</Location>
<Size>
<CX>30</CX>
<CY>14</CY>
</Size>
<Text>0</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>0</B>
</TextColor>
<NoWrap>true</NoWrap>
<AlignCenter>false</AlignCenter>
<AlignRight>true</AlignRight>
<AlignLeft>false</AlignLeft>
</Label>
<TextureInfo item = "TargetBox.tga">
<Size>
<CX>128</CX>
<CY>32</CY>
</Size>
</TextureInfo>
<Ui2DAnimation item = "A_TargetBox">
<Cycle>false</Cycle>
<Frames>
<Texture>TargetBox.tga</Texture>
<Location>
<X>6</X>
<Y>2</Y>
</Location>
<Size>
<CX>116</CX>
<CY>60</CY>
</Size>
</Frames>
</Ui2DAnimation>
<StaticAnimation item = "A_TargetBoxStaticAnim">
<ScreenID>A_TargetBoxStaticAnim</ScreenID>
<Animation>A_TargetBox</Animation>
</StaticAnimation>
<!--target info labels-->
<Label item ="Target_LevelLabel">
<ScreenID>TargetLevelLabel</ScreenID>
<Font>2</Font>
<RelativePosition>true</RelativePosition>
<Location>
<X>5</X>
<Y>33</Y>
</Location>
<Size>
<CX>40</CX>
<CY>14</CY>
</Size>
<Text>Level</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_Level">
<ScreenID>TargetLevel</ScreenID>
<EQType>2000</EQType>
<Font>2</Font>
<RelativePosition>true</RelativePosition>
<Location>
<X>24</X>
<Y>33</Y>
</Location>
<Size>
<CX>22</CX>
<CY>14</CY>
</Size>
<Text>0</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>0</B>
</TextColor>
<NoWrap>true</NoWrap>
<AlignCenter>false</AlignCenter>
<AlignRight>true</AlignRight>
<AlignLeft>false</AlignLeft>
</Label>
<Label item ="Target_DistLabel">
<ScreenID>TargetDistLabel</ScreenID>
<Font>2</Font>
<RelativePosition>true</RelativePosition>
<Location>
<X>36</X>
<Y>33</Y>
</Location>
<Size>
<CX>40</CX>
<CY>14</CY>
</Size>
<Text>Dist</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_Dist">
<ScreenID>TargetDist</ScreenID>
<EQType>2003</EQType>
<Font>2</Font>
<RelativePosition>true</RelativePosition>
<Location>
<X>74</X>
<Y>33</Y>
</Location>
<Size>
<CX>40</CX>
<CY>14</CY>
</Size>
<Text>0</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>0</B>
</TextColor>
<NoWrap>true</NoWrap>
<AlignCenter>false</AlignCenter>
<AlignRight>true</AlignRight>
<AlignLeft>false</AlignLeft>
</Label>
<Label item ="Target_ClassLabel">
<ScreenID>TargetClassLabel</ScreenID>
<Font>2</Font>
<RelativePosition>true</RelativePosition>
<Location>
<X>4</X>
<Y>44</Y>
</Location>
<Size>
<CX>40</CX>
<CY>14</CY>
</Size>
<Text>Class</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_Class">
<ScreenID>TargetClass</ScreenID>
<EQType>2001</EQType>
<Font>2</Font>
<RelativePosition>true</RelativePosition>
<Location>
<X>32</X>
<Y>44</Y>
</Location>
<Size>
<CX>78</CX>
<CY>14</CY>
</Size>
<Text>0</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>0</B>
</TextColor>
<NoWrap>true</NoWrap>
<AlignCenter>false</AlignCenter>
<AlignRight>true</AlignRight>
<AlignLeft>false</AlignLeft>
</Label>
<Screen item = "TargetWindow">
<ScreenID/>
<RelativePosition>false</RelativePosition>
<Location>
<X>516</X>
<Y>242</Y>
</Location>
<Size>
<CX>126</CX>
<CY>82</CY>
</Size>
<text> </text>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<TooltipReference>Your Current Target</TooltipReference>
<DrawTemplate>WDT_Rounded</DrawTemplate>
<Style_Titlebar>true</Style_Titlebar>
<Style_Closebox>false</Style_Closebox>
<Style_Minimizebox>false</Style_Minimizebox>
<Style_Border>true</Style_Border>
<Style_Sizable>false</Style_Sizable>
<Pieces>Target_HPText</Pieces>
<Pieces>Target_Percent</Pieces>
<Pieces>Target_LevelLabel</Pieces>
<Pieces>Target_Level</Pieces>
<Pieces>Target_DistLabel</Pieces>
<Pieces>Target_Dist</Pieces>
<Pieces>Target_ClassLabel</Pieces>
<Pieces>Target_Class</Pieces>
<Pieces>A_TargetBoxStaticAnim</Pieces>
</Screen>
</XML>