View Single Post
Old 04-26-2013, 02:19 PM   #17
Halelen
Lord Doljonijiarnimorinar
 
Join Date: Jan 2003
Server: Povar
Posts: 1,047
Interface Author - Click to view interfaces
Default

Code:
<Gauge item="Player_HP"> <ScreenID>PlayerHP</ScreenID> <TextColor> <R>240</R> <G>240</G> <B>240</B> </TextColor> <RelativePosition>true</RelativePosition> <TextOffsetX>-155</TextOffsetX> <GaugeOffsetY>44</GaugeOffsetY> <FillTint> <R>240</R> <G>240</G> <B>240</B> </FillTint> <EQType>1</EQType> <GaugeDrawTemplate> <Background>A_GaugeBackground</Background> <Fill>A_GaugeFill</Fill> <!--<Lines>A_GaugeLines</Lines>--> <EndCapLeft>A_GaugeEndCapLeft</EndCapLeft> <EndCapRight>A_GaugeEndCapRight</EndCapRight> </GaugeDrawTemplate> <AutoStretch>true</AutoStretch> <TopAnchorOffset>0</TopAnchorOffset> <BottomAnchorOffset>54</BottomAnchorOffset> <LeftAnchorOffset>0</LeftAnchorOffset> <RightAnchorOffset>0</RightAnchorOffset> <RightAnchorToLeft>false</RightAnchorToLeft> </Gauge> <Ui2DAnimation item = "A_GaugeBackground_PW"> <Cycle>true</Cycle> <Frames> <Texture>window_pieces01.tga</Texture> <Location> <X>0</X> <Y>0</Y> <---- is your gauge really at 0,0 on windows pieces 1.tga?? </Location> <Size> <CX>138</CX> <----- is the gauge in windows pieces 1 really this size..i think you are confusing this and the declares for the size you want it drawn in the xml <CY>12</CY> </Size> <Hotspot> <X>0</X> <Y>0</Y> </Hotspot> <Duration>1000</Duration> </Frames> </Ui2DAnimation> <Ui2DAnimation item="A_GaugeFill0_PW"> <Cycle>true</Cycle> <Frames> <Texture>window_pieces01.tga</Texture> <Location> <X>0</X> <Y>43</Y> <----- ok according to this if I open your window_pieces1.tga the fill bar will be located at 0, 43...is this the actual location? </Location> <Size> <CX>138</CX> <CY>12</CY> </Size> <Hotspot> <X>0</X> <Y>0</Y> </Hotspot> <Duration>1000</Duration> </Frames> </Ui2DAnimation> <Ui2DAnimation item = "A_GaugeFill1_PW"> <Cycle>true</Cycle> <Frames> <Texture>window_pieces01.tga</Texture> <Location> <X>-6762</X> <Y>43</Y> </Location> <Size> <CX>10000</CX> <CY>12</CY> </Size> <Hotspot> <X>0</X> <Y>0</Y> </Hotspot> <Duration>1000</Duration> </Frames> </Ui2DAnimation> <Ui2DAnimation item = "A_GaugeFill2_PW"> <Cycle>true</Cycle> <Frames> <Texture>window_pieces01.tga</Texture> <Location> <X>-9762</X> <Y>43</Y> </Location> <Size> <CX>10000</CX> <CY>12</CY> </Size> <Hotspot> <X>0</X> <Y>0</Y> </Hotspot> <Duration>1000</Duration> </Frames> </Ui2DAnimation> <Gauge item = "PW_Gauge1A"> <RelativePosition>true</RelativePosition> <Location> <X>0</X> <Y>0</Y> </Location> <Size> <CX>3100</CX> <CY>13</CY> </Size> <GaugeOffsetX>-6900</GaugeOffsetX> <GaugeOffsetY>0</GaugeOffsetY> <Text></Text> <TextOffsetY>8000</TextOffsetY> <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>0</G> <B>0</B> </LinesFillTint> <DrawLinesFill>false</DrawLinesFill> <EQType>1</EQType> <GaugeDrawTemplate> <Fill>A_GaugeFill1_PW</Fill> </GaugeDrawTemplate> </Gauge> <Screen item="PW_Gauge1A_X"> <RelativePosition>true</RelativePosition> <Location> <X>6</X> <Y>43</Y> </Location> <Size> <CX>69</CX> <CY>13</CY> </Size> <Style_Transparent>true</Style_Transparent> <Pieces>PW_Gauge1A</Pieces> </Screen> <Gauge item = "PW_Gauge1B"> <RelativePosition>true</RelativePosition> <Location> <X>100</X> <Y>43</Y> </Location> <Size> <CX>42</CX> <CY>13</CY> </Size> <GaugeOffsetX>-96</GaugeOffsetX> <GaugeOffsetY>0</GaugeOffsetY> <Text></Text> <TextOffsetY>8000</TextOffsetY> <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>0</G> <B>0</B> </LinesFillTint> <DrawLinesFill>false</DrawLinesFill> <EQType>1</EQType> <GaugeDrawTemplate> <Fill>A_GaugeFill</Fill> </GaugeDrawTemplate> </Gauge> <Gauge item = "PW_Gauge2A"> <RelativePosition>true</RelativePosition> <Location> <X>0</X> <Y>0</Y> </Location> <Size> <CX>100</CX> <CY>13</CY> </Size> <GaugeOffsetX>-9900</GaugeOffsetX> <GaugeOffsetY>0</GaugeOffsetY> <Text></Text> <TextOffsetY>8000</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>0</R> <G>0</G> <B>0</B> </LinesFillTint> <DrawLinesFill>false</DrawLinesFill> <EQType>1</EQType> <GaugeDrawTemplate> <Fill>A_GaugeFill2_PW</Fill> </GaugeDrawTemplate> </Gauge> <Screen item="PW_Gauge2A_X"> <RelativePosition>true</RelativePosition> <Location> <X>6</X> <Y>43</Y> </Location> <Size> <CX>137</CX> <CY>13</CY> </Size> <Style_Transparent>true</Style_Transparent> <Pieces>PW_Gauge1A</Pieces> </Screen> <Gauge item = "PW_Gauge2B"> <RelativePosition>true</RelativePosition> <Location> <X>140</X> <Y>43</Y> </Location> <Size> <CX>2</CX> <CY>13</CY> </Size> <GaugeOffsetX>-136</GaugeOffsetX> <GaugeOffsetY>0</GaugeOffsetY> <Text></Text> <TextOffsetY>8000</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>0</R> <G>0</G> <B>0</B> </LinesFillTint> <DrawLinesFill>false</DrawLinesFill> <EQType>1</EQType> <GaugeDrawTemplate> <Fill>A_GaugeFill</Fill> </GaugeDrawTemplate> </Gauge> <Gauge item = "PW_Gauge3"> <RelativePosition>true</RelativePosition> <Location> <X>6</X> <Y>43</Y> </Location> <Size> <CX>138</CX> <CY>13</CY> </Size> <GaugeOffsetX>0</GaugeOffsetX> <GaugeOffsetY>0</GaugeOffsetY> <Text></Text> <TextOffsetY>8000</TextOffsetY> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <!--<TooltipReference/>--> <FillTint> <R>0</R> <G>0</G> <B>0</B> </FillTint> <LinesFillTint> <R>0</R> <G>0</G> <B>0</B> </LinesFillTint> <DrawLinesFill>false</DrawLinesFill> <EQType>1</EQType> <GaugeDrawTemplate> <Lines>A_GaugeLines</Lines> </GaugeDrawTemplate> </Gauge>






Here are a few more clues and I cant adjust these cause I don't know the locs on your window pieces 1 or if you use a custom animations file.
Halelen is offline   Reply With Quote