Request for ocb3

Request for ocb3

by Lighthammer » Wed Sep 30, 2015 4:34 pm

I recently started using ocb3 and I like it a lot, however I find it slightly annoying that the channeled castbar doesn't show what spell it is and it's not as wide as the normal cast bar.

Here's the castbar for shadowbolt:
Image

and here's for rain of fire:
Image

Is there any way to fix this?

Thanks for your work, brilliant addon.
Yarvaxea warlock classleader of <Dagordacil>
Apply at http://dagordacil.com/
User avatar
Lighthammer
Sergeant
Sergeant
 

Re: Request for ocb3

by Athene » Wed Sep 30, 2015 5:37 pm

May be possible, I'll look at it ^^

I think I'll add the possibility to choose font and font size because it looks fuzzy with other UIScales.
<Genesis>
youtube.com/GenesisGuilde

MSBT [Continued] landed on Nostalrius, check it here: forum.nostalrius.org/viewtopic.php?f=63&t=1721
User avatar
Athene
Senior Sergeant
Senior Sergeant
 

Re: Request for ocb3

by Rhena » Wed Sep 30, 2015 6:35 pm

Its not provided by the ui by default. The blizzard bars don't show it either. You would have to change quite a lot of code to make it work.
Author of LunaUnitFrames - The most advanced unit frames for classic WoW. Visit my GitHub page for them and some other tools i wrote.
Rhyna - Warrior | Nost PvP | Alliance
User avatar
Rhena
Sergeant Major
Sergeant Major
 

Re: Request for ocb3

by Athene » Wed Sep 30, 2015 6:45 pm

For the mages it's possible with simple logic, evocation gives a buff and Blizzard doesn't so we can guess which spell is being channeled by looking at the buff.

Now for the warlocks it's another thing...
<Genesis>
youtube.com/GenesisGuilde

MSBT [Continued] landed on Nostalrius, check it here: forum.nostalrius.org/viewtopic.php?f=63&t=1721
User avatar
Athene
Senior Sergeant
Senior Sergeant
 

Re: Request for ocb3

by Lighthammer » Wed Sep 30, 2015 6:49 pm

Thank you Athene! The font thing would be nice too, I personally enjoy the font that is in the addon now, but more choice is always better^^

One solution to the channeling thing might to just make the castbar be equal to the width whenever something is channelled, instead of the width minus the icon size.

But I don't know much about lua programming heh..
Yarvaxea warlock classleader of <Dagordacil>
Apply at http://dagordacil.com/
User avatar
Lighthammer
Sergeant
Sergeant
 

Re: Request for ocb3

by Athene » Wed Sep 30, 2015 6:51 pm

Also we can guess the spell by looking at the channeling duration :p
<Genesis>
youtube.com/GenesisGuilde

MSBT [Continued] landed on Nostalrius, check it here: forum.nostalrius.org/viewtopic.php?f=63&t=1721
User avatar
Athene
Senior Sergeant
Senior Sergeant
 

Re: Request for ocb3

by Lighthammer » Wed Sep 30, 2015 7:11 pm

Yes indeed, the icon itself is not that important. It just bugs my OCD that the bar shrinks whenever I rain fire and brimstone on my unfortunate enemies, or summon a vast demon from the nether to undo the pity mortals who stand in my way (and possibly a priest or two).
Yarvaxea warlock classleader of <Dagordacil>
Apply at http://dagordacil.com/
User avatar
Lighthammer
Sergeant
Sergeant
 

Re: Request for ocb3

by Rhena » Wed Sep 30, 2015 9:41 pm

What you actually do is hook the casting methods to save the last spell that was requested to cast and when the start channeling event occurs its the saved spell.
Author of LunaUnitFrames - The most advanced unit frames for classic WoW. Visit my GitHub page for them and some other tools i wrote.
Rhyna - Warrior | Nost PvP | Alliance
User avatar
Rhena
Sergeant Major
Sergeant Major
 

Re: Request for ocb3

by LYQ » Thu Oct 01, 2015 6:30 am

athene had the casting methods hooked anyways for the lagbar addition, so I think as well that would be the simplest option
LYQ / Virose
Talentsaver (viewtopic.php?f=63&t=15429) - Totemtimers Enhanced (viewtopic.php?f=63&t=24422)
NostalriusAcceptTrade (viewtopic.php?f=63&t=31729)
User avatar
LYQ
Sergeant Major
Sergeant Major
 

Re: Request for ocb3

by Athene » Thu Oct 01, 2015 11:42 am

Yup it's the simplest and so far it works.
I just need to see if BabbleSpell finds an icon for every spell and it'll be alright, for the channeling part ;)
<Genesis>
youtube.com/GenesisGuilde

MSBT [Continued] landed on Nostalrius, check it here: forum.nostalrius.org/viewtopic.php?f=63&t=1721
User avatar
Athene
Senior Sergeant
Senior Sergeant
 

Next

Return to Addons & macros