Download
(1Kb)
Download
Updated: 03-02-12 04:24 AM
Addon for:
oUF.
Updated:03-02-12 04:24 AM
Created:unknown
Downloads:21,901
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 08-29-08, 11:46 AM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar

Forum posts: 281
File comments: 252
Uploads: 5
Oh neat, may i suggest a few more conditions

Show pet frame if pet happiness goes below green. (no clue how to do it)


Show pet frame if pet health/mana/foucs isn't full (got it working but so far it also keep the player frame shown even if the player if full instead of only the pet)

Also not sure if it's the normal behaviour but it doesn't fade on first login even if all conditions are met, it does after a /rl or a switch character though. (fixed myself)

Oh and the fade/unfade on casting doesn't seems to work.
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Last edited by Caellian : 08-29-08 at 12:53 PM.
Report comment to moderator  
Reply With Quote
Unread 08-29-08, 01:07 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 Caellian
Oh neat, may i suggest a few more conditions

Show pet frame if pet happiness goes below green. (no clue how to do it)


Show pet frame if pet health/mana/foucs isn't full (got it working but so far it also keep the player frame shown even if the player if full instead of only the pet)

Also not sure if it's the normal behaviour but it doesn't fade on first login even if all conditions are met, it does after a /rl or a switch character though. (fixed myself)

Oh and the fade/unfade on casting doesn't seems to work.
I have some fixes in mind, and I can add the first request you gave me. Tonight maybe?
Report comment to moderator  
Reply With Quote
Unread 08-29-08, 04:31 PM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar

Forum posts: 281
File comments: 252
Uploads: 5
I'm gonna clarify my previous post, it really didn't look clear

Suggestions

- Make every frames independants
Exemple: My pet isn't full health/power but i am full health/power and ooc etc etc, then fade the relevants frames but not the pet frame.

- Make the pet frame show if the happiness level isn't max, if you even want to push the cosmetic side, take as example then : green = 0% alpha, yellow = 50% alpha, red = 100% alpha

- Eventually include the focus frame, there again independant, as in, my focus can not be full health/power when i am, or, my focus can have a target when i don't.

Possibles bugs

- The show on casting doesn't seems to work but it might just be me being too hurry to try it. (trying with mount/hearthstone)

- The frames aren't hidden on first login, i must first do something like pick a target then clear it for it to activate, i'll try RegisterEvent('PLAYER_ENTERING_WORLD') to see if that help.
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Last edited by Caellian : 08-29-08 at 04:33 PM.
Report comment to moderator  
Reply With Quote
Unread 08-30-08, 06:22 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
- Make every frames independants
Exemple: My pet isn't full health/power but i am full health/power and ooc etc etc, then fade the relevants frames but not the pet frame.
added in r6


Originally posted by Caellian
- Make the pet frame show if the happiness level isn't max, if you even want to push the cosmetic side, take as example then : green = 0% alpha, yellow = 50% alpha, red = 100% alpha
not exactly what I added in r6, but it will do:
anything below green is 100%


Originally posted by Caellian
- Eventually include the focus frame, there again independant, as in, my focus can not be full health/power when i am, or, my focus can have a target when i don't.
added in r6


Originally posted by Caellian
- The show on casting doesn't seems to work but it might just be me being too hurry to try it. (trying with mount/hearthstone)
Its what I tested with too, and it worked for me :S


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, i'll try RegisterEvent('PLAYER_ENTERING_WORLD') to see if that help.
Thats very odd as it already registers PLAYER_LOGIN

You sure you were at max hp/mana? :P
Last edited by p3lim : 08-30-08 at 08:29 AM.
Report comment to moderator  
Reply With Quote
Unread 08-30-08, 06:38 AM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar

Forum posts: 281
File comments: 252
Uploads: 5
Nothing to add, you really are the best
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Report comment to moderator  
Reply With Quote
Unread 08-30-08, 08:30 AM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1710
File comments: 1222
Uploads: 43
Updated my previous comment to the new version.
Report comment to moderator  
Reply With Quote
Unread 08-30-08, 10:06 AM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar

Forum posts: 281
File comments: 252
Uploads: 5
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.
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Report comment to moderator  
Reply With Quote
Unread 08-30-08, 10:10 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.
Got same issue, will fix it asap
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
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: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: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: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 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 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
Post A Reply



Category Jump: