oUF Lanerra

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.

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.

While not a change, I just wanted to let everyone know I am likely going to be rewriting a good deal of this addon to make it a bit more efficient. I realize it's quite clunky and a bit wasteful resource-wise and I plan to alleviate that in the near future.

------------- 1.5.92 ----------
- Version bump and TOC update to 6.1
- Everything else appears to be working alright. Let me know, though, if it doesn't

------------- 1.5.4 -----------
- Version bump to 1.5.4
- Fix a couple of taint issues
- Code cleanup
- Added party buffs/debuffs option (still needs tuning)
- Fixed non-healer layout for raid
- Fixed predictive healing display for raid frames
- Remove Dismiss Pet option from pet frame, since all it does is throw errors and taint. Sadly, this can't be avoided due to an issue on Blizzard's side of the code. You must dismiss your pet, if a hunter, via the spellbook, or a button in your action bars.

- Fixed how tags were handled
- Now compatible with Mists of Pandaria
- TOC Bump

------------- 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.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

Originally posted by Lily.Petal Hm, for some reason it's not working at all. Downloaded and put into my addon folder like normal addons, not even showing up in my addon list. I'm going to try downloading on my PC instead of my iMac, and see what happens.

EDIT: Yep, downloading it on my PC did nothing. I do have oUF installed. No idea what's going on.

EDIT2: Figure out the problem, your download folder is named oUFLanerra-1.18, while in your .toc it's labeled to load as oUF_Lanerra. I just had to change the folder name and it loaded just fine.

Yeah, the packager for WoWInterface is a little bizarre when it generates the archives. I'll have to see if I can correct that so people don't have to rename the folder at every update.

Originally posted by vitosans
So I think I figured out whats wrong, must be some problem w/ addon versions, my work system actually shows the unit frames the way I think the author intended, with alpha background, on my home system the unit frames never change color, they stay solid light grey no matter how much damage I have taken hence me asking if these were just numerical frames,
[/b]

well, I guess you use "ouf_smooth update", this layout should use "ouf_smooth", this two plug-in is different.

If you use ouf_smooth update, health bar will be never change with your health, why do I know? I also use ouf_smooth update first.

Hm, for some reason it's not working at all. Downloaded and put into my addon folder like normal addons, not even showing up in my addon list. I'm going to try downloading on my PC instead of my iMac, and see what happens.

EDIT: Yep, downloading it on my PC did nothing. I do have oUF installed. No idea what's going on.

EDIT2: Figure out the problem, your download folder is named oUFLanerra-1.18, while in your .toc it's labeled to load as oUF_Lanerra. I just had to change the folder name and it loaded just fine.

@vitosans Ah, okay, I see now. You know there's a threat display both on the player frame and on the borders of other units right? The borders change color dependent on aggro, in addition to debuff highlighting for healers. What do you need a ThreatBar for?

Also, I tried the black background before, and I just thought black background with 75% alpha looked cooler is all. I'll see about adding a coloring option for the backdrop in the config.

As for the line endings, that's weird, because I'm on Windows 7 myself. Could be the fact that I program with SciTE, and it strips out the line ends, or it's the VCS I'm using.

I'll probably be adding a coloring option or two to the config to make it easier to change the backdrop color and the like

@EKE For a good place to upload images, use either Flickr or just use DropBox.

So I think I figured out whats wrong, must be some problem w/ addon versions, my work system actually shows the unit frames the way I think the author intended, with alpha background, on my home system the unit frames never change color, they stay solid light grey no matter how much damage I have taken hence me asking if these were just numerical frames,

Now that I have see the alpha background I actually kind of like it.

I will sort this out tonight when I get home, back to compiling embedded linux.

Cheers,

P.s. your frames look good w/ black background,

Originally posted by EKE If you just want not so transparent, open ouf_lanerra.lua, go line 533self:SetBackdropColor(0, 0, 0, 1)
If you want opaque, maybe should change the texture, go line 55.
The default texture is blz's tooltip texture, it's innate.

Originally posted by vitosans @EKE - if you can share what you edited I would be greatful, I have not read the whole ouf api yet and not sure what to edit,

If you just want not so transparent, open ouf_lanerra.lua, go line 533self:SetBackdropColor(0, 0, 0, 1)
If you want opaque, maybe should change the texture, go line 55.
The default texture is blz's tooltip texture, it's innate.

I've change both of them, the background is pure black now.
http://imageshack.us/photo/my-images/849/93656632.jpg/

@Lanerra - dos2unix strips the dos line endings from files, yes its an encoding thing, 99% of the addons on here are all encoded in dos format, which I have to convert to read not a big deal as the user base here is 99% windows I guess, but good rcs systems can strip those on commit.

--

I did a small update to Phanx to show threat bar themed much like his frames, once I fix the alpha I will add this as well its oUF_ThreatBar and for tanks and dps its nice,

Also this picture shows the heal visual I am talking about on the bars,

@EKE - if you can share what you edited I would be greatful, I have not read the whole ouf api yet and not sure what to edit,

Interrupt coloring is something I plan to add, but have just been distracted by other things. I'll try to get it out in the next update.

As for the focus frame, just change it's size and position in the config if you need it to be bigger. I put it in the middle of the screen so all you have to do is move your eyes down less than an inch and you'd be able to see the focus.

@vitosans You mentioned needing to be able to see if Focus is alive or not, and so need the full focus frame. You can alter the size and position (orientation of the health bar) in the config file so you can adjust it as you need it to be. Do you need the mana bar on the focus frame to know a healer's still alive? Just don't see the purpose behind knowing the energy amount of a focus target.

Also, just out of curiosity, what did you mean by dos2unix? Do you mean the character encoding in the .lua? Or the carrier returns? Or am I completely wrong in that respect?

Originally posted by Lanerra Glad you like them! As for the focus frame, there options to change it's position, size, and whether or not the healthbar is vertical. I can add an option for a power bar if that's what you mean by a "full frame".

As far as visual queue for health do you mean something like the health value turning red if your health is less than 25% or the like? I can do that as well.

That's a great feature but I think vitosans doesn't mean that.
Er......if I understand what vitosans mean, he/she would like the background don't be alpha?
I think vitosans can change the background color and don't be alpha by self.
I also didn't used the background is alpha, but also some features I like, just like the threat show in center.

As far as the ChatFrameTabs those aren't part of a chat addon, per-say, but is part of a little addon I wrote that does various other aesthetic and functional tweaks to the default user interface. I have no plans to release it at this moment, but I'm thinking (gradually piecing together) my own UI. Such is an ongoing effort that is quite daunting.

As it stands, I'm helping with another addon (a whole UI to be precise) while also maintaining, updating, and adding functionality to this one.

However, the ChatFrameTabs are done by simply moving them, stripping the textures, giving it a border, and giving it a background. Not much more is done than that, and can be done by just about anyone willing to take the time and learn a bit of a Lua.

Until such a time as I release the entirety of my UI (which is a rather muddled mess right now) I'm afraid that's the only way you'll be able to make them look like mine. Sorry

Oh, and I am talking about the health stuff is this, not sure the technical lingo, but lets say I have 80% health the missing 20% of the background would be say red and the 80% would be your current color. Your background stays solid no matter how much health I have.

Glad you like them! As for the focus frame, there options to change it's position, size, and whether or not the healthbar is vertical. I can add an option for a power bar if that's what you mean by a "full frame".

As far as visual queue for health do you mean something like the health value turning red if your health is less than 25% or the like? I can do that as well.

There are more features coming soon. Just trying to find time to implement them all.

These are one of the better looking frames w/ party / raid that match. Very good job! My only gripe from the short time I have used them is as follows:

Focus

I like to have a full frame for my focus target as I like to set it on the healer so I can quickly glance and make sure he / she is still alive

Health

I personally am not a big fan of text only health displays, I like some kind of visual queue as to how close I am to dying, unless I am missing something or did not configure something correctly, yours don't have any visual queue at all.

Other then those items *so far* these are great. I am not ready to use them full time ATM as the points above are critical for my play style and use a modified version of Phanx for now, but I will be adding this to my bookmarks and checking back for sure as they are the style I like and the code is nice and clean if I ever have to get in there and add my own tweaks,

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.