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:528,197
Favorites:1,231
MD5:

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 (10)
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


Post A Reply Comment Options
Unread 01-23-12, 06:51 AM  
Greensleeper
A Defias Bandit

Forum posts: 2
File comments: 29
Uploads: 0
how can I remove my target by clicking anywhere on the screen?

edit: nvm this stupid question, completely removed all add-ons and WTF before playing with SuF (only add-on installed atm) and forgot about sticky targetting o_O

wonderfull add-on, I love it. Thanks Shadowed.
Last edited by Greensleeper : 01-23-12 at 11:09 AM.
Report comment to moderator  
Reply With Quote
Unread 01-18-12, 08:27 AM  
Zzyzxrd
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 1
File comments: 52
Uploads: 2
Aura Borders

EDIT: Nevermind, found a solution which suits me better.
Last edited by Zzyzxrd : 01-20-12 at 05:23 PM.
Report comment to moderator  
Reply With Quote
Unread 01-10-12, 12:48 PM  
lbqpdl
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Hi there,

I have just moved the WoW directory to a SSD, all of my addon settings were copied except from SUF, are the settings saved somewhere else?

Edit: nvm the file just corrupted during transfer
Last edited by lbqpdl : 01-17-12 at 05:50 PM.
Report comment to moderator  
Reply With Quote
Unread 01-04-12, 12:55 PM  
dafft
A Murloc Raider

Forum posts: 8
File comments: 5
Uploads: 0
When leaving raids or in LFR - I get the following error quite often

Message: [string "return function(unit, unitOwner)..."]:2: bad argument #1 to 'sub' (string expected, got nil)
Time: 01/04/12 18:53:32
Count: 10
Stack: [C]: ?
[C]: in function `sub'
[string "return function(unit, unitOwner)..."]:2: in function <[string "return function(unit, unitOwner)..."]:1>
Interface\AddOns\ShadowedUnitFrames\modules\tags.lua:118: in function `func'
Interface\AddOns\ShadowedUnitFrames\modules\tags.lua:157: in function `?'
...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:18: in function `FullUpdate'
...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:336: in function `?'
...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:153: in function <...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:150>

Locals:
-----------------------------------------------------------
Update 15/01/11
I found my problem was similar to the one listed here at wowace.com.

So for others who may experience a similar fault:-

Avatar of Shadowed

Shadowed Tue, 23 Mar 2010 17:05

Enable advanced settings (if they aren't already), go to add tags, find the tag labeled "shortname" and edit it. You want to change the code from

function(unit, unitOwner)
return string.sub((UnitName(unitOwner)), 0, 4)
end

to

function(unit, unitOwner)
return string.sub(UnitName(unitOwner) or UNKNOWN, 0, 4)
end
Last edited by dafft : 01-15-12 at 12:13 PM.
Report comment to moderator  
Reply With Quote
Unread 01-01-12, 10:10 AM  
Draegloth
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
This is partial fix, this does mess up the other class frames! Its like swap, now the other class portraits have the problem worgen had. Sorry I didn't realise this untill later!
Last edited by Draegloth : 01-01-12 at 01:05 PM.
Report comment to moderator  
Reply With Quote
Unread 01-01-12, 12:48 AM  
Draegloth
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
I have a few rules before you read this.

1 : Don't ask me How I did it, I have no clue how.

2 : Follow the instructions exactly.


Go to your World of Warcraft Folder\Interface\Addons\ShadowedUnitframes\Modules and then open " Portrait Lua File "

Delete everything in it, and replace it with the Following :



local Portrait = {}
ShadowUF:RegisterModule(Portrait, "portrait", ShadowUF.L["Portrait"])

-- If the camera isn't reset OnShow, it'll show the entire character instead of just the head, odd I know
local function resetCamera(self)
self:SetCamera(0)
end

local function resetGUID(self)
self.guid = nil
end

function Portrait:OnEnable(frame)
frame:RegisterUnitEvent("UNIT_PORTRAIT_UPDATE", self, "UpdateFunc")
frame:RegisterUnitEvent("UNIT_MODEL_CHANGED", self, "Update")

frame:RegisterUpdateFunc(self, "UpdateFunc")
end

function Portrait:OnDisable(frame)
frame:UnregisterAll(self)
end

function Portrait:OnPreLayoutApply(frame, config)
if( not frame.visibility.portrait ) then return end

if( config.portrait.type == "3D" ) then
if( not frame.portraitModel ) then
frame.portraitModel = CreateFrame("PlayerModel", nil, frame)
frame.portraitModel:SetScript("OnShow", resetCamera)
frame.portraitModel:SetScript("OnHide", resetGUID)
frame.portraitModel.parent = frame
end

frame.portrait = frame.portraitModel
frame.portrait:Show()

ShadowUF.Layout:ToggleVisibility(frame.portraitTexture, false)
else
frame.portraitTexture = frame.portraitTexture or frame:CreateTexture(nil, "ARTWORK")
frame.portrait = frame.portraitTexture
frame.portrait:Show()

ShadowUF.Layout:ToggleVisibility(frame.portraitModel, false)
end
end

function Portrait:UpdateFunc(frame)
-- Portrait models can't be updated unless the GUID changed or else you have the animation jumping around
if( ShadowUF.db.profile.units[frame.unitType].portrait.type == "3D" ) then
local guid = UnitGUID(frame.unitOwner)
if( frame.portrait.guid ~= guid ) then
self:Update(frame)
end

frame.portrait.guid = guid
else
self:Update(frame)
end
end

function Portrait:Update(frame, event)
local type = ShadowUF.db.profile.units[frame.unitType].portrait.type

-- Use class thingy
if( type == "class" ) then
local classToken = select(2, UnitClass(frame.unitOwner))
if( classToken ) then
frame.portrait:SetTexture("Interface\\Glues\\CharacterCreate\\UI-CharacterCreate-Classes")
frame.portrait:SetTexCoord(CLASS_ICON_TCOORDS[classToken][1], CLASS_ICON_TCOORDS[classToken][2], CLASS_ICON_TCOORDS[classToken][3], CLASS_ICON_TCOORDS[classToken][4])
else
frame.portrait:SetTexture("")
end
-- Use 2D character image
elseif( type == "2D" ) then
frame.portrait:SetTexCoord(0.10, 0.90, 0.10, 0.90)
SetPortraitTexture(frame.portrait, frame.unitOwner)
-- Using 3D portrait, but the players not in range so swap to question mark
elseif( not UnitIsVisible(frame.unitOwner) or not UnitIsConnected(frame.unitOwner) ) then
frame.portrait:SetModelScale(12)
frame.portrait:SetPosition(-4, -4, -0.4)
frame.portrait:SetModel("Interface\\Buttons\\talktomequestionmark.mdx")
-- Use animated 3D portrait
else
frame.portrait:SetUnit(frame.unitOwner)
frame.portrait:SetCamera(1)
frame.portrait:Show()
end
end






Result :
Last edited by Draegloth : 01-01-12 at 01:03 AM.
Report comment to moderator  
Reply With Quote
Unread 12-30-11, 08:59 PM  
nightshifter
A Murloc Raider

Forum posts: 8
File comments: 2
Uploads: 0
Portrait issue

Worgen Druid here... When in "worgen" form portrait is showing a 3D "mini-me" instead of a headshot. In other forms/transforms using toys, trinkets it does display correctly though.

Just switched today, so much better than the crap I was using, even with this tiny issue. (Which is probably because I haven't discovered the correct option to toggle, even though I spent the last hour looking) any advice or directions to the proper place to change this would be very welcome.

Thanks!
Last edited by nightshifter : 12-30-11 at 09:00 PM.
Report comment to moderator  
Reply With Quote
Unread 12-30-11, 05:02 PM  
Dvorjak
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 29
Uploads: 1
Is there a way to make it so I can see the target of every raid member like with the unit frames addon Vuhdo?
Report comment to moderator  
Reply With Quote
Unread 12-30-11, 01:32 AM  
Malkavier
A Defias Bandit

Forum posts: 3
File comments: 3
Uploads: 0
Getting this error since maintenance

Code:
Date: 2011-12-30 02:27:29
ID: 1
Error occured in: AddOn: ShadowedUnitFrames
Count: 1
Message: Error: AddOn ShadowedUnitFrames attempted to call a forbidden function (CastSpellByID()) from a tainted execution path.
Debug:
   [C]: CastSpellByID()
   ..\FrameXML\UnitPopup.lua:1404: func()
   ..\FrameXML\UIDropDownMenu.lua:706: UIDropDownMenuButton_OnClick()
   [string "*:OnClick"]:1:
      [string "*:OnClick"]:1
I get this whenever I try to use "Dismiss Pet" from the right click menu on the pet unit frame.
Report comment to moderator  
Reply With Quote
Unread 12-29-11, 12:08 PM  
Induk
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
How can I change the alignment of the data texts inside the health bars / mana bars?

Ich just want one single text aligned @ center, left-right-alignments messes with my head :-)
Report comment to moderator  
Reply With Quote
Unread 12-28-11, 03:08 PM  
Xandriah
A Murloc Raider

Forum posts: 4
File comments: 2
Uploads: 0
Hello! I love these unitframes. Once upon a time I made a UI with them:
http://a8.sphotos.ak.fbcdn.net/hphot..._6018111_n.jpg

and now I can't get the party frames to go 2 by 2 anymore. I can't seem to find the option.
Report comment to moderator  
Reply With Quote
Unread 12-25-11, 02:48 PM  
Gahu
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Buff/Debuff Border Color

Greetings,
this has probably already been questioned many times, but since I couldn't find a search function for the comments I'm forced to ask again; Is there any way to change the border color on the Buff and/or Debuffs or perhaps using a ButtonFacade skin?

Thanks.
Last edited by Gahu : 12-25-11 at 02:54 PM.
Report comment to moderator  
Reply With Quote
Unread 12-21-11, 02:54 AM  
setnetjer
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Linking Frames

Hey, quick question, while I was attempting to set up my unit frames, I clicked the Unlink frames button to let me move stuff around while I was trying to get the individual frames customized the way I want.

Problem is, now that I'm trying to position the frames WHERE I want them, I can't seem to find how to link the frames so that they "snap" together and allow me to move multiple frames as a single frame for placing purposes.

Any way to link them back together for that purpose?
Report comment to moderator  
Reply With Quote
Unread 12-16-11, 07:19 AM  
kaustos
A Kobold Labourer
 
kaustos's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 42
Uploads: 1
I'm adding a few custom tags to my frames, but I keep running into a weird issue with the events/event discovery options. Every time I add or change an event for one custom tag, then go look at another tag, the events will disappear or will display the event list from the wrong tag. Sometimes the events just disappear or roll back after a few reloads or combat sessions. Altering the events doesn't take effect until a reload as well, though I think that's intended. Are there any circumstances that the events field or discovery checkbox should change by itself?

Also just gotta throw out there again that this is a phenomenal addon I love the amount of customization available.
Report comment to moderator  
Reply With Quote
Unread 12-14-11, 07:55 PM  
Shadowed
...
Featured Addon Author

Forum posts: 387
File comments: 2513
Uploads: 83
You cannot sort by the actual role, Blizzard only lets you sort by MA/MT.
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.