View Single Post
Old 04-25-2013, 05:50 PM   #9
Halelen
Lord Doljonijiarnimorinar
 
Join Date: Jan 2003
Server: Povar
Posts: 1,047
Interface Author - Click to view interfaces
Default

ok so 138 is the gauge length you want. ok next you should probably use 10000 for fills and such need to get your percentages of 10000 for your offsets.

Did you do the 2000-110= 1890 because your gauge is 110? yes so you would put 138 in place of 110. so once you get the percentages from 10000 you would subtract 138 from them and that would be your offsets.

HTML 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[B]><----Make this your first offset amount[/B] <Y>43</Y> </Location> <Size> <CX>13800</CX>[B]<---make this 10000[/B] <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>[B]<---- Make this your second offset amount[/B] <Y>43</Y> </Location> <Size> <CX>13800</CX><--- Make this 10000 <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[B]><-----Make this 0[/B] <Y>43</Y> [B]<-----Make this 0[/B] </Location> <Size> <CX>13700</CX>[B]<-----this is 10000 - your first offset[/B] <CY>13</CY> </Size> <GaugeOffsetX>-13562</GaugeOffsetX> [B]<------- this is the remainder of the number above from 10000[/B] <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> [B]<---you would want this to be 140[/B] <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>


there are a few more hints above 8)

Hal
Halelen is offline   Reply With Quote