Download
(1Kb)
Download
Updated: 03-02-12 04:24 AM
Addon for:
oUF.
Updated:03-02-12 04:24 AM
Created:unknown
Downloads:21,894
Favorites:118
MD5:

oUF Fader  Popular! (More than 5000 hits)

Version: 40300.23-Beta
by: p3lim [More]

This addon is discontinued.


Description:
oUF Fader is a element plug-in made for the UnitFrame framework oUF.
It is required that you have this addon updated at all times to make everything work as it should.
You can download oUF by clicking on the link located under the "Download" button on the right.


Features:
- Condition based fading of unit frames
- Smooth or instant fading

Full changelog can be found on GitHub:
https://github.com/p3lim/oUF_Fader/commits/master/
Post A Reply Comment Options
Unread 01-27-09, 08:21 AM  
HAHADORI
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Error report

First of all thanks for your addon!!
I got an this error.. and i cant figure out how to solve this peoblem.
could u test it and find a way to fix it?

And i also got a problen when i am in party... Barfader eliinate the all party framse ...

Interface\AddOns\oUF_BarFader\oUF_BarFader.lua:28: Usage: UnitAffectingCombat("unit")
Count: 2

Call Stack:
[C]: ?
[C]: in function `UnitAffectingCombat'
Interface\AddOns\oUF_BarFader\oUF_BarFader.lua:28: in function <Interface\AddOns\oUF_BarFader\oUF_BarFader.lua:23>
Interface\AddOns\oUF_BarFader\oUF_BarFader.lua:43: in function `enable'
Interface\AddOns\oUF\ouf.lua:382: in function `EnableElement'
Interface\AddOns\oUF\ouf.lua:237: in function <Interface\AddOns\oUF\ouf.lua:190>
Interface\AddOns\oUF\ouf.lua:255: in function `configFunction'
Interface\FrameXML\SecureTemplates.lua:518: in function <Interface\FrameXML\SecureTemplates.lua:515>
[C]: in function `securecall'
Interface\FrameXML\SecureTemplates.lua:525: in function `SetupUnitButtonConfiguration'
Interface\FrameXML\SecureTemplates.lua:604: in function <Interface\FrameXML\SecureTemplates.lua:558>
Interface\FrameXML\SecureTemplates.lua:747: in function `SecureGroupHeader_Update'
[string "*:OnShow"]:1: in function <[string "*:OnShow"]:1>
[C]: in function `Show'
Interface\AddOns\oUF_Caellian\oUF_Caellian.lua:702: in main chunk
Last edited by HAHADORI : 01-27-09 at 08:29 AM.
Report comment to moderator  
Reply With Quote
Unread 01-26-09, 05:00 PM  
gagou
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 16
File comments: 254
Uploads: 2
BarFader with party support

it seems that oUF_BarFader now support all units but when I join a party I got a problem with UnitAffectingCombat(unit) because unit is nil
to solve this problem I had to test the existence of unit so the function update transform in:

Code:
local function Update(self)
	local unit = self.unit
	if unit then
		if(self.Castbar and (self.Castbar.casting or self.Castbar.channeling)) then
			self:SetAlpha(self.BarFadeMaxAlpha or 1)
		elseif(UnitAffectingCombat(unit)) then
			self:SetAlpha(self.BarFadeMaxAlpha or 1)
		elseif(unit == 'pet' and GetPetHappiness()) then
			self:SetAlpha((GetPetHappiness() < 3) and (self.BarFadeMaxAlpha or 1) or (self.BarFadeMinAlpha or 0.25))
		elseif(UnitExists(unit..'target')) then
			self:SetAlpha(self.BarFadeMaxAlpha or 1)
		elseif(Regenerating(unit)) then
			self:SetAlpha(self.BarFadeMaxAlpha or 1)
		else
			self:SetAlpha(self.BarFadeMinAlpha or 0.25)
		end
	end
end
(I did some debuging and found that the first call to the function update for party have nil as unit)

in my layout I spawn the party with
local party = oUF:Spawn('header', 'oUF_Party')
party:SetManyAttributes('yOffset', -5, 'showParty', true)

I tried also with
party:SetManyAttributes('yOffset', -5, 'showParty', true, 'showPlayer', true) to check if the first unit in party won't be nil, but no change it's still nil.

is it a problem with oUF_BarFader or directly with oUF?
Report comment to moderator  
Reply With Quote
Unread 11-23-08, 08:08 PM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1710
File comments: 1222
Uploads: 43
Originally posted by Quokka
Jup but it's still faded out for some reason
Ill look into it.


edit:
You should have said it was channeled. All my abilities that is channeled uses mana, and hence, makes it visible due the mana drop.
In other words, r12 fixes it.
Last edited by p3lim : 11-23-08 at 08:19 PM.
Report comment to moderator  
Reply With Quote
Unread 11-23-08, 05:24 PM  
Quokka
A Chromatic Dragonspawn
 
Quokka's Avatar
AddOn Author - Click to view AddOns

Forum posts: 196
File comments: 239
Uploads: 15
Originally posted by p3lim
When you are fishing youre casting right?
Jup but it's still faded out for some reason
Report comment to moderator  
Reply With Quote
Unread 11-23-08, 01:26 PM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1710
File comments: 1222
Uploads: 43
Originally posted by Quokka
is there a way to have it shown while fishing?
When you are fishing youre casting right?
Report comment to moderator  
Reply With Quote
Unread 11-23-08, 01:22 PM  
Quokka
A Chromatic Dragonspawn
 
Quokka's Avatar
AddOn Author - Click to view AddOns

Forum posts: 196
File comments: 239
Uploads: 15
is there a way to have it shown while fishing?
Report comment to moderator  
Reply With Quote
Unread 11-10-08, 03:42 PM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar

Forum posts: 281
File comments: 252
Uploads: 5
Originally posted by p3lim
Any others while you're at it?
Nono, that's it, thanks a lot
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Last edited by Caellian : 11-10-08 at 03:42 PM.
Report comment to moderator  
Reply With Quote
Unread 11-10-08, 11:19 AM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1710
File comments: 1222
Uploads: 43
Originally posted by Caellian
@p3lim could you possibly make it support focus, focus target and target or target please ?
It already supports focus, if I understood you correctly you want support for the following units:
- focustarget
- targettarget

Any others while you're at it?
Report comment to moderator  
Reply With Quote
Unread 10-31-08, 03:37 PM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar

Forum posts: 281
File comments: 252
Uploads: 5
Originally posted by Sirupsen
Could anyone tell me which path I should put in the .toc file? Or am I wrong on it?
Code:
## OptionalDeps: oUF_BarFader
You also need

Code:
self.barFade = true
for the frame you want to be affected in your layout.


@p3lim could you possibly make it support focus, focus target and target or target please ?
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Report comment to moderator  
Reply With Quote
Unread 10-23-08, 10:39 AM  
Sirupsen
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
Would I be really dumb when I have trouble getting this working?
I really have trouble. Could anyone tell me which path I should put in the .toc file? Or am I wrong on it?
I'm pretty lost.
Report comment to moderator  
Reply With Quote
Unread 08-30-08, 10:41 AM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1710
File comments: 1222
Uploads: 43
Originally posted by Caellian
Would that be so simple, not just colors but also, alpha ? zomg !
You can change oUF Banzai to do whatever you want, really..
Report comment to moderator  
Reply With Quote
Unread 08-30-08, 10:37 AM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar

Forum posts: 281
File comments: 252
Uploads: 5
Originally posted by p3lim
oUF Banzai?
Would that be so simple, not just colors but also, alpha ? zomg !
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Report comment to moderator  
Reply With Quote
Unread 08-30-08, 10:30 AM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1710
File comments: 1222
Uploads: 43
Originally posted by Caellian
Correction, when i said

Originally Posted by Caellian
The frames aren't hidden on first login, i must first do something like pick a target then clear it for it to activate
Actually it's working on my hunter for example.

But when you log in as a rogue you enter the game with an empty energy bar and then it fills in. It should eventually fade once the energy bar is full i guess but it doesn't.
r7 will fix it
Report comment to moderator  
Reply With Quote
Unread 08-30-08, 10:20 AM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1710
File comments: 1222
Uploads: 43
Originally posted by Caellian
Not a feature request, just a curiosity, would that be possible to have the frames light up if they are being aggroed ?
oUF Banzai?
Report comment to moderator  
Reply With Quote
Unread 08-30-08, 10:19 AM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar

Forum posts: 281
File comments: 252
Uploads: 5
Not a feature request, just a curiosity, would that be possible to have the frames light up if they are being aggroed ?
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: