EQInterface Forums

EQInterface Forums (http://www.eqinterface.com/forums/index.php)
-   General authoring help / discussion (http://www.eqinterface.com/forums/forumdisplay.php?f=12)
-   -   Number values are in decimal format (http://www.eqinterface.com/forums/showthread.php?t=22202)

Jinaabi3169 05-31-2020 05:25 PM

Number values are in decimal format
 
I haven't played for a year. I have a custom Player window I've built, and I have a series of numerical fields for HP, End, Mana XP and AA gauges. They used to be formatted with a percent, but now they are a decimal Here is the definition of the HP one:

Code:
<Label item="Player_HPPercentage"> <ScreenID>HPPercentage</ScreenID> <EQType>19</EQType> <Font>2</Font> <RelativePosition>true</RelativePosition> <Location> <X>135</X> <Y>52</Y> </Location> <Size> <CX>33</CX> <CY>11</CY> </Size> <Text>100</Text> <TextColor> <R>255</R> <G>255</G> <B>255</B> </TextColor> <NoWrap>true</NoWrap> <AlignCenter>false</AlignCenter> <AlignRight>true</AlignRight> <AlignLeft>false</AlignLeft> </Label>


Can I format it as a whole number? Anyone know what changed?

Drakah 06-02-2020 01:17 PM

I would like to know how to change it from decimal to whole number as well.

Voktar 06-12-2020 04:56 AM

That's the beauty of hardcoded UI changes.

They changed visual representation to show decimals on gauges, no way to going back to old style, we have to deal with THREE decimals for percentage values.

I dislike a lot this way of programming.


All times are GMT -5. The time now is 04:16 PM.

vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.