WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Suggestion Box (https://www.wowinterface.com/forums/forumdisplay.php?f=91)
-   -   Cast Bars (https://www.wowinterface.com/forums/showthread.php?t=21008)

Orb 03-10-09 04:42 PM

Cast Bars
 
Could an option be put in place to change cast bars from percentage to cast time?

spiel2001 03-10-09 05:04 PM

Quote:

Originally Posted by Orb (Post 119677)
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.

spiritwulf 03-10-09 06:15 PM

think ill jump on that one, time would be MUCH preferable to percentage.

Bluemystic 03-10-09 09:17 PM

Same here, thanks for that.

ThaOne 04-11-09 01:42 AM

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

spiel2001 04-11-09 07:06 PM

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.

ThaOne 04-11-09 07:54 PM

Quote:

Originally Posted by spiel2001 (Post 125572)
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.

spiel2001 04-11-09 08:51 PM

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.

ThaOne 04-11-09 10:06 PM

ok! Thanks Scott for an excellent addon =)


All times are GMT -6. The time now is 07:45 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI