Download
(49Kb)
Download
Updated: 06-29-09 07:00 PM
Pictures
File Info
Updated:06-29-09 07:00 PM
Created:05-28-09 07:08 PM
Downloads:4,639
Favorites:24
MD5:

oUF Metzerott

Version: v1.8
by: Metzerott [More]

This addon makes use of version 1.3.15 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.

This unit frame combines oUF_Darnation (found HERE) and oUF_Tarnation (found HERE)


But how is that possible? How can it be both?

Through the miracle of questionable coding you can now switch from oUF_Darnation layout and oUF_Tarnation layout. Darnation layout was designed for DPS and oUF_Tarnation layout was designed for healing.

/om dps

/om heal

Is all you need to type. BE WARNED! This will ReloadUI()!

Blah blah blah... Whats new?!

Glad you asked!!

  • Debuff are now on the Player frame (opposite of target frame)
  • Buffs/Debuff are back to being circular
  • Health Bar/Mana Bar can now be turned off by setting mode to "nobars" in the .lua file
  • General code cleanup
  • PartyTarget can be turned off by setting togglePartyTarget to false in the .lua file


Buffs on my player Unit? I want em!
Just to be different I thought I might take the tekkub approach (from ouf_tek) and write out a specific set of buffs/debuffs. They will show up beside you name written out (Not using an icon).

Thanks tekkub!

Only buffs/debufs described in the file will show up:

Misdirection
Replenishment
Sacrifice
Soulstone Resurrection
Innervate
Power Word: Shield
Renew
Food
Drink
Mortal Strike
Rejuvenation
Regrowth
Flourish
Weakened Soul
Prayer of Mending
Lifebloom

Buffs on my player Unit? I actually don't want em!

Fine... set the following to false.

-- Tek tags
tekTagsToggle = true


What in darnation/tarnation (awww forget it) is going on with this unit frame?

So with this whole dual spec thing I thought, "You know I really like oUF_Darnation and as a lock I have no intension of ever really using oUF_Tarnation. Would'nt it be cool if I combined them? Uh.. not really, BUT I am really lazy and I just want to maintain a single Unit Frame"

And thus oUF_Metzerott is born. Oh and I changed the Font and the Health indictor to be a single image.

So for (where health = x)

x > 80% No Texture, just text
80% < x < 60% White Indicator
60% < x 40% Green Indicator
40% < x < 20% Yellow Indicator
x < 20% Red Indicator

If you want to change these values they are defined at the top of the oUF_Metzerott.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. Note that at Max value the value is shown, less than max the text goes white (for better visibility) and goes to the percentage.


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. You can also set the Width and Height if you like with castHeight and castWidth.

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 Health Indicator 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 "textures/new.tga" texture found in oUF_Metzerott/textures. Then add a new texture calling new.tga. Or just edit the oUF_Metzerott.lua file to point to what ever you like.

From the oUF_Metzerott.lua file:

-- Textures used feel free to swap them out with whatever you like!

local indicator = [[Interface\AddOns\oUF_Metzerott\textures\new]]


Can I change the size of the unitframes?

Yes!!! Just open the oUF_Metzerott.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_Metzerott.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

I hate your party/raid frames. Can I turn them off?

Sure!

-- Turn Party on/off
local partyToggle = true

-- Turn Raid on/off
local raidToggle = true

Change either of the above to false in the oUF_Metzerott.lua file and you're good.

How do I set frame Font sizes and cut off length?

-- Set Name font sizes and max length on group
local largeNameFont = 18
local smallNameFont = 14
local groupNameFont = 14
local nameLength = 5
local otherNameLength = 10

As always, please let me know what you think!

It works for the following Units:

Player
Target
TargetOfTarget
Focus
Party
PartyTarget - dps only
Raid

Highly Recommended:
oUF_Banzai

v1.8
Debuff are now on the Player frame (opposite of target frame).
Buffs/Debuff are back to being circular
Health Bar/Mana Bar can now be turned off by setting mode to "nobars"
General code cleanup
PartyTarget can be turned off by setting togglePartyTarget to false


