Download
(654Kb)
Download
Updated: 03-20-24 01:35 AM
Pictures
File Info
Compatibility:
Plunderstorm (10.2.6)
Updated:03-20-24 01:35 AM
Created:05-17-09 12:55 PM
Downloads:528,027
Favorites:1,231
MD5:

Shadowed Unit Frames  Popular! (More than 5000 hits)

Version: v4.4.8
by: Shadowed, Nevcairiel

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.

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:

Shadowed Unit Frames
v4.4.8 (2024-03-20)
Full Changelog Previous Releases
  • Update TOCs for 10.2.6
  • Switch PR CI to checkout v2
Archived Files (10)
File Name
Version
Size
Author
Date
v4.4.7
654kB
Shadowed
02-23-24 04:13 AM
v4.4.6
654kB
Shadowed
07-11-23 08:26 AM
v4.4.5
654kB
Shadowed
05-13-23 06:36 AM
v4.4.4
654kB
Shadowed
05-03-23 01:46 AM
v4.4.3
654kB
Shadowed
03-22-23 01:52 AM
v4.4.2
654kB
Shadowed
11-16-22 08:17 AM
v4.4.1
653kB
Shadowed
11-07-22 10:13 AM
v4.4.0
653kB
Shadowed
10-25-22 04:23 PM
v4.3.7
638kB
Shadowed
09-08-21 09:59 AM
v4.3.6
639kB
Shadowed
06-29-21 03:33 PM


Post A Reply Comment Options
Unread 07-05-09, 06:05 PM  
Shadowed
...
Featured Addon Author

Forum posts: 387
File comments: 2513
Uploads: 83
Originally posted by thamaht
Don't know if you caught the edit about the possibility of an outline tag/function, or if it could be done with a lua edit. Still looking though, hopefully can figure that one out myself.



Units: Party and Raid, both stop moving left at the same distance away from the left or bottom edges. All units exhibit the behavior. I disabled all mods except Shadowed Unit Frames and it still happened.

Height/Width: Party: 29/226, scaled at 110% (continues to not cooperate at any scale). Raid: 29/110, scaled at 100%.

Clip setting: 2
You cannot outline specific text, however if you enable advanced settings theres an option to turn on text outlining for everything (It's under the same option you change font size/font on globally)

I think that might be more of an issue related to Raid and Party frames, however I will look into it and see if I can get it fixed next push.
Report comment to moderator  
Reply With Quote
Unread 07-05-09, 06:03 PM  
Shadowed
...
Featured Addon Author

Forum posts: 387
File comments: 2513
Uploads: 83
Try:

Code:
function(unit, unitOwner)
if( UnitIsDead(unit) ) then
    return ShadowUFLocals["Dead"]
elseif( UnitIsGhost(unit) ) then
    return ShadowUFLocals["Ghost"]
elseif( not UnitIsConnected(unit) ) then
    return ShadowUFLocals["Offline"]
end

local health = UnitHealth(unit)
if( health > 999999 ) then
    health = string.format("%dm", health / 1000000)
elseif( health > 99999 ) then
    health = string.format("%.1fk", health / 1000)
end

local maxHealth = UnitHealthMax(unit)
if( maxHealth > 999999 ) then
    maxHealth = string.format("%dm", maxHealth / 1000000)
elseif( maxHealth > 99999 ) then
    maxHealth = string.format("%.1fk", maxHealth / 1000)
end

return string.format("%s/%s", health, maxHealth)
end
Last edited by Shadowed : 07-05-09 at 06:04 PM.
Report comment to moderator  
Reply With Quote
Unread 07-05-09, 02:33 PM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 371
Uploads: 0
Originally posted by Shadowed
Skylinee: I'd rather not, but you can add your own tag to do this:

Go to /suf -> Add tags -> Add new tag -> enter whatever name you want -> enter the below as the code

Code:
function(unit, unitOwner)
if( UnitIsDead(unit) ) then
    return ShadowUFLocals["Dead"]
elseif( UnitIsGhost(unit) ) then
    return ShadowUFLocals["Ghost"]
elseif( not UnitIsConnected(unit) ) then
    return ShadowUFLocals["Offline"]
end

local health = UnitHealth(unit)
if( health > 999999 ) then
    health = string.format("%dm", health / 1000000)
elseif( health > 99999 ) then
    health = string.format("%.1fk", health / 100000)
end

local maxHealth = UnitHealthMax(unit)
if( maxHealth > 999999 ) then
    maxHealth = string.format("%dm", maxHealth / 1000000)
elseif( maxHealth > 99999 ) then
    maxHealth = strinpg.format("%.1fk", maxHealth / 100000)
end

return string.format("%s/%s", health, maxHealth)
end
I noticed that with this tag, targets with lets say 900k showed up as having 9k instead. Also lots of random errors:



[2009/07/05 22:28:25-2742-x3]: <string>:"return function(unit, unitOwner)...":21: attempt to index global 'strinpg' (a nil value)
ShadowedUnitFrames\modules\tags.lua:126: in function `?'
ShadowedUnitFrames\modules\units.lua:15: in function `FullUpdate'
ShadowedUnitFrames\modules\units.lua:242: in function `?'
ShadowedUnitFrames\modules\units.lua:96: in function <...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:93>
<in C code>: in function `TargetUnit'
Interface\FrameXML\SecureTemplates.lua:348: in function `handler':
Interface\FrameXML\SecureTemplates.lua:460: in function <Interface\FrameXML\SecureTemplates.lua:417>:

---

[2009/07/05 22:28:25-2742-x52]: <string>:"return function(unit, unitOwner)...":21: attempt to index global 'strinpg' (a nil value)
ShadowedUnitFrames\modules\tags.lua:126: in function `?'
ShadowedUnitFrames\modules\units.lua:96: in function <...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:93>

---

[2009/07/05 22:28:36-2742-x1]: <string>:"return function(unit, unitOwner)...":21: attempt to index global 'strinpg' (a nil value)
ShadowedUnitFrames\modules\tags.lua:126: in function `?'
ShadowedUnitFrames\modules\units.lua:15: in function `FullUpdate'
ShadowedUnitFrames\modules\units.lua:242: in function `CheckUnitGUID'
ShadowedUnitFrames\modules\units.lua:105: in function <...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:102>
<in C code>: in function `Show'
Interface\FrameXML\SecureStateDriver.lua:72: in function <Interface\FrameXML\SecureStateDriver.lua:62>:
Interface\FrameXML\SecureStateDriver.lua:111: in function <Interface\FrameXML\SecureStateDriver.lua:81>:

---

[2009/07/05 22:29:09-2742-x1]: <string>:"return function(unit, unitOwner)...":21: attempt to index global 'strinpg' (a nil value)
ShadowedUnitFrames\modules\tags.lua:126: in function `?'
ShadowedUnitFrames\modules\units.lua:15: in function `FullUpdate'
ShadowedUnitFrames\modules\units.lua:242: in function `?'
ShadowedUnitFrames\modules\units.lua:96: in function <...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:93>
<in C code>: in function `TurnOrActionStop'
<string>:"TURNORACTION":4: in function <[string "TURNORACTION"]:1>

---
Last edited by Skylinee : 07-05-09 at 02:49 PM.
Report comment to moderator  
Reply With Quote
Unread 07-05-09, 02:23 PM  
thamaht
A Kobold Labourer

Forum posts: 0
File comments: 20
Uploads: 0
Don't know if you caught the edit about the possibility of an outline tag/function, or if it could be done with a lua edit. Still looking though, hopefully can figure that one out myself.

Edit because it's not worth a new post: Yeah, I have everything outlined now, my plan was to have raid frames not have outlines, and player/target have them.

Originally posted by Shadowed
thamaht: What unit you trying to position off the screen, also what is the frames height/width and if you have advanced settings enabled what is your clip settings set to?
Units: Party and Raid, both stop moving left at the same distance away from the left or bottom edges. All units exhibit the behavior. I disabled all mods except Shadowed Unit Frames and it still happened.

Height/Width: Party: 29/226, scaled at 110% (continues to not cooperate at any scale). Raid: 29/110, scaled at 100%.

Clip setting: 2
Last edited by thamaht : 07-05-09 at 06:39 PM.
Report comment to moderator  
Reply With Quote
Unread 07-05-09, 02:20 PM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 371
Uploads: 0
Created the tag fine, but i can't seem to choose it under the text option :S

Edit: Nevermind, reloadUI fixed it.
Last edited by Skylinee : 07-05-09 at 02:21 PM.
Report comment to moderator  
Reply With Quote
Unread 07-05-09, 01:49 PM  
Shadowed
...
Featured Addon Author

Forum posts: 387
File comments: 2513
Uploads: 83
thamaht: What unit you trying to position off the screen, also what is the frames height/width and if you have advanced settings enabled what is your clip settings set to?

I won't add an option to disable placing items off screen as it's a bug that you can't already.

timberbear60 / Zabbath: It's something I plan on adding but need to tweak the layout code a bit before I do. Don't want to add a lag indicator thought at that point you should probably be using something like Quartz that's specifically built for that.

Skylinee: I'd rather not, but you can add your own tag to do this:

Go to /suf -> Add tags -> Add new tag -> enter whatever name you want -> enter the below as the code

Code:
function(unit, unitOwner)
if( UnitIsDead(unit) ) then
    return ShadowUFLocals["Dead"]
elseif( UnitIsGhost(unit) ) then
    return ShadowUFLocals["Ghost"]
elseif( not UnitIsConnected(unit) ) then
    return ShadowUFLocals["Offline"]
end

local health = UnitHealth(unit)
if( health > 999999 ) then
    health = string.format("%dm", health / 1000000)
elseif( health > 99999 ) then
    health = string.format("%.1fk", health / 100000)
end

local maxHealth = UnitHealthMax(unit)
if( maxHealth > 999999 ) then
    maxHealth = string.format("%dm", maxHealth / 1000000)
elseif( maxHealth > 99999 ) then
    maxHealth = strinpg.format("%.1fk", maxHealth / 100000)
end

return string.format("%s/%s", health, maxHealth)
end
Last edited by Shadowed : 07-05-09 at 01:49 PM.
Report comment to moderator  
Reply With Quote
Unread 07-05-09, 01:22 PM  
thamaht
A Kobold Labourer

Forum posts: 0
File comments: 20
Uploads: 0
Is there a way to disable the "you can't place items off the screen" bit? I'm wanting to position them 3 pixels from the left side of the screen, but can't drag them any closer than 15 or so.

edit: And an Outline tag? I've been reading through the tag examples and the api documentation on wowwiki and I can't figure out how to make a tag for it (or if I have to make a ShadowUF:Outline type function or something?).

I know that you can set all fonts to be outlined or not, but I can't figure out how to outline certain texts and not others.

Everything else is wonderful - so glad I found this.

edit2: holy crap, you're FAST.
Last edited by thamaht : 07-05-09 at 02:15 PM.
Report comment to moderator  
Reply With Quote
Unread 07-05-09, 11:59 AM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 371
Uploads: 0
Please change the [SmartHP] tag to show condensed formatting when target has more than 100k instead of 1mill which it is doing currently, or tell me what lines i need to edit in the tag editor.
Report comment to moderator  
Reply With Quote
Unread 07-05-09, 11:09 AM  
Zabbath
A Kobold Labourer
 
Zabbath's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 16
Uploads: 2
Re: Cast bar feature request

Originally posted by timberbear60
Would you consider adding an option to hide the cast bar when not casting? Or perhaps incorporate the casting bar into the existing power/ health bars, such as a sweeping effect going from left to right to indicate casting. Also, not sure what to call it, but perhaps some type of lag indicator on the cast bar so you can get off that one extra nuke. Love the mod with it's simplistic setup and wealth of features. Keep up the excellent work!
Vote +1, Pitbull 4 have it but would really like this addon to have it to
Report comment to moderator  
Reply With Quote
Unread 07-05-09, 10:41 AM  
timberbear60
A Murloc Raider

Forum posts: 9
File comments: 36
Uploads: 0
Cast bar feature request

Would you consider adding an option to hide the cast bar when not casting? Or perhaps incorporate the casting bar into the existing power/ health bars, such as a sweeping effect going from left to right to indicate casting. Also, not sure what to call it, but perhaps some type of lag indicator on the cast bar so you can get off that one extra nuke. Love the mod with it's simplistic setup and wealth of features. Keep up the excellent work!
Report comment to moderator  
Reply With Quote
Unread 07-05-09, 12:33 AM  
Shadowed
...
Featured Addon Author

Forum posts: 387
File comments: 2513
Uploads: 83
If you get more information on the class coloring issue let me know, the menu issue was fixed in the version I just pushed.
Report comment to moderator  
Reply With Quote
Unread 07-04-09, 10:37 PM  
tarolaide
A Kobold Labourer

Forum posts: 1
File comments: 5
Uploads: 0
I think after I had sorting on, but I'm not sure if I had the chance to experience this issue since I didn't group between updating to this build and turning sorting on.
Report comment to moderator  
Reply With Quote
Unread 07-04-09, 09:33 PM  
Shadowed
...
Featured Addon Author

Forum posts: 387
File comments: 2513
Uploads: 83
Originally posted by tarolaide
Hi,

I love the easy configuration for this UF addon! Being able to modify the attributes of multiple frames at once is a real timesaver, and the anchoring/positioning system is awesome!

Thanks for the party ordering feature. I noticed a little bug though. The menus you get when you right click on a party unit frame aren't in the proper order when you have party ordering set by Name.

Occasionally I'll still have issues with health bar coloring by class not working properly. Sometimes colors will get switched between party members. It doesn't happen consistently but when it does, it's usually when new members join or leave. Going into the config and resetting Color by Class fixes it.
Did you have the class coloring issues before you enabled sorting or no?
Report comment to moderator  
Reply With Quote
Unread 07-04-09, 08:23 PM  
tarolaide
A Kobold Labourer

Forum posts: 1
File comments: 5
Uploads: 0
Hi,

I love the easy configuration for this UF addon! Being able to modify the attributes of multiple frames at once is a real timesaver, and the anchoring/positioning system is awesome!

Thanks for the party ordering feature. I noticed a little bug though. The menus you get when you right click on a party unit frame aren't in the proper order when you have party ordering set by Name.

Occasionally I'll still have issues with health bar coloring by class not working properly. Sometimes colors will get switched between party members. It doesn't happen consistently but when it does, it's usually when new members join or leave. Going into the config and resetting Color by Class fixes it.
Report comment to moderator  
Reply With Quote
Unread 07-04-09, 06:31 PM  
Pagezero2
A Kobold Labourer

Forum posts: 0
File comments: 20
Uploads: 0
Originally posted by Shadowed
The clipping issue is due to the bar width, I'll get it fixed but for the time being if you add or remove one or two pixels from the width it will fix itself.
Thanks for the quick reply, sure enough changing the width from 210 to 211 fixed it.
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.