Download
(207 Kb)
Download
Updated: 07-14-10 09:08 AM
Pictures
File Info
Updated:07-14-10 09:08 AM
Created:10-28-08 03:37 PM
Downloads:439,802
Favorites:857
MD5:
Gladius  Popular! (More than 5000 hits)
Version: 1.2.0
by: Proditor, Rinu
What is Gladius?
Gladius adds enemy unit frames to arenas for easier targeting and focusing. It shows a health bar, a mana bar below the health bar (optional), a cast bar below the mana bar (optional), a class icon to the left side of the health bar (optional) and important buffs and crowd control durations (optional, overlays the class icon). The frame resizes itself to the current bracket (optional).

Gladius uses the 3.0.2 arena unit ids, therefore it'll add units automatically to the frame (byebye targeting macros) and you'll always be able to target/focus the enemies, regardless of if they are added when you're in combat. The cast bars and the buff/debuff timers should be 100% correct.

You can add important buffs and crowd controls in the auralist.lua file. You will have to select a priority for it. If a buff/debuff is already displaying when the spell is cast it'll only show up on the class icon if the priority equals or is higher than the current one displayed.

More features:
Arena enemies targets (optional): displays the class of the arena enemy's current target in a small frame on the health bar to the right.

Trinket status (optional): has a few different display options, but in general it shows if the PvP Trinket is ready for the arena enemy.

Slash commands:
/gladius ui, config, options - displays the configuration screen
/gladius test1-5 - shows a test frame with the chosen amount of test units
/gladius hide - hides the test frame
/gladius trinket - simulates a trinket being used for the first arena target

But.. but.. this is very similar to Proximo and SSAF?
Yes, I simply created this as a learning project for Lua. I actually didn't plan on releasing it but in the end I thought it turned out pretty good and decided to give it a go. I do not expect to start competing with the big boys, but perhaps someone else is interested in using it.

Thanks:
Thanks to Proximo, SSArena Frames and their respective developers for working as both inspirational and informational sources.

Note: If you find any errors or bugs, please report them to me via http://proditor.wowinterface.com/
tag v1.2.0
c728d6df2e4c16959912975a3ed09400323f5229
root <root@cfrepos1.curseforge.net>
2010-07-14 14:36:07 +0000

Tagging as v1.2.0

--------------------

Rinu:
- updated AceGUI-3.0-SharedMediaWidgets
- added secure frame for arena enemy's target (click to target enemy's target and usable for mouseover macros)
fixed DR icons not being straight
fixed aura gain announcement
- fixed DR icons + cooldown bug when disabled
- added more options for the DR tracker (margin, anchor, icon size, disable DR type, no cooldown count, toggle text)
added cast bar background color
added cooldown sound option
fixed unit display and cooldown display bug, caused by my stupidity
fixed cooldown announcement not working when cooldown icons are disabled
fixed cooldown and DR icon reset on UpdateFrame
- new feature: DR Tracker
fixed some random bugs
sorted the cooldown list a little bit
- updated toc
- new feature: enemy cooldowns
added parrot support for the announcements
added self print support for the announcements
added raid main assist border (ticket #10)
added cast bar position option (ticket #26)
added aura position option (ticket #31)
added aura gain announcement (ticket #15)
added font option
added health bar color option
added another arena button, so we can handle the unitId arena6 (hopefully)
fixed secure frame position
fixed (hopefully) not appearing enemies
fixed new profile and reset profile also resets the frame
Archived Files (20)
File Name
Version
Size
Author
Date
1.1.0
187kB
Proditor
02-05-10 05:35 AM
1.0.5
181kB
Proditor
12-26-09 03:15 PM
1.0.3
181kB
Proditor
12-16-09 10:27 PM
1.0.2
172kB
Proditor
08-04-09 09:39 PM
1.0.1
169kB
Proditor
07-31-09 10:31 AM
1.0.0
169kB
Proditor
07-29-09 10:04 AM
1.0.0
177kB
Proditor
05-27-09 03:48 PM
r27
177kB
Proditor
05-23-09 05:28 PM
r26
177kB
Proditor
05-22-09 08:43 PM
r25
169kB
Proditor
05-09-09 09:09 PM
r24
168kB
Proditor
04-17-09 08:04 PM
r23
161kB
Proditor
03-19-09 04:32 AM
r22
161kB
Proditor
03-19-09 03:54 AM
r21
159kB
Proditor
03-17-09 08:04 AM
r20
156kB
Proditor
03-13-09 08:13 AM
r19
151kB
Proditor
02-09-09 10:16 PM
r18
140kB
Proditor
01-11-09 11:10 AM
r17
140kB
Proditor
01-09-09 05:39 PM
Beta r16
137kB
Proditor
12-18-08 10:46 AM
Beta r15
137kB
Proditor
12-16-08 10:31 AM


Post A Reply Comment Options
Old 12-06-08, 08:36 AM  
Mooky
A Murloc Raider
 
Mooky's Avatar

Forum posts: 6
File comments: 19
Uploads: 0
These are very nice, i'd actully like a Unitframes version for general stuff not just as bg bars. Am getting bored of perl pitbull and the likes, bout time something fresh hit the seen and from the looks off the SS these could be it.
Mooky is offline Report comment to moderator  
Reply With Quote
Old 11-24-08, 09:52 AM  
Proditor
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 35
Uploads: 0
Originally posted by anund
I won't be able to do arena for a while as I'm not lvl 80 yet so I can't test this myself anytime soon:

This mod will show CC/important buff durations of targets, even if they are not the current target or focus target and have not been targeted recently?eg: Say I have a priest focused, the rogue targeted, and the mage I havn't targeted all game cops a blind from the rogue on my team, will I see that blind duration?
yes
Proditor is offline Report comment to moderator  
Reply With Quote
Old 11-23-08, 09:02 AM  
anund
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
I won't be able to do arena for a while as I'm not lvl 80 yet so I can't test this myself anytime soon:

This mod will show CC/important buff durations of targets, even if they are not the current target or focus target and have not been targeted recently?eg: Say I have a priest focused, the rogue targeted, and the mage I havn't targeted all game cops a blind from the rogue on my team, will I see that blind duration?
anund is offline Report comment to moderator  
Reply With Quote
Old 11-10-08, 05:55 AM  
Proditor
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 35
Uploads: 0
Originally posted by Maldazzar
This is the error I've been experiencing periodically:
http://img139.imageshack.us/img139/4...8002859sh7.jpg

The icons seem to mix together, instead of the PvP trinket icon simply overwriting the class icon entirely.
Should be fixed in r14 which is waiting for approval atm.
Proditor is offline Report comment to moderator  
Reply With Quote
Old 11-10-08, 03:02 AM  
Maldazzar
A Kobold Labourer

Forum posts: 0
File comments: 154
Uploads: 0
This is the error I've been experiencing periodically:
http://img139.imageshack.us/img139/4...8002859sh7.jpg

The icons seem to mix together, instead of the PvP trinket icon simply overwriting the class icon entirely.
Maldazzar is offline Report comment to moderator  
Reply With Quote
Old 11-09-08, 01:29 PM  
Proditor
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 35
Uploads: 0
Originally posted by Maldazzar
Rather than overriding the class/aura icon, the mod pastes the trinket icon over it (with both showing simultaneously).

Also, the trinket display seems rather erratic, with the trinket randomly showing up mid-arena (before a trinket has been used).

And finally, is there a way to make trinket CD text smaller?

Thanks
My thought was that the trinket was shown at all times on-top of the class icon (thus making it impossible to see the class icon) with no auras activating. When a trinket is used the cooldown-frame shows up and counts down. I haven't added a trinket cd text yet so that must be because you're using a cooldown addon such as OmniCC.

However, it seems to be broken atm so I'm gonna take a look at it.

Edit.
Was your original thought that the trinket icon would only show up over the class icon when a trinket had been used?
Last edited by Proditor : 11-09-08 at 01:41 PM.
Proditor is offline Report comment to moderator  
Reply With Quote
Old 11-09-08, 11:08 AM  
Maldazzar
A Kobold Labourer

Forum posts: 0
File comments: 154
Uploads: 0
* Added another trinket display option: "Override class/aura icon".
Rather than overriding the class/aura icon, the mod pastes the trinket icon over it (with both showing simultaneously).

Also, the trinket display seems rather erratic, with the trinket randomly showing up mid-arena (before a trinket has been used).

And finally, is there a way to make trinket CD text smaller?

Thanks
Maldazzar is offline Report comment to moderator  
Reply With Quote
Old 11-07-08, 11:33 AM  
Proditor
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 35
Uploads: 0
Originally posted by Maldazzar
The fix works perfectly, thanks. The reason it can get messy when OOC is: as soon as the opposing team shows up on the ArenaFrames, I right-click one to set focus. Since I am not in combat at that point, and not paying terribly close attention to where I click, I had the GUI pop up right as the other team engaged a few times.
True, I'll either remove it or make it an option in a future rev.

Thank you. Just to reiterate, I underestimated the level of customization the Gladius GUI offers - so I really need is a "Big Icon on the left" option, nothing fancy.
New option will be called "Override class/aura icon" - does this sound like what you want?

Your fix sort of works, but as I'm sure you're aware, it merely affects the opacity of the background - of which health/power deficits are a part.
That said, reworking the frame so that bar deficit coloring is independent of the background isn't really worth the effort.

In an ideal world, though, in case you're aiming to please everyone - I'd love to see an option to make the background opacity 0 (as already possible), with bar deficit opacity set to 1.

--
The Gladius bars are split into two parts, a statusbar and a background. The background is of the same width/height as the statusbar and stay like that regardless of hp. The statusbar changes width (value, actually) depending on the hp percentage. There's no special color or similar for the deficit, the background only simulates that there is. Therefore, making an option to change the color/opacity of the background would equal to changing the color of the deficit. Hope you understand what I am trying to say.

One small bug: In the /gladius test1-5 mode, the health %s are set to various numbers under 100... but the health bars are still completely full
Actually, there is no such bug. But since you're using the fix for the health bar background (assuming you have it set to 1) and the standard color of a texture apparently is white, you won't see the hp deficit for priests, since their class color is white. A solution for this in your case, until I've added an option for the bar background color is this:

Find and replace (frame.lua, around like 181)
Code:
healthBar.bg:SetAlpha(0.3)
With
Code:
healthBar.bg:SetVertexColor(0,0,0,1)
This'll set the background to completely black, arguments for SetVertexColor are:

SetVertexColor(red, green, blue, alpha)

And a suggestion: Could you add an option for text styles?
(For example (L=left, C=center, R=right))
Right now they're set to (L)Name %Health(R)
I'd personally like to have it set to (C)Name
There are other formats I'm sure people will express interest in - perhaps adding DogTag support would be an option.
Personally, all I'd like to see is an option to hide health %s and/or move the name text.

--
Gonna put options for the health bar text on my to-do list and I'm gonna lookup DogTag, however it's not a priority for now. If you want the name text to be centered and not show any health % text do like this:

Find and replace (frame.lua around line 255):
Code:
text:SetPoint("LEFT",5,0)
With:
Code:
text:SetPoint("CENTER")
Find (frame.lua around line 289):
Code:
healthText:SetPoint("RIGHT",-5,0)
Add below:
Code:
healthText:Hide()
Thanks again for this addon, I've gone from Proximo to SSAF to this with no regrets.
Thank you !
Proditor is offline Report comment to moderator  
Reply With Quote
Old 11-07-08, 10:32 AM  
Maldazzar
A Kobold Labourer

Forum posts: 0
File comments: 154
Uploads: 0
About bug #1:
It's actually intended and there is no option to disable it for now. I added it before the anchor existed and haven't been thinking about removing it. Not sure if I should do that tho, since it doesn't work in combat so it shouldn't get messy.
The fix works perfectly, thanks. The reason it can get messy when OOC is: as soon as the opposing team shows up on the ArenaFrames, I right-click one to set focus. Since I am not in combat at that point, and not paying terribly close attention to where I click, I had the GUI pop up right as the other team engaged a few times.


About suggestion #1:
Yah, can look into that, shouldn't be hard.
Thank you. Just to reiterate, I underestimated the level of customization the Gladius GUI offers - so I really need is a "Big Icon on the left" option, nothing fancy.

About suggestion #2:
Could add an option to re-color the backgrounds of the health/mana/cast bars but it might take a while.
Your fix sort of works, but as I'm sure you're aware, it merely affects the opacity of the background - of which health/power deficits are a part.
That said, reworking the frame so that bar deficit coloring is independent of the background isn't really worth the effort.

In an ideal world, though, in case you're aiming to please everyone - I'd love to see an option to make the background opacity 0 (as already possible), with bar deficit opacity set to 1.

--

One small bug: In the /gladius test1-5 mode, the health %s are set to various numbers under 100... but the health bars are still completely full

And a suggestion: Could you add an option for text styles?
(For example (L=left, C=center, R=right))
Right now they're set to (L)Name %Health(R)
I'd personally like to have it set to (C)Name
There are other formats I'm sure people will express interest in - perhaps adding DogTag support would be an option.
Personally, all I'd like to see is an option to hide health %s and/or move the name text.

--

Thanks again for this addon, I've gone from Proximo to SSAF to this with no regrets.
Maldazzar is offline Report comment to moderator  
Reply With Quote
Old 11-07-08, 06:01 AM  
Proditor
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 35
Uploads: 0
Originally posted by affix
I haven't downloaded the latest release (not home from work), but is it possible to have a cooldown for the PvP trinket on top of the icon?
For all of the options except Name text and name icon it shows the cooldown through a classical cooldown frame thingy (dno what to call the spiral).

Originally posted by Maldazzar
an option to display the pvp trinket instead of the class icon (and ignoring the auralist.lua), would be nice
something like this: (excuse my poor mspaint skills)
http://img205.imageshack.us/img205/7...8203555tc8.jpg
on second thought, a simple "big icon, but on the left" option would probably be easier, and I could manually disable auras

also, 2 small bugs:
#1) when i right click the space between the individual unit bars (i.e. under player1 health bar but above player 2 health bar), it opens up the options menu
-- any way to disable opening the GUI on right-click?

#2) dragging the frame seems a little bit erratic at times, it really doesn't bother me but if you're looking to iron everything out there's something wrong there


and finally, a suggestion:
would it be possible to change the background/opacity of the health bar? i'd rather see a pure black backdrop for missing health than the arena floor behind it.


thanks for a great addon

edit: another small bug- for the "Show border around target" option, the border is a bit too wide if "show class icons" is disabled
Thank you for the reports and suggestions !

About bug #1:
It's actually intended and there is no option to disable it for now. I added it before the anchor existed and haven't been thinking about removing it. Not sure if I should do that tho, since it doesn't work in combat so it shouldn't get messy. However, if you really want it gone, simply find and remove (lines 139->141 frame.lua):
Code:
self.anchor:SetScript('OnClick', function()
	if (not InCombatLockdown()) then self:ShowOptions() end
end)
About bug #2:
Yeah, I've noticed it, might take a look at and perhaps change the method it's using but it's no priority for now.

About bug #3:
Gonna take a look at that, shouldn't be hard to fix.
Edit.
Fixed in next rev.

About suggestion #1:

Yah, can look into that, shouldn't be hard.

About suggestion #2:

Could add an option to re-color the backgrounds of the health/mana/cast bars but it might take a while. If you really dislike it being transparent, find (line 181 frame.lua):
Code:
healthBar.bg:SetAlpha(0.3)
and replace the number with an apropriate value. The lower value the more transparent. Feel free to post a feature request about this tho so I won't forget it.

Originally posted by ObbleYeah
http://s.wowinterface.com/preview/pvw19763.png

The buttons with the iceblock icon/hunter icon. Is it possible to include some way of skinning them via a .tga texture in the images folder? Similar to the way Pitbull handles the skinning of it's aura textures :-)
It fetches the icon directly from the spell itself so there's nothing fancy there, would take quite a lot of work to be able to change the looks I think and that's nothing I'm planning on doing.
Last edited by Proditor : 11-07-08 at 06:33 AM.
Proditor is offline Report comment to moderator  
Reply With Quote
Old 11-07-08, 05:15 AM  
ObbleYeah
A Black Drake
AddOn Author - Click to view AddOns

Forum posts: 83
File comments: 39
Uploads: 4
Originally posted by Proditor
Glad to hear you're liking it! To be honest I'm not really sure what you're suggesting. Can you perhaps take a screenshot or similar?
http://s.wowinterface.com/preview/pvw19763.png

The buttons with the iceblock icon/hunter icon. Is it possible to include some way of skinning them via a .tga texture in the images folder? Similar to the way Pitbull handles the skinning of it's aura textures :-)
ObbleYeah is offline Report comment to moderator  
Reply With Quote
Old 11-06-08, 09:53 PM  
Maldazzar
A Kobold Labourer

Forum posts: 0
File comments: 154
Uploads: 0
an option to display the pvp trinket instead of the class icon (and ignoring the auralist.lua), would be nice
something like this: (excuse my poor mspaint skills)
http://img205.imageshack.us/img205/7...8203555tc8.jpg
on second thought, a simple "big icon, but on the left" option would probably be easier, and I could manually disable auras

also, 2 small bugs:
#1) when i right click the space between the individual unit bars (i.e. under player1 health bar but above player 2 health bar), it opens up the options menu
-- any way to disable opening the GUI on right-click?

#2) dragging the frame seems a little bit erratic at times, it really doesn't bother me but if you're looking to iron everything out there's something wrong there


and finally, a suggestion:
would it be possible to change the background/opacity of the health bar? i'd rather see a pure black backdrop for missing health than the arena floor behind it.


thanks for a great addon

edit: another small bug- for the "Show border around target" option, the border is a bit too wide if "show class icons" is disabled
Last edited by Maldazzar : 11-06-08 at 09:57 PM.
Maldazzar is offline Report comment to moderator  
Reply With Quote
Old 11-06-08, 06:36 PM  
affix
A Kobold Labourer

Forum posts: 0
File comments: 104
Uploads: 0
I haven't downloaded the latest release (not home from work), but is it possible to have a cooldown for the PvP trinket on top of the icon?
affix is offline Report comment to moderator  
Reply With Quote
Old 11-06-08, 02:04 PM  
Proditor
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 35
Uploads: 0
Originally posted by affix
The quality of this addon and the speed at which you're adding features is absolutely incredible, just wanted to say I really appreciate the work you're putting in to it.
Thank you! The reason things are going to fast is that I actually think it's a lot of fun working with the addon. I really love programming/scripting/webdesigning etc. in general and now I've finally got a way to put my energy into something useful. Also it's incredibly fun knowing that people actually use the addon and that they like it

Not going to release any completely new features until WotLK tho, want to get Gladius out of beta, so there's at least one stable release when S5 arrives It's going to be hard to test the addon in the time span between WotLK release and S5, that's why I'm doing it like this.

Originally posted by ObbleYeah
Only got one request, any chance of adding a border option (A la Pitbull) so i can change the skin of the classframe/CDframe? Love this otherwise :-)
Glad to hear you're liking it! To be honest I'm not really sure what you're suggesting. Can you perhaps take a screenshot or similar?
Last edited by Proditor : 11-06-08 at 02:09 PM.
Proditor is offline Report comment to moderator  
Reply With Quote
Old 11-06-08, 11:54 AM  
affix
A Kobold Labourer

Forum posts: 0
File comments: 104
Uploads: 0
The quality of this addon and the speed at which you're adding features is absolutely incredible, just wanted to say I really appreciate the work you're putting in to it.
affix is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.