v1.7
Re-Added Combat icon (red circle beside name)
Re-Added Resting icon
Pet Happiness is now represented as the power bar (bottom arc) - I think.
Optional Files (0)


Post A Reply Comment Options
Unread 05-28-09, 09:58 PM  
shyce
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 24
File comments: 55
Uploads: 1
Seems very well thought-out.. I'm going to have to try this one as well when I get home. Nice job dude.
Report comment to moderator  
Reply With Quote
Unread 05-29-09, 12:27 AM  
sylvanas54
A Kobold Labourer
 
sylvanas54's Avatar

Forum posts: 0
File comments: 8
Uploads: 0
Itis so gorgeous!!
Nice job!
Report comment to moderator  
Reply With Quote
Unread 05-29-09, 01:23 AM  
disiz
A Deviate Faerie Dragon
 
disiz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 55
Uploads: 1
Cool concept & good work! Keep it up!
Report comment to moderator  
Reply With Quote
Unread 05-29-09, 04:58 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 disiz
Cool concept & good work! Keep it up!
Originally posted by sylvanas54
Itis so gorgeous!!
Nice job!
Originally posted by shyce
Seems very well thought-out.. I'm going to have to try this one as well when I get home. Nice job dude.
Thanks! I'm glad you guys like it.
Report comment to moderator  
Reply With Quote
Unread 05-29-09, 05:15 AM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 648
File comments: 204
Uploads: 4
I just scrapped my own layout and went for this. Great work Metz.
Report comment to moderator  
Reply With Quote
Unread 05-29-09, 05:16 AM  
stephenmarquis
A Kobold Labourer
 
stephenmarquis's Avatar

Forum posts: 0
File comments: 17
Uploads: 0
非常有创意的Layouts
Report comment to moderator  
Reply With Quote
Unread 05-29-09, 05:26 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 Wimpface
I just scrapped my own layout and went for this. Great work Metz.
Thanks! I hope you enjoy using it! Very kind of you to mention that your scrapping your own layout to use mine. I am honored!

Metz


Edited for more words.
Last edited by Metzerott : 05-29-09 at 06:06 AM.
Report comment to moderator  
Reply With Quote
Unread 05-29-09, 05:27 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 stephenmarquis
非常有创意的Layouts
I'm afraid I do not know what that means.
Report comment to moderator  
Reply With Quote
Unread 05-29-09, 08:59 AM  
Juton
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hey an thanks for this wery well made layout, looked strange at first but am getting attached to it quick

I have one problem tho,Id like to see buffs/heals showing on my player unitframe. I guess I need to edit something in the lua file?

Opend the lua an I get an headace just looking at it
Report comment to moderator  
Reply With Quote
Unread 05-29-09, 06:32 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 Juton
Hey an thanks for this wery well made layout, looked strange at first but am getting attached to it quick

I have one problem tho,Id like to see buffs/heals showing on my player unitframe. I guess I need to edit something in the lua file?

Opend the lua an I get an headace just looking at it
I'm thinking about incorporating tek's idea (from his ouf_tek) of showing a certain set of buffs using the tags system.

Gimmy a little bit and I will try to get it in.

Metz
Report comment to moderator  
Reply With Quote
Unread 05-31-09, 09:10 AM  
Digweed
A Kobold Labourer

Forum posts: 0
File comments: 32
Uploads: 0
really nice work m8.
Report comment to moderator  
Reply With Quote
Unread 05-31-09, 10:01 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 Metzerott
I'm thinking about incorporating tek's idea (from his ouf_tek) of showing a certain set of buffs using the tags system.

Gimmy a little bit and I will try to get it in.

Metz
It is in. Give a try let me know what you think.
Report comment to moderator  
Reply With Quote
Unread 05-31-09, 10:01 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 Digweed
really nice work m8.
Thanks!
Report comment to moderator  
Reply With Quote
Unread 05-31-09, 01:18 PM  
koshiru
A Kobold Labourer

Forum posts: 1
File comments: 29
Uploads: 0
Target of target indicator doesn't spin other than that I like this!
Report comment to moderator  
Reply With Quote
Unread 05-31-09, 03:11 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 koshiru
Target of target indicator doesn't spin other than that I like this!
Thats a known bug.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: