Home Forum Downloads My Favorites Register FAQ Mark Forums Read

Go Back   EQInterface Forums > Developer Discussion > XML modification help.
User Name
Password

Reply
 
Thread Tools Display Modes
Old 08-14-2002, 11:09 PM   #16
Kiriani
A Shissar Disciple
 
Join Date: Aug 2002
Server: Saryrn
Posts: 114
Send a message via ICQ to Kiriani Send a message via AIM to Kiriani Send a message via Yahoo to Kiriani
Default

here is the coding I used to try and create tabs in the Pet Window. THere was more, but this is the pared down version to show you if I screwed up anything.

Also, ignore the placements of the pieces so far, this is changin an existing mod that I wasn't quite done with anyway.

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

<!-- Pet Commands and Left Clicks Page -->
<Button item = "PIW_AttackButton">
<ScreenID>AttackButton</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>2</X>
<Y>2</Y>
</Location>
<Size>
<CX>54</CX>
<CY>20</CY>
</Size>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<TooltipReference>Pet Attack</TooltipReference>
<Style_Checkbox>false</Style_Checkbox>
<!--<RadioGroup/>-->
<Text>Attack</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</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 = "PIW_FollowButton">
<ScreenID>FollowButton</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>2</X>
<Y>42</Y>
</Location>
<Size>
<CX>54</CX>
<CY>20</CY>
</Size>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<TooltipReference>Pet Follow Me</TooltipReference>
<Style_Checkbox>false</Style_Checkbox>
<!--<RadioGroup/>-->
<Text>Follow</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</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 = "PIW_TauntButton">
<ScreenID>TauntButton</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>2</X>
<Y>22</Y>
</Location>
<Size>
<CX>54</CX>
<CY>20</CY>
</Size>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<TooltipReference>Pet Taunt</TooltipReference>
<Style_Checkbox>false</Style_Checkbox>
<!--<RadioGroup/>-->
<Text>Taunt</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</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 = "PIW_GuardButton">
<ScreenID>GuardButton</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>2</X>
<Y>62</Y>
</Location>
<Size>
<CX>54</CX>
<CY>20</CY>
</Size>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<TooltipReference>Pet Guard Here</TooltipReference>
<Style_Checkbox>false</Style_Checkbox>
<!--<RadioGroup/>-->
<Text>Guard</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</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 = "PIW_SitButton">
<ScreenID>SitButton</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>2</X>
<Y>82</Y>
</Location>
<Size>
<CX>54</CX>
<CY>20</CY>
</Size>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<TooltipReference>Pet Sit Down</TooltipReference>
<Style_Checkbox>false</Style_Checkbox>
<!--<RadioGroup/>-->
<Text>Sit</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</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 = "PIW_BackButton">
<ScreenID>BackButton</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>2</X>
<Y>102</Y>
</Location>
<Size>
<CX>54</CX>
<CY>20</CY>
</Size>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<TooltipReference>Pet Back Off</TooltipReference>
<Style_Checkbox>false</Style_Checkbox>
<!--<RadioGroup/>-->
<Text>Back</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</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 = "PIW_LostButton">
<ScreenID>LostButton</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>2</X>
<Y>122</Y>
</Location>
<Size>
<CX>54</CX>
<CY>20</CY>
</Size>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<TooltipReference>Pet Get Lost</TooltipReference>
<Style_Checkbox>false</Style_Checkbox>
<!--<RadioGroup/>-->
<Text>Go Away</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</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>

<Page item="Pet">
<ScreenID>Pet</ScreenID>
<RelativePosition>true</RelativePosition>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<TooltipReference>Pet Commands</TooltipReference>
<DrawTemplate>WDT_Def</DrawTemplate>
<TabIcon>A_SocialsTabIcon</TabIcon>
<TabIconActive>A_SocialsTabActiveIcon</TabIconActive>
<Pieces>PIW_AttackButton</Pieces>
<Pieces>PIW_LostButton</Pieces>
<Pieces>PIW_BackButton</Pieces>
<Pieces>PIW_GuardButton</Pieces>
<Pieces>PIW_FollowButton</Pieces>
<Pieces>PIW_TauntButton</Pieces>
<Pieces>PIW_SitButton</Pieces>

<!-- IS_R_EAR 4 -->

<InvSlot item = "PIW_InvSlot4">
<ScreenID>PIW_InvSlot4</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>10</X>
<Y>144</Y>
</Location>
<Size>
<CX>35</CX>
<CY>35</CY>
</Size>
<Background>A_InvEar</Background>
<EQType>4</EQType>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
</InvSlot>

<!-- IS_FACE 3 -->

<InvSlot item = "PIW_InvSlot3">
<ScreenID>PIW_InvSlot3</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>10</X>
<Y>180</Y>
</Location>
<Size>
<CX>35</CX>
<CY>35</CY>
</Size>
<Background>A_InvFace</Background>
<EQType>3</EQType>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
</InvSlot>

<!-- IS_L_WRIST 9 -->

<InvSlot item = "PIW_InvSlot9">
<ScreenID>PIW_InvSlot9</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>10</X>
<Y>216</Y>
</Location>
<Size>
<CX>35</CX>
<CY>35</CY>
</Size>
<Background>A_InvWrist</Background>
<EQType>9</EQType>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
</InvSlot>

<!-- IS_HANDS 12 -->

<InvSlot item = "PIW_InvSlot12">
<ScreenID>PIW_InvSlot12</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>10</X>
<Y>232</Y>
</Location>
<Size>
<CX>35</CX>
<CY>35</CY>
</Size>
<Background>A_InvHands</Background>
<EQType>12</EQType>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
</InvSlot>

<!-- IS_L_FINGERS 15 -->

<InvSlot item = "PIW_InvSlot15">
<ScreenID>PIW_InvSlot15</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>10</X>
<Y>268</Y>
</Location>
<Size>
<CX>35</CX>
<CY>35</CY>
</Size>
<Background>A_InvRing</Background>
<EQType>15</EQType>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
</InvSlot>

<!-- IS_FEET 19 -->

<InvSlot item = "PIW_InvSlot19">
<ScreenID>PIW_InvSlot19</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>10</X>
<Y>304</Y>
</Location>
<Size>
<CX>35</CX>
<CY>35</CY>
</Size>
<Background>A_InvFeet</Background>
<EQType>19</EQType>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
</InvSlot>

<!-- IS_RANGE 11 -->

<InvSlot item = "PIW_InvSlot11">
<ScreenID>PIW_InvSlot11</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>10</X>
<Y>340</Y>
</Location>
<Size>
<CX>35</CX>
<CY>35</CY>
</Size>
<Background>A_InvRange</Background>
<EQType>11</EQType>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
</InvSlot>

<!-- IS_PRIMARY 13 -->

<InvSlot item = "PIW_InvSlot13">
<ScreenID>PIW_InvSlot13</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>10</X>
<Y>376</Y>
</Location>
<Size>
<CX>35</CX>
<CY>35</CY>
</Size>
<Background>A_InvPrimary</Background>
<EQType>13</EQType>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
</InvSlot>

<!-- IS_SECONDARY 14 -->

<InvSlot item = "PIW_InvSlot14">
<ScreenID>PIW_InvSlot14</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>10</X>
<Y>412</Y>
</Location>
<Size>
<CX>35</CX>
<CY>35</CY>
</Size>
<Background>A_InvSecondary</Background>
<EQType>14</EQType>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
</InvSlot>

<!-- Is Inv Slot 8 -->
<InvSlot item = "PIW_InvSlot29">
<ScreenID>PIW_InvSlot29</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>10</X>
<Y>448</Y>
</Location>
<Size>
<CX>35</CX>
<CY>35</CY>
</Size>
<Background>A_RecessedBox</Background>
<EQType>29</EQType>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
</InvSlot>

<Gauge item = "PIW_PetHPGauge">
<ScreenID>PetHPGauge</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>2</X>
<Y>-50</Y>
</Location>
<Size>
<CX>1</CX>
<CY>2</CY>
</Size>
<GaugeOffsetY>16</GaugeOffsetY>
<Text>No Pet</Text>
<TextOffsetY>0</TextOffsetY>
<TextOffsetX>5</TextOffsetX>
<TextColor>
<R>240</R>
<G>240</G>
<B>240</B>
</TextColor>
<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>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>

<!-- Creating Tab Box -->
<TabBox item="PetWindowTabs">
<ScreenID>PetWindowTabs</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<AutoStretch>true</AutoStretch>
<TopAnchorToTop>true</TopAnchorToTop>
<BottomAnchorToTop>false</BottomAnchorToTop>
<LeftAnchorToLeft>true</LeftAnchorToLeft>
<RightAnchorToLeft>false</RightAnchorToLeft>
<TabBorderTemplate>FT_DefTabBorder</TabBorderTemplate>
<PageBorderTemplate>FT_DefPageBorder</PageBorderTemplate>
<Pages>Pet</Pages>

<Screen item = "PetInfoWindow">
<!--<ScreenID/>-->
<RelativePosition>false</RelativePosition>
<Location>
<X>600</X>
<Y>200</Y>
</Location>
<Size>
<CX>266</CX>
<CY>490</CY>
</Size>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
<Text>Pet Command</Text>
<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>PetWindowTabs</Pieces>
<!-- <Pieces>PIW_PetHPGauge</Pieces> -->
<Pieces>PIW_InvSlot4</Pieces>
<Pieces>PIW_InvSlot3</Pieces>
<Pieces>PIW_InvSlot9</Pieces>
<Pieces>PIW_InvSlot12</Pieces>
<Pieces>PIW_InvSlot15</Pieces>
<Pieces>PIW_InvSlot19</Pieces>
<Pieces>PIW_InvSlot11</Pieces>
<Pieces>PIW_InvSlot13</Pieces>
<Pieces>PIW_InvSlot14</Pieces>
<Pieces>PIW_InvSlot29</Pieces>
</Screen>

</XML>


the window works except after I added the stuff to make it tabbed. please tell me what I am doing wrong, or if it's just simply the Pet Window can't use tabs.
Kiriani is offline   Reply With Quote
Old 08-19-2002, 02:58 PM   #17
UniDyne
A Tundra Mammoth
 
Join Date: Jul 2002
Server: Veeshan
Posts: 64
Exclamation

Windows that work

PlayerInfo
CastSpell
Group
Actions (of course)
Target


You can add tabs to any other window. Certain conditions must be true. 1) the original components must be outside of the tab box - not in a tab, just out by themselves. 2) Tabs may not reference one or more objects also referenced by another tab or referenced outside of the tab box.

You absolutely cannot add tabs to these windows:

BazaarSearch
Chat
Friends
Track

Unfortunately, this limits things quite a bit. To add tabs to most windows, you will need to make the window larger. I think this is exactly what we're not trying to do when we add the tabs in the first place.
UniDyne is offline   Reply With Quote
Old 08-19-2002, 03:13 PM   #18
Ramsus
EQToolbox Webmaster
 
Join Date: Jul 2002
Server: Cazic Thule
Posts: 62
Send a message via AIM to Ramsus Send a message via Yahoo to Ramsus
Default

Good info Uni. Thanks.

I just requested a list from the programmers at Verant of which windows have built in dependencies for certain elements. Hopefully this will tell us what we absolutely cannot remove from each window. When/If they reply, i will post the info. I asked several questions that could give us a bit more insight to the UI.
Ramsus is offline   Reply With Quote
Reply



Thread Tools
Display Modes

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 04:57 PM.


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