Thread: What's it mean?
View Single Post
Old 09-17-2005, 10:34 PM   #1
Vumchanter
A Gray Wolf
 
Join Date: Sep 2004
Posts: 7
Default What's it mean?

This is a segment from the EQ Player window.

PHP Code:
 <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>108</CX>
            <
CY>41</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


The things I know...

<Gauge item = "Player_HP">
is a label

<RelativePosition>true</RelativePosition>
This is saying that the position is relitive, but to what?

<Location>
<X>3</X>
<Y>0</Y>
</Location>

Is the location of the item.

<TextOffsetX>8</TextOffsetX>
<GaugeOffsetY>33</GaugeOffsetY>

Gotz no idea. Playing with it seems to crash.

I having touched any of the other stuff. I know the RGB is just changing colors and I assume the gauge template is just the little white lines under the gauge.

PHP Code:
 <Screen item "PlayerWindow">
        <!--<
ScreenID/>-->
        <
RelativePosition>false</RelativePosition>
        <
Location>
            <
X>516</X>
            <
Y>0</Y>
        </
Location>
        <
Size>
            <
CX>124</CX>
            <
CY>78</CY>
        </
Size>
        <
Text>Player</Text>
        <
Style_VScroll>false</Style_VScroll>
        <
Style_HScroll>false</Style_HScroll>
        <
Style_Transparent>false</Style_Transparent>
        <
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_HPLabel</Pieces>
        <
Pieces>Player_HPPercLabel</Pieces>
        <
Pieces>A_AttackIndicatorAnim</Pieces>
    </
Screen>

</
XML


<Size>
<CX>124</CX>
<CY>78</CY>
</Size>

is the size of the window itself.

<Pieces>Player_HP</Pieces>
is just saying that these are the items to include in the window.


I guess what I'm asking mostly is how do the /locs work? I would assume that (0,0) would be NW (which it is for the window) but it isn't for the stuff inside the window. What are the locs relitive to?

The rest I'm just kinda saying, hey, this is what I found playing with it, correct me if I'm wrong.

Edit: I have been playing with it. I can move the stuff arround this window np. I added a XP gauge under the EDU. I just don't understand why sometimes I try to add a gauge it will not go to the spot that I want it to. Sometimes not even show up (assuming it's off the window or under something else, even when it has a Y coord 10 > the thing above it).
Vumchanter is offline   Reply With Quote