- Home
- Downloads
-
Addons & Mods
Featured
World of Warcraft
4,842 Server Mods
-
Popular Downloads
- Top World of Warcraft Addons
- Top Rift Addons
- Top Skyrim Mods
- Top Minecraft Server Mods
- Top Terraria Maps
- Top Starcraft II Maps
- Top Runes of Magic Addons
- Top Warhammer Online Addons
- Top Age of Conan Addons
-
- Curse Client
- Premium
- News
- Giveaways
- Forums
!CooldownFader
- 0 Likes
- World of Warcraft
- 57,974 Downloads
- Supports: 4.0.6
- 4 Average Daily Downloads
- Comments
- Created 9/4/2008 5:32:33 PM
- Updated 4/5/2011 4:52:44 AM
- 26 Favorites
- Project Site
- License: GNU General Public License version 2 (GPLv2)
- Release Type: Release
- Newest File: v1.4
About !CooldownFader
Opacity effect on action buttons in cooldown.
Settings
Settings are available through the /cooldownfader and /cdf chat commands.
Usage:
/cooldownfader [name [value]]
| Name (case-sensitive) | Description | Default |
|---|---|---|
minDuration | CooldownFader ignores cooldowns with a duration lower or equal to this value | 1.5 seconds |
minAlpha | Minimal opacity of a faded button : 0 = fully transparent, 1 = fully opaque | 0.15 (15%) |
maxAlpha | Maximal opacity of a faded button : 0 = fully transparent, 1 = fully opaque | 1 (100%) |
effectDuration | Duration of the finishing animation. | 5 seconds |
A small explanation about effectDuration : if effectDuration is set to 5 seconds and the cooldown duration is 20 seconds, the button will be faded during (20-5) = 15 seconds and will start to come back 5 seconds before the cooldown ends.
------------------------------------------------------------------------
r37 | adirelle | 2011-03-04 00:43:36 +0000 (Fri, 04 Mar 2011) | 1 line
Changed paths:
A /tags/v1.4 (from /trunk:36)
Tagging as v1.4
------------------------------------------------------------------------
r36 | adirelle | 2011-03-04 00:43:09 +0000 (Fri, 04 Mar 2011) | 1 line
Changed paths:
M /trunk/!CooldownFader.toc
TOC bump.
------------------------------------------------------------------------
| File Name | Release Type | Game Version | Downloads | Date |
|---|---|---|---|---|
| v1.5-beta-4 | Beta | 4.0.6 | 506 | 4/5/2011 4:52:44 AM |
| v1.5-beta-3 | Beta | 4.0.6 | 155 | 4/4/2011 10:24:41 AM |
| v1.5-beta-2 | Beta | 4.0.6 | - | 3/22/2011 8:58:39 AM |
| v1.5-beta-1 | Beta | 4.0.6 | - | 3/21/2011 10:14:56 AM |
| v1.4 | Release | 4.0.6 | 5,504 | 3/3/2011 6:46:38 PM |
| v1.3 | Release | 3.2.0 | 17,473 | 9/11/2009 12:54:17 AM |
| v1.2 | Release | 3.1.0 | 8,233 | 7/20/2009 2:15:32 PM |
| v1.1 | Release | 3.0.2 | 22 | 10/14/2008 4:16:13 PM |
| v1.0 | Release | 2.4.3 | - | 10/14/2008 4:15:08 PM |
| !CooldownFader-r81367 | Beta | 2.4.3 | 4 | 9/4/2008 1:57:14 PM |
| !CooldownFader-r64599 | Beta | 2.3.3 | 3 | 3/15/2008 6:03:06 AM |
Comments
Thanks in advance!
increases
So, what did I do? I did setup Bartender to show all its bars at 50% Alpha, and tried to tweak your addon to make icons on cooldown 100% visible. For this purpose, I modified the !CooldownFader function:
----------------------------------------------------------
local function updateAlpha(frame)
local remaining = frame.CF_end - GetTime()
if remaining
endCooldown(frame)
else
local alpha = FADED_ALPHA_VALUE + (1.0 - FADED_ALPHA_VALUE) * (1.0 - remaining / frame.CF_duration) ^ 3
frame:SetAlpha(frame.CF_alpha * alpha)
end
end
---------------------------------------------------------
So, again, I am after 100% alpha during the cooldown duration. So I modified
frame:SetAlpha(frame.CF_alpha + alpha)
with
frame:SetAlpha(1.0)
Hoping that the icon would become 100% visible (1.0 Alpha). However, what this change does is to keep the icon with the same alpha than the Bartender bar that holds the icon itself. For example, if Bartender was setup to 0.2 Alpha, after my tweak the cooldown icon will ALWAYS show at 0.2 alpha for the whole duration.
I know this is asking a bit too much, though I would appreciate pointers on how to achieve what I need.
Cheers.
Although I cant find how to configure it, I'd like to set buttons to appear (start fading in) during the last 5 sec of CD. If CD is 2 min then it should stay transparent 1:55 and then start appearing, much easier to track in hardcore PvP