Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(1 Kb)
Download
Updated: 12-30-09 03:50 PM
Updated:12-30-09 03:50 PM
Created:12-26-09 05:41 AM
Downloads:4,614
Favorites:27
MD5:

ncCooldown

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)


Archived Files (5)
File Name
Version
Size
Author
Date
1.3
1kB
nightcracker
12-27-09 04:33 PM
1.2
1kB
nightcracker
12-26-09 10:56 AM
1.1a
1kB
nightcracker
12-26-09 10:17 AM
1.1
1kB
nightcracker
12-26-09 09:30 AM
1.0
1kB
nightcracker
12-26-09 05:41 AM


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?
Skylinee is offline 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: 714
File comments: 429
Uploads: 31
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.
nightcracker is offline 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.
Garagar is offline 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: 714
File comments: 429
Uploads: 31
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.
nightcracker is offline 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.
Garagar is offline 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: 714
File comments: 429
Uploads: 31
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.
nightcracker is offline 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.
Garagar is offline 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: 714
File comments: 429
Uploads: 31
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.
nightcracker is offline 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.
Skylinee is offline 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: 714
File comments: 429
Uploads: 31
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.
nightcracker is offline 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: 281
Uploads: 8
Hoping this will be bug free soon, i like the id of fading out spells on cd.
__________________

Tukui | Github
jasje is offline 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: 429
Uploads: 8
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
Monolit is offline 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?
Skylinee is offline 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.
Garagar is offline 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!
algo is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: