Description
A layout for oUF by Haste. Needs to be downloaded for this layout to work.
Features
- Style based heavily on the look and feel of p3lim
- Castbar Support Disabled by default
- Combat Icon
- PVP Icon
- Smart Rested Icon ~ Works on characters 1-69 Easily Disabled
- Smart Level Coloring
- Mouse-over Highlighting
- Threat Support for WotLK Easily Disabled
- DeathKnight Rune Support (Blizzard, and Custom)
Supported Frames
- Player
- Pet
- Target
- Target of Target
- Optional Target of Target of Target
- Focus
- Focus Target
- Party
- Optional Party Targets
- Raid
Supported oUF Modules
- oUF_Banzai
- oUF_CombatFeedback
- oUF_Debuff Higlight
- oUF_DruidMana
- oUF_Experience
- oUF_PowerSpark
- oUF_Reputation
0.90 Inital Upload
0.91 Added Modular Color Variables, also fixed the default action of oUF to make my castbars yellow... ew.
0.91.1 First stage of code rehauls. Truncated names to 17 spaces in all frames.
0.91.2 More Optimizations.
0.91.3 Removed some Superflous code in PvP module
0.92 Some layout tweaks.
0.92.1 Minor Hunter Pet Fix
0.93 Some Code Optimizations, changed highlight code in main. (Raid still mostly unchanged atm)
0.93.1 Now with improved raid frame highlighting, and other minor improvements
0.93.2 A must if you have an older version... Error with Bosses fixed.
0.93.3 Fixed the tooltips I broke a patch or two ago.
0.94 Some Code Cleanup.
0.94.1 Abbreviated numbers (10,000 and up are now 10k and up, 1 Million and up Are 1m and up)
0.94.2 Minor fixes.
0.94.3 DruidMana fix.
0.95 Changed to use the default interface fonts.
0.95.1 Fixed Raid Issue.
0.95.2 Minor Tweaks.
0.96 oUF 1.1 Support with MobHealth
0.96b oUF 1.1 Support without MobHealth for WotLK
0.96.1 Fixed castbar safezone.
0.96.1b Fixed castbar safezone.
0.97 Added Target of Target of Target support (set ttt to true)
Changed Castbar to comply with changes in new oUF commit (update it)
0.97b Added Target of Target of Target support (set ttt to true)
Changed Castbar to comply with changes in new oUF commit (update it)
Hidden Default Blizzard Focus Frames.
0.98 Merged the WotLK and Live trees.
Changed some color handling.
Added Spark to Castbar.
Other Minor Tweaks.
0.98.1 Added threat support for 3.0.2 and WotLK
Added Optional Party Targets
Minor Tweaks.
0.98.2 Fixed Party Targets in Raids
0.98.2b One last Party Target Fix. Should be stable. Post any issues with this version.
0.98.2d Minor Push
0.98.3 Added optional oUF_Experience Support.
0.98.3a Fixed oUF_Experience Support, well if you don't have oUF_Experience
0.98.4 3.0.2 Changes.
0.98.5 Reaction Color fixes, and other small formatting things.
0.98.7 Minor color changes for visibility, Pet Combo points for Malygos.
0.98.8 Update for new oUF revision, Custom Rune Support (open to suggestions), Changes for Power Color Text, oUF_Reputation Support.
Originally posted by Roath Could you by any chance explain how to enable castbar? you write its disabled by default, so im guessing its only i tiny code change.
Thanks, any chance you could upload a screenshot of how the castbar looks? i'm at work atm. so cant check it myself and would like to know if it follows your unitframe design
Originally posted by DJJoeJoe Hrm, is the only difference here the ToT?
Explain to me why this warrants a download if I already have p3lim's layout?
It has castbar support, fixed hunter pet code, the focus of target frame. There are also a number of minor interface tweaks. The whole codebase was also pretty much redone. Its up to you whether or not you want to use it.
Thanks, any chance you could upload a screenshot of how the castbar looks? i'm at work atm. so cant check it myself and would like to know if it follows your unitframe design
I will post a screenshot later today when I get home.
Originally posted by nodq The Background of the HP Bars (black?) istn that good, the HP itself is grey, you can hardly see the difference between black and grey.
Ok, to make things more simple for people who want to change the colors, but overall enjoy the layout I added an array which contains all the colors used throughout the addon.
local pazcolors = {
[0] = { r = .25, g = .25, b = .35, a = 1}, -- Status Bar
[1] = { r = .25, g = .25, b = .25, a = .25}, -- Status Bar BG
[2] = { r = 0, g = 0, b = 0, a = 1}, -- Frame BG
[3] = { r = .4, g = .4, b = .4, a = .2}, -- Highlight
[4] = { r = .33, g = .59, b = .33, a = 1} -- CastBar Safe
}
Feel free to change them and experiment with it as you see fit.
Thanks, any chance you could upload a screenshot of how the castbar looks? i'm at work atm. so cant check it myself and would like to know if it follows your unitframe design
Sorry it took so long to update, had a bit of a computer issue last night.
Originally posted by Seiyu Cleaned up the code a bit. And made a few layout changes. Would appreciate feedback. Thanks.
Here's a couple pointers:
- Dupe code in updateName
- You define a function in updatePower, might want to move that one to your style function.
- No need to check for bar.bg, as it always exists in your layout.
- Inconsistent checks if the upvalue color is set.
- You have a debuff check in auraIcon, but both outcomes do the same.
- Your frame is actually both your frame and the oUF table due to the metatable magic oUF uses. This means that oUF.colors is the same as self.colors.
- Change your highlight texture to have HIGHLIGHT as the layer. This makes it show and hide automatically.
You can also safely ignore p3lim, he's being an arrogant ass as usual.
Originally posted by haste Here's a couple pointers:
- Dupe code in updateName
- You define a function in updatePower, might want to move that one to your style function.
- No need to check for bar.bg, as it always exists in your layout.
- Inconsistent checks if the upvalue color is set.
- You have a debuff check in auraIcon, but both outcomes do the same.
- Your frame is actually both your frame and the oUF table due to the metatable magic oUF uses. This means that oUF.colors is the same as self.colors.
- Change your highlight texture to have HIGHLIGHT as the layer. This makes it show and hide automatically.
You can also safely ignore p3lim, he's being an arrogant ass as usual.
Thanks for the info, gives me something to work on tomorrow. I'm going to upload one last file for tonight though since i broke onload pet frames with a minor issue which I really need to look deeper into tomorrow but the last file is a decent stop gap till i get a chance to.