Download
(17Kb)
Download
Updated: 08-19-18 03:41 PM
Pictures
File Info
Compatibility:
Battle for Azeroth (8.0.1)
Updated:08-19-18 03:41 PM
Created:02-09-09 05:18 PM
Downloads:124,907
Favorites:531
MD5:

CoolLine  Popular! (More than 5000 hits)

Version: 8.0.002
by: totalpackage, Phanx, Uitat

CoolLine is a spell/item cooldown mod that displays icons on a single bar/line to give you an idea of when it will be ready. No statusbar timer and no text timer.

CoolLine is inspired by Forte_Cooldown (a module in the ForteXorcist package). CoolLine is basically a stripped down and standalone version written from scratch. The name comes from putting "cooldown" and "timeline" together (yes, lame).

YouTube Intro

How to Use

  • Change settings - "/coolline" or check Interface Options -> AddOns
  • Change position and size - unlock to make it draggable and resizable
  • Filter/unfilter a spell or item cooldown - "/coolline Spell Item Name Link"
  • Add more fonts/texture - CoolLine uses LibSharedMedia

External Support
  • CoolLine.NewCooldown(name, icon, endtime, isplayer)
    • name - unique string id of the cooldown, used as a look-up id
    • icon - string icon path used to display image on the bar
    • endtime - numerical time when the icon should expire, based on GetTime()
    • isplayer - boolean value used to determine if the icon is colored by spell
  • CoolLine.ClearCooldown(unused, name)

Notes
  • Only one spell/item will be shown in an event that multiple spells/items share the same cooldown (whichever appeared first).
  • By design, icons will often overlap; if you do not like it, this type of cooldown mod is not for you.
  • What you see is what you get. If you like the idea of this mod but want more, I highly suggest checking out ForteXorcist or Ellipsis. I'll most likely ignore requests to make CoolLine more similar to them.
  • CoolLine only does spell/item cooldowns and NOT buff/debuff cooldowns, flight timers, time til enrage, etc; this will NOT change so don't ask.

Recently, I (TotalPackage) had some requests for donation info, so here it is. Do not feel obligated; donations (or lack of) will not determine what features I do or do not implement.

CoolLine
8.0.002 (2018-08-19)
Full Changelog Previous releases
  • Remove special treatment for obsolete DK spells
Post A Reply Comment Options
Unread 02-09-09, 07:02 PM  
search66
A Kobold Labourer

Forum posts: 0
File comments: 32
Uploads: 0
Nice

Love the mod. Keep up the great work!
Report comment to moderator  
Reply With Quote
Unread 02-09-09, 07:12 PM  
ohnoes
A Kobold Labourer

Forum posts: 1
File comments: 2
Uploads: 0
Ohh, I was just looking for a replacment for Ellipisis's cooldown bar (same inspiration). Just one feature request, can there be a setting to adjust how long the cooldown bar is? I don't really care for 10 minute cooldowns.
Report comment to moderator  
Reply With Quote
Unread 02-09-09, 07:29 PM  
Sarmion
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Nice addon, but he not work on Ru servers. Only show CD on Items :<
Report comment to moderator  
Reply With Quote
Unread 02-09-09, 07:33 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 940
Uploads: 10
Originally posted by ohnoes
Ohh, I was just looking for a replacment for Ellipisis's cooldown bar (same inspiration). Just one feature request, can there be a setting to adjust how long the cooldown bar is? I don't really care for 10 minute cooldowns.
Ah, didn't know about Ellipisis. No on changing the time scale. I like the 30 to be in the middle; plus, the 3m-10m section is a compromise for all classes. Seems like both Ellipisis and ForteXorcist allows you to change scales, so you probably shouldn't switch to CoolLine.
Report comment to moderator  
Reply With Quote
Unread 02-09-09, 07:50 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 940
Uploads: 10
Originally posted by Sarmion
Nice addon, but he not work on Ru servers. Only show CD on Items :<
If you can, edit and test a change by replacing lines 310 and 311 in core.lua with this:
Code:
local cooldown1 = gsub(SPELL_RECAST_TIME_MIN, "%%%.%d[fg]", "(.+)")
local cooldown2 = gsub(SPELL_RECAST_TIME_SEC, "%%%.%d[fg]", "(.+)")
Edit: Nevermind, try testing the latest update instead.
Last edited by totalpackage : 02-09-09 at 08:13 PM.
Report comment to moderator  
Reply With Quote
Unread 02-09-09, 07:50 PM  
search66
A Kobold Labourer

Forum posts: 0
File comments: 32
Uploads: 0
After playing with it a bit more... Just to clarify... to EXCLUDE an item/spell....

/coolline <item>


yes?
Report comment to moderator  
Reply With Quote
Unread 02-09-09, 08:00 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 940
Uploads: 10
Originally posted by search66
After playing with it a bit more... Just to clarify... to EXCLUDE an item/spell....

/coolline <item>
Yea, spell or item name (not link). If it already exists in the filter, it will be removed.
Last edited by totalpackage : 02-09-09 at 08:02 PM.
Report comment to moderator  
Reply With Quote
Unread 02-09-09, 08:24 PM  
Carighan
A Defias Bandit
 
Carighan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 96
Uploads: 1
Just earlier today I was telling a guildie how I'd be \o/ if someone rips out the cooldown from ForteXorcist, and removes al the unnecessary fluff and rips it down to just the logarithmic bar.

Many thanks for this mod, looks awesome after a brief setup ingame.

I do know you're not hot on feature requests, but one thing I'd like to bring up though I don't have an idea fo a solution which isn't unecessary fluff: For many classes, trinkets/items have the same icons as their abilities, making the cooldowns confusing.
And no, no clue if there as an easy and minimal way to do something about that.

But doesn't have to be changed really, love the mod already.
__________________
SQUEAK.
--(The Death of Rats, Terry Pratchett, Soul Music)
Report comment to moderator  
Reply With Quote
Unread 02-09-09, 08:27 PM  
Sarmion
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Originally posted by totalpackage
If you can, edit and test a change by replacing lines 310 and 311 in core.lua with this:
Code:
local cooldown1 = gsub(SPELL_RECAST_TIME_MIN, "%%%.%d[fg]", "(.+)")
local cooldown2 = gsub(SPELL_RECAST_TIME_SEC, "%%%.%d[fg]", "(.+)")
Edit: Nevermind, try testing the latest update instead.
This change has not helped me
Last edited by Sarmion : 02-09-09 at 08:29 PM.
Report comment to moderator  
Reply With Quote
Unread 02-09-09, 10:45 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 940
Uploads: 10
Originally posted by Sarmion
This change has not helped me
No idea then, sorry.
Report comment to moderator  
Reply With Quote
Unread 02-11-09, 05:23 PM  
Feist
A Murloc Raider

Forum posts: 6
File comments: 15
Uploads: 0
Can this track buff/debuff fades along with cooldowns?

If so, I'm in love.
Report comment to moderator  
Reply With Quote
Unread 02-14-09, 08:12 PM  
gothicknight
A Flamescale Wyrmkin
 
gothicknight's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 131
File comments: 87
Uploads: 1
Originally posted by Feist
Can this track buff/debuff fades along with cooldowns?

If so, I'm in love.
Quoted from the description page

CoolLine only does spell/item cooldowns and not buff/debuff cooldowns, flight timers, time til enrage, etc; this will not change so don't ask.
__________________

Report comment to moderator  
Reply With Quote
Unread 02-14-09, 10:24 PM  
Eas
A Rage Talon Dragon Guard
 
Eas's Avatar
AddOn Author - Click to view AddOns

Forum posts: 311
File comments: 6
Uploads: 4
Very nice addon. Been looking for something like this for awhile!
Report comment to moderator  
Reply With Quote
Unread 02-15-09, 04:43 AM  
KhabalShatteredHand
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Nice mod, but a smaller scale would make it a lot nicer. If I could adjust the scale, I probably put it at 0-1-2-3-4-5-10.
Report comment to moderator  
Reply With Quote
Unread 02-15-09, 06:02 AM  
KhabalShatteredHand
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
TotalPackage did an awesome job at coding this addon, which made it very easy for me to modify. I modified these sections of core.lua to change the scale of the bar. Seems to work perfectly. Beware though, I did delete the part of the code that made the icons get bigger during the last .3 seconds, and also the fading out part. As soon as the cooldown hits zero the spell icon instantly disappears. The scale is 0s-1s-2s-3s-4s-20s-2m, and I like it a whole lot better.

Code:
		tick0 = createfs(tick0, "0", 0, "LEFT")
		tick1 = createfs(tick1, "1", section)
		tick10 = createfs(tick10, "2", section * 2)
		tick30 = createfs(tick30, "3", section * 3)
		tick60 = createfs(tick60, "4", section * 4)
		tick120 = createfs(tick120, "20", section * 5)
		tick300 = createfs(tick300, "120", section * 6, "RIGHT")
Code:
local ctime = GetTime()
	isactive, throt = false, 1.5
	for name, frame in pairs(cooldowns) do
		local remain = frame.endtime - ctime
		local alpha = .8
		if remain < 3 then
			if remain > 2 then
				SetupIcon(frame, section * (2 + (remain - 2) / 1), alpha, 0, true, ctime)
			elseif remain > 1 then
				SetupIcon(frame, section * (1 + (remain - 1) / 1), alpha, 0, true, ctime)
			elseif remain > 0.3 then
				SetupIcon(frame, section * remain, alpha, 0, true, ctime)
			elseif remain > 0 then
				
				SetupIcon(frame, section * remain, alpha, 0, true, ctime)
			else
				throt, isactive = min(throt, 0.2), true
				ClearCooldown(frame)
			end
		elseif remain < 4 then
			SetupIcon(frame, section * (3 + (remain - 3) / 1), alpha, 0, true, ctime)
		elseif remain < 20 then
			SetupIcon(frame, section * (4 + (remain - 4) / 16), alpha, 0.05, true, ctime)
		elseif remain < 120 then
			SetupIcon(frame, section * (5 + (remain - 20) / 100), 0.4, .15, true, ctime)
		else
			SetupIcon(frame, 6 * section + db.h, 0, 1.5, false, ctime)
		end
	end
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: