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

ok first thing is as its written for hp its set to go every 20% so first thing that needs to be done is it needs to be reduced to 3 changes from 5(which you have done)also since you cut out 3 and 4 need to change 5 to 3 which is simply the gauge overlay and then need to adjust the numbers to represent the places you want the changes and everything is based off 10000.i see your coming out at 13800 to 26000. Your fills are also all different sizes ..what are your gauge sizes? None of the numbers are adding up to the same size.So you want changes at 99% and 69% correct?Then in your offsets need to be the percent - your gauge size to get it set properly so on a 10000 at 80% the offset is 2000-110= 1890. This will make the first change at 80%. For 20% change just need to add 2000 to the rest. So next offset is 3890, next 5890 and finally 7890. . Basically what you are doing is setting a small gauge that counts down to the percentage you want and then the rest is a cover that you want to disappear in one tick.. I have made some notes on your file below they are bolded for ease of location they aren't necessarily all the things that need changed but they are a few that need attention.

Ok does that make it any clearer? if not ill check back in a little while

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>-9600</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>-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> <Gauge item = "PW_Gauge1A"> <RelativePosition>true</RelativePosition> <Location> <X>4</X> <Y>43</Y> </Location> <Size> <CX>9600</CX> <CY>13</CY> </Size> <GaugeOffsetX>-4200</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>4</X> <Y>43</Y> </Location> <Size> <CX>96</CX> <CY>13</CY> </Size> <Style_Transparent>true</Style_Transparent> <Pieces>PW_Gauge1A</Pieces> </Screen> <Gauge item = "PW_Gauge1B"> <RelativePosition>true</RelativePosition> <Location> <X>142</X> <Y>43</Y> </Location> <Size> <CX>96</CX><--- this size and the offset below need to equal gauge size <CY>13</CY> </Size> <GaugeOffsetX>-42</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>4</X> <Y>43</Y> </Location> <Size> <CX>13700</CX> <CY>13</CY> </Size> <GaugeOffsetX>-100</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>4</X> <Y>43</Y> </Location> <Size> <CX>137</CX> <CY>13</CY> </Size> <Style_Transparent>true</Style_Transparent> <Pieces>PW_Gauge2A</Pieces> </Screen> <Gauge item = "PW_Gauge2B"> <RelativePosition>true</RelativePosition> <Location> <X>137</X> <Y>43</Y> </Location> <Size> <CX>1</CX><---here you have gauge size 1 then offset -1=0 nothing will happen <CY>13</CY> </Size> <GaugeOffsetX>-1</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_Gauge5"> <------Change this to 3 <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>


Hal
Halelen is offline   Reply With Quote