EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #51  
Unread 04-11-2008, 01:53 AM
dragowulf's Avatar
dragowulf dragowulf is offline
A man among men
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Nagafen
Posts: 934
Default

Quote:
Originally Posted by gm9 View Post
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.
I want a progress bar that doesn't resize vertically or horizontally (seems easy to do). I also wanted to see how it would look with the text. I looked at your hotkeys and I saw an abundance of ... and I took a look at the code and it baffled me. A 9 min reuse spell came out something like "4..." which was pretty weird.

I didn't spend to much time, but tomorrow when school is out I will check it out a bit more.

I also wanted something like how the internal health code works where when you hit a certain % and the color changes to from green to yellow to orange to red (or whatever). That would kind of help you know what's going on and how close the spell is to recover.

EDIT: What's the significant difference between drum's code and yours?
__________________
May Jesus Have Mercy On Us
Reply With Quote
  #52  
Unread 04-11-2008, 02:08 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

The 4.... happens when a text object is too small to display all the text. Either you have really small hotkeys or an abundance of long recast timers, otherwise you should not see much of that with my hotkeys.

And I'm not talking about Drumstix code (I was not even aware he released a hotbar with timers), I was thinking about the fact that my code uses the to decimal to integer conversion method discovered by Drum - I thought that's what might have made the code confusing to look at.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #53  
Unread 04-11-2008, 03:55 AM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

Quote:
Originally Posted by gm9 View Post
Accept Drumstix as your hero and you will be enlightened.
lol

...and I haven't made any hotbars with timers. Only hotbar mod I had was a long time ago, before they made the text change automatically if you sized them smaller.
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote
  #54  
Unread 04-11-2008, 06:42 PM
dragowulf's Avatar
dragowulf dragowulf is offline
A man among men
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Nagafen
Posts: 934
Default

A couple questions. gm9 what is TMP1? And is there any easy way of making the progressbar resize and work like the text with a vertical minimum size of 2-4?

Oh and here are the files I made from gm9's hotkeys.
Attached Files
File Type: xml eq2ui_mainhud_hotkey.xml (14.5 KB, 353 views)
File Type: dds otherwidgets.dds (256.1 KB, 340 views)
__________________
May Jesus Have Mercy On Us
Reply With Quote
  #55  
Unread 04-12-2008, 09:05 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

TMP1 is just a dummy variable used for calculation. Just replace the text with the progress bar and you should be good to go really. My code is already doing the resizing.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #56  
Unread 10-24-2008, 04:49 AM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

Ok, well I have the image overlay progressbar working completely on my end. It's kinda sexy, too.

However....
I noticed something in the UIBuilder when working on this and was hoping it wouldn't happen in-game, but it did. Progressbars with a low number (ie: 0.005) seem to round down?
In a nutshell, spells with longer recasts will display the progress bar as being depleted earlier than they should, and thus upsets the whole image overlay.

The depleting red bar will switch to a green bar before it should. I tried it on a 4 minute and 33 second recast spell (273 seconds) and the greenbar showed up 8 second too early. That's 0.029 technically, or 2.9% of the time too early. An hour long recast would then show up over a minute too soon. This is not good.

So.... kinda stuck here.

The good news? You can have a 2 pixel high bar "ABOVE" the hotbar numbers without covering them. Text doesn't sit quite so close to the top. Can probably even go to 3, but 4 would be pushing it. You could probably also put it at the bottom without fear of covering the "item charge" numbers.

Notes.... with an always visible filter (dynamicdatafilter: FFFE) the bar stays visible, but this also results in the bar showing for icons that are blank, and maintained buffs, however this isn't too bad. I just tied the bars to the Titlebar being visible, and I keep most of my "maintained" and other icons on the same hotbars.
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>

Last edited by Drumstix42 : 10-24-2008 at 05:09 AM.
Reply With Quote
  #57  
Unread 10-24-2008, 08:24 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

I forwarded your report to Zoltaroth, he's the one with whom I discussed the implementation of this back in April and who created the entire DD. I'm however assuming that with the upcoming expansion it might take a while until he has breathing space for this.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #58  
Unread 11-14-2008, 02:13 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

Breathing space yet?
I'd really like to see this working and completed!
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote
  #59  
Unread 11-14-2008, 03:43 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Got no response yet.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #60  
Unread 04-03-2009, 04:36 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

Glad to see the bars staying red until spells are usable as of GU#51

__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote
Reply



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
Forum Jump


All times are GMT -5. The time now is 09:53 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI