Download
(1Kb)
Download
Updated: 12-30-09 03:50 PM
Updated:12-30-09 03:50 PM
Created:12-26-09 05:41 AM
Downloads:5,417
Favorites:28
MD5:

ncCooldown  Popular! (More than 5000 hits)

Version: 1.4
by: nobgul, Nobgul

ncCooldown is a little addon that modifies the way cooldowns are shown in WoW. Instead of a cooldown spiral(yes, INSTEAD) it shows the cooldown as text. This addon works on everything that has a cooldown spiral, for example actionbuttons and buffs. If the cooldown spiral is owned by an actionbutton it fades the actionbutton out. Inspired by OmniCC.

Upcoming features:
- None
Suggest features!

Usage:
There is no in-game config, all config can be found in the .Lua file. The config looks like this:

lua Code:
  1. -- if set to true buttons will fade when they are on cooldown
  2. local fade = true
  3.  
  4. -- if the cooldown remainder is less than this in seconds the tresholdcolor will be applied and the cooldown will be shown in decimals
  5. local treshold = 6.5
  6.  
  7. -- the color of the cooldowntext in red, green, blue values
  8. local color = {255/255, 255/255, 255/255}
  9.  
  10. -- the color of the cooldowntext when below the treshold in red, green, blue values
  11. local tresholdcolor = {255/255, 0/255, 0/255}

1.4
--
Fixed the issue of cooldowns not clearing.

1.3
--
Added decimal support under the treshold

1.2
--
Fixed a fading issue

1.1 & 1.1a
--
Fixed major bug with the number rendering black and minor variable issue

1.0
--
Initial release
Optional Files (0)


Post A Reply Comment Options
Unread 12-26-09, 06:14 AM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 371
Uploads: 0
Can you add a picture so i can see how it looks like?
Report comment to moderator  
Reply With Quote
Unread 12-26-09, 06:36 AM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 716
File comments: 428
Uploads: 22
Originally posted by Skylinee
Can you add a picture so i can see how it looks like?
I'm sorry, this is impossible for now, since I'm on a computer without WoW installed. Tomorrow I will post a picture.
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
Report comment to moderator  
Reply With Quote
Unread 12-26-09, 09:21 AM  
Garagar
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
text color bug

Hi,

there is a "small" bug that makes the text to be rendered in black in my case. replacing:
Code:
                if remaining > treshold then
                        self.text:SetTextColor(color)
                else
                        self.text:SetTextColor(tresholdcolor)
                end
with
Code:
                if remaining > treshold then
                        self.text:SetTextColor(unpack(color))
                else
                        self.text:SetTextColor(unpack(tresholdcolor))
                end
fixed it for me.
Report comment to moderator  
Reply With Quote
Unread 12-26-09, 09:28 AM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 716
File comments: 428
Uploads: 22
Re: text color bug

Originally posted by Garagar
Hi,

there is a "small" bug that makes the text to be rendered in black in my case. replacing:
Code:
                if remaining > treshold then
                        self.text:SetTextColor(color)
                else
                        self.text:SetTextColor(tresholdcolor)
                end
with
Code:
                if remaining > treshold then
                        self.text:SetTextColor(unpack(color))
                else
                        self.text:SetTextColor(unpack(tresholdcolor))
                end
fixed it for me.
Holy shit, forgot that! Thanks for the reply, updating now.
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
Report comment to moderator  
Reply With Quote
Unread 12-26-09, 10:01 AM  
Garagar
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
Re: Re: text color bug

Originally posted by nightcracker
Holy shit, forgot that! Thanks for the reply, updating now.
No problem; btw looking at function startcd I see var fontSize is defined but not used.
Report comment to moderator  
Reply With Quote
Unread 12-26-09, 10:12 AM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 716
File comments: 428
Uploads: 22
Re: Re: Re: text color bug

Originally posted by Garagar
No problem; btw looking at function startcd I see var fontSize is defined but not used.
Thanks for the comment mate, forgot to delete it :P
Is everything else working fine?
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
Last edited by nightcracker : 12-26-09 at 10:13 AM.
Report comment to moderator  
Reply With Quote
Unread 12-26-09, 10:19 AM  
Garagar
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
Re: Re: Re: Re: text color bug

Originally posted by nightcracker
Thanks for the comment mate, forgot to delete it :P
Is everything else working fine?
looks good to me so far; I'm on the edge of recommending it to Tukz as replacement for OmniCC_Basic.
Report comment to moderator  
Reply With Quote
Unread 12-26-09, 10:28 AM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 716
File comments: 428
Uploads: 22
Re: Re: Re: Re: Re: text color bug

Originally posted by Garagar
looks good to me so far; I'm on the edge of recommending it to Tukz as replacement for OmniCC_Basic.
And does the button fading work(I'm currently on a computer without WoW installed, that's why)?
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
Report comment to moderator  
Reply With Quote
Unread 12-26-09, 10:44 AM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 371
Uploads: 0
Fade working fine except for a small bug. I used Rapid Fire on my hunter triggering the 3 min CD and the button faded out. I then used Readiness to clear all CD's, but the button stays faded out.
Report comment to moderator  
Reply With Quote
Unread 12-26-09, 10:54 AM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 716
File comments: 428
Uploads: 22
Originally posted by Skylinee
Fade working fine except for a small bug. I used Rapid Fire on my hunter triggering the 3 min CD and the button faded out. I then used Readiness to clear all CD's, but the button stays faded out.
Indeed, a bug, simple fix, uploading now.
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
Report comment to moderator  
Reply With Quote
Unread 12-26-09, 01:31 PM  
jasje
A Chromatic Dragonspawn
 
jasje's Avatar
AddOn Author - Click to view AddOns

Forum posts: 150
File comments: 279
Uploads: 4
Hoping this will be bug free soon, i like the id of fading out spells on cd.
__________________

Tukui | Github
Report comment to moderator  
Reply With Quote
Unread 12-26-09, 02:23 PM  
Monolit
A Black Drake
AddOn Author - Click to view AddOns

Forum posts: 81
File comments: 428
Uploads: 7
Nice idea.
I faced a bug today though:

(using dominos:
Bar#2 - at the top, Bar#1 - bottom)

Every time you use an ability with cooldown on bar#1 you get a proper cd in place,



but if you reload UI after that and then cast any ability (that triggers GCD) you get that:



So basically short GCD triggers false multiplying of wrong cooldown text
Report comment to moderator  
Reply With Quote
Unread 12-26-09, 03:21 PM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 371
Uploads: 0
Is there a way to make the font slightly bigger?
Report comment to moderator  
Reply With Quote
Unread 12-27-09, 02:23 AM  
Garagar
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
Originally posted by Skylinee
Is there a way to make the font slightly bigger?
Search for this line and replace / increase the multiplier in 2nd argument (0.5*height):
Code:
		text:SetFont("Fonts\\FRIZQT__.ttf", 0.5*height, "THINOUTLINE")
Last edited by Garagar : 12-27-09 at 02:23 AM.
Report comment to moderator  
Reply With Quote
Unread 12-27-09, 04:10 AM  
algo
A Kobold Labourer

Forum posts: 1
File comments: 5
Uploads: 0
Nightcracker, fantastic addon!

I'm not sure how to put it, but... some abilities that could not be used due to GCD are shown as ready-to-use! I mean, some of them have GCD spiral animation, and some - don't. Which is confusing sometimes. I guess once a button shows your time-left-number, well, it stopped showing GCD spiral.

Is there any way to show the GCD spiral no matter what?

Or is it just me)

Thanks in advance!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: