Home Forum Downloads My Favorites Register FAQ

Go Back   EQInterface Forums > Developer Discussion > XML modification help.
User Name
Password

Reply
 
Thread Tools Display Modes
Old 12-14-2008, 05:24 AM   #91
justborn
A Gray Wolf
 
Join Date: Feb 2007
Posts: 6
Default

ty...will start on that ...may be next weekend before i can get back with on this
justborn is offline   Reply With Quote
Old 12-14-2008, 05:35 AM   #92
myxiplx
A Weathered Clockwork
 
Join Date: Aug 2006
Posts: 313
Interface Author - Click to view interfaces
Default

Another good tip that makes it easier to see how all this fits together is to offset each piece on the Y axis. So set your first gauge, then put the next at Y+10, and the next at Y+20.

It's far, far easier to catch mistakes when you can see all the gauges at once, and see how they all react at different values.
myxiplx is offline   Reply With Quote
Old 12-14-2008, 09:52 AM   #93
Halelen
Lord Doljonijiarnimorinar
 
Join Date: Jan 2003
Server: Povar
Posts: 1,047
Interface Author - Click to view interfaces
Default

for those that are saying the file above doesnt work...its not a complete file just a part to let someone see how the coding works...you would have to finish the coding to get it operational
Halelen is offline   Reply With Quote
Old 12-15-2008, 10:41 PM   #94
detrolyn
A Ghoul
 
Join Date: Sep 2002
Posts: 16
Default

Not sure why this does not work.

Facts, my gauge is supposed to be 100 long. It is my intention to have 2 colors for the mana bar.

Code:
<Gauge item="Group_Mana_0_30_warning_F2"> <RelativePosition>true</RelativePosition> <Location> <X>0</X> <Y>0</Y> </Location> <Size> <CX>0</CX> <CY>100</CY> </Size> <GaugeOffsetX>0</GaugeOffsetX> <GaugeOffsetY>0</GaugeOffsetY> <Text /> <TextOffsetY>-50</TextOffsetY> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <FillTint> <R>90</R> <G>90</G> <B>0</B> </FillTint> <DrawLinesFill>false</DrawLinesFill> <EQType>31</EQType> <GaugeDrawTemplate> <Background>A_GaugeBackground</Background> <Fill>A_GaugeFill</Fill> </GaugeDrawTemplate> </Gauge> <Gauge item="Group_Mana_31_100_Normal_F2"> <RelativePosition>true</RelativePosition> <Location> <X>-30</X> <Y>0</Y> </Location> <Size> <CX>100</CX> <CY>8</CY> </Size> <GaugeOffsetX>0</GaugeOffsetX> <GaugeOffsetY>0</GaugeOffsetY> <Text /> <TextOffsetY>-50</TextOffsetY> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <FillTint> <R>0</R> <G>128</G> <B>255</B> </FillTint> <LinesFillTint> <R>0</R> <G>0</G> <B>0</B> </LinesFillTint> <DrawLinesFill>false</DrawLinesFill> <EQType>31</EQType> <GaugeDrawTemplate> <Background>A_GaugeBackground</Background> <Fill>A_GaugeFill</Fill> </GaugeDrawTemplate> </Gauge> <Gauge item="Group_Mana_0_30_Normal_Cover_F2"> <TextOffsetY>-50</TextOffsetY> <GaugeOffsetY>-2</GaugeOffsetY> <RelativeF6sition>true</RelativeF6sition> <FillTint> <R>0</R> <G>128</G> <B>255</B> </FillTint> <EQType>31</EQType> <GaugeDrawTemplate> <Fill>A_GaugeFill</Fill> </GaugeDrawTemplate> <GaugeOffsetX>0</GaugeOffsetX> <GaugeOffsetY>0</GaugeOffsetY> <Location> <X>-69921</X> <Y>-3</Y> </Location> <Size> <CX>100000</CX> <CY>30</CY> </Size> <GaugeDrawTemplate> <Background>A_GaugeBackground</Background> <Fill>A_GaugeFill</Fill> </GaugeDrawTemplate> </Gauge> <Gauge item="Group_Mana_Bars_F2"> <RelativePosition>true</RelativePosition> <Location> <X>0</X> <Y>0</Y> </Location> <Size> <CX>100</CX> <CY>8</CY> </Size> <GaugeOffsetX>0</GaugeOffsetX> <GaugeOffsetY>0</GaugeOffsetY> <Text /> <TextOffsetY>-50</TextOffsetY> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <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> <DrawTemplate>WDT_RoundedNoTitle</DrawTemplate> <EQType>31</EQType> <GaugeDrawTemplate> <Lines>A_GaugeLines</Lines> <LinesFill>A_GaugeLinesFill</LinesFill> </GaugeDrawTemplate> </Gauge> <Screen item="Group_Mana_0_30_F2"> <RelativeF6sition>true</RelativeF6sition> <Location> <X>1</X> <Y>0</Y> </Location> <Size> <CX>30</CX> <CY>8</CY> </Size> <Text></Text> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>true</Style_Transparent> <DrawTemplate>WDT_RoundedNoTitle</DrawTemplate> <Style_Titlebar>false</Style_Titlebar> <Style_Closebox>false</Style_Closebox> <Style_Minimizebox>false</Style_Minimizebox> <Style_Border>false</Style_Border> <Style_Sizable>false</Style_Sizable> <Pieces>Group_Mana_0_30_warning_F2</Pieces> <!-- <Pieces>Group_Mana_0_30_Normal_Cover_F2</Pieces> --> </Screen> <Screen item="Group_Mana_31_100_F2"> <RelativeF6sition>true</RelativeF6sition> <Location> <X>31</X> <Y>0</Y> </Location> <Size> <CX>100</CX> <CY>8</CY> </Size> <Text></Text> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>true</Style_Transparent> <DrawTemplate>WDT_RoundedNoTitle</DrawTemplate> <Style_Titlebar>false</Style_Titlebar> <Style_Closebox>false</Style_Closebox> <Style_Minimizebox>false</Style_Minimizebox> <Style_Border>false</Style_Border> <Style_Sizable>false</Style_Sizable> <Pieces>Group_Mana_31_100_Normal_F2</Pieces> </Screen> <Screen item="GW_F2_GaugesMana"> <RelativePosition>true</RelativePosition> <Location> <X>18</X> <Y>40</Y> </Location> <Size> <CX>100</CX> <CY>8</CY> </Size> <Text /> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>true</Style_Transparent> <DrawTemplate>WDT_RoundedNoTitle</DrawTemplate> <Style_Titlebar>false</Style_Titlebar> <Style_Closebox>false</Style_Closebox> <Style_Minimizebox>false</Style_Minimizebox> <Style_Border>false</Style_Border> <Style_Sizable>false</Style_Sizable> <Pieces>Group_Mana_31_100_F2</Pieces> <Pieces>Group_Mana_0_30_F2</Pieces> <Pieces>Group_Mana_Bars_F2</Pieces> </Screen>
detrolyn is offline   Reply With Quote
Old 12-15-2008, 10:51 PM   #95
Halelen
Lord Doljonijiarnimorinar
 
Join Date: Jan 2003
Server: Povar
Posts: 1,047
Interface Author - Click to view interfaces
Default

what is it not doing or doing wrong?


Hal
Halelen is offline   Reply With Quote
Old 12-16-2008, 12:09 AM   #96
detrolyn
A Ghoul
 
Join Date: Sep 2002
Posts: 16
Default

below a certain amount the bar will show a broken mana bar.

The first 30% being empty the next 10% showing.

EDIT:
Also, the first 30% has a flat texture while the rest has the rounded looking gauge.

Last edited by detrolyn : 12-16-2008 at 12:32 AM.
detrolyn is offline   Reply With Quote
Old 12-16-2008, 12:57 AM   #97
myxiplx
A Weathered Clockwork
 
Join Date: Aug 2006
Posts: 313
Interface Author - Click to view interfaces
Default

Think I can see both problems. Your 0_30 gauge has 0 width... but 100 height

Swop those two figures around and the rest looks reasonable to me. Once the gauges are working, uncomment the cover piece (and possibly move it to -69930) and you're done. You'll just need to check how the cover works as you go from 29% to 30% mana, getting the position of that right is always the trickiest piece, and I'm too lazy to work out where my math is wrong, I just fiddle with it once it's close
myxiplx is offline   Reply With Quote
Old 12-16-2008, 06:09 AM   #98
detrolyn
A Ghoul
 
