EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 12-08-2004, 02:42 PM
shdwphnx shdwphnx is offline
A Young Mystail Rat
 
Join Date: Oct 2004
Posts: 5
Question Text based Experience info without a % sign

I am trying to create a custom Experience window which will eventually look something like this...
Code:
----------------------------------------------
| 50 Shadowknight	12.34 %		56 % |
| 50 Outfitter		12.34 %		56 % |
----------------------------------------------




As I understand it, the crafter portion is currently bugged for text display, so I am leaving that entire line out for now and just doing the Adventurer. Unfortunately, what I keep winding up with is...
Code:
-----------------------------------------------
| 50 Shadowknight	12%.34 %	56% % |
-----------------------------------------------



The 50 is the current level, Shadowknight is the current class. This part is quite easy, as I just use a text box with /Gamedata.Self.LevelClass, which displays exactly what I want.

The 12 is the yellow XP, which I believe should just be a text box with /Gamedata.Self.ExperienceCurrent. Unfortunately, that seems to automatically add a % sign which I do not want there.

The 34 is the blue XP, which is /Gamedata.Self.ExperienceBubble, and is displaying perfectly for me.

The 56 is the Debt XP, for which I am using /Gamedata.Self.ExperienceDebtCurrent. Unfortunately, this one also automatically adds the % sign. Again, I do not want it here, as I want a little bit of space between the number and the % sign.

Anyone have any suggestions or ideas on how to remove those unwanted % signs?

Shadowpheonix

P.S. I know the blue XP is not truly the decimal portion of the yellow XP. I just like that readout formatting.
Reply With Quote
  #2  
Unread 12-08-2004, 04:29 PM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

There's no way to actually remove the % signs from the DynamicData, but what you can do for a workaround is to cover that portion of the text with an image. Just be sure the text alignment is set to Right so the % doesn't move when you change from 9% to 55% or something.
Reply With Quote
  #3  
Unread 12-09-2004, 12:51 AM
shdwphnx shdwphnx is offline
A Young Mystail Rat
 
Join Date: Oct 2004
Posts: 5
Default

Quote:
Originally Posted by Deathbane27
There's no way to actually remove the % signs from the DynamicData, but what you can do for a workaround is to cover that portion of the text with an image. Just be sure the text alignment is set to Right so the % doesn't move when you change from 9% to 55% or something.
Thank you for the information. I hadn't considered simply overlaying it with something else to hide it. I think I can make that work.

Shadowpheonix
Reply With Quote
  #4  
Unread 12-09-2004, 01:03 AM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

Bah. Just realized you could also simply make the text object not wide enough to display the entire number, then you don't have a black square behind the gap.
Reply With Quote
  #5  
Unread 12-09-2004, 03:30 AM
insomniac's Avatar
insomniac insomniac is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Blackburrow
Posts: 555
Default

You can't use blue exp like that tho. The blue digit in the tens place will always match the yellow digit in the singles place. The blue singles place is one tenth of a yellow. the tens place of blue doesn't matter.

Y:-12
B:--24
---12.4
The 2 red digits will always match.
__________________
Shizlak Xml - Templar/Provisioner
Blackburrow
Join Chat! irc: #EQ2Interface (dalnet) Ingame: /join eq.serverwide.eq2ui


Reply With Quote
  #6  
Unread 12-09-2004, 10:06 AM
shdwphnx shdwphnx is offline
A Young Mystail Rat
 
Join Date: Oct 2004
Posts: 5
Default

Quote:
Originally Posted by Deathbane27
Bah. Just realized you could also simply make the text object not wide enough to display the entire number, then you don't have a black square behind the gap.
Unfortunately, this is not really an option due to the changing number of characters - IE: 9% versus 87% versus 204% (for those times when you can't level until you complete a quest).

Quote:
Originally Posted by Insomniac
You can't use blue exp like that tho. The blue digit in the tens place will always match the yellow digit in the singles place. The blue singles place is one tenth of a yellow. the tens place of blue doesn't matter.

Y:-12
B:--24
---12.4
The 2 red digits will always match.
I realized this shortly after my original post here (when I came across a post discussing why people want both the yellow & blue and saw your & Kudane's comments there). I have corrected this by adjusting the size of the field to only show a single digit for the blue XP.

Thanks to Deathbane's suggestion regarding using an image to cover the unwanted portion, I now have my experience bar looking the way I want it (I used a phoney progress bar instead of an image). Once Sony corrects the bugs with the tradeskill portion, I will post it up for everyone to use.

Shadowpheonix
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 11:37 AM.


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