Download
(422 Kb)
Download
Updated: 09-20-12 12:04 AM
Pictures
File Info
Compatibility:
Mists of Pandaria (5.0.4)
Updated:09-20-12 12:04 AM
Created:04-30-11 06:21 PM
Downloads:2,953
Favorites:13
MD5:
oUF Lanerra
Version: 1.3.1
by: Lanerra [More]
Description
Supported oUF Version: oUF 1.5.x

A simple unit frame addon based off of the oUF core framework. The design and purpose of these unit frames is to allow as much configuration as possible via an attached configuration lua to alter certain settings of the unit frames, while remaining as light on memory usage as possible.

It also has a toggle-able 'healer mode' that alters the location of the raid and party frames dependent on whether the "Healer" option has been toggled to true in the config for party or raid.

Please Note
Some knowledge of Lua is required for customization of these frames beyond the configuration file. To alter options in the configuration file, simple open it in your favorite text editor and change options from false to true, or vice versa. Also of note, for the displaying of health, more than one health option cannot be functional at a time so please choose only one.

Supported Units
* Player
* Target
* Pet
* Target of Target
* Focus
* Party
* Raid

Supported Modules
* DebuffHighlight
* DruidPower
* Smooth
* RuneBar

Currently Known Issues
* None currently known.

Quick Note
Please do not hesitate to leave feedback. I don't really know what you guys need or want from my unit frames unless you suggest or critique. I'm open to suggestions and would definitely like to know if something is broken somewhere. Your assistance is greatly appreciated and improves the experience for everyone.
------------- 1.3.1 -----------

- Fixed deprecated functions no longer used in 5.0.4
- Removed UI option dimming for Unit Frames until I have time to work out the problem
- Version 1.3
- Other than this, it should function per normal. Let me know of any hiccups

------------- 1.2.3 -----------

- Fixed display of heal prediction on raid/group frames
- Added a HealerOverride option in the config to force display of heal prediction, regardless of role, for those who want it

------------- 1.2.1 -----------
- TOC Bump. No fixes were needed for 4.3

------------- 1.2 -------------
- Updated for 4.2

-------------1.19.1-----------
Fix update that did not warrant bump to 1.20

- Added shadow offset to buff/debuff text to improve readability
- Corrected elements of party/raid frames not hiding when party/raid is disabled in config

-------------1.19-------------
- Finally completely corrected display of 'Offline', 'Dead', 'Ghost' text on all unit frames
- Initial code put in place for interrupt coloring
- Color changes to Status Bar when units are offline, dead, or ghost
- Added option to display current health and percent at the same time on target frame
- Made it so power text is always shown (if enabled in Config)
- Adjusted border padding on all frames, looks much cleaner now
- Removed Pet power text
- Added option to show or hide player buffs/debuffs (disabled by default)
- Fixed buff/debuff overlap issue
- Added option to change backdrop color for unit frames
- Repositioned ToT name to allow health text to show clearly
- Adjust health position on other frames just slightly to line up better.
- Prioritized the displaying of debuff border color over aggro color. No longer will you not know if the tank has a debuff or not
- Fixed Druid Power not working properly
- Added functionality that detects if you're a healing class or not, and if so show one more buff and one less debuff to help keep track of HOTs and the like. Debuff border coloring works regardless
- Fixed raid icons not displaying on target frame
- Fixed a long standing problem with an improperly terminated 'if' statement in the oUF_RuneBar support
- Added code for killing the default Blizzard Group/Raid frames
- Bumping to 1.19

-------------1.18-------------
- Fixed quirk in display of shortnames on TargetTarget frame
- Redid the menu creation method for right-clicking in order to make it a bit more stable and intuitive.
- Clarified Healer option in config file
- Remove Blizzard options rendered useless by unit frames
- Attempt to fix status (Dead, Offline, etc.) not displaying as it should
- Restored custom UpdatePower function in anticipation of changing how power value is displayed
- Removed superfluous code in PowerText display code, optimized it for better functionality
- Consolidated Name code to make it a bit more optimized, and make ready for future power text change
- Added option to show PowerText for pet
- Target power text will now display properly, but I have yet to work out a good place for it.
- Changed position of Power Text for Target Frame
- Added option for Vertical Healthbar toggle for Focus Frame
- Added functionality that hides pet's name with either or both Health/Power displayed on that frame
- Version bump to 1.18
Optional Files (0)


Archived Files (7)
File Name
Version
Size
Author
Date
1.2.3
238kB
Lanerra
12-27-11 10:00 AM
1.2.1
141kB
Lanerra
12-11-11 09:32 PM
1.2
103kB
Lanerra
06-28-11 04:01 PM
1.19.1
103kB
Lanerra
05-16-11 01:09 AM
1.19
103kB
Lanerra
05-12-11 01:55 PM
1.18
101kB
Lanerra
05-05-11 04:04 PM
1.17
141kB
Lanerra
04-30-11 06:21 PM


Post A Reply Comment Options
Old 05-17-11, 03:58 PM  
Lanerra
A Kobold Labourer
 
Lanerra's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 75
Uploads: 1
Originally posted by felipers
Hi Lanerra,



I'd like to know how it produces the final number to decide the variable 'd'.

Why "size / 2 + 0.5"? xD

Thanks!
well, it's just order of operations, really.

Code:
local d = offset or (floor(size / 2 + 0.5) - 2)
What this means, firstly, is that it will try to use the offset you pass it in the AddBorder function. If there isn't one present, ie. you pass AddBorder(framename, 12) with no offset value, then it'll use an offset based on the size of the border you've chosen.

What that bit of math does mentioned above, is ensure a nice clean proportion in relation to the border size and the offset as a sort of failsafe. That way it doesn't throw errors and screw up the whole thing if you (or I, I suppose in this case) forget to put an offset into the function call.
__________________
Lanerra is offline Report comment to moderator  
Reply With Quote
Old 05-17-11, 06:12 AM  
felipers
A Defias Bandit

Forum posts: 3
File comments: 2
Uploads: 0
Hi Lanerra,

Well, what precisely are you wanting to know? What floor (math.floor) does? Or how it produces the final number to decide the variable 'd', or what?
I'd like to know how it produces the final number to decide the variable 'd'.

Why "size / 2 + 0.5"? xD

Thanks!
__________________
Felipe R.
I'm from Brazil and my native language is portuguese. Thus, sorry for my poor english!
Last edited by felipers : 05-17-11 at 09:40 AM.
felipers is offline Report comment to moderator  
Reply With Quote
Old 05-17-11, 03:13 AM  
Lanerra
A Kobold Labourer
 
Lanerra's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 75
Uploads: 1
Originally posted by felipers
Hi Lanerra, thx for the awesome layout.

I know it's a lot to ask, but could you explain [at least a bit] about the AddBorder mechanism? Especially the part:

Code:
(floor(size / 2 + 0.5) - 2)
Borders.lua:88
If you have any reference that I can check to know more about edge/border I'd appreciate too.

Thanks!

--
Sry in advance if this is not where I'm supposed to post things like that!
Well, what precisely are you wanting to know? What floor (math.floor) does? Or how it produces the final number to decide the variable 'd', or what?
__________________
Lanerra is offline Report comment to moderator  
Reply With Quote
Old 05-16-11, 12:44 PM  
felipers
A Defias Bandit

Forum posts: 3
File comments: 2
Uploads: 0
Hi Lanerra, thx for the awesome layout.

I know it's a lot to ask, but could you explain [at least a bit] about the AddBorder mechanism? Especially the part:

Code:
(floor(size / 2 + 0.5) - 2)
Borders.lua:88
If you have any reference that I can check to know more about edge/border I'd appreciate too.

Thanks!

--
Sry in advance if this is not where I'm supposed to post things like that!
Last edited by felipers : 05-16-11 at 12:45 PM.
felipers is offline Report comment to moderator  
Reply With Quote
Old 05-16-11, 01:09 AM  
Lanerra
A Kobold Labourer
 
Lanerra's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 75
Uploads: 1
Fix-It Update

-------------1.19.1-----------
Fix update that did not warrant bump to 1.20

- Added shadow offset to buff/debuff text to improve readability
- Corrected elements of party/raid frames not hiding when party/raid is disabled in config
__________________
Lanerra is offline Report comment to moderator  
Reply With Quote
Old 05-14-11, 03:33 PM  
Lanerra
A Kobold Labourer
 
Lanerra's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 75
Uploads: 1
Originally posted by Coldblooded
Great layout ,goes well with beautycase Just have one issue with it and thats the font on the debuffs/buffs. Would like some fontshadow because its hard to se the time on stuff in some cases.

Anyway great work and thx for sharing
Will do.
__________________
Lanerra is offline Report comment to moderator  
Reply With Quote
Old 05-14-11, 11:19 AM  
Coldblooded
A Deviate Faerie Dragon

Forum posts: 13
File comments: 69
Uploads: 0
Great layout ,goes well with beautycase Just have one issue with it and thats the font on the debuffs/buffs. Would like some fontshadow because its hard to se the time on stuff in some cases.

Anyway great work and thx for sharing
Coldblooded is offline Report comment to moderator  
Reply With Quote
Old 05-13-11, 08:48 PM  
Lanerra
A Kobold Labourer
 
Lanerra's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 75
Uploads: 1
Re: Re: Re: Re: 1.19 is now Live!

Originally posted by vitosans
Here you go:

...

You can see the stacked text next to my unit frame, its where your party / raid frame used to show up.
Wow, yeah, that is weird. No idea why it would be doing that. I'll look into it and try to get an update out to fix that. Thanks for letting me know.
__________________
Lanerra is offline Report comment to moderator  
Reply With Quote
Old 05-13-11, 06:25 PM  
vitosans
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Re: Re: Re: 1.19 is now Live!

Here you go:



You can see the stacked text next to my unit frame, its where your party / raid frame used to show up.


Originally posted by Lanerra
Gah...what the? Okay, that's just bizarre. I'll have a look into it. Would you please post a screen so I have a point of reference? Thanks in advance, and I'll get crackin'
vitosans is offline Report comment to moderator  
Reply With Quote
Old 05-13-11, 12:42 AM  
Lanerra
A Kobold Labourer
 
Lanerra's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 75
Uploads: 1
Re: Re: 1.19 is now Live!

Originally posted by vitosans
Good stuff!

I can confirm the raid icons are showing up correctly!

Great work!

Found one bug,

I use freebraid frames for raid / party

If I disable your raid and part, the frames disappear but names are all stacked on top of eachother in the center, I think you just need to disable text as well as frames.
Gah...what the? Okay, that's just bizarre. I'll have a look into it. Would you please post a screen so I have a point of reference? Thanks in advance, and I'll get crackin'
__________________
Lanerra is offline Report comment to moderator  
Reply With Quote
Old 05-12-11, 10:45 PM  
vitosans
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Re: 1.19 is now Live!

Good stuff!

I can confirm the raid icons are showing up correctly!

Great work!

Found one bug,

I use freebraid frames for raid / party

If I disable your raid and part, the frames disappear but names are all stacked on top of eachother in the center, I think you just need to disable text as well as frames.




Originally posted by Lanerra
-------------1.19-------------
- Finally completely corrected display of 'Offline', 'Dead', 'Ghost' text on all unit frames
- Initial code put in place for interrupt coloring
- Color changes to Status Bar when units are offline, dead, or ghost
- Added option to display current health and percent at the same time on target frame
- Made it so power text is always shown (if enabled in Config)
- Adjusted border padding on all frames, looks much cleaner now
- Removed Pet power text
- Added option to show or hide player buffs/debuffs (disabled by default)
- Fixed buff/debuff overlap issue
- Added option to change backdrop color for unit frames
- Repositioned ToT name to allow health text to show clearly
- Adjust health position on other frames just slightly to line up better.
- Prioritized the displaying of debuff border color over aggro color. No longer will you not know if the tank has a debuff or not
- Fixed Druid Power not working properly
- Added functionality that detects if you're a healing class or not, and if so show one more buff and one less debuff to help keep track of HOTs and the like. Debuff border coloring works regardless
- Fixed raid icons not displaying on target frame
- Fixed a long standing problem with an improperly terminated 'if' statement in the oUF_RuneBar support
- Added code for killing the default Blizzard Group/Raid frames
- Bumping to 1.19
------------------------------

Enjoy, guys! And let me know if there are any problems
Last edited by vitosans : 05-12-11 at 11:00 PM.
vitosans is offline Report comment to moderator  
Reply With Quote
Old 05-12-11, 01:59 PM  
Lanerra
A Kobold Labourer
 
Lanerra's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 75
Uploads: 1
1.19 is now Live!

-------------1.19-------------
- Finally completely corrected display of 'Offline', 'Dead', 'Ghost' text on all unit frames
- Initial code put in place for interrupt coloring
- Color changes to Status Bar when units are offline, dead, or ghost
- Added option to display current health and percent at the same time on target frame
- Made it so power text is always shown (if enabled in Config)
- Adjusted border padding on all frames, looks much cleaner now
- Removed Pet power text
- Added option to show or hide player buffs/debuffs (disabled by default)
- Fixed buff/debuff overlap issue
- Added option to change backdrop color for unit frames
- Repositioned ToT name to allow health text to show clearly
- Adjust health position on other frames just slightly to line up better.
- Prioritized the displaying of debuff border color over aggro color. No longer will you not know if the tank has a debuff or not
- Fixed Druid Power not working properly
- Added functionality that detects if you're a healing class or not, and if so show one more buff and one less debuff to help keep track of HOTs and the like. Debuff border coloring works regardless
- Fixed raid icons not displaying on target frame
- Fixed a long standing problem with an improperly terminated 'if' statement in the oUF_RuneBar support
- Added code for killing the default Blizzard Group/Raid frames
- Bumping to 1.19
------------------------------

Enjoy, guys! And let me know if there are any problems
__________________
Lanerra is offline Report comment to moderator  
Reply With Quote
Old 05-11-11, 04:55 PM  
Lanerra
A Kobold Labourer
 
Lanerra's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 75
Uploads: 1
Originally posted by rellip
First i want to say thanks for these clean and superb unitframes. Then i have a little problem i want to report

As im a healer i tend to use Grid also when i party heal. When i choose to disable your group frames they disappear but the role + leader icon is still visible chunked together.
Woah...now that's weird. I'll have a look at it. Could post a screen of what it's doing just so I have a reference?
__________________
Lanerra is offline Report comment to moderator  
Reply With Quote
Old 05-11-11, 08:20 AM  
rellip
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
First i want to say thanks for these clean and superb unitframes. Then i have a little problem i want to report

As im a healer i tend to use Grid also when i party heal. When i choose to disable your group frames they disappear but the role + leader icon is still visible chunked together.
rellip is offline Report comment to moderator  
Reply With Quote
Old 05-10-11, 05:53 PM  
Lanerra
A Kobold Labourer
 
Lanerra's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 75
Uploads: 1
Originally posted by vitosans
Here is a screen shot of what I see:



on the left is phanx on the right is yours,

When I run yours I disable all ouf modules except yours, I see no raid Icon.

I also peeked at the code for the raid icons and I don't see any errors with it. I can verify that you do in fact have the code in there but I am not seeing them. I even tried moving the layer to layer 5, I am running oUF core from May 8/9th and your frames.

Cheers,
Alright, I'll look into it. 1.19 will have a lot of updates/features, thanks largely in part to you guys. Thanks for helping and keep it coming
__________________
Lanerra is offline 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.