Home Forum Downloads My Favorites Register FAQ Mark Forums Read

Go Back   EQInterface Forums > Developer Discussion > General authoring help / discussion
User Name
Password

Reply
 
Thread Tools Display Modes
Old 05-31-2020, 05:25 PM   #1
Jinaabi3169
A Gray Wolf
 
Join Date: Jul 2008
Posts: 4
Default 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?
Jinaabi3169 is offline   Reply With Quote
Old 06-02-2020, 01:17 PM   #2
Drakah
Skinning Guru
 
Drakah's Avatar
 
Join Date: Jul 2002
Posts: 1,076
Interface Author - Click to view interfaces
Default

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

Drakah

shakahr.com
Remember...it is only a GAME
Drakah is offline   Reply With Quote
Old 06-12-2020, 04:56 AM   #3
Voktar
A Fire Beetle
 
Join Date: Feb 2014
Server: Antonius Bayle
Posts: 2
Interface Author - Click to view interfaces
Default

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.
Voktar is offline   Reply With Quote
Reply



Thread Tools
Display Modes

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 03:02 AM.


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