Help

!CooldownFader

Miscellaneous Login to Add Favorites
  • 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
or

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)DescriptionDefault
minDurationCooldownFader ignores cooldowns with a duration lower or equal to this value1.5 seconds
minAlphaMinimal opacity of a faded button : 0 = fully transparent, 1 = fully opaque0.15 (15%)
maxAlphaMaximal opacity of a faded button : 0 = fully transparent, 1 = fully opaque1 (100%)
effectDurationDuration 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.
------------------------------------------------------------------------

Comments

  • #5
    Awsome Adoon. Just one problem: It's impossible to disable the cooldown-spiral on the buttons (even with the option in OmniCC) once this addon is activated. Is there anything I can do to get rid of the uggly cooldown-spiral? Maybe even some selfmade lua-code change?

    Thanks in advance!
  • #4
    Hey there,

    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.
  • #3
    Would be cool to have a feature to ignore certain spells. maybe just a /command ingore spell
  • #2
    Tnx for update, w8ed for this a long time)
  • #1
    Great addon, works nicely with Domino bars.
    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
  • To post a comment, please login or register a new account.
Learn how to disable ads
Learn how to disable ads
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster Addon Downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse.com Experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Minecraft 3D Print Giveaway

Enter Now!