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!
Can i get tooltips for pet happiness ??
In reply to seven0273:
Would love that too! Not super necessary unless you dont know the percentages, but I bet it would be pretty easy to implement.
Still wondering if there's a way to fix the duplicate name displaying in the Target panel in WoW Classic.
In reply to Llethander:
How are there no replies for this yet? lol
Whats your bar text setting look like?
In reply to Geekygreek7:
Huh... apparently under Misc it had both "Name (Abbreviated)" and "Unit name" selected.
Thank you VERY much for that. Such a simple question and yet it lead straight to the solution.
Do you have any intention/interest in adding enemy buffs to classic through ClassicAuraDurations? It'd be a really nice feature to have, as of right now it's pretty much the only thing missing from SuF. Most other unit frames, including default, already do this but lack so many other features and customization options that SuF has so it would be awesome to have this implemented. Thanks.
In reply to Forge_User_03403856:
I didn't realize it had the ability to do that. Looks like it's via LibClassicDurations, so let me see how hard it is.
In reply to Shadowed103:
Waiting on a change to LibClassicDurations to land so it can show magic buffs (rather than no type), but see: https://www.wowace.com/projects/shadowed-unit-frames/files/2851507 for an alpha which shows enemy buffs.
In reply to Shadowed103:
How do I add hunter's pet happiness to the frame in classic?
In reply to Forge_User_03403856:
This has been released in v4.2.3-Classic, with an added improvement that enemy buffs are now tagged as magic where appropriate so dispellable features will work properly.
In reply to Shadowed103:
That's amazing, thank you for the update <3
Totem issues should be fixed
When I enable "Target" unit in the SUF, I can't hear target clicking sound (I can hear sound like Dung! when I click some target and change target click)
So I used the Blizzard "Target" frame :(
How can I hear that clicking sound when I used target module of SUF?
plz help me
4 days and no fix for the totem error... this is why you don't update stuff in December.
I'm getting the same type of LUA errors... When going on Shaman, I get totems error. When going on Druid, I get units errors. I've had to turn off SUF and put in Z-Perl for now :(
Getting this error, not sure how to fix it.
Message: ...terface\AddOns\ShadowedUnitFrames\modules\totems.lua:131: attempt to call global 'GetTotemInfo' (a nil value)
Time: Wed Dec 18 08:59:15 2019
Count: 9
Stack: ...terface\AddOns\ShadowedUnitFrames\modules\totems.lua:131: attempt to call global 'GetTotemInfo' (a nil value)
In reply to Imacursed:
I'm getting the same type of LUA errors... When going on Shaman, I get totems error. When going on Druid, I get units errors. I've had to turn it off and put in Z-Perl for now :(
In reply to Imacursed:
I'm getting the same type of LUA errors... When going on Shaman, I get totems error. When going on Druid, I get units errors. I've had to turn it off and put in Z-Perl for now :(
In reply to Imacursed:
I'm getting the same type of LUA errors... When going on Shaman, I get totems error. When going on Druid, I get units errors. I've had to turn it off and put in Z-Perl for now :(
the latest version is throwing this error.
Error in spoiler
Date: 2019-12-15 11:17:20
ID: 1
Error occured in: Global
Count: 1
Message: ...nterface\AddOns\ShadowedUnitFrames\modules\units.lua line 55:
Attempt to register unknown event "UNIT_HAPPINESS"
Debug:
[C]: BlizzRegisterUnitEvent()
...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:55:
...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:47
...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:94: RegisterUnitEvent()
...ace\AddOns\ShadowedUnitFrames\modules\indicators.lua:343: OnEnable()
...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:271: SetVisibility()
...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:472:
...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:352
[C]: SetAttribute()
...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:816: LoadUnit()
...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:1179: InitializeFrame()
...ace\AddOns\ShadowedUnitFrames\ShadowedUnitFrames.lua:271: LoadUnits()
...ace\AddOns\ShadowedUnitFrames\ShadowedUnitFrames.lua:95: OnInitialize()
...ace\AddOns\ShadowedUnitFrames\ShadowedUnitFrames.lua:867:
...ace\AddOns\ShadowedUnitFrames\ShadowedUnitFrames.lua:865
Locals:
(*temporary) = SUFUnitpet {
highFrame = <unnamed> {
}
OnLeave = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:535
indicators = <unnamed> {
}
0 = <userdata>
unitInitialized = true
unitRealType = "pet"
OnEnter = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:527
unit = "pet"
ReregisterUnitEvents = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:26
SetBarColor = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:167
registeredEvents = <table> {
}
UnitClassToken = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:542
healthBar = <unnamed> {
}
RegisterUnitEvent = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:92
powerBar = <unnamed> {
}
RegisterNormalEvent = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:47
SetVisibility = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:226
UnregisterAll = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:125
topFrameLevel = 5
unitRealOwner = "player"
unitOwner = "pet"
RegisterUpdateFunc = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:98
DisableRangeAlpha = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:151
SetBlockColor = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:171
fullUpdates = <table> {
}
UnregisterUpdateFunc = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:115
unitType = "pet"
SetRangeAlpha = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:159
UnregisterSingleEvent = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:75
FullUpdate = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:18
visibility = <table> {
}
BlizzRegisterUnitEvent = <function> defined =[C]:-1
}
(*temporary) = "UNIT_HAPPINESS"
(*temporary) = "pet"
(*temporary) = nil
AddOns:
Swatter, v8.2.6511 (SwimmingSeadragon)
ACP, v3.5.6
Altoholic, vr191
AnnounceRare, v1.1.12
ArkInventory, v30907
ArkInventoryRules, v20000
ArkInventorySearch, v20000
AucAdvanced, v8.2.6471 (SwimmingSeadragon)
auccheapsearcher, v20191013r2
AucFilterBasic, v8.2.6497 (SwimmingSeadragon)
AucStatHistogram, v8.2.6499 (SwimmingSeadragon)
AucStatiLevel, v8.2.6503 (SwimmingSeadragon)
AucStatPurchased, v8.2.6500 (SwimmingSeadragon)
AucStatSimple, v8.2.6501 (SwimmingSeadragon)
AucStatStdDev, v8.2.6502 (SwimmingSeadragon)
AucUtilFixAH, v8.2.6504 (SwimmingSeadragon)
AzeriteForge, v1.6.2
BadBoy, vv8.2.5
Bartender4, v4.8.8
BeanCounter, v8.2.6505 (SwimmingSeadragon)
BetterBattlePetTooltip, v8.0.0.0
CanIMogIt, v8.2.5v1.20
Currency, v8.2
DataStore, vr66
DataStoreAchievements, vr48
DataStoreAgenda, vr30
DataStoreAuctions, vr51
DataStoreCharacters, vr44
DataStoreContainers, vr60
DataStoreCrafts, vr83
DataStoreCurrencies, vr39
DataStoreGarrisons, vr25
DataStoreInventory, vr54
DataStoreMails, vr53
DataStorePets, vr45
DataStoreQuests, vr47
DataStoreReputations, vr44
DataStoreSpells, vr33
DataStoreStats, vr32
DataStoreTalents, vr62
DBMArchaeology, v
DBMCore, v1.13.24
DBMDefaultSkin, v
DBMStatusBarTimers, v
DraenorTreasures, v8.0.1.27144
Enchantrix, v8.2.6506 (SwimmingSeadragon)
EnchantrixBarker, v8.2.6507 (SwimmingSeadragon)
Excavatinator, v3.0
FasterLoot, v8.2.5
FishingBuddy, v1.10.8.3
GatherMate2, v1.45.5
GatherMateSharing, vv1.12
GTFO, v4.51
HandyNotes, vv1.5.9
HandyNotesArgus, vv0.13
HandyNotesBattleForAzerothTreasures, v1
HandyNotesBrokenShore, vv1.31
HandyNotesLegionClassOrderHalls, vv1.31
HandyNotesLegionTreasures, v1
Identity2, v4.0.4
Informant, v8.2.6508 (SwimmingSeadragon)
LibPetJournal20, v
LiteMount, v8.2.10
MogIt, v3.9.0
MogItArtifact, v3.9.0
MoveAnything, v17.0.7
Overachiever, v1.0.8
OverachieverCache, v1.0.8
PakuTotems, v1.62
Pawn, v2.3.11
PetTracker, v8.2.2
PetTrackerBreeds, v8.2.2
PetTrackerBroker, v
PetTrackerJournal, v8.2.2
PetTrackerSwitcher, v8.2.2
PetTrackerUpgrades, v8.2.2
Postal, vv3.6.0
PrettyReps, v1.04
Recount, vv8.2.5d
Rematch, v4.9.13
Repwatch, v8.2
Scrap, v13.19
ScrapMerchant, v13.19
ScrapSpotlight, v13.19
ShadowedUnitFrames, vv4.2.1-Classic
SilverDragon, vv11302.0
SilverDragonClassic, vv11302.0
SlideBar, v8.2.6509 (SwimmingSeadragon)
Stubby, v8.2.6510 (SwimmingSeadragon)
Titan, v5.18.4.80205
TitanBag, v5.18.4.80205
TitanClock, v5.18.4.80205
TitanCurrency, v8.2
TitanGold, v5.18.4.80205
TitanLocation, v5.18.4.80205
TitanLootType, v5.18.4.80205
TitanPerformance, v5.18.4.80205
TitanRepair, v5.18.4.80205
TitanVolume, v5.18.4.80205
TitanXP, v5.18.4.80205
TomTom, vv80205-1.0.9
WorldQuestTracker, v
WoWDBProfiler, v
XPMultiBar, v8.2.4-final1
BlizRuntimeLib_enUS v8.2.5.80205 <none>
(ck=b79)