Download
(109Kb)
Download
Updated: 02-03-09 05:55 AM
Pictures
File Info
Updated:02-03-09 05:55 AM
Created:11-08-08 08:49 PM
Downloads:3,123
Favorites:6
MD5:

oUF Darnation

Version: v1.7
by: Metzerott [More]

This addon is no longer being maintained please check out oUF_Metzerott


This addon makes use of version 1.3.4 of oUF!


This is a oUF Unit Frame AddOn that was inspired by oUF_Circle. Which was originally based on the excellent oUF_Caellian Unit Frames (originally based on P3lim work) that all make use of the awesome oUF framework by Haste.

oUF_Darnation is the DPS version of oUF_Tarnation (found HERE)

This AddOn is a combination of a text unit frame with visual indicators to alert the user when certain health milestones are met, aggro is gained and when the unit receives debuffs.

What in darnation is going on with this unit frame?

My original concept for oUF_Circle was a unit frame that changes shape based on health. I quickly realized that I needed the unit frame to have a much more significant change if it was to be obvious in the heat of combat. To thst end this unit frame has 2 textures (The ItsCool and OhCrap textures in the file). The texture color and if it is rotating are used to give a visual indicator as the the range of the healh of the unit frame.

So for (where health = x)

x > 80% No Texture, just text
80% < x < 60% First Texture/Green/Rotating
60% < x 40% First Texture/Yellow/Rotating
40% < x < 20% Second Texture/Yellow/Rotating
x < 20% Second Texture/Red/Rotating

If you want to change these values they are defined at the top of the oUF_Darnation.lua file:

-- Percentage of health to kick in different behaviors
local fleshWound = .80
local ouch = .60
local uhOh = .40
local imToast = .20


Where is the Circle to indicate health?

This unitfrrame is heavily reliant on the range indicators (above) and the actually numeric values of the health (and power). There is a circle that indicates the current health but it is very subtle and is the background of the center of the circle. If you want to make it more obvious change the healthAlpha global in the oUF_Darnation.lua file.

From the oUF_Darnation.lua file:

-- Alpha and color of the center health indicator. Currently set to be mostly transparent and white
local healthAlpha = .15
oUF.colors.health = {1,1,1}


No Power Indicator, are you nuts?

The power is only indicated by a number below the health value in the center of the unit frame. I have found that the approximation used to visually show power is not useful. I find myself always referring to the number and I am highly annoyed when it is difficult to see. Because the actual value of power is so important (Do I have enough mana to throw that shadowfury, or Does the target have enough mana for that greater heal?).

If you want a unit frame that has a visual indicator of mana, might I suggest oUF_Circle (HERE) or zork's excellent oUF_Orbs (HERE)

Note that Castbars are color coded by the Unit that is casting, and can be toggled off in the .lua file by setting castBarsToggle = false.

Can I change the textures?

Yes!! I highly recommend changing the textues to whatever suits your fancy. I have experimented with lots of variations (like a skull and cross bones for the second texture) and it can be both entertaining and effective. I highly encourage you to play around with the textures.

To change the textures just backup the ItsCool and OhCrap textures found in oUF_Darnation/media. Then add a new texture calling them either ItsCool.tga or OhCrap.tga. Or just edit the oUF_Darnation.lua file to point to what ever you like.

From the oUF_Darnation.lua file:

-- Textures used feel free to swap them out with whatever you like!
-- ItsCool and OhCrap are the two textures used to indicate percentage health

local healthIndicator = 'Interface\\Addons\\oUF_Darnation\\media\\ItsCool'
local healthIndicatorSpark = 'Interface\\Addons\\oUF_Darnation\\media\\OhCrap'

Can I change the size of the unitframes?

Yes!!! Just open the oUF_Darnation.lua file and change the largeSize (Size of the larger unitframes - Player/Target and Focus) and/or smallSize (Size of everything else) globals to whatever you want.

From the oUF_Darnation.lua file:

-- largeSize is the size of the Player, Target and Focus unit frames
-- smallSize is the size of all of the other unit frames
-- groupSize is the size of frames while in groups (including party and raid)

local largeSize = 80
local smallSize = largeSize*.65
local groupSize = largeSize*.45

Can I change the max number of auras on the Target Frame?

Sure!

-- Buff/Debuff Max size on target

local maxDebuff = 32
local maxBuff = 32

As always, please let me know what you think!

It works for the following Units:

Player
Target
TargetOfTarget
Focus
Party
PartyTarget
Raid

Plays nice well with:

oUF_Banzai
oUF_CombatFeedback
oUF_DebuffHighlight

Updated to work with oUF 1.3.4
Optional Files (0)


Post A Reply Comment Options
Unread 11-08-08, 10:05 PM  
Valdeck
A Defias Bandit

Forum posts: 2
File comments: 42
Uploads: 0
Great idea,

however i have a issue. whenever i try to extract the zipped files it keeps erroring out. Could be on my end but just wanted you to know in case its a zipping bug.
Report comment to moderator  
Reply With Quote
Unread 11-08-08, 10:12 PM  
elderbrock
A Murloc Raider
AddOn Compiler - Click to view compilations

Forum posts: 4
File comments: 8
Uploads: 1
HAHA, I configured Tarnation almost exactly like this yesterday
Report comment to moderator  
Reply With Quote
Unread 11-08-08, 11:18 PM  
Metzerott
A Murloc Raider
 
Metzerott's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 79
Uploads: 4
=)

Originally posted by elderbrock
HAHA, I configured Tarnation almost exactly like this yesterday
TO be honest I have wanted it like this for a while, but I did not want to maintain 2 different versions since my healer friend likes it the oUF_Tarnation way. I gave in when I saw that other people liked it the oUF_Darnation way.

I've been testing it and it is much more my speed. *sigh* I guess I will have to maintain both..
Report comment to moderator  
Reply With Quote
Unread 11-08-08, 11:19 PM  
Metzerott
A Murloc Raider
 
Metzerott's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 79
Uploads: 4
Originally posted by Valdeck
Great idea,

however i have a issue. whenever i try to extract the zipped files it keeps erroring out. Could be on my end but just wanted you to know in case its a zipping bug.
Are you Windows? Linux? Mac?
Report comment to moderator  
Reply With Quote
Unread 11-08-08, 11:52 PM  
Valdeck
A Defias Bandit

Forum posts: 2
File comments: 42
Uploads: 0
Originally posted by Metzerott
Are you Windows? Linux? Mac?
windows, its weird i have never had this happen before but its like it refuses to overwrite... and it is convinced files are there that arnt.

scratch that, reinstalled winrar and its working... *shrug*
Last edited by Valdeck : 11-08-08 at 11:55 PM.
Report comment to moderator  
Reply With Quote
Unread 11-09-08, 12:01 AM  
Valdeck
A Defias Bandit

Forum posts: 2
File comments: 42
Uploads: 0
Ok,

well i got it all unzipped right, that was a strange bug but for some reason neither my ouf darnation or ouf tarnation dosnt seem to want to work.

I will try to wipe my variables and such and let you know how that works but just wanted to toss a possible bug report up.

edit

so i needed to download the new version of oUF but i ran into a interesting possible bug. I ran it with just oUF and Darnation on a level 1 warrior but when I tried to run it on my druid (66) i got a error around line 601 something about the set point for party trying to reference a null value. I didn't get it on my warrior. I tried to delete saved variable files but didn't see any in the global account saved variable folder or the character specific folder either.

any ideas whats up?
Last edited by Valdeck : 11-09-08 at 12:17 AM.
Report comment to moderator  
Reply With Quote
Unread 11-09-08, 07:04 AM  
Metzerott
A Murloc Raider
 
Metzerott's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 79
Uploads: 4
Ok

Originally posted by Valdeck
Ok,

well i got it all unzipped right, that was a strange bug but for some reason neither my ouf darnation or ouf tarnation dosnt seem to want to work.

I will try to wipe my variables and such and let you know how that works but just wanted to toss a possible bug report up.

edit

so i needed to download the new version of oUF but i ran into a interesting possible bug. I ran it with just oUF and Darnation on a level 1 warrior but when I tried to run it on my druid (66) i got a error around line 601 something about the set point for party trying to reference a null value. I didn't get it on my warrior. I tried to delete saved variable files but didn't see any in the global account saved variable folder or the character specific folder either.

any ideas whats up?
It was a bug in the party code. I believe I got it working. Also I am now working on getting the Party Targets included with the party.

The bug is fixed in v1.1 (pending approval) the partytargets should be in v1.2.
Last edited by Metzerott : 11-09-08 at 07:47 AM.
Report comment to moderator  
Reply With Quote
Unread 11-09-08, 10:23 PM  
Metzerott
A Murloc Raider
 
Metzerott's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 79
Uploads: 4
v1.2 is up

Version 1.2 is now up and tested. It basically adds party target and raid support.

The size of the party and target frames can be adjusted with the groupSize variable at the top of the oUF_Darnation.lua file.

Note that it now requires oUF v1.2.1 to function properly.
Last edited by Metzerott : 11-09-08 at 10:23 PM.
Report comment to moderator  
Reply With Quote
Unread 11-13-08, 10:30 PM  
dreamlooker
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
I found a bug about targettarget.
It cant refresh well.
Please help me fix it.
Report comment to moderator  
Reply With Quote
Unread 11-14-08, 06:19 AM  
Metzerott
A Murloc Raider
 
Metzerott's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 79
Uploads: 4
Originally posted by dreamlooker
I found a bug about targettarget.
It cant refresh well.
Please help me fix it.
I wish I could. I think it is a oUF bug.
Report comment to moderator  
Reply With Quote
Unread 12-03-08, 07:00 PM  
dreamlooker
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
I try to use anothor layout and find that targettarget can work well.
Maybe OUF is fine.
Report comment to moderator  
Reply With Quote
Unread 12-03-08, 10:27 PM  
Metzerott
A Murloc Raider
 
Metzerott's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 79
Uploads: 4
Originally posted by dreamlooker
I try to use anothor layout and find that targettarget can work well.
Maybe OUF is fine.
Ok... I will look into it.. it annoys the crap out of me too. Other than this bug, are you using/like this addon?

I think that it is this bug:

http://www.wowinterface.com/portal.php?id=137&a=viewbug&bugid=4767

Which other oUF layout are you using, maybe I can find the reason it can be so glaring in this layout.
Last edited by Metzerott : 12-03-08 at 10:34 PM.
Report comment to moderator  
Reply With Quote
Unread 12-09-08, 07:09 PM  
dreamlooker
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Originally posted by Metzerott
Ok... I will look into it.. it annoys the crap out of me too. Other than this bug, are you using/like this addon?

I think that it is this bug:

http://www.wowinterface.com/portal.p...bug&bugid=4767

Which other oUF layout are you using, maybe I can find the reason it can be so glaring in this layout.
oUF_P3lim can and oUF_Caellian can work well .
Report comment to moderator  
Reply With Quote
Unread 12-27-08, 03:50 PM  
elderbrock
A Murloc Raider
AddOn Compiler - Click to view compilations

Forum posts: 4
File comments: 8
Uploads: 1
TOT

If I comment out all the spin = true code the tot works fine. So the issue is with the updateHealth function.
Last edited by elderbrock : 12-27-08 at 07:06 PM.
Report comment to moderator  
Reply With Quote
Unread 12-28-08, 04:06 PM  
Metzerott
A Murloc Raider
 
Metzerott's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 79
Uploads: 4
Re: TOT

Originally posted by elderbrock
If I comment out all the spin = true code the tot works fine. So the issue is with the updateHealth function.
Sorry, I have not had the time to devote to this problem until now. Thanks for the pointer and I believe I have isolated the problem and I have a partial fix. I'm going to go for the full fix, but tot appears to be a bit funky.

EDIT:

I have updated with the bug fix. The TOT will now update, but it will not rotate. I think making that happen will require more research.

Metz
Last edited by Metzerott : 12-28-08 at 08:47 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: