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.
Shadowed Unit Frames in WoW Classic
There is in-development Beta versions available for WoW Classic!
Note that WoW Classic does not provide all the information that you might be used to:
- There is no Focus Frame
- Information about the HP of enemies is not available, and they'll show as 100 HP
- Cast Bars for anyone but the player himself are not available
- Debuffs have no duration information
Some of this data can be restored with additional libraries/addons, but it'll always be guesswork and potentially inaccurate. Shadowed Unit Frames comes bundled with LibClassicDurations for debuff durations. Mob HP can be provided by Real Mob Health, which you need to install manually.
Note on copying your layout from Retail to Classic:
In general you cannot copy your layout between the two versions, since they are quite different, and doing so will result in certain elements exclusive to one version (like Pet Happiness on Classic) not always working properly. There are some provisions in the code that makes copying from Retail to Classic mostly work, use at your own risk - however, never copy a Layout from Classic to Retail, this will absolutely result in the Class-specific power bars and other elements not available on Classic to cease to function.
Slash commands: /shadoweduf (/suf)
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.
Feedback
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!
Thanks for the amazing addon. I did try searching but to no avail. Is there a way on HP/Power bars to remove the decimal places? For example turn 981.6k into 981k? It's overkill on some bars with our current numbers.
Thank you :)
Frames dont highlight magic for warlocks on curable debuffs in SoD. I tried adding line: ["WARLOCK"] = {[19505] = {"Magic"}, [19736] = {"Magic"}, [19731] = {"Magic"}, [19734] = {"Magic"}}, but it didnt work. Can we have a version to check devour magic on curable debuff?
Hi can you replace the range.lua file in the Era version of the addon with the updated file from the latest Retail release that disables the CheckInteractDistance stuff?
SoD error:
1x ShadowedUnitFrames/modules/range.lua:53: script ran too long
[string "@ShadowedUnitFrames/modules/range.lua"]:53: in function <ShadowedUnitFrames/modules/range.lua:33>
Been getting this Check Distance error in SoD for the past few weeks and it's annoying. Happens on combat:
1x [ADDON_ACTION_BLOCKED] AddOn 'ShadowedUnitFrames' tried to call the protected function 'CheckInteractDistance()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: in function `CheckInteractDistance'
[string "@ShadowedUnitFrames/modules/range.lua"]:53: in function <ShadowedUnitFrames/modules/range.lua:33>
I am still having trouble using SUF and mouseover macros. If I use the Blizz standard UI it works.
Any ideas why mouseover with SUF doesn't work?
In SoD the default WoW sound effects for when you "target", "switch target" and "lose target" on mobs/NPCs don't work anymore when using this plugin. Does anyone know how to fix this?
didnt get this prior to the two patches earlier this week
3x [ADDON_ACTION_BLOCKED] AddOn 'ShadowedUnitFrames' tried to call the protected function 'CheckInteractDistance()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: in function `CheckInteractDistance'
[string "@ShadowedUnitFrames/modules/range.lua"]:53: in function <ShadowedUnitFrames/modules/range.lua:33>
Locals:
_ = Frame {
RegisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:491
0 = <userdata>
UnregisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:491
SetScript = <function> defined @!BugGrabber/BugGrabber.lua:491
}
event = "ADDON_ACTION_BLOCKED"
events = <table> {
ADDON_ACTION_BLOCKED = <function> defined @!BugGrabber/BugGrabber.lua:557
ADDON_ACTION_FORBIDDEN = <function> defined @!BugGrabber/BugGrabber.lua:557
PLAYER_LOGIN = <function> defined @!BugGrabber/BugGrabber.lua:551
LUA_WARNING = <function> defined @!BugGrabber/BugGrabber.lua:566
ADDON_LOADED = <function> defined @!BugGrabber/BugGrabber.lua:511
}
Keep getting this error
5x [ADDON_ACTION_BLOCKED] AddOn 'ShadowedUnitFrames' tried to call the protected function 'CheckInteractDistance()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: in function `CheckInteractDistance'
[string "@ShadowedUnitFrames/modules/range.lua"]:80: in function <ShadowedUnitFrames/modules/range.lua:60>
[string "@ShadowedUnitFrames/modules/range.lua"]:127: in function `?'
[string "@ShadowedUnitFrames/modules/units.lua"]:36: in function `FullUpdate'
[string "@ShadowedUnitFrames/modules/units.lua"]:375: in function `?'
[string "@ShadowedUnitFrames/modules/units.lua"]:214: in function <ShadowedUnitFrames/modules/units.lua:211>
[string "=[C]"]: in function `TurnOrActionStop'
[string "TURNORACTION"]:4: in function <[string "TURNORACTION"]:1>
Message: ...ce/AddOns/ShadowedUnitFrames/modules/combopoints.lua:27: Usage: local result = GetComboPoints(unit, target)
Time: Sun Jan 28 16:15:42 2024
Count: 2
Stack: ...ce/AddOns/ShadowedUnitFrames/modules/combopoints.lua:27: Usage: local result = GetComboPoints(unit, target)
[string "=[C]"]: ?
[string "=[C]"]: in function `GetComboPoints'
[string "@Interface/AddOns/ShadowedUnitFrames/modules/combopoints.lua"]:27: in function `GetPoints'
[string "@Interface/AddOns/ShadowedUnitFrames/modules/basecombopoints.lua"]:180: in function `Update'
[string "@Interface/AddOns/ShadowedUnitFrames/modules/combopoints.lua"]:40: in function `?'
[string "@Interface/AddOns/ShadowedUnitFrames/modules/units.lua"]:36: in function `FullUpdate'
[string "@Interface/AddOns/ShadowedUnitFrames/modules/units.lua"]:1556: in function <...nterface/AddOns/ShadowedUnitFrames/modules/units.lua:1520>
Locals: (*temporary) = <function> defined =[C]:-1
If you're here because you have monk stagger lua errors, it has been solved over on wowace:
In your Shadowed Unit Frames addon folder go into /modules/ and look for the file monkstagger.lua
Line 44 should be:
if( percent < STAGGER_STATES.YELLOW.threshold ) then
Line46 should be:
elseif( percent < STAGGER_STATES.RED.threshold ) then
When getting grabbed by the tree boss as a tank in Darkheart Thicket, the pet frame unhides itself and shows the pet frame from the default UI.
I've been using SUF for many years, absolutely love it continue the great work.
Is it possible to change the colour of the border highlighting? On Player/Party selection the default border highlight is pale, can we have an option to change this? For example to Red.
11x Usage: self:SetVertexColor(color [, a])
[string "=[C]"]: in function `SetVertexColor'
[string "@ShadowedUF_Options/libs/AceGUI-3.0-41/widgets/AceGUIWidget-ColorPicker.lua"]:105: in function `SetColor'
[string "@ShadowedUF_Options/libs/AceConfig-3.0-3/AceConfigDialog-3.0-86/AceConfigDialog-3.0.lua"]:1377: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:1110>
[string "@ShadowedUF_Options/libs/AceConfig-3.0-3/AceConfigDialog-3.0-86/AceConfigDialog-3.0.lua"]:1137: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:1110>
[string "@ShadowedUF_Options/libs/AceConfig-3.0-3/AceConfigDialog-3.0-86/AceConfigDialog-3.0.lua"]:1639: in function `FeedGroup'
[string "@ShadowedUF_Options/libs/AceConfig-3.0-3/AceConfigDialog-3.0-86/AceConfigDialog-3.0.lua"]:1564: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:1548>
[string "=[C]"]: ?
[string "@ShadowedUF_Options/libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:66: in function <...ns/ShadowedUF_Options/libs/AceGUI-3.0/AceGUI-3.0.lua:64>
[string "@ShadowedUF_Options/libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@ShadowedUF_Options/libs/AceGUI-3.0-41/widgets/AceGUIContainer-TabGroup.lua"]:342: in function `SelectTab'
[string "@ShadowedUF_Options/libs/AceGUI-3.0-41/widgets/AceGUIContainer-TabGroup.lua"]:200: in function <...libs/AceGUI-3.0/widgets/AceGUIContainer-TabGroup.lua:197>
Locals:
(*temporary) = "Usage: self:SetVertexColor(color [, a])"
this happens every time i open the general colors tab for whatever reason
695x ...ceShadowedUnitFrames/modules/monkstagger.lua:44: attempt to compare number with nil
[string "@ShadowedUnitFrames/modules/monkstagger.lua"]:44: in function `Update'
[string "@ShadowedUnitFrames/modules/monkstagger.lua"]:34: in function `?'
[string "@ShadowedUnitFrames/modules/units.lua"]:36: in function `FullUpdate'
[string "@ShadowedUnitFrames/modules/units.lua"]:375: in function `CheckUnitStatus'
[string "@ShadowedUnitFrames/modules/units.lua"]:614: in function <ShadowedUnitFrames/modules/units.lua:440>
[string "=[C]"]: in function `SetAttribute'
[string "@ShadowedUnitFrames/modules/units.lua"]:964: in function `LoadUnit'
[string "@ShadowedUnitFrames/modules/units.lua"]:1337: in function `InitializeFrame'
[string "@ShadowedUnitFrames/ShadowedUnitFrames.lua"]:274: in function `LoadUnits'
[string "@ShadowedUnitFrames/ShadowedUnitFrames.lua"]:86: in function `OnInitialize'
[string "@ShadowedUnitFrames/ShadowedUnitFrames.lua"]:932: in function <...aceShadowedUnitFrames/ShadowedUnitFrames.lua:930>
In reply to Litzner:
In your Shadowed Unit Frames addon folder go into /modules/ and look for the file monkstagger.lua
Line 44 should be:
if( percent < STAGGER_STATES.YELLOW.threshold ) then
Line46 should be:
elseif( percent < STAGGER_STATES.RED.threshold ) then
hi!
love the addon. Is it possible to have option to hide frames when dragonriding?
Hi, having an issue where the party frame for my character is showing all buffs currently on me (Word of a Worthy Ally etc). I have the "show player in party" setting turned on and it is just my plate that has this issue, its not being shown on anyone else. I have tried unchecking all auras and adding these to the blacklist but it still appears. Kinda new to all this so any advise will be great, just cant figure it out.
Hey,
Is it possible to show what is the number of the (raid)group I am in on the Player frame?