![]() |
How to create a reuse timer overlay for the hotbars?
Well. It is indeed for your hotbar spells....my question is....how would we use it?
|
Quote:
|
I haven't tried this yet, but as I posted elsewhere my understanding was you would need to add an overlay (such as a <Volume>) to the hotbutton file with text objects that receive the DD and are positioned over the buttons.
|
Quote:
Iconsize/Iconpadding in the Icon's iconbank only goes by 1 integer, so if I were to try OnHoverIn='CellSize=Parent.Icons.IconSize' it wouldnt work because the cellsize takes x,y and not x |
Just assign CellSize=Parent.Icons.IconSize ## ',' ## Parent.Icons.IconSize
|
Quote:
|
Does OnChange work for IconBank?????
|
Not that I know of, but you can try. The only thing I can think of without checking that has OnChange is a sliderbar. I'd say OnPress and OnHoverIn will be your friends.
|
This is my code for the Hotkey page:
Volume.CellSize=IconPage.Icons.IconSize ## ',' ## IconPage.Icons.IconSize Volume.CellPadding=IconPage.Icons.IconPadding ## ',' ## IconPage.Icons.IconPadding I have it on OnHoverIn for testing right now. CellSize works well, but when I do IconPadding it totally screws it up. I'm testing with my Hotkey window (Which came from yours). The default iconsize is 32 and padding is 0. I can move the size to anything and the volume will go along with it, but once i change padding from 0 it doesn't seem to resize correctly. |
1 Attachment(s)
Heres my file so you don't have to completely do it yourself. As you would be able to see, the CellSize/IconSize works well...but the CellPadding/IconPadding doesn't seem like it will be able to work unless it is 0
|
Quote:
Volume.CellSize=IconPage.Icons.IconSize ## ',' ## IconPage.Icons.IconSize or Volume.CellSize=(IconPage.Icons.IconSize)##(',')##(IconPage.Icons.IconSize) Volume.CellPadding=(IconPage.Icons.IconPadding)##(',')##(IconPage.Icons.IconPadd ing) or (I think) Volume.CellSize=(IconPage.Icons.IconSize ## ',' ## IconPage.Icons.IconSize) Volume.CellPadding=(IconPage.Icons.IconPadding ## ',' ## IconPage.Icons.IconPadding)PS: Let me know if you want me to move our discussion in a separate thread, not sure if we are bordering on off topic here... |
You should move it
|
1 Attachment(s)
I did:
Volume.CellSize=IconPage.Icons.IconSize ## ',' ## IconPage.Icons.IconSize Volume.CellPadding=IconPage.Icons.IconPadding ## ',' ## IconPage.Icons.IconPadding It was unnecessary anyways because what I had before worked just fine. And it knew (somehow) where the command began and ended. When you have free time you should check this out yourself. |
I will, but I probably won't have time today.
|
Btw, I just had a great idea (I think, lol) - while I don't like the text overlay, I do like the idea of a graphical overlay. You could use the DD to fade out a color overlay (a bit like we currently have) or just to flash a very visible notification once the value hits zero. You can probably normalize the fading by assigning the DD to a sliderbar with a capped maximum (not entirely sure it will even accept higher values but I think it does and just limits them) and forward them OnChange. Ah, I'll have to think about this, endless possibilities.
|
Quote:
|
True, but you can't really see that one, and also I'm thinking about putting this only on some buttons with very long cast times. Or maybe not. I'll think about it.
|
Actually for me the point of having reuse timers visible as text is to know when _exactly_ my spells will be up again to have my spell queueing optimized. Right now it is more like: your spell will be up .. well .. soon(tm) :P
I don't see a graphical overlay giving me more information than I have now. |
Quote:
Quote:
Yeah. I like the text so I know the exact min, sec, .sec, etc. This would be very good because then you would know EXACTLY which spell is going to come next when you're doing your spell combos. gm9: I would be for it if it were more of a 1 colored progress overlay, kind of like the vertical one built in, but more visible and easier to see. I would like to have text on it as well because of the above reply to Kal |
1 Attachment(s)
I dont know how I'd like the numbers but something like this would be sexy imo...
:) |
Quote:
|
Quote:
Only possibly have the color change according to time remaining... IE <5s the bar be red, 5<X<10 seconds it be orange, 10<X<30 it be yellow, 30<X<60 it be say yellow-green, 60<X<5m it be green, and then maybe 5m<X<15m it be blue, and >15m it be purple. Or if thats a mite complex (it kinda is) perhaps scale it based on cur/max... <10% red, 10-25% orange, 25-50% yellow, 50%+ yellow-green. |
Nice Dolby, that's what I had in mind, but yours looks more professional than my imagination. ;)
|
Cant really help with the xml but any art assets you need I can create them as I have time. :)
|
Now that is sexy.
|
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. |
Quote:
|
Quote:
|
I thought to either
|
Quote:
Of course this all is assuming you can use this DD with a ProgBar. |
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. |
2 Attachment(s)
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. |
2,...? :P
Is it still readable when using a small font with the shortened reading like 2m 16s ? |
1 Attachment(s)
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. |
why not make it so when it hits ready it would be visible=false???
|
As I said above, I asked Rothgar to add that
|
Quote:
|
How do i make volumepage iconpadding work with it?
Quote:
|
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.
|
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:
|
| All times are GMT -5. The time now is 11:51 PM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI