Φ wowmods - oUFExperience @ ?
[ addon updates | search | RSS | Google: subscribed link (?); Gadget | Twitter ]
[ login | register ] [ contact ]
search addons:

 • details
addon: oUFExperience
listed author: p3lim   [list all addons]
latest version: r3
date last updated: Wed, 27 Aug 2008 17:06:14 +0100
date added: Wed, 27 Aug 2008 17:40:14 +0100
 
wowinterface.com: http://www.wowinterface.com/downloads/info10647-r3.html

 • about + changelog
Description:

This is a plug-in for oUF, so in order to make this plug-in work, you would need to download that.

You can find a link under the big download button to the right.



This is a plug-in to show a simple xp bar with oUF.





Features:

Can display a bar and text representing your experience.

If player is at max level the bar cluster is hidden



Note:

To use this in your oUF layout you will need a Experience member on your oUF unit object (self)



Example code:

if(unit == 'player') then

self.Experience = CreateFrame('StatusBar', nil, self)

self.Experience:SetPoint('TOP', self, 'BOTTOM', 0, -10)

self.Experience:SetStatusBarTexture(texture)

self.Experience:SetStatusBarColor(0, 1, 0)

self.Experience:SetHeight(11)

self.Experience:SetWidth(230)

end



This will place your xp bar below the player frame (as seen on picture)



You can also add things like a value text on it, like this

self.Experience.text = self.Experience:CreateFontString(nil, 'OVERLAY')

self.Experience.text:SetPoint('CENTER', self.Experience)

self.Experience.text:SetFontObject(GameFontNormalSmall)

self.Experience.text:SetTextColor(1, 1, 1)

self.Experience.text:SetJustifyH('LEFT')





This will place a value text above the xp bar (also shown on pic)





Todo:

Add rested xp bar

Add tooltip

Add pet xp bar

 
Hint: see addon details for related searches in Google: use the Google Subscribed Links service.