Download
(115Kb)
Download
Updated: 06-26-11 01:55 AM
Pictures
File Info
Updated:06-26-11 01:55 AM
Created:09-30-10 05:53 PM
Downloads:19,156
Favorites:59
MD5:

oUF Drk  Popular! (More than 5000 hits)

Version: 2.04
by: drakull, Qulight

oUF_Drk
VERSION 2.0

ATTENTION:
This addon requires oUF 1.5.11+ to work. (NOT INCLUDED)

What's new in v2.0:
- Complete code rewrite
- Changed the positioning of class bars
- Changed the positioning of castbars
- Changed portrait and healthbar's heights of player and target frames
- Slight new layout for all other frames
- Added boss frames
- Added pet's target frame
- Added new texture for backgrounds
- Added new texture for debuffhighlight
- Added new font
- Added support for oUF_boring_totembar
- Added support for oUF_CombatFeedback
- Added support for oUF_Smooth Update

Features:
- Unitframes for: Player, Target, ToT, Pet/Vehicle, Pet Target, Focus, Focus Target, Boss, party and Raid;
- AltPowerBar, ThreatBar support;
- Castbar support for player, target, focus, pet and boss frames;
- Totembar, Runebar, Holypower, Eclipse Bar and Soul Shards support;
- Buff and debuffs frames for most units;
- Raidframes with aggro highlight;
- Dispellable debuff highlight for party and raid frames.
- Raid debuff icons on raid/party frames.
- AuraWatch to show up to 4 icons representing various player buffs on raid units
- Combo point support.

Addon support:
- oUF_RaidDebuffs (embedded)
- oUF_DebuffHighligth (embedded)
- oUF_AuraWatch (embedded)
- oUF_Smooth Update (embedded)
- oUF_CombatFeedback
- oUF_boring_totembar
- oUF_MovableFrames

Credits:
- Haste for creating oUF and for being so patient helping me with my questions;
- Zork for oUF_Simple that I used as a base for my layout;
- yj589794, Caellian, Neverg, Coree and Monolit. Most of the original code came from their layouts.

Know issues:
- Portraits are not showing properly for worgen characters, that's blizzard's fault.
- Debuff highlight colors are sometimes wrong.
- Runebar insists on displaying imaginary deathrunes.
- Not a bug, but new raidDebuffs icons are still to be added.

v2.0 release notes:
- Ingame config turned out to bring more problems than solutions so I decided to take it out, at least for the time being.
- There's something really wrong in my code and I simply can't figure out what it is. This one thing is messing up many stuff, like runebar's crazy deathrunes and wrong debuff highlight colors. I had added support for oUF_Experience and oUF_Reputation but took it out because some tags were driving me mad (like, disappearing with no reason) and I bet this was caused by this same problem. I'm trying to fix it but you are more than welcome to check my code and help me out.

Author's notes:
This is my personal layout and it's *not* finished so expect many improvements and layout changes in the upcoming versions.

Code:
2.04
          upd for 4.2
Code:
2.03
          upd for 4.1
          -removed pet Happiness/Pet Loyalty System
          -change positions buffs for default
Code:
2.02b
           New Style, Font
           AltPowerBar, ThreatBar support
Code:
2.01r
	Fixed some eclipsebar errors
Code:
2.0r
	Complete code rewrite
	Changed the positioning of class bars
	Changed the positioning of castbars
	Changed portrait and healthbar's heights of player and target frames
	Slight new layout for all other frames
	Added boss frames
	Added pet's target frame
	Added new texture for backgrounds
	Added new texture for debuffhighlight
	Added new font
	Added support for oUF_boring_totembar
	Added support for oUF_CombatFeedback
Code:
1.7r
	Fixed DeadlyPoison tag bug (hopefully)
	Fixed raid dropdown menus
Code:
1.65r
	Corrected some wrong AuraWatch spell ids.
Code:
1.6r
	Changed health's bg color when out of range
	Changed the way raid scaling is done
	Added support for oUF_AuraWatch
	Fixed raidDebuffs not working properly
	Added a new custom texture for debuffHighlightning
Code:
1.5r
	Fixed a typo that prevented combopoints to show up
	Fixed frame scaling not working
	Fixed Moonkin's EclipseBar support
Code:
1.4b
	Added new config options to set frame positioning for some units
	Changed LFD's positioning
	Added some options to control aura displaying
	Added Elite/Rare/Boss representation
	Added target's level coloring according to difficult
	Fixed various minor bugs
	Removed support for oUF_PowerSpark (no more 5sec rule)
	Added support for oUF_DebuffHighlight (embedded)
	Added support for raid debuffs (alpha)
	Changed aura fonts for a better one
Code:
1.3b
	Added support for oUF 1.5.x
	Fixed raid and partyframes not showing
	Added combopoints support
	Added PvP Icon
	Removed debuff highlight for rewrite
	Removed support for oUF_ReadyCheck external addon, added support for oUF's ReadyCheck
Code:
1.2b
	Changed TOC to support 4.x
	Added support for Holy Power and Soul Shards
	Added Phase and Quest icons
	Added an option to disable castbars
	Removed support for HealComm4, added support for oUF's HealPrediction
Code:
1.1b
	Added life percent display in player's and target's frames
	Added power display in player frame instead of player's name
	Added an option to disable player auras in player frame and use blizzard's default aura frames
	Added scaling support (experimental)
	Added a focus target's frame
	Added castbar support for all frames (except raid)
	Removed Pet's target frame
Code:
1.0b
	Initial release
Post A Reply Comment Options
Unread 01-08-11, 02:46 PM  
Arodin Lame-Soleil
A Kobold Labourer
 
Arodin Lame-Soleil's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 43
Uploads: 2
Originally posted by Ennie
double-check your config.
cfg.font, cfg.smallfont and cfg.nanofont should be real fonts.
Thank you ! I had wrong writed the font ^^'
__________________
Yesterday is a story,today is a gift and tomorrow is a mystery
Report comment to moderator  
Reply With Quote
Unread 01-08-11, 03:46 PM  
Ennie
A Murloc Raider
 
Ennie's Avatar
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 24
Uploads: 6
Originally posted by drakull
Just updated the addon with the eclipsebar fixes. (the weird icons bug are gone too)
Opened comments to post about this bug, but you outplayed me

oh, btw. drakull, can you look at my oUF plugin and add support for it? it even have code for your new layout to add
http://www.wowinterface.com/download...DruidMana.html
__________________
Report comment to moderator  
Reply With Quote
Unread 01-08-11, 06:17 PM  
drakull
A Cyclonian
 
drakull's Avatar
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 53
Uploads: 1
Originally posted by Ennie
Opened comments to post about this bug, but you outplayed me

oh, btw. drakull, can you look at my oUF plugin and add support for it? it even have code for your new layout to add
http://www.wowinterface.com/download...DruidMana.html
I don't have a druid but I'll test it on the PTR, I need to test combo points too. If everything goes OK there will be support for your plugin in the next release.
Report comment to moderator  
Reply With Quote
Unread 01-08-11, 08:38 PM  
browar
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Nicely done I want to use built in raid frames and i want to have blizzard raid frame container. I have changed in config to false on that but it doesn't work
Report comment to moderator  
Reply With Quote
Unread 01-08-11, 11:09 PM  
unstoppixel
An Aku'mai Servant
 
unstoppixel's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 37
File comments: 131
Uploads: 2
Re: Re: Bugs

Originally posted by drakull
It's your UI Scaling, for sure. The addon is made for using with no custom UI Scaling. Try unchecking "Use UI scale".
Sorry, I didn't mean my UI scaling, I meant the scaling in the cfg

Code:
cfg.raidScale = .75 -- scale factor for raid and party frames
cfg.scale = .65 -- scale factor for all other frames
Here is a screenshot of what I'm talking about...

See how there is a slight gap in the dark tint at the top of the portrait area?
(I tried it with the font I'm using and with the font you used, same result for both).

Also, the target's target (in the middle) power bar is coming up as gray, rather than the class color, not sure if this is intended or not.

Finally, the focus bar is a very different size, much longer now... not sure if that was intended either.
__________________
Last edited by unstoppixel : 01-09-11 at 04:10 AM.
Report comment to moderator  
Reply With Quote
Unread 01-08-11, 11:50 PM  
Perfidious
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Lua Config

Hey man awesome work easily best unit frames I've seen. A few quick questions that are frequently asked is 1) how do I remove raid frames via lua code? 2) how do I remove player aura's on the player frame? 3) how do I set target buff growth top left to right?
the only reason I ask again is because obviously lua codes have changed with the version 2 release
Report comment to moderator  
Reply With Quote
Unread 01-09-11, 03:45 AM  
Arodin Lame-Soleil
A Kobold Labourer
 
Arodin Lame-Soleil's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 43
Uploads: 2
Re: Lua Config

Originally posted by Perfidious
Hey man awesome work easily best unit frames I've seen. A few quick questions that are frequently asked is 1) how do I remove raid frames via lua code? 2) how do I remove player aura's on the player frame? 3) how do I set target buff growth top left to right?
the only reason I ask again is because obviously lua codes have changed with the version 2 release
Look in the cfg file
__________________
Yesterday is a story,today is a gift and tomorrow is a mystery
Report comment to moderator  
Reply With Quote
Unread 01-09-11, 06:30 AM  
aceman67
A Theradrim Guardian
 
aceman67's Avatar
AddOn Author - Click to view AddOns

Forum posts: 67
File comments: 72
Uploads: 1
Re: Re: Re: Bugs

Originally posted by unstoppixel
Sorry, I didn't mean my UI scaling, I meant the scaling in the cfg

Code:
cfg.raidScale = .75 -- scale factor for raid and party frames
cfg.scale = .65 -- scale factor for all other frames
I have the same issue, but it is as Drk says, its the UI scale in WoW's advanced video settings.

I have my scaling set all the way down because my Custom User Interface requires it (only way to get the KGpanels to fit properly, and it makes the most use of screen real estate.

Now, what I would like is a way to disable the "portraitOverlay.tga" file in the CFG file. Other wise, for me to use this, I would have to create a dummy TGA file.
Report comment to moderator  
Reply With Quote
Unread 01-09-11, 06:32 AM  
drakull
A Cyclonian
 
drakull's Avatar
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 53
Uploads: 1
Re: Re: Re: Bugs

Originally posted by unstoppixel
See how there is a slight gap in the dark tint at the top of the portrait area?
(I tried it with the font I'm using and with the font you used, same result for both).

Also, the target's target (in the middle) power bar is coming up as gray, rather than the class color, not sure if this is intended or not.

Finally, the focus bar is a very different size, much longer now... not sure if that was intended either.
Yeah, messing both with frame scaling and UI Scale allow this gaps to show up. Those scaling options are there by request, I personally use scale 1 and no custom ui scaling so everything is pixel perfect. Not much I can do, sry.

Just player and target frames have class colored power bars now, the others are light gray. And focus frame have the same size of the target frame, yes. Check the screenshots.
Report comment to moderator  
Reply With Quote
Unread 01-09-11, 02:29 PM  
Ennie
A Murloc Raider
 
Ennie's Avatar
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 24
Uploads: 6
Re: Re: Re: Re: Bugs

Originally posted by drakull
Yeah, messing both with frame scaling and UI Scale allow this gaps to show up. Those scaling options are there by request, I personally use scale 1 and no custom ui scaling so everything is pixel perfect. Not much I can do, sry.

Just player and target frames have class colored power bars now, the others are light gray. And focus frame have the same size of the target frame, yes. Check the screenshots.
found this in Tukz code:
Code:
-- pixel perfect script of custom ui scale.
local mult = 768/string.match(GetCVar("gxResolution"), "%d+x(%d+)")/TukuiCF["general"].uiscale
local function scale(x)
    return mult*math.floor(x/mult+.5)
end
i think TukuiCF["general"].uiscale is desired UI scale
__________________
Report comment to moderator  
Reply With Quote
Unread 01-09-11, 09:07 PM  
unstoppixel
An Aku'mai Servant
 
unstoppixel's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 37
File comments: 131
Uploads: 2
Re: Re: Re: Re: Bugs

Originally posted by drakull
Yeah, messing both with frame scaling and UI Scale allow this gaps to show up. Those scaling options are there by request, I personally use scale 1 and no custom ui scaling so everything is pixel perfect. Not much I can do, sry.

Just player and target frames have class colored power bars now, the others are light gray. And focus frame have the same size of the target frame, yes. Check the screenshots.
Hmmm... never had a gap in your previous version. And I'm using all the same settings. Go figure.

Found the width size for the focus frame in the code, switched it back down to 120 (works better for my ui).



Is there a way I can just turn off the shaded layer covering the portraits altogether?
__________________
Last edited by unstoppixel : 01-09-11 at 09:30 PM.
Report comment to moderator  
Reply With Quote
Unread 01-10-11, 06:00 AM  
drakull
A Cyclonian
 
drakull's Avatar
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 53
Uploads: 1
Re: Re: Re: Re: Re: Bugs

Originally posted by unstoppixel
Hmmm... never had a gap in your previous version. And I'm using all the same settings. Go figure.
...
Is there a way I can just turn off the shaded layer covering the portraits altogether?
The frame sizes changed, I think that's why now you see a gap. Sometimes a change in one pixel ruins it all (that's the main reason I use default scaling ).

Well, you can check the addPortrait() code in lib.lua or you can make a fully transparent .TGA file and replace the texture.

Originally posted by Ennie
found this in Tukz code:
Code:
-- pixel perfect script of custom ui scale.
local mult = 768/string.match(GetCVar("gxResolution"), "%d+x(%d+)")/TukuiCF["general"].uiscale
local function scale(x)
    return mult*math.floor(x/mult+.5)
end
i think TukuiCF["general"].uiscale is desired UI scale
Yeah, Caellian also have something like this in his layout... maybe I can use this code, but it's a pain in the *ss because I will have to insert this function everywhere in my code, so no promises.
Report comment to moderator  
Reply With Quote
Unread 01-10-11, 08:15 PM  
Toran
A Nerdscale Dorkin
 
Toran's Avatar
Premium Member

Forum posts: 143
File comments: 433
Uploads: 0
Re: Re: Re: Re: Re: Re: Bugs

Originally posted by drakull
Sometimes a change in one pixel ruins it all (that's the main reason I use default scaling ).
If you use default scaling then don't you have to scale down the oUF layout? I use a UI scaling of around .70 and the frames look perfect size. If I didn't use UI scaling they would be huge.

Really nice layout though. Well done.
Last edited by Toran : 01-10-11 at 11:27 PM.
Report comment to moderator  
Reply With Quote
Unread 01-11-11, 06:58 AM  
drakull
A Cyclonian
 
drakull's Avatar
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 53
Uploads: 1
Re: Re: Re: Re: Re: Re: Re: Bugs

Originally posted by Toran
If you use default scaling then don't you have to scale down the oUF layout? I use a UI scaling of around .70 and the frames look perfect size. If I didn't use UI scaling they would be huge.

Really nice layout though. Well done.
It depends on the resolution you play. A frame 250x60 is huge if you play on 1024x768 (heck, 250 pixels are almost 1/4 of your screen!) but quite small if you use 1920x1200.

Then there's also personal taste... some may like it big (/rofl), you know?
Report comment to moderator  
Reply With Quote
Unread 01-11-11, 09:25 PM  
EvadSaah
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I will make this as quick as possible.

I'm running into a slight problem, and as I'm not as fluent in LUA as I'd like to be, I wanted to come here for the answer. My Worgen Death Knight is currently experiencing a size error. See, when I'm in Human form, the 3D portrait accurately depicts my face. But when I'm in Worgen form, it's just my torso.

I was wondering if anyone had any solutions.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.