Download
(21 Kb)
Download
Updated: 01-15-14 05:50 AM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:01-15-14 05:50 AM
Created:11-16-10 11:15 PM
Downloads:4,316
Favorites:79
MD5:
5.4
Shot Glass Raid Frames
Version: 3.2
by: danltiger, Pinghansen
Shot Glass is a lightweight raid frame, which can be configured to show specific Aura Indicators, in addition to Health, Incoming Healing, Mana, Aggro, Range, and Target.

No Libraries are used, and the code is very simple, which makes it a nice learning tool for people who are learning to program their own raid frames.

Feature Highlights
  • Incoming Heals: You'll see incoming heals as a subtle, semi-transparent bar, indicating the future health of the unit.
  • Aura Indicators: Along the top edge of each unit frame, there are three circular indicators. On the bottom edge, there are three triangular indicators. Stacks are displayed below the indicator.
  • Aggro Indicator: A red border will light up around any unit that acquires aggro.
  • Range: Units out of your range will shrink in size.
  • Mana: Only mana is indicated; Rage, Runic Power, Energy, etc are not shown.

Aura Configuration
I've included two configuration files with the current package. (For Druid and Priest) Feel free to use those files as a template for your own customization.

The configuration file is simply an addon with "## Dependencies: ShotGlass" in the TOC file. You can access the 'TrackedAuras' table from your LUA file. Alternatively, you can edit the included file. An example:

Code:
local TrackedAuras = ShotGlassRaidFrames.TrackedAuras

TrackedAuras[GetSpellInfo(774)] = {position = 1, color = {r = .8,g = 0, b = .8, a = 1},}		-- Rejuvenation
TrackedAuras["Rejuvenation"] = {position = 1, color = {r = .8,g = 0, b = .8, a = 1},}
Note: You can find the spell ID# from Wowhead.

Character Profiles
The "Addon" button on your Character Selection Screen will allow you to Enable or Disable the Aura List for each character.




I'm not going to bug you by popping up an ad whenever you hit "Download". If you enjoy this addon and want to send a monetary "Thank You", please visit our Pledgie page by clicking on the button, above.
3.1:
- TOC Bump

3.0:
- Updated for MoP

2.3:
- Tracked auras can now be assigned a custom function for color and stack text. (See ShotGlass_Druid for an example)
- Delegate functions are passed a table, 'aura', containing information about the evaluated aura: aura.color, aura.stacks, aura.expiration, aura.position, aura.name
- Changed font to Blizzard's Arial Narrow. This will make life easier for international clients, and reduces the whole ZIP package to 15kb.
- Command line has returned: /shotglass [show|hide|lock|unlock]

2.1 & 2.2:
- Trying to fix the overlap bug. I've disabled the option for the frames to grow to the right, until it's fixed.

2.0:
+ TOC Bump for 4.3
+ Auras will display a countdown from 5 seconds (it will replace stack-count text, temporarily)
+ Added GUI Interface panel
+ Added quick link to interface panel, via right-click on the drag handle
- Removed slash commands, except for /shotglass (which will bring up the new interface panel)

1.15:
Merely a TOC bump for 4.2

1.14:
DUH! When you bump the TOC, then you should do it correctly. /facepalm

1.13:
Merely a TOC bump for 4.1

1.12:
Bug Fix: Priority bug.
Integrated ShotGlass_Priest.

1.11:
Implemented slash-commands. See readme.txt for a list of commands.

0.10:
Bug Fix: Priority Bug.

0.9:
Added Vehicle Support, Spell Priority, External Configuration for Auras.

0.4-0.8:
Clique Support, Bug fixes, Incoming Heals.

0.3:
Bug Fix: Certain events reset the attributes of the unit frame, breaking the link. This update will restore those links when attributes are changed.
Optional Files (3)
File Name
Version
Size
Author
Date
Type
0.3
893B
04-27-11 12:38 PM
Addon
0.3
1kB
02-13-11 03:47 PM
Addon
0.1
937B
12-03-10 07:00 AM
Addon


Archived Files (20)
File Name
Version
Size
Author
Date
3.1
21kB
danltiger
01-22-13 04:06 AM
3.0
21kB
danltiger
09-02-12 09:22 PM
2.3
14kB
danltiger
01-07-12 06:19 AM
2.2
80kB
danltiger
12-20-11 04:51 AM
2.1
80kB
danltiger
12-16-11 03:13 AM
2.0
80kB
danltiger
12-10-11 06:21 AM
1.15
87kB
danltiger
07-09-11 03:43 AM
1.14
87kB
danltiger
04-27-11 04:43 AM
1.13
87kB
danltiger
04-27-11 01:52 AM
1.12
85kB
danltiger
03-04-11 07:06 AM
1.11
83kB
danltiger
02-18-11 05:30 AM
0.10
76kB
danltiger
12-04-10 05:23 AM
0.9
76kB
danltiger
12-03-10 01:04 AM
0.8
75kB
danltiger
11-29-10 08:32 PM
0.7
83kB
danltiger
11-27-10 04:50 AM
0.6
82kB
danltiger
11-26-10 05:41 AM
0.5
75kB
danltiger
11-22-10 05:14 AM
0.4
113kB
danltiger
11-20-10 11:58 PM
0.3
113kB
danltiger
11-20-10 10:04 AM
0.2
77kB
danltiger
11-16-10 11:15 PM


Post A Reply Comment Options
Old 11-23-10, 11:59 PM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1497
Uploads: 21
I'm not really planning on going through each class and adding their spells; I think that's personal preference, y'know? I've included the druid spells as I play them as an example. You could replace the English names with the GetSpellID return value, as seen a few comments below.

Ex:
Code:
[GetSpellInfo(1706)] = {name = "Indicator1", color = {r = 1,g = 1, b = 1, a = 1},}, -- Levitate
Anyhow, thanks for the feedback!

Originally posted by Backwoods
My only complaint with this addon, and it's not even really a complaint, is that there isn't a way to lock the frames or hide the drag button. I also second the use of spellIDs instead of spel names to make it a universal addon.

Aside from that, a raid frames addon like this has been a long time coming. Thanks.

There may be more when I get more play time on it, but it would likely be just tuning.
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
danltiger is offline Report comment to moderator  
Reply With Quote
Old 11-23-10, 11:28 PM  
Backwoods
A Kobold Labourer

Forum posts: 1
File comments: 29
Uploads: 0
My only complaint with this addon, and it's not even really a complaint, is that there isn't a way to lock the frames or hide the drag button. I also second the use of spellIDs instead of spel names to make it a universal addon.

Aside from that, a raid frames addon like this has been a long time coming. Thanks.

There may be more when I get more play time on it, but it would likely be just tuning.
Backwoods is offline Report comment to moderator  
Reply With Quote
Old 11-23-10, 04:17 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1497
Uploads: 21
Alpha, size... we can change all of those things. The pie-piece idea might work. I'd like to get a few more ideas together, and I'll pick the best one and give it a shot. (When I get the time, that is)

Originally posted by DemonFist
JackOnTheMap,

Yes these work for 5 man parties and raids.



As far as the Aura timers,

I do agree I like the clean uncluttered look as it is. Maybe the art/shading background to the Mana bar, but that will not work without having a power/focus bar. I'll continue to think about it, but I really like the center area of the health bar be clear and uncluttered. Maybe the aura indicators themselves could be pie pieces that disappear as the time expires? Not sure if that would work as small as they currently are. Maybe another way would be to decrease the alpha of the indicator over time.

Demon
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
danltiger is offline Report comment to moderator  
Reply With Quote
Old 11-23-10, 04:15 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1497
Uploads: 21
They're On all the time; You'll see your own character even if you're not in a group. So, Yes. What Demon said.

Originally posted by JackOnTheMap
Will these work only for raid frames or can they be enabled to work for 5-mans also?

I think I'd like to try them for healing in small groups also.
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
danltiger is offline Report comment to moderator  
Reply With Quote
Old 11-22-10, 07:44 PM  
DemonFist
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
JackOnTheMap,

Yes these work for 5 man parties and raids.

Originally posted by JackOnTheMap
Will these work only for raid frames or can they be enabled to work for 5-mans also?

I think I'd like to try them for healing in small groups also.
As far as the Aura timers,

I do agree I like the clean uncluttered look as it is. Maybe the art/shading background to the Mana bar, but that will not work without having a power/focus bar. I'll continue to think about it, but I really like the center area of the health bar be clear and uncluttered. Maybe the aura indicators themselves could be pie pieces that disappear as the time expires? Not sure if that would work as small as they currently are. Maybe another way would be to decrease the alpha of the indicator over time.

Demon
Last edited by DemonFist : 11-22-10 at 07:46 PM.
DemonFist is offline Report comment to moderator  
Reply With Quote
Old 11-22-10, 05:52 PM  
JackOnTheMap
A Murloc Raider

Forum posts: 8
File comments: 130
Uploads: 0
Will these work only for raid frames or can they be enabled to work for 5-mans also?

I think I'd like to try them for healing in small groups also.
JackOnTheMap is offline Report comment to moderator  
Reply With Quote
Old 11-22-10, 04:30 PM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1497
Uploads: 21
Thanks 'style!

Originally posted by idostyle
Nice addon

Code:
-- Priest Auras
[GetSpellInfo(1706)] = {name = "Indicator1", color = {r = 1,g = 1, b = 1, a = 1},}, -- Levitate
[GetSpellInfo(6346)] = {name = "Indicator1", color = {r = 0,g = 0, b = 0, a = 1},}, -- Fear Ward
[GetSpellInfo(139)] = {name = "Indicator1", color = {r = .2,g = 1, b = 1, a = 1},}, -- Renew
[GetSpellInfo(47515)] = {name = "Indicator1", color = {r = 0,g = 0, b = 1, a = 1},}, -- Divine Aegis
[GetSpellInfo(17)] = {name = "Indicator2", color = {r = .2,g = 1, b = .2, a = 1},}, -- Power Word: Shield
[GetSpellInfo(6788)] = {name = "Indicator3", color = {r = .8,g = 0, b = .8, a = 1},}, -- Weakened Soul
[GetSpellInfo(81662)] = {name = "Indicator5", color = {r = 0.9,g = 0.9, b = 1, a = 1},}, -- Evangelism
[GetSpellInfo(47517)] = {name = "Indicator5", color = {r = 0.9,g = 0.9, b = 1, a = 1},}, -- Grace
[GetSpellInfo(33076)] = {name = "Indicator5", color = {r = .6,g = 1, b = .1, a = 1},}, -- Prayer of Mending
[GetSpellInfo(64844)] = {name = "Indicator5", color = {r = 1,g = 1, b = 0, a = 1},}, -- Divine Hymn
[GetSpellInfo(33206)] = {name = "Indicator5", color = {r = 1,g = 0, b = 0, a = 1},}, -- Pain Suppression

-- Debuff Types
--Poison = {name = "Indicator5", color = {r = 0,g = .9, b = .1, a = 1},},
--Curse = {name = "Indicator4", color = {r = .9,g = 0, b = .7, a = 1},},
Magic = {name = "Indicator6", color = {r = 0,g = .3, b = .9, a = 1},},
Disease = {name = "Indicator4", color = {r = .7,g = .7, b = 1, a = 1},},
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
danltiger is offline Report comment to moderator  
Reply With Quote
Old 11-22-10, 04:28 PM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1497
Uploads: 21
Hey there Demon,

I'll respond to the other items, but #7 is the most interesting one, and something that you (and anyone else who might care) can participate.

I'd actually implemented timers at one point (It's trivial to find out the expiration time on an aura. There's an API function that will do it for you), but I felt that the frames looked too cluttered with all that text, which was opposite my goal. When I moved from Grid to Shot Glass, I missed the timers. But, I learned a different way of thinking about healing, and it actually became more fun to see patterns of damage rather than just responding to numbers. Certainly, I'm not advocating that everyone should "do it that way", but I'm just putting that out there.

Here's where we're going to brainstorm; Can we implement timers without cluttering things up? Personally, I'd like to know when my Lifebloom is going to expire. (I could live without any of the other ones) I'm guessing that each healer class has one very important aura that they need to track, which makes me wonder if it would be cool to implement a clock-handish graphic in the center of the nameplate, which could track a single aura timer. Anyway, that's just an example of the kind of ideas that I'd like to generate. The example might not be a very good idea, but I'd like to explore unconventional/novel solutions.

Originally posted by DemonFist
7. Spell duration timers. (Example: for Rejuv have the time left digits above the indicator outside the health bar). If the indicator is on the bottom then below and outside, etc. I know with Lifebloom you have text attached to buffs. If this requires allot of code to find out what's glpyhed etc, to find spell time then it might not be worth it.
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
Last edited by danltiger : 11-22-10 at 04:29 PM.
danltiger is offline Report comment to moderator  
Reply With Quote
Old 11-22-10, 04:01 PM  
idostyle
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 1
Nice addon

Code:
-- Priest Auras
[GetSpellInfo(1706)] = {name = "Indicator1", color = {r = 1,g = 1, b = 1, a = 1},}, -- Levitate
[GetSpellInfo(6346)] = {name = "Indicator1", color = {r = 0,g = 0, b = 0, a = 1},}, -- Fear Ward
[GetSpellInfo(139)] = {name = "Indicator1", color = {r = .2,g = 1, b = 1, a = 1},}, -- Renew
[GetSpellInfo(47515)] = {name = "Indicator1", color = {r = 0,g = 0, b = 1, a = 1},}, -- Divine Aegis
[GetSpellInfo(17)] = {name = "Indicator2", color = {r = .2,g = 1, b = .2, a = 1},}, -- Power Word: Shield
[GetSpellInfo(6788)] = {name = "Indicator3", color = {r = .8,g = 0, b = .8, a = 1},}, -- Weakened Soul
[GetSpellInfo(81662)] = {name = "Indicator5", color = {r = 0.9,g = 0.9, b = 1, a = 1},}, -- Evangelism
[GetSpellInfo(47517)] = {name = "Indicator5", color = {r = 0.9,g = 0.9, b = 1, a = 1},}, -- Grace
[GetSpellInfo(33076)] = {name = "Indicator5", color = {r = .6,g = 1, b = .1, a = 1},}, -- Prayer of Mending
[GetSpellInfo(64844)] = {name = "Indicator5", color = {r = 1,g = 1, b = 0, a = 1},}, -- Divine Hymn
[GetSpellInfo(33206)] = {name = "Indicator5", color = {r = 1,g = 0, b = 0, a = 1},}, -- Pain Suppression

-- Debuff Types
--Poison = {name = "Indicator5", color = {r = 0,g = .9, b = .1, a = 1},},
--Curse = {name = "Indicator4", color = {r = .9,g = 0, b = .7, a = 1},},
Magic = {name = "Indicator6", color = {r = 0,g = .3, b = .9, a = 1},},
Disease = {name = "Indicator4", color = {r = .7,g = .7, b = 1, a = 1},},
idostyle is offline Report comment to moderator  
Reply With Quote
Old 11-22-10, 08:11 AM  
DemonFist
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Ok,

So I've done extensive testing yesterday via Party, Raid and BG's with my druid and I've had no issues with Clique support.

Thanks again for such a refreshing mod. I do have a few things after using it for 6 straight hours that I would like to request.

1. Would it be possible to widen the unit frames a little more without breaking the art? I would like a little larger click area for those frantic times. Also having a little more of the name would be great as well. I know there is a scale, but that doesn't achieve what I want :P

2. Having the option to allow the frames to grow up instead of down

3. A way to allow 2 (5 man) groups per row.

4. A way to hide the mover, or lock the frames.

5. Incoming heals. (I know it's in the works/to do)

6. I think using the Spell ID's instead of aura names so that client localization is not a factor.

7. Spell duration timers. (Example: for Rejuv have the time left digits above the indicator outside the health bar). If the indicator is on the bottom then below and outside, etc. I know with Lifebloom you have text attached to buffs. If this requires allot of code to find out what's glpyhed etc, to find spell time then it might not be worth it.

Not really a request as I can change it, But I would almost rather have the bottom middle indicator be a red triangle for threat and have the background glow affect for Magic, Poison and Curse debuff's. That would free up 2 more indicators on the bottom for buffs, etc. And set a priority list of the debuff glow to things you can remove first.


Now to the things I love so far about this mod.

a. I love the change of scale when people are out of range instead of the normal alpha change. I noticed in BG's that it also reduces scale when your CC'ed (IE Silenced) very nice.

b. It's a very nice set of unit frames. Nice looking with allot possibility, and I love that it's very cheap on resources. Please keep it simple as it currently is.

c. The Aura indicators are bright and very easy to see at a glance. Fantastic!

Again thanks for the time you've spent on this mod and so far it's replaced Vuhdo for me.

Demon
Last edited by DemonFist : 11-22-10 at 08:48 AM.
DemonFist is offline Report comment to moderator  
Reply With Quote
Old 11-22-10, 05:20 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1497
Uploads: 21
Re: custom configs

What I'll do is expose any configuration variables globally, somehow. Then, you just create a mini addon (I'll probably provide the files in this package) in your Addons folder, which would modify those variables.

There's already a border indicator outside the black box, technically. It's the aggro warning border. It sounds like it'd make sense for me to put that under the Indicators table.

Originally posted by kalemeow
is it possible to have custom user configs -- for specific auras and indicators -- split off to a different file so it's not overwritten when the mod is updated?

also, would it be possible to add a border around the black box as an indicator?

otherwise, so far so good. i like it! thank you!
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
danltiger is offline Report comment to moderator  
Reply With Quote
Old 11-21-10, 06:56 PM  
kalemeow
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
custom configs

is it possible to have custom user configs -- for specific auras and indicators -- split off to a different file so it's not overwritten when the mod is updated?

also, would it be possible to add a border around the black box as an indicator?

otherwise, so far so good. i like it! thank you!
kalemeow is offline Report comment to moderator  
Reply With Quote
Old 11-21-10, 01:51 PM  
Finnegan
A Kobold Labourer

Forum posts: 0
File comments: 20
Uploads: 0
Re: Re: Awesome

Originally posted by danltiger
Hmm... that's odd. My main is a druid, and I made this specifically so that I'd be able to see my HoTs. (You can add and remove auras to track by opening up the LUA file, and looking for...

Code:
local auralist = {
The lines following that define the auras, position, and colors.

What language client are you using? Perhaps the names of the auras are different between my client and yours.
You were right. Changed to the german locales and now it works like a charm.

Here they are:

["Verj\195\188ngung"] = {name = "Indicator1", color = {r = .8,g = 0, b = .8, a = 1},},
["Nachwachsen"] = {name = "Indicator2", color = {r = .2,g = 1, b = .4, a = 1},},

["Bl\195\188hendes Leben"] = {name = "Indicator3", color = {r = .6,g = 1, b = .1, a = 1},},
["Wildwuchs"] = {name = "Indicator4", color = {r = .2,g = 1, b = 1, a = 1},},

-- Debuff Types
Gift = {name = "Indicator5", color = {r = 0,g = .9, b = .1, a = 1},},
Fluch = {name = "Indicator4", color = {r = .9,g = 0, b = .7, a = 1},},
Magie = {name = "Indicator6", color = {r = 0,g = .3, b = .9, a = 1},},
Finnegan is offline Report comment to moderator  
Reply With Quote
Old 11-21-10, 10:26 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1497
Uploads: 21
And thank you for the info. Hopefully it works fine in party/raid modes.

Originally posted by DemonFist
Tried out clique support on my Druid. Seems to be working ok. I'll do more testing and report back as I've only tried it solo. I'll test party and raid as well.

Thanks for the Clique support,

Demon
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
danltiger is offline Report comment to moderator  
Reply With Quote
Old 11-21-10, 10:25 AM  
danltiger
A Murloc Raider
 
danltiger's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 1497
Uploads: 21
Re: Awesome

Hmm... that's odd. My main is a druid, and I made this specifically so that I'd be able to see my HoTs. (You can add and remove auras to track by opening up the LUA file, and looking for...

Code:
local auralist = {
The lines following that define the auras, position, and colors.

What language client are you using? Perhaps the names of the auras are different between my client and yours.

Originally posted by Finnegan
I felt in love with this the first time I saw it. Nice work.

Sadly I can't see any of my droodhots... what am I doing wrong?
__________________
Author Portal
Tidy Plates, Tidy Threat, and Tidy Bar
danltiger is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: