I am trying to add a full size pet gauge to a player window. The code I have used is as follows...
--- Begin ---
<Gauge item = "PlayerPetHP">
<ScreenID>PlayerPetHP</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>3</X>
<Y>16</Y>
</Location>
<Size>
<CX>108</CX>
<CY>8</CY>
</Size>
<GaugeOffsetY>0</GaugeOffsetY>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
<FillTint>
<R>0</R>
<G>220</G>
<B>0</B>
</FillTint>
<LinesFillTint>
<R>240</R>
<G>127</G>
<B>0</B>
</LinesFillTint>
<DrawLinesFill>false</DrawLinesFill>
<EQType>16</EQType>
<GaugeDrawTemplate>
<Background>A_GaugeBackground</Background>
<Fill>A_GaugeFill</Fill>
<Lines>A_GaugeLines</Lines>
<LinesFill>A_GaugeLinesFill</LinesFill>
</GaugeDrawTemplate>
</Gauge>
<Label item ="PetHPPercent">
<ScreenID>PetHP_PercentLabel</ScreenID>
<Font>1</Font>
<RelativePosition>true</RelativePosition>
<Location>
<X>85</X>
<Y>13</Y>
</Location>
<Size>
<CX>35</CX>
<CY>15</CY>
</Size>
<EQType>69</EQType>
<TextColor>
<R>0</R>
<G>220</G>
<B>0</B>
</TextColor>
<NoWrap>true</NoWrap>
<AlignCenter>false</AlignCenter>
<AlignRight>true</AlignRight>
<AlignLeft>false</AlignLeft>
</Label>
<Label item ="PetHPFig">
<ScreenID>PetHP_FigLabel</ScreenID>
<Font>1</Font>
<RelativePosition>true</RelativePosition>
<Location>
<X>93</X>
<Y>13</Y>
</Location>
<Size>
<CX>35</CX>
<CY>15</CY>
</Size>
<Text>%</Text>
<TextColor>
<R>0</R>
<G>220</G>
<B>0</B>
</TextColor>
<NoWrap>true</NoWrap>
<AlignCenter>false</AlignCenter>
<AlignRight>true</AlignRight>
<AlignLeft>false</AlignLeft>
</Label>
--- End ---
Since making this addition to my player window, EQ crashes to desktop when loading. I presume I am correct using EQTypes 16 for the PetHP gauge and 69 for the PetHP percentage.
Can anyone see where the error is, as im kinda stumped
Many thanks...
-K