Join Date: Sep 2002
Posts: 16
Default

Quote:
Originally Posted by myxiplx
(and possibly move it to -69930)


I cannot fathom the reasoning for that section.

Detrolyn
detrolyn is offline   Reply With Quote
Old 12-16-2008, 06:19 AM   #99
myxiplx
A Weathered Clockwork
 
Join Date: Aug 2006
Posts: 313
Interface Author - Click to view interfaces
Default

It will make more sense when you get what you have working. With what you have right now, you'll have two colours working for your gauges, but both colours will be visible all of the time.

The next step is that you have to hide the 0-30 gauge and only show it when it's needed. There's no proper way to do this, but what you can do is cover it with a huge gauge to create the illusion of the colour changing.

If you size the huge gauge properly, as that gauge drops below 30%, it reveals the new colours of the gauge underneath it. The huge size is to ensure that even a tiny fraction of a percentage drop is enough to reveal the items beneath in one go.

You should be able to see what it's doing by just comparing what you have with it commented out with the effect once it's visible. It makes a massive difference to the look of the gauge.
myxiplx is offline   Reply With Quote
Old 12-19-2008, 05:41 PM   #100
justborn
A Gray Wolf
 
Join Date: Feb 2007
Posts: 6
Default still confused



k, here is the deal... this gauge is to be 4 colors green 100-61, yel 60-31, red 30-16, red/pink 15-0. I can't see the gauge and i checked the uierror log and there aren't any errors...so only error is human error on placement of gauge or something else.

Now from the above write-up on how to do this and my orginal gauge:

Code:
<Gauge item="New_Target_HP"> <ScreenID>TargetHP</ScreenID> <RelativePosition>true</RelativePosition> <Location> <X>142</X> <Y>20</Y> </Location> <Size> <CX>261</CX> <CY>16</CY> </Size> <GaugeOffsetY>3</GaugeOffsetY> <TextOffsetX>3</TextOffsetX> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <TooltipReference /> <FillTint> <R>0</R> <G>240</G> <B>0</B> <Alpha>255</Alpha> </FillTint> <LinesFillTint> <R>220</R> <G>220</G> <B>0</B> </LinesFillTint> <DrawLinesFill>false</DrawLinesFill> <EQType>6</EQType> <GaugeDrawTemplate> <Background>A_GaugeBackground_Large</Background> <Fill>A_GaugeFill_Large</Fill> <Lines>A_GaugeLines_Large</Lines> <LinesFill>A_GaugeLinesFill_Large</LinesFill> <EndCapLeft>A_GaugeEndCapLeft_Large</EndCapLeft> <EndCapRight>A_GaugeEndCapRight_Large</EndCapRight> </GaugeDrawTemplate> <TextOffsetY>20</TextOffsetY> </Gauge>


