Quantcast
Cast Bars - WoWInterface
 
Thread Tools Display Modes
03-10-09, 04:42 PM   #1
Orb
An Aku'mai Servant
Join Date: Feb 2007
Posts: 31
Cast Bars

Could an option be put in place to change cast bars from percentage to cast time?
 
03-10-09, 05:04 PM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Originally Posted by Orb View Post
Could an option be put in place to change cast bars from percentage to cast time?
This goes back to the layout thing... right now, I can't do that in code, but you could edit the skins to do it. In the HUD, for example, edit [ Interface > AddOns > nUI > Layouts > Default > HUDLayouts > {mode} > nUI_HUDSkin_{mode}_Castbar.lua ] then change "pct_time =" to "cur_time =" and save the file. Reload and nUI will show you current casting time instead of the percent time. If you want to change it in the unit frames, it would be the exact same thing, just a different file.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
03-10-09, 06:15 PM   #3
spiritwulf
A Cobalt Mageweaver
 
spiritwulf's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2006
Posts: 202
think ill jump on that one, time would be MUCH preferable to percentage.
__________________
Traveling through the night on padded feet
the ghost in the dark
to rend and kill
not for pleasure
but for survival
 
03-10-09, 09:17 PM   #4
Bluemystic
A Murloc Raider
Join Date: Feb 2009
Posts: 6
Same here, thanks for that.
 
04-11-09, 01:42 AM   #5
ThaOne
A Fallenroot Satyr
Join Date: Mar 2009
Posts: 26
Is it possible to show tenths or even hundredths of a second Scott?

I'm trying to see what my cast times are on my pally similar to the old way the swing timer mod(s) worked. like cast time you're at of 2.5, etc
 
04-11-09, 07:06 PM   #6
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
I may be mistaken, but looking at the code I have in place in the PTR Beta build 5.01.05, it looks to me like I've already converted the casting bars to use time remaining (cur_time) instead of percent time (pct_time) and that they are showing time in 1/10 second intervals.

I do not show time in 1/100th intervals because nUI is throttled to 30fps update rate maximum (unless you change '/nui framerate {n}') and therefore that number would be spotty.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
04-11-09, 07:54 PM   #7
ThaOne
A Fallenroot Satyr
Join Date: Mar 2009
Posts: 26
Originally Posted by spiel2001 View Post
I may be mistaken, but looking at the code I have in place in the PTR Beta build 5.01.05, it looks to me like I've already converted the casting bars to use time remaining (cur_time) instead of percent time (pct_time) and that they are showing time in 1/10 second intervals.

I do not show time in 1/100th intervals because nUI is throttled to 30fps update rate maximum (unless you change '/nui framerate {n}') and therefore that number would be spotty.
I think I actually lowered the fps to 15...
When I raid 25s I barely hit 10 fps - partially due to running 1680x1050 on an older pc. I'm trying a new res (1280x900, I think) which is the same 16:10 or w/e but I'm trying to see the cast times of my Holy Lights for the Loatheb fight and just to be knowledgeable about it in general (some for talent reasons).

I did go in and replace as the above but I only get the progress of 1 - 2 - 3, etc.. no decimal at all.
 
04-11-09, 08:51 PM   #8
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Yeah -- you won't see the 1/10th times in the current release... the PTR Beta will be released when the 3.1 patch goes live.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
04-11-09, 10:06 PM   #9
ThaOne
A Fallenroot Satyr
Join Date: Mar 2009
Posts: 26
ok! Thanks Scott for an excellent addon =)
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Suggestion Box » Cast Bars

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off