View Single Post
Old 01-13-2003, 04:41 PM   #1
myrdale
A Gray Wolf
 
Join Date: Jan 2003
Posts: 8
Question AAXP Toggle in Player Window

Hey all, first off this is my first time posting here so i hope this is the right forum. I am not a big expert with xml code but i have taught myself enought to play around witht the user interfaces.

Right now i am trying to add the AAXP toggel and the percent going to AAXP to the bottom of my player window (Like on the AAXP window). I have been playing around with it for a couple of weeks though and can not get it to work.

Currently my player window has

Name
Health Bar
Mana Bar
Stamina Bar
Exp Bar
AAXP Bar

Here is the code:
************************************************** **

<?xml version = "1.0"?>
<XML ID = "EQInterfaceDefinitionLanguage">
<Schema xmlns = "EverQuestData" xmlns:dt = "EverQuestDataTypes"/>

<Gauge item = "Player_HP">
<ScreenID>PlayerHP</ScreenID>
<!--<Font>3</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>200</CX>
<CY>200</CY>
</Size>
<TextOffsetX>8</TextOffsetX>
<GaugeOffsetY>33</GaugeOffsetY>
<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>1</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>

<Gauge item = "Pet_HP">
<ScreenID>PetHP</ScreenID>
<!--<Font>3</Font>-->
<TextColor>
<R>0</R>
<G>0</G>
<B>0</B>
</TextColor>
<RelativePosition>true</RelativePosition>
<Location>
<X>7</X>
<Y>39</Y>
</Location>
<Size>
<CX>108</CX>
<CY>2</CY>
</Size>
<TextOffsetY>-50</TextOffsetY>
<GaugeOffsetY>-2</GaugeOffsetY>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
<FillTint>

<R>51</R>
<G>192</G>
<B>51</B>
</FillTint>
<LinesFillTint>
<R>0</R>
<G>0</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>
<!--<EndCapLeft>A_GaugeEndCapLeft</EndCapLeft>-->
<!--<EndCapRight>A_GaugeEndCapRight</EndCapRight>-->
</GaugeDrawTemplate>
</Gauge>

<Gauge item = "Player_Mana">
<ScreenID>PlayerMana</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>3</X>
<Y>46</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>0</G>
<B>240</B>
</FillTint>
<LinesFillTint>
<R>0</R>
<G>220</G>
<B>220</B>
</LinesFillTint>
<DrawLinesFill>false</DrawLinesFill>
<EQType>2</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>

<Gauge item = "Player_Fatigue">
<ScreenID>PlayerFatigue</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>3</X>
<Y>59</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>240</R>
<G>240</G>
<B>0</B>
</FillTint>
<LinesFillTint>
<R>0</R>
<G>220</G>
<B>0</B>
</LinesFillTint>
<DrawLinesFill>false</DrawLinesFill>
<EQType>3</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>

<Gauge item = "Player_ExpGauge">
<ScreenID>PlayerExp</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>3</X>
<Y>72</Y>
</Location>
<Size>
<CX>116</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>220</R>
<G>150</G>
<B>0</B>
</FillTint>
<LinesFillTint>
<R>0</R>
<G>80</G>
<B>220</B>
</LinesFillTint>
<DrawLinesFill>true</DrawLinesFill>
<EQType>4</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>

<Gauge item = "Player_AAXP">
<ScreenID>PlayerAAXP</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>3</X>
<Y>85</Y>
</Location>
<Size>
<CX>116</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>220</R>
<G>150</G>
<B>0</B>
</FillTint>
<LinesFillTint>
<R>0</R>
<G>80</G>
<B>220</B>
</LinesFillTint>
<DrawLinesFill>true</DrawLinesFill>
<EQType>5</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>

<Screen item = "PlayerWindow">
<!--<ScreenID/>-->
<RelativePosition>false</RelativePosition>
<Location>
<X>516</X>
<Y>0</Y>
</Location>
<Size>
<CX>124</CX>
<CY>104</CY>
</Size>
<Text>Player</Text>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<TooltipReference>The Breath Meter</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>Player_HP</Pieces>
<Pieces>Player_Mana</Pieces>
<Pieces>Player_Fatigue</Pieces>
<Pieces>Pet_HP</Pieces>
<Pieces>Player_ExpGauge</Pieces>
<Pieces>Player_AAXP</Pieces>
<Pieces>AAW_PercentLabel</Pieces>
<Pieces>AAW_PercentCount</Pieces>
<Pieces>AAW_LessExpButton</Pieces>
<Pieces>AAW_MoreExpButton</Pieces>
</Screen>

</XML>


************************************************** **
Couple of things i know the size is a little large but i made it that way so i could have a little room to work. Also i know i need Percent Lable in there but i am not sure about Percent count. Here is the code for the More exp, Less, and Percent Label
************************************************** **
<Button item = "AAW_LessExpButton">
<ScreenID>LessExpButton</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>3</X>
<Y>98</Y>
</Location>
<Size>
<CX>20</CX>
<CY>20</CY>
</Size>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
<Style_Checkbox>false</Style_Checkbox>
<!--<RadioGroup/>-->
<Text>-</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>0</B>
</TextColor>
<ButtonDrawTemplate>
<Normal>A_BtnNormal</Normal>
<Pressed>A_BtnPressed</Pressed>
<Flyby>A_BtnFlyby</Flyby>
<Disabled>A_BtnDisabled</Disabled>
<PressedFlyby>A_BtnPressedFlyby</PressedFlyby>
</ButtonDrawTemplate>
</Button>

<Button item = "AAW_MoreExpButton">
<ScreenID>MoreExpButton</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>82</X>
<Y>98</Y>
</Location>
<Size>
<CX>20</CX>
<CY>20</CY>
</Size>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
<Style_Checkbox>false</Style_Checkbox>
<!--<RadioGroup/>-->
<Text>+</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>0</B>
</TextColor>
<ButtonDrawTemplate>
<Normal>A_BtnNormal</Normal>
<Pressed>A_BtnPressed</Pressed>
<Flyby>A_BtnFlyby</Flyby>
<Disabled>A_BtnDisabled</Disabled>
<PressedFlyby>A_BtnPressedFlyby</PressedFlyby>
</ButtonDrawTemplate>
<!--
<SoundPressed/>
<SoundUp/>
<SoundFlyby/>
-->
</Button>

<StaticText item ="AAW_PercentCount">
<ScreenID>ExpCount</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>29</X>
<Y>98</Y>
</Location>
<Size>
<CX>50</CX>
<CY>20</CY>
</Size>
<Text>100%</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</B>
</TextColor>
<NoWrap>false</NoWrap>
<AlignCenter>true</AlignCenter>
<AlignRight>false</AlignRight>
</StaticText>

<StaticText item ="AAW_PercentLabel">
<ScreenID>PercentLabel</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>488</X>
<Y>30</Y>
</Location>
<Size>
<CX>120</CX>
<CY>20</CY>
</Size>
<Text>Exp to AA</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</B>
</TextColor>
<NoWrap>false</NoWrap>
<AlignCenter>true</AlignCenter>
<AlignRight>false</AlignRight>
</StaticText>

************************************************** **
I thought just copying these lines in to the player window code would add the buttons and display % (Worked out the right locations, the ones above are wrong i believe). But i keep getting error about loading. Any suggestion. I am sticking the code in right after the aaxp part. Anyway thats for any help you can offer.

Myrdale Forestroamer
Lvl 57 Ranger
Circle of Frost
Druzzil Ro
myrdale is offline   Reply With Quote