EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > General Discussion > Request

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 11-18-2004, 04:37 PM
nicnac211 nicnac211 is offline
A Coastal Crab
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 1
Default Exp bar with 2 decimal places and debt %

I would like to see an experience bar with 2 decimal places, 32.23%
Also I would like to see a debt %, 3.22% debt.

That would be very precise and very awesome.
Reply With Quote
  #2  
Unread 11-18-2004, 04:44 PM
Kudane's Avatar
Kudane Kudane is offline
Co-Founder
Premium Member
Interface Author - Click to view interfaces
 
Join Date: May 2004
Posts: 233
Default

the value data doesnt come in decimal points.. but your right a debt % would be nice to show..
Reply With Quote
  #3  
Unread 11-19-2004, 07:15 AM
Lunani Lunani is offline
A Young Mystail Rat
 
Join Date: Oct 2004
Server: Beta 1
Posts: 5
Default

it's possible to display experience with 1 decimal, like 32.2%. a properly formatted combination of GameData.Self.ExperienceCurrent and GameData.Self.ExperienceBubble has the desired effect.
Reply With Quote
  #4  
Unread 11-21-2004, 01:09 AM
Prelector Prelector is offline
A Young Mystail Rat
 
Join Date: Nov 2004
Server: Blackburrow
Posts: 7
Default

Don't suppose you could show an example of proper formatting to achieve this, could ya?
Reply With Quote
  #5  
Unread 11-21-2004, 02:09 PM
Prelector Prelector is offline
A Young Mystail Rat
 
Join Date: Nov 2004
Server: Blackburrow
Posts: 7
Default

Ok, figured out A way of doing it... not sure it's the best way, but it works...

I break the exp number up into 3 fields:

GameData.Self.ExperienceCurrent - Number to left of decimal point - Right Justified and offset to the right to cover the %
. - Decimal point as text fiend
GameData.Self.ExperienceBubble - Number to right of decimal point - Right Justified

Take the ExperienceCurrent and . fields, and change the background opacity to 1.0000, and make their fields overlap the ExperienceBubble field.

EXAMPLE:

<Text BackgroundOpacity="1.000" DynamicData="/GameData.Self.ExperienceCurrent" Font="/Fonts.FontArialBold15" LocalText="99%" Location="238,40" Margin="0,0,-9,0" Name="ExpToNextLevel" ScrollExtent="20,15" Size="20,15" TextAlignment="Right" TextAlignmentVertical="Center">99%</Text>
<Text BackgroundOpacity="1.000" Font="/Fonts.FontArialBold15" LocalText="." Location="256,40" Name="TextDecimal" ScrollExtent="5,15" Size="5,15">.</Text>
<Text DynamicData="/GameData.Self.ExperienceBubble" Font="/Fonts.FontArialBold15" LocalText="99%" Location="251,40" Name="ExpDecimal" ScrollExtent="27,15" Size="27,15" TextAlignment="Right" TextAlignmentVertical="Center">99%</Text>

Hope that helps anyone looking for this
Reply With Quote
  #6  
Unread 01-27-2005, 04:37 PM
phred phred is offline
A Young Mystail Rat
 
Join Date: Jan 2005
Server: Antonia Bayle
Posts: 4
Default

Quote:
Originally Posted by Prelector
Ok, figured out A way of doing it... not sure it's the best way, but it works...

I break the exp number up into 3 fields:

GameData.Self.ExperienceCurrent - Number to left of decimal point - Right Justified and offset to the right to cover the %
. - Decimal point as text fiend
GameData.Self.ExperienceBubble - Number to right of decimal point - Right Justified

Take the ExperienceCurrent and . fields, and change the background opacity to 1.0000, and make their fields overlap the ExperienceBubble field.
I'm new to this so I was just curious - given what we know today is this the best way to do this? Does ExperienceBubble include the % character?
Reply With Quote
  #7  
Unread 01-27-2005, 04:49 PM
Humudce's Avatar
Humudce Humudce is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Oct 2004
Server: Blackburrow
Posts: 352
Default

Quote:
Originally Posted by phred
I'm new to this so I was just curious - given what we know today is this the best way to do this? Does ExperienceBubble include the % character?
Yes both the GameData.Self.ExperienceCurrent and GameData.Self.ExperienceBubble contain the % sign. This is why the numbers have to be offset and the opacities have to be set in this example otherwise you would have 24%.42% into level.

There are other ways to do this also. On my UI's created small pages in the parent page (like little windows) and then justified the numbers in those pages.
__________________

[Guild Leader] Tiggler is my Main, Humudce is my Alt on Blackburrow.
Reply With Quote
  #8  
Unread 01-27-2005, 04:53 PM
phred phred is offline
A Young Mystail Rat
 
Join Date: Jan 2005
Server: Antonia Bayle
Posts: 4
Default

Quote:
Originally Posted by Humudce
There are other ways to do this also. On my UI's created small pages in the parent page (like little windows) and then justified the numbers in those pages.
Phred: Emphasis mine

Justified or offset?
Reply With Quote
  #9  
Unread 01-27-2005, 05:18 PM
Humudce's Avatar
Humudce Humudce is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Oct 2004
Server: Blackburrow
Posts: 352
Default

Quote:
Originally Posted by phred
Phred: Emphasis mine

Justified or offset?
Actually Both Justified and Offset.

The page I used is to hide the % after the /GameData.Self.ExperienceCurrent, to do this I have justified the TextAlignment Right, and have offset the Location of the text to end at the 8 in my Default text of 218% so that all you really see in the small page element is 218

Then I place a Text "." and for the Experience Bubble value I also created a small page to hide the first number in the /GameData.Self.ExperienceBubble (because the First number in the ExperienceBubble always follows the last number in the ExperienceCurrent. i.e. 42.24% into level is actually 42.4%).
Again the text is justified right and the Location is offset to only show 1 digit and the % sign within the small page.
__________________

[Guild Leader] Tiggler is my Main, Humudce is my Alt on Blackburrow.
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
Forum Jump


All times are GMT -5. The time now is 05:31 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI