Quantcast
Download
(2 Kb)
Download
Updated: 07-18-10 07:23 PM
Addon for:
stText.
Pictures
File Info
Updated:07-18-10 07:23 PM
Created:07-16-10 02:56 PM
Downloads:1,742
Favorites:1
MD5:

stText XP

Version: 1.1
by: Shmii [More]

The ugliness of the default XP bar left from Bartender just didn't suit me. I would of much rather had it displayed in a text form.

This is that addon.

With the old gods by our side, you to can see your XP in glorious text form with the stText core installed.

---

You can change whether or not the percentage is colored and the number of decimal places shown within the LUA by changing the settings early on in the file.

1.1
- Added the number of decimal places option
- Added percent symbol (and the option to color it)

1.0
- Initial release
Archived Files (1)
File Name
Version
Size
Author
Date
1.0
2kB
Shmii
07-16-10 02:56 PM


Post A Reply Comment Options
Unread 07-18-10, 11:06 PM  
Attro
A Murloc Raider

Forum posts: 6
File comments: 25
Uploads: 0
Thanks for your response. I set mine up like this:

XPP = floor(UnitXP("player")/UnitXPMax("player")*100);
XP_text:SetText(colorCode.."XP:|r "..XPP.."%|r")
It doesn't have the % color coded, but I think I prefer it that way. I use oUF unit frames and was using oUF_Experience, but viewing it in this form is really what I've been looking for... thanks again for putting this together.
Report comment to moderator  
Reply With Quote
Unread 07-18-10, 06:50 PM  
Shmii
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 9
Uploads: 6
That sounds like an awesome idea. On line 57 where it says:

Code:
XP_text:SetText(colorCode.."XP:|r "..XPP)
Change it to say:

Code:
XP_text:SetText(strconcat(colorCode, "XP:|r ", XPP, colorCode, "\%"))
If you don't want the percentage symbol to be colored, then use this:

Code:
XP_text:SetText(strconcat(colorCode, "XP:|r ", XPP, "\%"))
I'll update the download page later tonight too.
Last edited by Shmii : 01-27-11 at 04:19 PM.
Report comment to moderator  
Reply With Quote
Unread 07-16-10, 10:31 PM  
Attro
A Murloc Raider

Forum posts: 6
File comments: 25
Uploads: 0
I've been using stText for some time now and have always wanted to add XP.

I'm stoked that you have put this together; however, I'm a little confused about the numbers you have displayed.

For example, in your screen shot of the addon it says XP: 40.91

What does the 40.91 represent? I don't see any correlation to the information in the tooltip.

EDIT: I see now that it's the XP %. It might be better to display it as "XP: 40%"
Last edited by Attro : 07-16-10 at 10:40 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: