View Single Post
Old 04-25-2013, 05:42 PM   #8
Stice
A Snow Griffin
 
Join Date: Feb 2003
Posts: 55
Interface Author - Click to view interfaces
Default

Well first off my window is set at 150 and my gauges are set to 0 each end I came up with -4 for borders and so gauge would be 146 and my fill minus the gauge ends would be 138 i think.
so the 99% of 138 is 136.62 I just rounded up to 137 for the red
the 69% of 91.08 again I just rounded up to 92 for the yellow

Did you do the 2000-110= 1890 because your gauge is 110?
I think I am getting more of an understanding of this, but still not too close yet.
thakns for the help on this.


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.dds</Texture> <Location> <X>0</X> <Y>0</Y> </Location> <Size> <CX>146</CX> <CY>15</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.dds</Texture> <Location> <X>0</X> <Y>43</Y> </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.dds</Texture> <Location> <X>-13700</X> <Y>43</Y> </Location> <Size> <CX>13800</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.dds</Texture> <Location> <X>-9100</X> <Y>43</Y> </Location> <Size> <CX>13800</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>4</X> <Y>43</Y> </Location> <Size> <CX>13700</CX> <CY>13</CY> </Size> <GaugeOffsetX>-13562</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_GaugeFill1_PW</Fill> </GaugeDrawTemplate> </Gauge> <Screen item="PW_Gauge1A_X"> <RelativePosition>true</RelativePosition> <Location> <X>4</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_Gauge1B"> <RelativePosition>true</RelativePosition> <Location> <X>133</X> <Y>43</Y> </Location> <Size> <CX>1</CX> <CY>13</CY> </Size> <GaugeOffsetX>-137</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_Gauge2A"> <RelativePosition>true</RelativePosition> <Location> <X>4</X> <Y>43</Y> </Location> <Size> <CX>9100</CX> <CY>13</CY> </Size> <GaugeOffsetX>-8952</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_GaugeFill2_PW</Fill> </GaugeDrawTemplate> </Gauge> <Screen item="PW_Gauge2A_X"> <RelativePosition>true</RelativePosition> <Location> <X>4</X> <Y>43</Y> </Location> <Size> <CX>91</CX> <CY>13</CY> </Size> <Style_Transparent>true</Style_Transparent> <Pieces>PW_Gauge2A</Pieces> </Screen> <Gauge item = "PW_Gauge2B"> <RelativePosition>true</RelativePosition> <Location> <X>88</X> <Y>43</Y> </Location> <Size> <CX>91</CX> <CY>13</CY> </Size> <GaugeOffsetX>-47</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_Gauge3"> <RelativePosition>true</RelativePosition> <Location> <X>4</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>
__________________
Stice
Stice is offline   Reply With Quote