|
02-28-2008, 12:56 AM
|
Slayer of clock cycles
|
|
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
|
|
Played with this idea just a tad today before raids and I don't think it can be done. The only DD I can see that might could be used is DynamicData.SpellInfo.Bank_X.Key_X.ReuseSec but u can't use that in a ProgBar because there is no way to reliably set the Max value.
I love the idea and have wanted what Dolby posted for some time now. Maybe someone will have more time to work with it then I and figure something out.
|
02-28-2008, 12:58 AM
|
Fetish Core author
|
|
Join Date: Jun 2005
Server: Crushbone
Posts: 2,667
|
|
Quote:
Originally Posted by Landiin
Played with this idea just a tad today before raids and I don't think it can be done. The only DD I can see that might could be used is DynamicData.SpellInfo.Bank_X.Key_X.ReuseSec but u can't use that in a ProgBar because there is no way to reliably set the Max value.
I love the idea and have wanted what Dolby posted for some time now. Maybe someone will have more time to work with it then I and figure something out.
|
MM. Would it be possible to set the max value as the first non-zero value after the icon is clicked on? That should be the max reuse, no?
|
02-28-2008, 01:23 AM
|
|
A man among men
|
|
Join Date: Dec 2004
Server: Nagafen
Posts: 934
|
|
Quote:
Originally Posted by lordebon
MM. Would it be possible to set the max value as the first non-zero value after the icon is clicked on? That should be the max reuse, no?
|
It sounds like something that _could_ be done like that. I'll give it a few goes tomorrow.
__________________
May Jesus Have Mercy On Us
Last edited by dragowulf : 02-28-2008 at 01:27 AM.
|
02-28-2008, 03:41 AM
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
I thought to either
- as I posted above, not set a maximum value at all, ie have all bars just run for eg 5 seconds. It will have to be seen but with a spell having a 15 minute recast I don't think you won't ever see that bar moving if you set the correct max, or
- set a maximum value OnShow of an element carrying the DD, or
- set a maximum value OnPress as proposed by lordebon
|
02-28-2008, 09:21 AM
|
Slayer of clock cycles
|
|
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
|
|
Quote:
Originally Posted by gm9
I thought to either
- as I posted above, not set a maximum value at all, ie have all bars just run for eg 5 seconds. It will have to be seen but with a spell having a 15 minute recast I don't think you won't ever see that bar moving if you set the correct max, or
- set a maximum value OnShow of an element carrying the DD, or
- set a maximum value OnPress as proposed by lordebon
|
- This is the best course of action IMHO.
- I don't think these DD have a set visible element to them, I could be wrong but its not logical for them to have.
- I think the OnPress script would run before the actual data is populated. Again this is something that would have to be tested. If it did populate the data 1st then resort back to gm9's reason for setting it to 5 sec.
Of course this all is assuming you can use this DD with a ProgBar.
|
03-02-2008, 10:27 AM
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
I'm just playing around with this a bit. Unless I'm missing something major it does not appear possible to assign the dynamic data to either a Progress or a Sliderbar, neither of the would update (not surprisingly for the ProgressBar but I would have thought the Sliderbar should update. Therefore currently I do not see how to mod the graphic representation (ie Dolby's animation) unless someone has an idea.
The icon padding is no problem drago, you just forgot that the IconBank Padding only adds padding around the right and bottom edges, whereas the VolumePage paddings adds padding around all edges.
Quite annoying for a text overlay is that the DD is not invisible if the value is 0, I would have liked to hide the overlay unless there is effectively a reuse timer running.
|
03-02-2008, 11:07 AM
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
Frame & Titlebar mode of upcoming GU43 ProfitUI hotbars:
Would not even look bad if Rothgar could change the DD to set Visible=false if the value is 0. I did send him a PM about that and also about adding a ReusePercent data point for progress bars.
Last edited by gm9 : 03-02-2008 at 11:17 AM.
Reason: pm sent
|
03-02-2008, 11:16 AM
|
A Griffon
|
|
Join Date: Nov 2004
Server: Valor
Posts: 358
|
|
2,...? :P
Is it still readable when using a small font with the shortened reading like 2m 16s ?
|
03-02-2008, 11:24 AM
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
If you use that data, it looks (shortened) like this, ie much too long for (my) hotbars:
Therefore I decided to use the pure numbers and cut them off like 2.... where they become too long. That only happens for spells with reuse times longer than 999 seconds in the default 32 pixel hotbar icon size, and with larger icons it's no problem at all. You could of course also use a smaller font, but I preferred to have it easily readable.
|
03-02-2008, 11:36 AM
|
|
A man among men
|
|
Join Date: Dec 2004
Server: Nagafen
Posts: 934
|
|
why not make it so when it hits ready it would be visible=false???
__________________
May Jesus Have Mercy On Us
|
03-02-2008, 12:10 PM
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
As I said above, I asked Rothgar to add that
|
03-02-2008, 02:18 PM
|
|
A Griffon
|
|
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
|
|
Quote:
Originally Posted by dragowulf
why not make it so when it hits ready it would be visible=false???
|
yeah, don't think there's a plausible way to continually check every hotkey for it being set to 0
|
03-02-2008, 04:38 PM
|
|
A man among men
|
|
Join Date: Dec 2004
Server: Nagafen
Posts: 934
|
|
How do i make volumepage iconpadding work with it?
Quote:
Originally Posted by gm9
I'm just playing around with this a bit. Unless I'm missing something major it does not appear possible to assign the dynamic data to either a Progress or a Sliderbar, neither of the would update (not surprisingly for the ProgressBar but I would have thought the Sliderbar should update. Therefore currently I do not see how to mod the graphic representation (ie Dolby's animation) unless someone has an idea.
The icon padding is no problem drago, you just forgot that the IconBank Padding only adds padding around the right and bottom edges, whereas the VolumePage paddings adds padding around all edges.
Quite annoying for a text overlay is that the DD is not invisible if the value is 0, I would have liked to hide the overlay unless there is effectively a reuse timer running.
|
__________________
May Jesus Have Mercy On Us
|
03-02-2008, 05:03 PM
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
You can't because, as I said, it works differently than the IconPage padding. After Drumstix' discovery it is however now possible to use ui scripting to calculate the correct sizes, and that is what I did.
|
03-16-2008, 09:49 AM
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
Zoltaroth was so helpful to add ReusePercent dynamic data for GU44 (thanks!). So if someone wants to give Dolby's idea a try you could start working now to have it ready in time.
Quote:
Originally Posted by Dolby
I dont know how I'd like the numbers but something like this would be sexy imo...
|
Because of the limitations of the IconBank object I think for hotbars without padding turned on we will only be able to make it work for hotbars that go in a straight line. Otherwise when padding is turned on you could overlay it like I did for the numbers, but note that padding is only added to the right and bottom of the icons in the IconBank, so if you want the ProgressBar to appear on top of it you will need to displace it above the icons like in Dolby's illustration you will need to create some deadspace on top of the IconBank (which won't be so dead then).
|
03-16-2008, 01:36 PM
|
|
A man among men
|
|
Join Date: Dec 2004
Server: Nagafen
Posts: 934
|
|
Quote:
Originally Posted by gm9
Zoltaroth was so helpful to add ReusePercent dynamic data for GU44 (thanks!). So if someone wants to give Dolby's idea a try you could start working now to have it ready in time.
Because of the limitations of the IconBank object I think for hotbars without padding turned on we will only be able to make it work for hotbars that go in a straight line. Otherwise when padding is turned on you could overlay it like I did for the numbers, but note that padding is only added to the right and bottom of the icons in the IconBank, so if you want the ProgressBar to appear on top of it you will need to displace it above the icons like in Dolby's illustration you will need to create some deadspace on top of the IconBank (which won't be so dead then).
|
4 px. or so of deadspace wont hurt the cause.
__________________
May Jesus Have Mercy On Us
|
04-08-2008, 08:11 PM
|
|
A man among men
|
|
Join Date: Dec 2004
Server: Nagafen
Posts: 934
|
|
Quote:
Originally Posted by gm9
Rothgar told me he expects the new version to be on the patcher tomorrow hopefully.
|
Didn't I also hear something about hotkey timer %'s or was that for GU# 45?
__________________
May Jesus Have Mercy On Us
|
04-08-2008, 08:25 PM
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
Quote:
Originally Posted by dragowulf
Didn't I also hear something about hotkey timer %'s or was that for GU# 45?
|
No, according to the information I have that should be part of GU44. Might be Zoltaroth added it to the existing ReuseSec data (assuming that is possible), did you try that?
|
04-08-2008, 09:01 PM
|
|
A man among men
|
|
Join Date: Dec 2004
Server: Nagafen
Posts: 934
|
|
Quote:
Originally Posted by gm9
No, according to the information I have that should be part of GU44. Might be Zoltaroth added it to the existing ReuseSec data (assuming that is possible), did you try that?
|
Code:
<DataSource Name="Key_1">
<DynamicData Name="Name" />
<DynamicData Name="ReuseText" />
<DynamicData Name="ReuseSec" />
That wouldn't sound right. ReuseSec being both seconds and percentages doesn't add up. I'll check it out in a sec
__________________
May Jesus Have Mercy On Us
|
04-08-2008, 09:54 PM
|
|
A man among men
|
|
Join Date: Dec 2004
Server: Nagafen
Posts: 934
|
|
Quote:
Originally Posted by dragowulf
Code:
<DataSource Name="Key_1">
<DynamicData Name="Name" />
<DynamicData Name="ReuseText" />
<DynamicData Name="ReuseSec" />
That wouldn't sound right. ReuseSec being both seconds and percentages doesn't add up. I'll check it out in a sec
|
Ok, I tested it out and this is what I concluded: - As a progress bar the ReuseSec data works in percentages
- As a text the ReuseSec data displays in seconds
- Both the text and the progress bar disappear automatically when the percent/seconds reach 0
Now we got the code and everything, but does anyone have a graphic for the bar? I'm thinking of updating my next release of my hotkey window with both the bar and the seconds.
__________________
May Jesus Have Mercy On Us
|
04-08-2008, 10:09 PM
|
Slayer of clock cycles
|
|
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
|
|
Quote:
Originally Posted by dragowulf
but does anyone have a graphic for the bar? I'm thinking of updating my next release of my hotkey window with both the bar and the seconds.
|
Use the graphic Dolby posted, it looks golden to me. Its already made so all you have to do is convert the jpg to dds and your good to go. If you get this working I'll use it, Hate the number but the bar above is sexy. Plus if you do it, I won't have to and the world we be right lol
But isn't this way off topic?
|
04-08-2008, 10:32 PM
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
Nice, I thought that might be possible to have double-purpose DD. You can filter out the visibility data to keep it visible.
Quote:
Originally Posted by Landiin
Plus if you do it, I won't have to and the world we be right lol
|
haha. dito, except that I would just use a normal progressbar style with a frame, should turn out identical to Dolby's design. I'll add one to my UI anyway I guess since I already have the numbers. If you want to do one for non-straight horizontal bars you'll have to overlay part of the icon I guess, I see no other way.
Quote:
Originally Posted by Landiin
But isn't this way off topic?
|
Um, yes.
I guess I'll move this merry part to the other thread with Dolby's design tomorrow, too lazy to do that now.
|
04-08-2008, 11:12 PM
|
|
A man among men
|
|
Join Date: Dec 2004
Server: Nagafen
Posts: 934
|
|
How would we make the bars? Obviously we couldn't do it above because anything that isn't a full horizontal line would not align.
__________________
May Jesus Have Mercy On Us
Last edited by dragowulf : 04-08-2008 at 11:19 PM.
|
04-10-2008, 10:12 PM
|
|
A man among men
|
|
Join Date: Dec 2004
Server: Nagafen
Posts: 934
|
|
Anyone working on a progress bar? I think the mechanics of the profit code for the text itself is a little over my head for now. I tried and unsuccessfully made a crappy one.
__________________
May Jesus Have Mercy On Us
|
04-11-2008, 01:42 AM
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
Quote:
Originally Posted by dragowulf
I think the mechanics of the profit code for the text itself is a little over my head for now.
|
Accept Drumstix as your hero and you will be enlightened. You will need to use that code or come up with something better. The beauty of my code - if I may say so - is that you do not even need to change it if you want to use a progress bar. You can pretty much exchange the text object with a progress bar object of the same name and it should work out of the box.
Haven't done that yet but will eventuallly.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:12 PM.
|
|