This is what i come up with:
Code:
<Ui2DAnimation item="A_GaugeFill3_TW"> <Cycle>true</Cycle> <Frames> <Texture>window_pieces01.tga</Texture> <Location> <X>-4057</X> <Y>20</Y> </Location> <Size> <CX>26100</CX> <CY>16</CY> </Size> <Hotspot> <X>0</X> <Y>0</Y> </Hotspot> <Duration>1000</Duration> </Frames> </Ui2DAnimation> <Ui2DAnimation item="A_GaugeFill2_TW"> <Cycle>true</Cycle> <Frames> <Texture>window_pieces01.tga</Texture> <Location> <X>-7972</X> <Y>20</Y> </Location> <Size> <CX>26100</CX> <CY>16</CY> </Size> <Hotspot> <X>0</X> <Y>0</Y> </Hotspot> <Duration>1000</Duration> </Frames> </Ui2DAnimation> <Ui2DAnimation item="A_GaugeFill1_TW"> <Cycle>true</Cycle> <Frames> <Texture>window_pieces01.tga</Texture> <Location> <X>-15802</X> <Y>20</Y> </Location> <Size> <CX>26100</CX> <CY>16</CY> </Size> <Hotspot> <X>0</X> <Y>0</Y> </Hotspot> <Duration>1000</Duration> </Frames> </Ui2DAnimation> <Ui2DAnimation item="A_GaugeFill0_TW"> <Cycle>true</Cycle> <Frames> <Texture>window_pieces01.tga</Texture> <Location> <X>142</X> <Y>20</Y> </Location> <Size> <CX>26100</CX> <CY>16</CY> </Size> <Hotspot> <X>0</X> <Y>0</Y> </Hotspot> <Duration>1000</Duration> </Frames> </Ui2DAnimation> <Ui2DAnimation item="A_GaugeBackground_TW"> <Cycle>true</Cycle> <Frames> <Texture>window_pieces01.tga</Texture> <Location> <X>142</X> <Y>20</Y> </Location> <Size> <CX>26100</CX> <CY>16</CY> </Size> <Hotspot> <X>0</X> <Y>0</Y> </Hotspot> <Duration>1000</Duration> </Frames> </Ui2DAnimation> <Gauge item="NTW_CC15a"> <RelativePosition>true</RelativePosition> <Location> <X>142</X> <Y>20</Y> </Location> <Size> <CX>261</CX> <CY>16</CY> </Size> <GaugeOffsetY>3</GaugeOffsetY> <TextOffsetX>3</TextOffsetX> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <!--<TooltipReference/>--> <FillTint> <R>155</R> <G>0</G> <B>0</B> <Alpha>255</Alpha> </FillTint> <LinesFillTint> <R>0</R> <G>0</G> <B>0</B> </LinesFillTint> <DrawLinesFill>false</DrawLinesFill> <EQType>6</EQType> <GaugeDrawTemplate> <Background>A_GaugeBackground_Large</Background> <Fill>A_GaugeFill_Large</Fill> <Lines>A_GaugeLines_Large</Lines> <LinesFill>A_GaugeLinesFill_Large</LinesFill> <EndCapLeft>A_GaugeEndCapLeft_Large</EndCapLeft> <EndCapRight>A_GaugeEndCapRight_Large</EndCapRight> </GaugeDrawTemplate> <TextOffsetY>20</TextOffsetY> </Gauge> <Screen item="NTW_CC15X"> <RelativePosition>true</RelativePosition> <Location> <X>142</X> <Y>20</Y> </Location> <Size> <CX>39</CX> <CY>16</CY> </Size> <Style_Transparent>true</Style_Transparent> <Pieces>NTW_CC15a</Pieces> </Screen> <Gauge item="NTW_CC30a"> <RelativePosition>true</RelativePosition> <Location> <X>142</X> <Y>20</Y> </Location> <Size> <CX>39</CX> <CY>16</CY> </Size> <GaugeOffsetY>-4057</GaugeOffsetY> <TextOffsetX>3</TextOffsetX> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <!--<TooltipReference/>--> <FillTint> <R>255</R> <G>0</G> <B>0</B> <Alpha>255</Alpha> </FillTint> <LinesFillTint> <R>0</R> <G>0</G> <B>0</B> </LinesFillTint> <DrawLinesFill>false</DrawLinesFill> <EQType>6</EQType> <GaugeDrawTemplate> <Background>A_GaugeBackground_TW</Background> <Fill>A_GaugeFill2_TW</Fill> <Lines>A_GaugeLines_Large</Lines> <LinesFill>A_GaugeLinesFill_Large</LinesFill> <EndCapLeft>A_GaugeEndCapLeft_Large</EndCapLeft> <EndCapRight>A_GaugeEndCapRight_Large</EndCapRight> </GaugeDrawTemplate> <TextOffsetY>20</TextOffsetY> </Gauge> <Screen item="NTW_CC30X"> <RelativePosition>true</RelativePosition> <Location> <X>142</X> <Y>20</Y> </Location> <Size> <CX>78</CX> <CY>16</CY> </Size> <Style_Transparent>true</Style_Transparent> <Pieces>NTW_CC30a</Pieces> <Pieces>NTW_CC30b</Pieces> </Screen> <Gauge item="NTW_CC30b"> <RelativePosition>true</RelativePosition> <Location> <X>181</X> <Y>20</Y> </Location> <Size> <CX>78</CX> <CY>16</CY> </Size> <GaugeOffsetY>-39</GaugeOffsetY> <TextOffsetX>3</TextOffsetX> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <!--<TooltipReference/>--> <FillTint> <R>255</R> <G>0</G> <B>0</B> <Alpha>255</Alpha> </FillTint> <LinesFillTint> <R>0</R> <G>0</G> <B>0</B> </LinesFillTint> <DrawLinesFill>false</DrawLinesFill> <EQType>6</EQType> <GaugeDrawTemplate> <Background>A_GaugeBackground_Large</Background> <Fill>A_GaugeFill_Large</Fill> <Lines>A_GaugeLines_Large</Lines> <LinesFill>A_GaugeLinesFill_Large</LinesFill> <EndCapLeft>A_GaugeEndCapLeft_Large</EndCapLeft> <EndCapRight>A_GaugeEndCapRight_Large</EndCapRight> </GaugeDrawTemplate> <TextOffsetY>20</TextOffsetY> </Gauge> <Gauge item="NTW_CC60a"> <RelativePosition>true</RelativePosition> <Location> <X>142</X> <Y>20</Y> </Location> <Size> <CX>78</CX> <CY>16</CY> </Size> <GaugeOffsetY>-7972</GaugeOffsetY> <TextOffsetX>3</TextOffsetX> <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> <Alpha>255</Alpha> </FillTint> <LinesFillTint> <R>220</R> <G>220</G> <B>0</B> </LinesFillTint> <DrawLinesFill>false</DrawLinesFill> <EQType>6</EQType> <GaugeDrawTemplate> <Background>A_GaugeBackground_TW</Background> <Fill>A_GaugeFill1_TW</Fill> <Lines>A_GaugeLines_Large</Lines> <LinesFill>A_GaugeLinesFill_Large</LinesFill> <EndCapLeft>A_GaugeEndCapLeft_Large</EndCapLeft> <EndCapRight>A_GaugeEndCapRight_Large</EndCapRight> </GaugeDrawTemplate> <TextOffsetY>20</TextOffsetY> </Gauge> <Screen item="NTW_CC60X"> <RelativePosition>true</RelativePosition> <Location> <X>142</X> <Y>20</Y> </Location> <Size> <CX>157</CX> <CY>16</CY> </Size> <Style_Transparent>true</Style_Transparent> <Pieces>NTW_CC60a</Pieces> <Pieces>NTW_CC60b</Pieces> </Screen> <Gauge item="NTW_CC60b"> <RelativePosition>true</RelativePosition> <Location> <X>220</X> <Y>20</Y> </Location> <Size> <CX>157</CX> <CY>16</CY> </Size> <GaugeOffsetY>-78</GaugeOffsetY> <TextOffsetX>3</TextOffsetX> <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> <Alpha>255</Alpha> </FillTint> <LinesFillTint> <R>220</R> <G>220</G> <B>0</B> </LinesFillTint> <DrawLinesFill>false</DrawLinesFill> <EQType>6</EQType> <GaugeDrawTemplate> <Background>A_GaugeBackground_Large</Background> <Fill>A_GaugeFill_Large</Fill> <Lines>A_GaugeLines_Large</Lines> <LinesFill>A_GaugeLinesFill_Large</LinesFill> <EndCapLeft>A_GaugeEndCapLeft_Large</EndCapLeft> <EndCapRight>A_GaugeEndCapRight_Large</EndCapRight> </GaugeDrawTemplate> <TextOffsetY>20</TextOffsetY> </Gauge> <Gauge item="NTW_CC100a"> <RelativePosition>true</RelativePosition> <Location> <X>142</X> <Y>20</Y> </Location> <Size> <CX>157</CX> <CY>16</CY> </Size> <GaugeOffsetY>-15802</GaugeOffsetY> <TextOffsetX>3</TextOffsetX> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <FillTint> <R>0</R> <G>240</G> <B>0</B> <Alpha>255</Alpha> </FillTint> <LinesFillTint> <R>220</R> <G>220</G> <B>0</B> </LinesFillTint> <DrawLinesFill>false</DrawLinesFill> <EQType>6</EQType> <GaugeDrawTemplate> <Background>A_GaugeBackground_TW</Background> <Fill>A_GaugeFill0_TW</Fill> <Lines>A_GaugeLines_Large</Lines> <LinesFill>A_GaugeLinesFill_Large</LinesFill> <EndCapLeft>A_GaugeEndCapLeft_Large</EndCapLeft> <EndCapRight>A_GaugeEndCapRight_Large</EndCapRight> </GaugeDrawTemplate> <TextOffsetY>20</TextOffsetY> </Gauge> <Screen item="NTW_CC100X"> <RelativePosition>true</RelativePosition> <Location> <X>142</X> <Y>20</Y> </Location> <Size> <CX>261</CX> <CY>16</CY> </Size> <Style_Transparent>true</Style_Transparent> <Pieces>NTW_CC100a</Pieces> <Pieces>NTW_CC100b</Pieces> </Screen> <Gauge item="NTW_CC100b"> <RelativePosition>true</RelativePosition> <Location> <X>299</X> <Y>20</Y> </Location> <Size> <CX>261</CX> <CY>16</CY> </Size> <GaugeOffsetY>-157</GaugeOffsetY> <TextOffsetX>3</TextOffsetX> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <FillTint> <R>0</R> <G>240</G> <B>0</B> <Alpha>255</Alpha> </FillTint> <LinesFillTint> <R>220</R> <G>220</G> <B>0</B> </LinesFillTint> <DrawLinesFill>false</DrawLinesFill> <EQType>6</EQType> <GaugeDrawTemplate> <Background>A_GaugeBackground_Large</Background> <Fill>A_GaugeFill_Large</Fill> <Lines>A_GaugeLines_Large</Lines> <LinesFill>A_GaugeLinesFill_Large</LinesFill> <EndCapLeft>A_GaugeEndCapLeft_Large</EndCapLeft> <EndCapRight>A_GaugeEndCapRight_Large</EndCapRight> </GaugeDrawTemplate> <TextOffsetY>20</TextOffsetY> </Gauge>


So where did i go wrong. I need to know y it should be the way u say and it may help me in what i was thinking at time of coding

Last edited by justborn : 12-21-2008 at 02:40 AM.
justborn is offline   Reply With Quote
Old 12-20-2008, 11:05 AM   #101
detrolyn
A Ghoul
 
Join Date: Sep 2002
Posts: 16
Default

Ok, the only thing i have left now is that the item that covers up 0 to 30 does not work.

Detrolyn
detrolyn is offline   Reply With Quote
Old 12-20-2008, 11:26 AM   #102
Halelen
Lord Doljonijiarnimorinar
 
Join Date: Jan 2003
Server: Povar
Posts: 1,047
Interface Author - Click to view interfaces
Default

does not work as in does not display or does not move? If it does not move its probably because instead of using a 1% piece it is larger so will not move until you have moved the gauge enough to remove that entire amount.

hal
Halelen is offline   Reply With Quote
Old 12-20-2008, 11:39 AM   #103
Halelen
Lord Doljonijiarnimorinar
 
Join Date: Jan 2003
Server: Povar
Posts: 1,047
Interface Author - Click to view interfaces
Default

ok Justborn the first thing I see is in your 100x you have the gauge 261 so that means 1 hit and that whole piece should disappear, is that your intentions? if so you wouldnt need a b gauge , the b gauge is for the countdown , the x is a cover that disappears when time to expose the next layer underneath.Next thin I see the math is all off, the first part of your A gauge is 39 long and then your next a part is 39 long...so they are the same length? your parts need to equal 261(your gauge length)and your numbers need to come from that so if wanting a change at 30% you need to get 30% of 261 for first part and rest of 261 will be your b.now for your offsets same applies except uyou will be taking 30% of 26100.


work on that and see what ya come up with.


hal

Last edited by Halelen : 12-20-2008 at 11:49 AM.
Halelen is offline   Reply With Quote
Old 12-21-2008, 03:29 AM   #104
justborn
A Gray Wolf
 
Join Date: Feb 2007
Posts: 6
Default

k, ty will work on this in between work and rebuilting the bottom end of car engine...bbs ooo btw from what u could tell was the animation part of things right

also let me see if i'm understanding you right. since my gauge is at 261, with 1 there is no need to make any of the b gauges (as to if the gauge was 260, then i would need the b gauges) also you say
Quote:
Originally Posted by Halelen
Next thin I see the math is all off, the first part of your A gauge is 39 long and then your next a part is 39 long...so they are the same length?

hal
I don't see what your talking about.(plz note i went back and colored all of the A parts but didn't change any code. I couldn't find the aboved mention statement) The math is right. I'm new to this but correct me if im wrong but i'm almost sure that you can not code with decimal numbers... therefore leaving me to round down/up (30% of 261 = 78.3 or 78) If i can code this with decimal numbers then SWEET...whole lot less hassel. but I understand that both parts A / B need to equal the size of the gauge (in this case 261)

but that leaves me this ? for you
Quote:
Originally Posted by Halelen
the first thing I see is in your 100x you have the gauge 261 so that means 1 hit and that whole piece should disappear, is that your intentions? if so you wouldnt need a b gauge hal
If gauge b is not needed then each A gauge would be normal size...right? If this is so, it would seem like the easier way to go on coding the color change gauges...still trying to understand... I guess what is really confusing me is that there is so many diff ways to code this and i don't have a full understanding of coding in XML, everything that i've done has be trial and error with some learning

anyways thz for helping me

justborn yesterday all my troubles seemed so far away
justborn is offline   Reply With Quote
Old 12-21-2008, 08:57 AM   #105
detrolyn
A Ghoul
 
Join Date: Sep 2002
Posts: 16
Default

Here is the section. what i get is the same color bar all the way through.

Code:
<Gauge item="Group_Mana_0_30_warning_F2"> <RelativePosition>true</RelativePosition> <Location> <X>0</X> <Y>0</Y> </Location> <Size> <CX>100</CX> <CY>8</CY> </Size> <GaugeOffsetX>0</GaugeOffsetX> <GaugeOffsetY>0</GaugeOffsetY> <Text /> <TextOffsetY>-50</TextOffsetY> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <FillTint> <R>0</R> <G>0</G> <B>90</B> </FillTint> <DrawLinesFill>false</DrawLinesFill> <EQType>31</EQType> <GaugeDrawTemplate> <Background>A_GaugeBackground</Background> <Fill>A_GaugeFill</Fill> </GaugeDrawTemplate> </Gauge> <Gauge item="Group_Mana_0_30_Normal_Cover_F2"> <TextOffsetY>-50</TextOffsetY> <GaugeOffsetY>-2</GaugeOffsetY> <RelativeF6sition>true</RelativeF6sition> <FillTint> <R>0</R> <G>128</G> <B>255</B> </FillTint> <EQType>31</EQType> <GaugeDrawTemplate> <Fill>A_GaugeFill</Fill> </GaugeDrawTemplate> <GaugeOffsetX>0</GaugeOffsetX> <GaugeOffsetY>0</GaugeOffsetY> <Location> <X>0</X> <Y>0</Y> </Location> <Size> <CX>100</CX> <CY>8</CY> </Size> <GaugeDrawTemplate> <Background>A_GaugeBackground</Background> <Fill>A_GaugeFill</Fill> </GaugeDrawTemplate> </Gauge> <Screen item="Group_Mana_0_30_F2"> <RelativeF6sition>true</RelativeF6sition> <Location> <X>1</X> <Y>0</Y> </Location> <Size> <CX>30</CX> <CY>8</CY> </Size> <Text></Text> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>true</Style_Transparent> <DrawTemplate>WDT_RoundedNoTitle</DrawTemplate> <Style_Titlebar>false</Style_Titlebar> <Style_Closebox>false</Style_Closebox> <Style_Minimizebox>false</Style_Minimizebox> <Style_Border>false</Style_Border> <Style_Sizable>false</Style_Sizable> <Pieces>Group_Mana_0_30_warning_F2</Pieces> <Pieces>Group_Mana_0_30_Normal_Cover_F2</Pieces> </Screen>
detrolyn is offline   Reply With Quote
Reply




Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -5. The time now is 06:40 AM.


vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI