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:526,992
Favorites:1,231
MD5:
10.2.6

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 (11)
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
v4.3.5
638kB
Shadowed
03-15-21 04:23 AM


Post A Reply Comment Options
Unread 12-18-09, 05:53 PM  
keLston
A Deviate Faerie Dragon

Forum posts: 11
File comments: 174
Uploads: 0
Before and after, the original script prints the same results for me:

[18:48:01] 1 0.87999999523163 1
[18:48:01] y -135.76664146728
[18:48:01] x -187.5082774487
[18:48:01] point CENTER
[18:48:01] relativePoint CENTER
[18:48:01] anchorTo UIParent
[18:48:01] anchorPoint

I cannot use "/script table.foreach(SUFUnitplayer:GetPoint(), print)" as this gives me an error:

[18:45:21] Usage: /buggrabber <1-1>.
[18:45:22] 1. 1x <string>:"table.foreach(SUFUnitplayer:GetPoint(), pri...":1: bad argument #1 to 'foreach' (table expected, got string)
<string>:"table.foreach(SUFUnitplayer:GetPoint(), pri...":1: in main chunk
<in C code>: in function `RunScript'
Interface\FrameXML\ChatFrame.lua:1897: in function `value':
Interface\FrameXML\ChatFrame.lua:3565: in function <Interface\FrameXML\ChatFrame.lua:3497>:
<in C code>: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3213: in function `ChatEdit_SendText':
Interface\FrameXML\ChatFrame.lua:3237: in function `ChatEdit_OnEnterPressed':
<string>:"*:OnEnterPressed":1: in function <[string "*:OnEnterPressed"]:1>

Locals:

---
Report comment to moderator  
Reply With Quote
Unread 12-18-09, 06:43 PM  
alimjocox
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 96
File comments: 68
Uploads: 2
Hey Shadowed, I don't have a WoWace account and can't make one so I'm here trying to get your help . Firstly I've recently transferred from PB4 to SUF and I'm loving it. I've gotten quite adept with PB4_LuaTexts and I;m trying to remake a text feature with SUF.

So.. please bare with me
[()hp:color][()customtest1]
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 cur,max = UnitHealth(unit),UnitHealthMax(unit)
local miss = max - cur
if miss ~= 0 then
  return string.format("|cffff7f7f%s|r | %s",miss,cur)
    else
    return string.format("%s",max)
        end
end
So what I'm trying to do is get red for the deficit number (miss) and get the gradient color feature u've added with (cur). It works for return string.format("%s",max) but when having miss,cur. %s isn't colored. Could you please help?
Report comment to moderator  
Reply With Quote
Unread 12-18-09, 06:51 PM  
Shadowed
...
Featured Addon Author

Forum posts: 387
File comments: 2513
Uploads: 83
Update before you run the script, it's irrelevant what the script says if the bug is fixed.

alimjocox: You do not have color codes wrapped around the second %s, you want to do return string.format("|cffff7f7f%s|r | |cffff7f7f%s|r", miss, cur) instead of what you had.
Report comment to moderator  
Reply With Quote
Unread 12-18-09, 07:15 PM  
alimjocox
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 96
File comments: 68
Uploads: 2
Sorry, I didnt explain myself well.

I want -2485(red) | 24506(hp:color) .. i want to use the gradient coloring to color the 2nd pair of text. i was wondering if that was possible?

i tried to use
Code:
local r,g,b = ShadowUF:Hex(ShadowUF.modules.healthBar.getGradientColor(unit))
but as a trial and error Lua learner, it obvious that I needed more actual coding knowledge.
Report comment to moderator  
Reply With Quote
Unread 12-18-09, 07:18 PM  
Shadowed
...
Featured Addon Author

Forum posts: 387
File comments: 2513
Uploads: 83
return string.format("|cffff7f7f%s|r | %s%s|r", miss, ShadowUF:Hex(ShadowUF.modules.healthBar.getGradientColor(unit)), cur)
Report comment to moderator  
Reply With Quote
Unread 12-18-09, 07:19 PM  
alimjocox
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 96
File comments: 68
Uploads: 2
Originally posted by Shadowed
return string.format("|cffff7f7f%s|r | %s%s|r", miss, ShadowUF:Hex(ShadowUF.modules.healthBar.getGradientColor(unit)), cur)
ouch alot simpler than what I was thinking. Thanks alot Shadowed, really appreciate ur help. Great unit frames
Report comment to moderator  
Reply With Quote
Unread 12-18-09, 08:24 PM  
Kaelth
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Is it possible to hide non-mana power bars? I can't find the option if it's in there.
Report comment to moderator  
Reply With Quote
Unread 12-18-09, 08:59 PM  
Shadowed
...
Featured Addon Author

Forum posts: 387
File comments: 2513
Uploads: 83
Nope
Report comment to moderator  
Reply With Quote
Unread 12-18-09, 10:59 PM  
keLston
A Deviate Faerie Dragon

Forum posts: 11
File comments: 174
Uploads: 0
I'm curious about the default settings for the display of buff timers.

What does SUF use to determine whether a buff should have a countdown on it or not? I don't mean like the shade of color, I guess the timer ring but I mean actual numbers.

I might be remembering it wrong, so i'll be checking next time I raid, but I don't think all of the auras show numeric timers and I don't know how to force it to show.
Last edited by keLston : 12-18-09 at 11:00 PM.
Report comment to moderator  
Reply With Quote
Unread 12-19-09, 01:44 AM  
Shadowed
...
Featured Addon Author

Forum posts: 387
File comments: 2513
Uploads: 83
Every aura shows numeric timers provided you use a mod like OmniCC, if they don't show it's likely because the text was too big for the button and OmniCC auto hide it. You need to reduce the total size of the text in that case to make it always show up.
Report comment to moderator  
Reply With Quote
Unread 12-19-09, 03:17 AM  
lilruff
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
Can anyone tell me how do u make it show % aggo on the frames.
Report comment to moderator  
Reply With Quote
Unread 12-19-09, 07:36 AM  
geson
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Different static colors

I recently updated my SUF but instantly I noticed it wasnt really what I was used to be. Before, on previous versions of SUF Ive had friendly targets colored green and hostile red, static. That means if the health changes the colors do not. But now I cant change the hostile target color to red, all heath bars are green. I guess its just some simple option but I cant seem to find it :P HALp PLZZZZZzzzZZ
Report comment to moderator  
Reply With Quote
Unread 12-19-09, 10:25 AM  
ShetiPhian
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 27
Uploads: 1
Geson I think this is what your looking for:

Target Frame > Bars >

Enable Health bar - True
Color health by - Static
Color by reaction on - Both
Report comment to moderator  
Reply With Quote
Unread 12-19-09, 11:04 AM  
Shadowed
...
Featured Addon Author

Forum posts: 387
File comments: 2513
Uploads: 83
geson: See what ShetiPhian said.

lilruff: See the threat or player threat tags in Text/Tags
Report comment to moderator  
Reply With Quote
Unread 12-19-09, 12:26 PM  
geson
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Thank you ShetiPhian, that did the trick
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.