Question on adding eqtype 360
Quote:
Would you or anyone be so kind as to post what the beginning and /ending code text for the new 360 type? I want to add this label to a different window so I would need the full line of code text with both size (if possible) and location X and Y. Thank you very much! :) |
You can base your code off of any percent label code really and just replace the eqtype with 360 and place that in your xml for the window you need it for. As for the x and y locations, that you would need to tinker with as to where you want it in the window.
|
Quote:
Thanks so for example: <Label item="PIW_HASTEpercent"> <Font>3</Font> <RelativePosition>true</RelativePosition> <Location> <X>213</X> <Y>28</Y> </Location> <Size> <CX>16</CX> <CY>12</CY> </Size> <Text>%</Text> <TextColor> <R>255</R> <G>255</G> <B>255</B> </TextColor> <NoWrap>true</NoWrap> <AlignCenter>false</AlignCenter> <AlignRight>false</AlignRight> <AlignLeft>true</AlignLeft> </Label> Where do I put in the 360 and how would I change the: <Label item="PIW_HASTEpercent"> |
Well, close, but I would get one that already had an eqtype in the label to make it a hair easier.
Just be careful, the name of the label needs to be unique otherwise you will get a duplicate name xml error in game. Kinda like this. <Label item="MyPowerPecentLabel"> <RelativePosition>true</RelativePosition> <Font>2</Font> <Text>100</Text> <TextColor> <R>255</R> <G>255</G> <B>255</B> </TextColor> <EQType>360</EQType> <NoWrap>true</NoWrap> <Location> <X>5</X> <Y>5</Y> </Location> <Size> <CX>20</CX> <CY>12</CY> </Size> </Label> You would rename the label to something more appropriate, edit the location X and Y to be where you want it to show and don't forget to place the <pieces></pieces> tag at the end of the XML to call the Name you gave the label. (ie: <pieces>MyPowerPecentLabel</pieces>). When placing the names at the end of the file, it does look at what piece is 1st and so-forth since items are Layered. So if you want to make sure the percent is on top of everything else, place it at the top of the Pieces list. |
Quote:
TYVM! Now I can tinker. You are a huge help. |
Good news! I edited the code into the window and loaded it and it didn't load the default UI! :)
The bad news is I can't see the value! I know the location is correct with X at 7 and Y at 3 but for some reason that section remains blank. (I edited a white box into the screenshot just to the left of the chest slot where the type 360 value should display) Any help would be wonderful. (so sorry i don't know how to do this on my own) Here is a screenshot of where I want the percent to show in my UI. followed by what the window looks like in code: Code:
|
im not seeing where you want it to be?
|
Quote:
In the screenshot on the right hand side of the window, there are inventory slots. Just above the powersource there is a blank space. I drew a white 20x20 pixel box where I want the percent value to show. (this is the modified pet window for the AYA ui.) |
1 Attachment(s)
Try this file. It needed to be in the pet sub window since that is where you want it to show. I cleaned up the name a bit to match more of how your naming structure is.
|
Absolutely FANTASTIC! :nana:
Made a few minor tweaks to it and look! TYVM! :D |
Most welcome :)
|
All times are GMT -5. The time now is 07:52 AM. |
vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.