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!
In reply to MoefinaEU:
This got rid of the error for me. Didnt even format it to match the code i just pasted it in at 265 and 246 and the errors spam is gone
In reply to Stoopedfays:
can confirm that pasting these lines in the EXACT above order removes the error:
1st line 265, THEN line 246
save file and reload.. if u cant see linenr: Download notepad++
--lines under--------------------------
-- Fix for DF not liking values > 1 / < 0
local fadeAlpha = (f.fadeList[fadeFrame] / FADEOUT_TIME)
if fadeAlpha < 0 then
fadeAlpha = 0
elseif fadeAlpha > 1 then
fadeAlpha = 1
end
fadeFrame:SetAlpha(fadeAlpha)
--lines above------------------------------
1st line 265, THEN line 246
save file and reload.. if u cant see linenr: Download notepad++
In reply to CoreMeeko2:
Getting the following after adding those lines.
4x FrameXML\Bindings.xml:1 Interface/AddOns/ShadowedUnitFrames/modules/indicators.lua:1 (null)
In reply to MoefinaEU:
Interesting, thank you.
In reply to MoefinaEU:
Are we editing those lines or just pasting that in at each spot?
Is there any way you can make the adjustments and link the file? Either Google Drive or WoWinterface?
-- Ready check fading once the check complete
local function fadeReadyStatus(self, elapsed)
self.timeLeft = self.timeLeft - elapsed
self.ready:SetAlpha(self.timeLeft / self.startTime)
if( self.timeLeft <= 0 ) then
self:SetScript("OnUpdate", nil)
self.ready.status = nil
self.ready:Hide()
end
end
local FADEOUT_TIME = 6
function Indicators:UpdateReadyCheck(frame, event)
if( not frame.indicators.ready or not frame.indicators.ready.enabled ) then return end
-- We're done, and should fade it out if it's shown
if( event == "READY_CHECK_FINISHED" ) then
if( not frame.indicators.ready:IsShown() ) then return end
-- Create the central timer frame if ones not already made
if( not self.fadeTimer ) then
self.fadeTimer = CreateFrame("Frame", nil)
self.fadeTimer.fadeList = {}
self.fadeTimer:Hide()
self.fadeTimer:SetScript("OnUpdate", function(f, elapsed)
local hasTimer
for fadeFrame, timeLeft in pairs(f.fadeList) do
hasTimer = true
f.fadeList[fadeFrame] = timeLeft - elapsed
fadeFrame:SetAlpha(f.fadeList[fadeFrame] / FADEOUT_TIME)
if( f.fadeList[fadeFrame] <= 0 ) then
f.fadeList[fadeFrame] = nil
fadeFrame:Hide()
end
end
if( not hasTimer ) then f:Hide() end
end)
end
-- Start the timer
self.fadeTimer.fadeList[frame.indicators.ready] = FADEOUT_TIME
self.fadeTimer:Show()
In reply to HD_MOVIE_SOURCE:
Same issue for me - hope this is fixed soon! :)
Message: ...ace/AddOns/ShadowedUnitFrames/modules/indicators.lua:276: bad argument #1 to 'SetAlpha' (Usage: self:SetAlpha(alpha))
Time: Sat Oct 29 00:37:14 2022
Count: 598
Stack: ...ace/AddOns/ShadowedUnitFrames/modules/indicators.lua:276: bad argument #1 to 'SetAlpha' (Usage: self:SetAlpha(alpha))
[string "=[C]"]: ?
[string "=[C]"]: in function `SetAlpha'
[string "@Interface/AddOns/ShadowedUnitFrames/modules/indicators.lua"]:276: in function <...ace/AddOns/ShadowedUnitFrames/modules/indicators.lua:270>
Locals:
78530x ...ace/AddOns/ShadowedUnitFrames/modules/indicators.lua:276: bad argument #1 to 'SetAlpha' (Usage: self:SetAlpha(alpha))
[string "=[C]"]: in function `SetAlpha'
[string "@Interface/AddOns/ShadowedUnitFrames/modules/indicators.lua"]:276: in function <...ace/AddOns/ShadowedUnitFrames/modules/indicators.lua:270>
Locals:
(*temporary) = Texture {
0 = <userdata>
status = "ready"
enabled = true
}
(*temporary) = -0.001000
Keeps rapidly stacking up in dungeons.
It seems SuF hides Party Frames which it means you cant see Party Frames or edit. "Party Frames" is enabled, but still.
In reply to Malicone:
To clarify, if you use SUF but chose to use Blizzard party or raid style party frames then they will not show.
In reply to Farling:
nope, with disabled "party unit" in SuF settings you anyway can't see BlizzUI party frames and edit them
In reply to Romper008:
Same thing with focus frame
is it possible ot add a black 1 pxl border to the aura indicators for hots etc?
Having SUF installed breaks snap-to-grid in Blizzard's default "Edit Mode" UI.
Is it possible to make the health bar emptying/filling vertically instead of horizontally?
When I enter the arena, hiding rune power bar. Why? How i can fix that bug?
The 3.4.0 version works great, thank you! The Pet unit frame is missing the Happiness indicator however, is it possible to add that feature to the frame?
Any way to hide this "Vehicle Seat Inidicator" frame? It seems unmovable and it is huge and blocking the clock on my minimap and is plastered over my quest tracker lol
Would love to know if there are plans to update for dragonflight.
Healing Prediction is not working for me at all (Wotlk Version 4.3.3-classic), is a fix intended? =)
In reply to prime1740:
I'm not seeing heal prediction for heal over times (hots)