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
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 12:12 PM.


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