Shadowed Unit Frames

Another example

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!

https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif

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.

Profiles do not have to be swapped and it is all automatic.

Units
Supports unit frames are as follows:

Player: Player, Pet, Pet Target
General: Target, Target of Target, Target of Target of Target, Focus, Focus Target
Party: Party, Party Pets, Party Targets, Party ToT
Raid: Raid, Raid Pet, Main Tank, Main Tank Target, Main Assist, Main Assist Target, Boss, Boss Target, Boss ToT, Main Assist ToT, Main Tank ToT
Arena: Arena, Arena Target, Arena Pets, Arena ToT
Battleground: Battleground, Battleground Target, Battleground Target

Features

  • Tags: Includes a simple tagging system that can be customized in virtually any way using Lua, even if something isn't included by default odds are you can make the tags
  • Incoming Heals: Supports the Blizzard Events for incoming heal data, no external libraries needed
  • 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.

Currently released:

Feedback

Please focus all discussions, questions or general feedback to the forum thread:
http://forums.wowace.com/showthread.php?t=18744

For feature requests and bug reports, please continue to use the Ticket tracker. Feel free to ask on the thread first, if you're unsure what to do!

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Shadowed Shadowed Oct 03, 2011 at 05:09 UTC - 0 likes

    You can do it by creating a custom tag with the below code:

    function(unit, unitOwner, fontString)
        local text = ShadowUF.tagFunc.perhp(unit, unitOwner)
        return text ~= "100%" and text or nil
    end
    
    Last edited Oct 03, 2011 by Shadowed
  • Avatar of angrysteel angrysteel Oct 03, 2011 at 04:41 UTC - 0 likes

    Awesome, works great now :D

    I do have another question if you have the time. I am trying to make a Text Tag for HP %, colored by hp color (green if full hp, gradienting downward to red when really low hp).

    This is easily done in SUF by simply using: [hp:color][perhp]

    My question is, is it possible to make a tag, that will hide the HP% when you (or your target, party, raid, etc) are at full HP, and start showing HP% as soon as someone takes damage.

    With Pitbull, i was able to come up with:

    local cur,max = HP(unit),MaxHP(unit)
    local r,g,b = HPColor(cur,max)
    if cur < max then
    return "|cff%02x%02x%02x%s%%|r",r,g,b,Round(Percent(cur,max),0)
    end

    This took several hours for me, since i am pretty lost when it comes to LUA, but just using examples i was able to figure it out.

    Is something like this possible with SUF as well?

  • Avatar of Shadowed Shadowed Oct 03, 2011 at 03:48 UTC - 0 likes

    Actually, the option is already in. It's the "Color by reaction on" in the Empty bar settings. It's broken though and doesn't actually work, which I just ifxed.

  • Avatar of Shadowed Shadowed Oct 03, 2011 at 03:36 UTC - 0 likes

    Sounds fair enough to me, will add it in

  • Avatar of angrysteel angrysteel Oct 03, 2011 at 00:47 UTC - 0 likes

    Empty Bar - Is it possible to color this bar by hostility? I only see the option to color the HP bar by reaction (hostility).

    Coloring the HP by hostility is ok, but that means you are unable to color the HP bar by Health Percent, and i believe the hostility even over class color (enemies).

    Would be awesome if you could add in a way to color the blank bar by hostility. This would allow you to see the enemy class color, hostility of players / npcs all in one glance, and keep the option to allow the HP bar to color by % as well.

  • Avatar of Jyces Jyces Sep 29, 2011 at 21:00 UTC - 0 likes

    @Jyces: Go

    Strangely enough, it only seems to be doing this on Male Worgens.

  • Avatar of Jyces Jyces Sep 29, 2011 at 20:59 UTC - 0 likes

    For Worgens, it still displays a full body shot as portrait. Can this be changed?

  • Avatar of XMushroom XMushroom Sep 28, 2011 at 16:39 UTC - 0 likes

    With version 3.4.0 the raid bar on the left hand of screen is acting strange. Its random how it behaves. It use to be off completely (the way I like it).

    It doesnt produce an error. Its just there at random times. Most of the time its showing. I dont know the name of that UI element specifically-raid menu? raid bar? Its the element that we select and it comes out of the screen on the left side.

  • Avatar of mysticalos mysticalos Sep 26, 2011 at 21:46 UTC - 0 likes

    Kelem, 4.2.2 has a bug. rathor 4.2 had a bug where the frame would popup after every game exit cause the settings were lost. 4.2.2 fixed it so settings are saved properly on LOGOUT only. however if you ever choose "exit now" or alt F4 or crash, settings are still not saved, they are only saved on regular logout and no other time, if you just exit game without doing logout first you could get the frames to keep coming up. welcome to blizzard UI team doing an excellent job with QA

  • Avatar of Kelem Kelem Sep 23, 2011 at 01:41 UTC - 0 likes

    Just me or does the default WoW raid frame pop up a whole lot now?

Facts

Date created
May 17, 2009
Categories
Last update
Jan 22, 2015
Development stage
Release
Language
  • enUS
  • koKR
  • ruRU
  • zhCN
  • zhTW
License
All Rights Reserved
Curse link
Shadowed Unit Frames
Reverse relationships
1
Downloads
5,771,596
Recent files

Authors