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!
No focus frame (that I can see) in BCC and this error on login:
Message: ...terface\AddOns\ShadowedUnitFrames\modules\layout.lua:580: attempt to compare nil with number
Time: Wed May 19 11:05:37 2021
Count: 2
Stack: ...terface\AddOns\ShadowedUnitFrames\modules\layout.lua:580: attempt to compare nil with number
[string "@Interface\AddOns\ShadowedUnitFrames\modules\layout.lua"]:580: in function `PositionWidgets'
[string "@Interface\AddOns\ShadowedUnitFrames\modules\layout.lua"]:143: in function `Load'
[string "@Interface\AddOns\ShadowedUnitFrames\modules\units.lua"]:284: in function `SetVisibility'
[string "@Interface\AddOns\ShadowedUnitFrames\modules\units.lua"]:481: in function <...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:352>
[string "=[C]"]: in function `SetAttribute'
[string "@Interface\AddOns\ShadowedUnitFrames\modules\units.lua"]:825: in function `LoadUnit'
[string "@Interface\AddOns\ShadowedUnitFrames\modules\units.lua"]:1188: in function `InitializeFrame'
[string "@Interface\AddOns\ShadowedUnitFrames\ShadowedUnitFrames.lua"]:272: in function `LoadUnits'
[string "@Interface\AddOns\ShadowedUnitFrames\ShadowedUnitFrames.lua"]:93: in function `OnInitialize'
[string "@Interface\AddOns\ShadowedUnitFrames\ShadowedUnitFrames.lua"]:881: in function <...ace\AddOns\ShadowedUnitFrames\ShadowedUnitFrames.lua:879>
Locals: self = <table> {
SetupBars = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\layout.lua:363
CheckMedia = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\layout.lua:48
SetupFrame = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\layout.lua:319
LoadSML = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\layout.lua:166
ReverseDirection = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\layout.lua:222
ToggleVisibility = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\layout.lua:68
GetRelative = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\layout.lua:210
PositionWidgets = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\layout.lua:496
mediaPath = <table> {
}
SetupText = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\layout.lua:450
InitFontString = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\layout.lua:418
MediaRegistered = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\layout.lua:58
GetRelativeAnchor = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\layout.lua:227
SetupFontString = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\layout.lua:402
GetAuraGrowth = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\layout.lua:218
Reload = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\layout.lua:99
SetBarVisibility = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\layout.lua:76
GetJustify = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\layout.lua:193
GetPoint = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\layout.lua:206
MediaForced = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\layout.lua:10
GetColumnGrowth = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\layout.lua:214
GetSplitRelativeAnchor = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\layout.lua:249
Load = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\layout.lua:124
AnchorFrame = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\layout.lua:265
}
frame = SUFUnitfocustarget {
0 = <userdata>
OnEnter = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:536
UnregisterAll = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:125
OnBackdropLoaded = <function> defined @Interface\SharedXML\Backdrop.lua:239
Center = <unnamed> {
}
GetBackdropColor = <function> defined @Interface\SharedXML\Backdrop.lua:477
registeredEvents = <table> {
}
UnitClassToken = <function> defined @Interfa
Not working anymore for TBC Classic
with the latest alpha (classic-15) I get various lua errors, and the frames dont show up
changed back to classic-3, no errors there, interface works
In reply to Lesani:I also installed this last version and get
Message: ...ace\AddOns\ShadowedUnitFrames\ShadowedUnitFrames.lua:664: attempt to index local 'frame' (a nil value)
Time: Mon May 17 16:31:23 2021
Count: 1
Stack: ...ace\AddOns\ShadowedUnitFrames\ShadowedUnitFrames.lua:664: attempt to index local 'frame' (a nil value)
...ace\AddOns\ShadowedUnitFrames\ShadowedUnitFrames.lua:664: in function <...ace\AddOns\ShadowedUnitFrames\ShadowedUnitFrames.lua:660>
...ace\AddOns\ShadowedUnitFrames\ShadowedUnitFrames.lua:753: in function `HideBlizzardFrames'
...ace\AddOns\ShadowedUnitFrames\ShadowedUnitFrames.lua:91: in function `OnInitialize'
...ace\AddOns\ShadowedUnitFrames\ShadowedUnitFrames.lua:881: in function <...ace\AddOns\ShadowedUnitFrames\ShadowedUnitFrames.lua:879>
Locals: taint = false
(for index) = 1
(for limit) = 2
(for step) = 1
i = 1
frame = nil
(*temporary) = <function> defined @Interface\FrameXML\SecureStateDriver.lua:47
(*temporary) = nil
(*temporary) = <function> defined =[C]:-1
(*temporary) = SecureStateDriverManager {
0 = <userdata>
}
(*temporary) = "attempt to index local 'frame' (a nil value)"
rehideFrame = <function> defined @Interface\AddOns\ShadowedUnitFrames\ShadowedUnitFrames.lua:645
In reply to Lesani:
Same with me, latest alpha is not showing any framed and had to switch over to the older version.
In reply to Lesani:
Same with me, latest alpha is not showing any framed and had to switch over to the older version.
In reply to Lesani:
newest version dosent work
I got this working on the Classic PTR, it's a few lines to replace but seems to work with minimal errors. Can hold you over until there's a legit TBC version. Use at your own risk and backup your folders before changing anything.
ShadowedUnitFrames\libs\LibClassicDurations\core.lua :
Line 20
Replace
with
Below Line 14 that reads `local spellName = GetSpellInfo(lastRankID)`
2. Insert the following 4 lines:
```
```
Line 144
Replace
with
ShadowedUnitFrames\modules\units.lua :
Line 502
Replace
with
Line 815
Replace
with
Line 1039
Replace
with
Line 1149
Replace
with
ShadowedUnitFrames\modules\movers.lua :
Line 465
Replace
with
In reply to fugglestv:
hey could you share your edited files? I tried following this but it seems my target window gone so i guess i made a mistake or something somehere.
Thank you for your contribution! Anyway that is on the tbc beta not ptr so maybe that is the reason.
In reply to axejess:
Here's my files. It might be dependent on your existing settings, not sure. If something breaks, there should be a lua error.
https://www.file.io/download/5BP96fPfcDJt
In reply to fugglestv:
I dont see the same folders you do. My classic SUF doesnt have a libs folder at all and the one I downloaded here im fairly sure is for retail and does not have a "ShadowedUnitFrames\libs\LibClassicDurations\core.lua :"
In reply to XboxControllerTV:
You want to download the latest for classic, LibClassicDurations is specific to the classic version.
In reply to fugglestv:
got the right files now, but i followed your guide above and got flooded with lua errors. oh well. i guess ill wait and hope for the project to get updated.
In reply to XboxControllerTV:
I linked my files in a comment above, try just using those.
In reply to fugglestv:
The file is not available for download
In reply to fugglestv:
"the file has been deleted" is what the website says when attempting to download.
In reply to fugglestv:
This also worked for me on the beta server.
In reply to fugglestv:
hey thank you for providing a quick fix until an official release comes out. Seems to be working fine for me so far just generically questing
In reply to fugglestv:
Thanks! Worked for me perfectly.
In reply to fugglestv:
Thanks! Worked for me perfectly.