Shadowed Unit Frames

SUF focuses on a simple configuration while maintaining the flexibility that most users will care about, preventing unnecessary bloating of the addon that sacrifices performance. While you aren't going to be able to set the health bar to be exactly 3.14 pixels outside of the unit frames, you can change options you actually care about such as bar height, ordering, frame height and so on. To speed up configuration, you can configure multiple units at the same time through the global configuration. For example, if you want to set the height of the Player, Target, Focus and Party frames to 50 then the height of Target's Target, Target's Target of Target, Focus Target to 30 you can easily do this by changing two options instead of having to do it seven times.

However, should you need a little bit of extra configuration do not despair! An advanced option is included that will unlock additional configuration giving finer control over the configuration.

Slash commands: /shadoweduf (/suf)

Donations
Donations are not required, but are appreciated!

Anchoring
Are you driven crazy by your party frames not aligning up exactly with your player frames, even if it's only half a pixel off? The anchoring system will let you solve all alignment issues, by allowing you to anchor a frame to another and set a simple offset from the frame it is anchored to, or by manually setting the X/Y position of the frame.

Using the screen shot as an example, if you drag the player frame the other frames will move with the player frame preserving the alignment and spacing. Each frame can still be manually positioned wherever you want, but this gives you a way of easily anchoring and moving frames around without having to use a ruler.

Zone configuration (Disabling options/units by zone type)
Units and modules can be enabled or disabled based on the type of zone you are in. For example, if you want to see party targets and party pets while you are in an arena but nowhere else then you can use the visibility options to enable it only while inside an arena. Modules can also be disabled by zone type, if you want to see party auras while in a raid instance but nowhere else you can disable the module in raid instances only.

Auras: Can be set to only show auras you casted, or can cast on others. Can enlarge auras that you casted, and hide the cooldown ring on the timers of auras you didn't cast as well to make it more obvious which ones you casted and which ones you didn't

Aura Timers: You will need a mod such as OmniCC to show timers on buffs and debuffs

Aura Indicators: Display colored squares or icons for certain auras on any unit

Fader: Fades frames when out of combat and inactive (100% mana/no target)

Class Power (Eclipse, Holy Power, etc): Supports all of the class power features from Eclipse to Burning Embers.

Highlighting: Border highlighting of frames based on mousing over them, curable debuffs, aggro or you are targeting/focusing them

Range Checking: Fades frames out that are out of range of you

Exportable Layouts: If you have a layout, or your friend has a layout you want to try out you can export/import SUF layouts by going to /suf -> Layout Manager

Profiles: You can change from any profile to another one without reloading your UI, should you want to use a completely different layout based on zone you can easily switch profiles without hassle

Pretty much all the general unit frame settings are in, health bars, cast bars, power bars, portraits, indicators and so on.

Modules
Basic module support is included, should you be interested in building a module see the documentation on github for more information.

Shadowed:
- Fixed enlarge curable debuffs not working
- Redid the range check module and spells, now uses interact distance and you can specify an alt spell too
- Fixed cooldown wheels not being alphaed when using the range checker
- Redid config a little, range check spells has its own tab and profile config is now on the left menu
- Updated spellID for Mage Arcane Charges
- Updated a few of the range checker spells
- Fixed an error when using a fishing pole temporary enchant
- Fixed error when unlocking frames as a Shadow Priest
- Combo points have been moved to the Player unit
- One more CP related error
- Fixed a combo points error when using SoulShards/ShadowOrbs/HolyPower/Chi
- Properly add localcheck.rb to not be packaged
- Strip out any WoD specific code
- Redo combo point modules to dynamically create indicators as needed and not rely on the max flag
- TOC update

function(unit, unitOwner)
local class = select(2, UnitClass(unit))
if( not class or not UnitIsPlayer(unit) ) then return end

return class == "DRUID" and "Dr" or class == "WARRIOR" and "War" or class == "SHAMAN" and "Sha" or class == "PRIEST" and "Pr" or class == "WARLOCK" and "Wa" or class == "DEATHKNIGHT" and "Dk" or class == "PALADIN" and "Pa" or class == "MAGE" and "Ma" or class == "ROGUE" and "Ro"
end

And then for races

function(unit, unitOwner)
local race = select(2, UnitRace(unit))
if( not race or not UnitIsPlayer(unit) ) then return end

return race == "Scourge" and "UD" or race == "NightElf" and "NE" or race == "BloodElf" and "BE" or race == "Tauren" and "Ta" or race == "Draenei" and "Dr" or race == "Gnome" and "Gn" or race == "Dwarf" and "Dw" or race == "Human" and "Hu" or race == "Troll" and "TR" or race == "Orc" and "Or"
end [/b]

Thanks very much, Shadowed. I truly appreciate your taking the time for this.

I'm still a little lost though. What event do you suggest I should use to call this?

Also how would the tag know to display which value, Human or Hu for example?

If you prefer, I can repost this at Elitest Jerks. I overlooked your wish to have support requests there. Thanks again for your assistance.

Originally posted by Shadowed waha: Will see if I can duplicate it on PTR, but I don't have any pet classes that I can test with.

Did some more testing, actually comparing hp/mp values. Seems that if a warlock/hunter has his pet out and mounts up the hp/mp values of the pet will be used until the unit takes damage (Hence why you get a power bar instead of the empty threat bar on the vehicle also).

oh, and btw... this thing occur with other addons aswell, but sometimes I get a message that "a addon is blocking this function" (like focus for example) and this can occur randomly... why does blizz do that :

Unfortunately last night, ran into the identical party-pets-not-showing issue as I posted about before. But this time, it happened with a later/the latest revision (r20090813).

5-man party doing heroic ToC. Two hunters, one with a 79 gorilla, one with a 78. Have the party pet frame set to appear on the right side-bottom of each party member frame (the party target frame is right side-top). Did the instance, the pets appeared properly through the entire thing, including a hunter death, resummoning them, etc..

Next go from there to the heroic UP instance. Get everyone inside the portal with both hunter pets out...and the SUF party pet frames for them never appear. Ever. A couple pets died a couple times (due to being unable to see them to heal), they were resummoned, but no change.

The party target frames worked properly as did the party frames, just the party pet frames went on vacation after entering a new instance. Same as what happened in my previous post with an earlier SUF revision.

Looks like it needs more robust recognition of when party pets are active.

Party frames positioning seems to be a bit screwed up when joining a party when in combat. They appear alot more to the left than what they're supposed to. Example: http://img197.yfrog.com/img197/9844/...2409182626.jpg (Party frames can be seen all the way to the left, they should be directly under the pet frame. reloadui fixes this.)

I don't know if you can help me with this issue that I've been having with the latest version of SUF but I'll try to give as much info as I can about the issue.

This problem pertains to my party frames only. The problem occurs anytime I join a party of any size. The portrait of my party members won't show; it is black instead. Also the cast bar will become enabled even though I have "Enable cast bar only while casting" for party members.

There is one way for me to fix this issue: modifying ANY setting under the Party Frame options will fix the portraits for my party member as well as remove the cast bar.
Reloadui will refresh the problem. And well I reload my ui quite often so this issue has really been aggravating me.

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.