EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   Released (https://www.eq2interface.com/forums/forumdisplay.php?f=28)
-   -   Killarny's Maintained Spells with Duration text (https://www.eq2interface.com/forums/showthread.php?t=2579)

Killarny 04-14-2005 12:49 AM

Killarny's Maintained Spells with Duration text
 
4 Attachment(s)
This simple modification to the maintained spells window is inspired by taco-man's mod but still completely original code.

NOTES

My mod provides a maintained spells window that does two things:

1) Spell icons fill the window from left to right, before moving down to another row of icons.

This is nice for people who put the window in a horizontal configuration.

2) Spell duration text is overlaid on the bottom part of the icon.

INSTALLATION

To install, copy the eq2ui_mainhud_maintained.xml to your Everquest2/UI/mymods folder, and restart EQ2.

DOWNLOAD

Get it here

HISTORY

1.1.1
- Two more versions available: Standard Vertical and 2/3 Vertical
- NO UPDATES MADE TO PREVIOUS VERSION 1.1 RELEASES -

1.1
- Thanks to ger, I was able to use a smaller 12pt font that allows each icon frame to take up less horizontal space.
- Now available in two versions: Standard and 2/3 size icons

1.0
- Original release

FUTURE PLANS

- Hiding the HH part of the duration text when it is 00 (ie: 00:17:25)
- Hiding the duration text when it is 0.0

COMMENTS/REQUESTS/SUGGESTIONS

If you have any ideas or requests for me, let me know - this is my first mod for Everquest 2, so keep that in mind ...

The DynamicData callout for spell duration was broken by SOE in the April 20th patch. Until they fix this, the duration text in this mod (or any other similar mod) will not display.

However, the icon sizes, positioning, and fill styles will still work in this mod.

taco-man 04-14-2005 12:56 AM

looks nice! :D

Tobiah 04-14-2005 01:40 AM

What is the size on icons?

Killarny 04-14-2005 01:51 AM

The icons are standard size, 30x30

nikecmh 04-14-2005 02:07 AM

Quote:

Originally Posted by Killarny
The icons are standard size, 30x30

Any chance there could be a 15x15 Version ? Or something smaller than normal ?

If so, id be using it in a heartbeat. On raids having sometimes 24 Breezes cast on people, tends to fill up space. I love the countdown being displayed. Looks nice.

Killarny 04-14-2005 10:27 AM

Well, I could make the icons smaller, but the text still takes up the same amount of space, so it'd be kinda pointless, except for visual satisfaction.

The duration text with HH:MM:SS in it takes up a full 40 pixels of width - so each icon frame is actually 40 pixels, with the 30x30 icon centered in the middle. If the icon was 15 pixels wide, the text would still take up 40 pixels, so each frame would use the same amount of space. (could be smaller vertically though..)

The smallest game font that I can find is 14pt, and I don't know how to make the text shrink yet - when/if I figure that out, I'll definately make smaller versions :)

I hope that makes sense...

ger 04-14-2005 10:45 AM

Quote:

Originally Posted by Killarny
Well, I could make the icons smaller, but the text still takes up the same amount of space, so it'd be kinda pointless, except for visual satisfaction.

The duration text with HH:MM:SS in it takes up a full 40 pixels of width - so each icon frame is actually 40 pixels, with the 30x30 icon centered in the middle. If the icon was 15 pixels wide, the text would still take up 40 pixels, so each frame would use the same amount of space. (could be smaller vertically though..)

The smallest game font that I can find is 14pt, and I don't know how to make the text shrink yet - when/if I figure that out, I'll definately make smaller versions :)

I hope that makes sense...

Go to /Fonts, select Font_Eura_Arial14, copy it, paste it into your Maintained window, rename it FontArial12, modify the point size argument to 12. Presto, change-o, smaller font.

Laffs 04-14-2005 10:57 AM

What I would like to know is how the hell he managed the "left to right" I tried everything I could think of when they last changed the maintained window and would they go L2R nope !

Me going to have to pull this mod to bits to see how it works :p

ger 04-14-2005 11:21 AM

Quote:

Originally Posted by Laffs
What I would like to know is how the hell he managed the "left to right" I tried everything I could think of when they last changed the maintained window and would they go L2R nope !

Me going to have to pull this mod to bits to see how it works :p

It's a volume page property. Volumefill or something like that. (Personally, I use r2l/down)

Laffs 04-14-2005 11:30 AM

Thanks ger but that is what I was changing the volume fill lol.... going to have another go now likes, since I have seen that it can be done again.

Killarny 04-14-2005 11:41 AM

Thanks for the font tip ger.. it worked :)

So, I'll be updating shortly with a version using a smaller font - it doesn't space out the icons as much, so it looks better.

I'll try a 3/4 size icon too - but the font is really hard to read at smaller pointsize than 12.

Laffs 04-14-2005 12:41 PM

Quote:

Originally Posted by Laffs
Thanks ger but that is what I was changing the volume fill lol.... going to have another go now likes, since I have seen that it can be done again.

Boy do I feel like a right dummy (nothing new about that I guess, do I hear you say? Lol)

In the begining all I was putting in for volume fill was left2right, since I had a look at it again it was down_left2right DOE!! quick swap left2right_down , sorted now I do recall it was the syntax I was having trouble with this a while back and damn sure I did use that but it wouldnt have it, Maybe they fixed it?, Or maybe I was too drunk at the time :p


*EDIT*

Ps.. I just tried the duration and at point size 10 , icon size 20x20 its a tight fit, Part of the duration will get cut of maybe's.... My icon size is 15x15 and they all just fit in at that so no "hijacking" of the buff duration code for me Lol
:D

ger 04-14-2005 12:42 PM

Quote:

Originally Posted by Killarny
Thanks for the font tip ger.. it worked :)

So, I'll be updating shortly with a version using a smaller font - it doesn't space out the icons as much, so it looks better.

I'll try a 3/4 size icon too - but the font is really hard to read at smaller pointsize than 12.

I ended up using an 8 point Arial in my 20x20 icon version of the maintained window. What I had to do, though, was make sure that the :SS portion of HH:MM:SS was beyond the text object bounds to keep it from wrappng to multiple lines while still presenting the user with the information theyneed in a (mosly) readable size. (The text objectended up being 18x8 spaced 1 pixel from the left/bottom edge of the icon)

Killarny 04-14-2005 12:56 PM

Version 1.1
 
New version posted, pending approval.. new pictures are in the first post in this thread.

I can't seem to upload two zipfiles in the same 'release' in the downloads section, so as soon as the 30x30 version 1.1 gets approved, I'll add the 20x20 version 1.1 as an addon.

HISTORY

1.1 - Thanks to ger, I was able to use a smaller 12pt font that allows each icon frame to take up less horizontal space.
- Now available in two versions: Standard and 2/3 size icons

1.0 - Original release

FUTURE PLANS

- Hiding the HH part of the duration text when it is 00 (ie: 00:17:25)
- Hiding the duration text when it is 0.0

Tobiah 04-14-2005 04:45 PM

Only the maintained spells can show timers right?

Steppin 04-14-2005 04:49 PM

buffs
 
looking good... possible to include name of buff also ?
thanks
aloe (evercold err everfrost server)

sigmodon 04-14-2005 04:54 PM

Wow, great mod. I do have a suggestion for something I would like to see. Is it possible to get rid of the HH? Are there any maintained buffs over 59 minutes? I know it's in the code probably, but it seems a bit redundant to have the (00:XX:XX) zero hours on the front. It might clean it up some more. I love the smaller icons too by the way.

taco-man 04-14-2005 05:00 PM

Quote:

Originally Posted by Tobiah
Only the maintained spells can show timers right?

that is correct.

Quote:

Originally Posted by sigmodon
Wow, great mod. I do have a suggestion for something I would like to see. Is it possible to get rid of the HH? Are there any maintained buffs over 59 minutes? I know it's in the code probably, but it seems a bit redundant to have the (00:XX:XX) zero hours on the front. It might clean it up some more. I love the smaller icons too by the way.

many spells are over an hour, although i would imagine it probably depends on your class.

ger 04-14-2005 06:11 PM

Quote:

Originally Posted by taco-man
that is correct.


many spells are over an hour, although i would imagine it probably depends on your class.

Yup. That's why I got rid of the seconds section in my version, as an Inquisitor my spells either last under a minute or over an hour (well, except Swill, but I rarely use that) so the seconds was really less important to me until it hits the 60.0 point.

Killarny 04-14-2005 08:04 PM

I'm still trying to think of a way to handle the 00 issue.. as an Illusionist I have spells that last for 11 hours and 59 minutes, so cutting off the HH entirely is not desirable.

Cutting off seconds sounds best, but I don't want to do that either .. I'd rather figure a way out to hide the HH when it's '00', but I don't think that is possible.

Killarny 04-14-2005 08:08 PM

Quote:

Originally Posted by Steppin
looking good... possible to include name of buff also ?
thanks
aloe (evercold err everfrost server)

I might do a version with the name of the spell, but I like having the text not interfere with the placement of the icons in a horizontal OR vertical layout, and having huge text strings with the name of the spell would definately interfere.

Calain80 04-15-2005 04:32 AM

I realy like this mod! Great work! :D

There is only one thing:
Could you also implement an vertical configuration?

That would be realy nice! ;)

Findarato 04-15-2005 10:22 AM

I am having a heck of a time making the frame that holds the icon any bigger than 32x32. is there something I am doing wrong?

I am working on a mod for this window my self and this is the biggest problem. Mainly the way I am doing it shows the Name and timer in a separate frame but when you scroll your window the frames I have done update :/

any help would be nice, and you got a kick ace mod there.

Killarny 04-16-2005 01:43 AM

Quote:

Originally Posted by Findarato
I am having a heck of a time making the frame that holds the icon any bigger than 32x32. is there something I am doing wrong?

I am working on a mod for this window my self and this is the biggest problem. Mainly the way I am doing it shows the Name and timer in a separate frame but when you scroll your window the frames I have done update :/

any help would be nice, and you got a kick ace mod there.

The way I did it was to change the CellSize property of the Volume page, and that will automatically (if using UIBuilder) change the size of the frames contained in the page. Then you go into each Icon under the individual Frames and change the size of them.

I hope I understood your question correctly. I'm really new at this as well, so this might be a case of the blind leading the blind :)

Killarny 04-16-2005 02:47 AM

Quote:

Originally Posted by Calain80
I realy like this mod! Great work! :D

There is only one thing:
Could you also implement an vertical configuration?

That would be realy nice! ;)

Done, for both standard size icons and 2/3 size :)

Hope you like..


All times are GMT -5. The time now is 03:42 PM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI