Download
(3Kb)
Download
Updated: 09-02-18 03:33 AM
Pictures
File Info
Compatibility:
Battle for Azeroth (8.0.1)
Updated:09-02-18 03:33 AM
Created:01-20-18 08:29 PM
Downloads:2,089
Favorites:5
MD5:

rButtonAura

Version: 800.20180901
by: zork [More]


Intro

rButtonAura allows you to highlight any action button if a corresponding unit aura is found. The highlighting is done via border and/or by displaying a small bar timer.
I decided to scrap the ingame config. rButtonAura is just the framework.
You need a config addon like rButtonAura_Zork to setup the desired auras.
Requires
rLib
Git
https://github.com/zorker/rothui/tre....0/rButtonAura

Optional Files (0)


Post A Reply Comment Options
Unread 12-08-20, 10:07 AM  
soyolas
A Kobold Labourer

Forum posts: 0
File comments: 141
Uploads: 0
Is this working for Shadowlands?
Report comment to moderator  
Reply With Quote
Unread 11-06-18, 09:11 PM  
Kabuto-eu
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 45
Uploads: 2
This may be a bit beyond the scope but since you play tank, Zork, you might also benefit from this suggestion for a new feature.

Would it be possible to apply a border if the targetted mob is casting a kickable spell?
Report comment to moderator  
Reply With Quote
Unread 08-18-18, 12:24 PM  
soyolas
A Kobold Labourer

Forum posts: 0
File comments: 141
Uploads: 0
If I only knew how to code...
Report comment to moderator  
Reply With Quote
Unread 08-18-18, 06:32 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Feel free to write one. You can replace rButtonAura_Zork with a config addon that has the desired GUI and calls rButtonAura:AddAura(aura) for each of the auras the GUI provides.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 08-18-18, 12:43 AM  
soyolas
A Kobold Labourer

Forum posts: 0
File comments: 141
Uploads: 0
This would be much better if there was a in-game GUI for configurations.
Report comment to moderator  
Reply With Quote
Unread 07-28-18, 03:30 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
New attributes: form, spec, requireSpell

With the new attributes auras can be configured to only be displayed when a certain spell is present or a certain form and/or spec is present.

Lua Code:
  1. --config example
  2.  
  3. local character = UnitName("player")
  4.  
  5. -----------------------------
  6. -- Aura config for Xia (Drood)
  7. -----------------------------
  8.  
  9. if character == "Xia" then
  10.  
  11.   --regrowth
  12.   local aura = {
  13.     button          = ActionButton1,
  14.     unit            = "player",
  15.     caster          = "player",
  16.     spellid         = 8936,
  17.     filter          = "HELPFUL|PLAYER",
  18.     spec            = 2,
  19.     form            = 0,
  20.     --requireSpell    = 5221, --only make the buff visible if this spell is available
  21.     useBar          = true,
  22.     barColor        = {1,1,0,1},
  23.     barPoint        = {"TOPLEFT",0,0},
  24.     barHeight       = 4,
  25.     useBorder       = true,
  26.     borderColor     = {0,1,0,1},
  27.   }
  28.   rButtonAura:AddAura(aura)
  29.  
  30. end

form = https://wow.gamepedia.com/API_GetShapeshiftForm
spec = specilization index
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 07-28-18 at 03:37 AM.
Report comment to moderator  
Reply With Quote
Unread 07-27-18, 05:54 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Originally Posted by Arzamar
So how can I add some ButtonAuras now? With editing the config.lua on buttonaura_zork folder? If so, how can I setup it per character, since it registers auras based on the button, not spell id. Or am I missing something?
You either make one config addon per character or you add a condition for player name. I do this with rFilter for example.
https://github.com/zorker/rothui/blo...k/buff.lua#L15
https://github.com/zorker/rothui/blo...k/init.lua#L15

*edit* That being said I should probably provide an option to support spec. I can do that easily in rFilter because rFilter used frames. rButtonAura is just textures. There is no state handler for textures.
But I have an idea though. It could easily be an attribute and I have one function catch the spec.

Will add that today probably.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 07-28-18 at 02:28 AM.
Report comment to moderator  
Reply With Quote
Unread 07-27-18, 05:36 PM  
Arzamar
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
Originally Posted by zork
Update for BfA is finished. I decided to scrap the ingame config. There is a seperate config addon now that can be used to setup the buttons per character. rButtonAura itself is just a framework now.
So how can I add some ButtonAuras now? With editing the config.lua on buttonaura_zork folder? If so, how can I setup it per character, since it registers auras based on the button, not spell id. Or am I missing something?

Your UI design looks pretty good btw, don't know how I missed this I always loved simple looking good UIs and this is really cool man!
Report comment to moderator  
Reply With Quote
Unread 07-23-18, 11:46 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Update for BfA is finished. I decided to scrap the ingame config. There is a seperate config addon now that can be used to setup the buttons per character. rButtonAura itself is just a framework now.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 05-10-18, 12:17 AM  
soyolas
A Kobold Labourer

Forum posts: 0
File comments: 141
Uploads: 0
Can you release a version for testing it on BFA beta?
Report comment to moderator  
Reply With Quote
Unread 04-30-18, 08:40 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
This is going to be delayed until BfA.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 04-07-18, 11:46 PM  
soyolas
A Kobold Labourer

Forum posts: 0
File comments: 141
Uploads: 0
Hows the project going? I'm waiting for the version with a config panel to be released...
Report comment to moderator  
Reply With Quote
Unread 02-17-18, 10:44 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Yes still working on it. The current version is only a proof of concept atm.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 02-17-18 at 10:55 AM.
Report comment to moderator  
Reply With Quote
Unread 02-16-18, 04:10 PM  
Kabuto-eu
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 45
Uploads: 2
Ok, right now the button auras are hardcoded to specific action buttons.
Last edited by Kabuto-eu : 02-16-18 at 05:25 PM.
Report comment to moderator  
Reply With Quote
Unread 02-07-18, 01:41 PM  
gossipgirlxo
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 108
Uploads: 1
Thank you Zork!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: