Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(1 Kb)
Download
Updated: 06-20-11 10:26 AM
Pictures
File Info
Updated:06-20-11 10:26 AM
Created:12-21-10 10:24 AM
Downloads:10,238
Favorites:15
MD5:
Predator's Swiftness Tracker  Popular! (More than 5000 hits)
Version: 1.3.1
by: ramono [More]
Simple yet needed addon for the PvPing Feral Druid.
It adds Predator's Swiftness to the Default UI Power Aura's

NEW: The addon uses the "/pst" command to toggle on/off (for raiding purposes)

The addon does the same as the following two macro's which I made aswell:
Code:
/run SAF = SpellActivationOverlayFrame FOS = "TEXTURES\\SPELLACTIVATIONOVERLAYS\\FURY_OF_STORMRAGE.BLP" SAS = SpellActivationOverlay_ShowOverlay SAH = SpellActivationOverlay_HideOverlays PSF=CreateFrame("FRAME")

/run PSF:RegisterEvent("UNIT_AURA");PSF:SetScript('OnEvent',function() o=0 for i=1,40 do _,_,_,_,_,_,_,_,_,_,id=UnitAura("Player",i) if id==69369 then SAS(SAF,69369,FOS,"TOP",1,255,255,255,false,false) o=1 end end if o==0 then SAH(SAF,69369) end end)
You can use this to test it out and/or if you dont want to use addons, but you'll have to use it every login,




















EDIT NOTES:

You can use the following code to add new spells to the default UI's PowerAura's
Addon Code:
Code:
PSF=CreateFrame("FRAME")
PSF:RegisterEvent("UNIT_AURA");
PSF:SetScript('OnEvent',function() 
  o=0 
  for i=1,40 do 
    _,_,_,_,_,_,_,_,_,_,id=UnitAura("Player",i) 
      if id==69369 then SpellActivationOverlay_ShowOverlay(SpellActivationOverlayFrame,69369,"TEXTURES\\SPELLACTIVATIONOVERLAYS\\FURY_OF_STORMRAGE.BLP","TOP",1,255,255,255,false,false) 
        o=1 
      end 
    end 
    if o==0 then SpellActivationOverlay_HideOverlays(SpellActivationOverlayFrame,69369) 
  end 
end)
Macro Code:
Code:
/run SAF = SpellActivationOverlayFrame FOS = "TEXTURES\\SPELLACTIVATIONOVERLAYS\\FURY_OF_STORMRAGE.BLP" SAS = SpellActivationOverlay_ShowOverlay SAH = SpellActivationOverlay_HideOverlays PSF=CreateFrame("FRAME")

/run PSF:RegisterEvent("UNIT_AURA");PSF:SetScript('OnEvent',function() o=0 for i=1,40 do _,_,_,_,_,_,_,_,_,_,id=UnitAura("Player",i) if id==69369 then SAS(SAF,69369,FOS,"TOP",1,255,255,255,false,false) o=1 end end if o==0 then SAH(SAF,69369) end end)

Change 69369 To your spellid, you can find this on wowhead in the URL: http://www.wowhead.com/spell=69369
You also prolly want to change the variable name "PSF" to somehting different to avoid similair scripts screwing yours.

You can change the texture to:
Code:
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\MASTER_MARKSMAN.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\FOCUS_FIRE.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\LOCK_AND_LOAD.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\BLOOD_SURGE.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\SWORD_AND_BOARD.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\SUDDEN_DEATH.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\MAELSTROM_WEAPON.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\FULMINATION.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\IMPACT.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\FROZEN_FINGERS.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\ARCANE_MISSILES.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\HOT_STREAK.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\BRAIN_FREEZE.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\SURGE_OF_LIGHT.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\MOLTEN_CORE.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\BACKLASH.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\IMP_EMPOWERMENT.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\NIGHTFALL.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\NATURES_GRACE.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\GENERICTOP_01.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\ECLIPSE_SUN.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\FURY_OF_STORMRAGE.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\ECLIPSE_MOON.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\SHOOTING_STARS.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\DARK_TRANSFORMATION.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\SUDDEN_DOOM.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\RIME.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\KILLING_MACHINE.BLP"{
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\GRAND_CRUSADER.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\ART_OF_WAR.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\DAYBREAK.BLP"
"TEXTURES\\SPELLACTIVATIONOVERLAYS\\HAND_OF_LIGHT.BLP"
You can change "TOP" to
Code:
"CENTER"
"LEFT"
"RIGHT"
"TOP"
"BOTTOM"
"TOPRIGHT"
"TOPLEFT"
"BOTTOMRIGHT"
"BOTTOMLEFT"
and you can change the 255,255,255 to any color you want in RGB format. keep it on 255,255,255 for default coloring.
1.3.2 "/ps" to "/pst"
1.3 Added "/ps" command for toggling the addon on/off. added lots of comments in the lua, and updated to 4.1
1.2 Flipped arround the Texture.
1.1 Fixed a Terrible Bug Allowing NO default Spells creating an alert.
1.0 Initial Relase
Post A Reply Comment Options
Unread 10-22-12, 12:08 AM  
ohmoxide
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Thank you

Thank for the addon.

What do you think about making one similar for the Stampede proc on the druid pvp set.
Thanks again.
-Rob
ohmoxide is offline Report comment to moderator  
Reply With Quote
Unread 06-15-11, 03:13 PM  
seanj0
A Murloc Raider

Forum posts: 7
File comments: 5
Uploads: 0
/PS is the same toggle command for pvp sound.

just a little heads up.
seanj0 is offline Report comment to moderator  
Reply With Quote
Unread 12-23-10, 07:33 AM  
Adderus
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
tnx
Adderus is offline Report comment to moderator  
Reply With Quote
Unread 12-21-10, 04:44 PM  
kazama14
A Kobold Labourer

Forum posts: 0
File comments: 34
Uploads: 0
I figured it out. The hFlip and vFlip fields require a true or false boolean input. Setting both fields to false produces the proper orientation.

Thanks again, hope that helps.

As far as using power auras I was using that before for this function but I'd rather not have a HUGE add-on to recreate such simple functions I assume you were of the same mind.
kazama14 is offline Report comment to moderator  
Reply With Quote
Unread 12-21-10, 03:27 PM  
ramono
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 4
Uploads: 1
PS terrible bugfix, I used thesame Frame blizzard uses to detect events, meaning no other spells were being tracked.
Last edited by ramono : 04-26-11 at 11:23 AM.
ramono is offline Report comment to moderator  
Reply With Quote
Unread 12-21-10, 01:01 PM  
ramono
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 4
Uploads: 1
Re: Cool

Originally posted by kazama14
Love the addon, I used the code to show when Denounce procs on my Holy Paladin. However I had one quick question. For some reason when using this method it flips the textures along the X-Axis so they are all upside down. For example when using the hand of light texture it should curve over the top of the player like a rainbow, but instead it is in a U shape above the player. I have tried different positions but this doesn't seem to help. Any idea on how to change this?

Also an addon like this would be a great idea to gather together all the abilities that Blizz has not yet added a notification for but sorely need it.

Thanks in advance.
If you want to add more spells, your better off using PowerAura's.

The reason I dont use that is because I dont like being dependent on Addons, Thats also the reasoning behind the macro.
If anyone wants to extend this addon, by all means please do. but please put my credit in somewhere


Anyway, about the Flipping thing, I have no idea. The function we call =
SpellActivationOverlay_ShowOverlay(self, spellID, texturePath, position, scale, r, g, b, vFlip, hFlip)
Changing vFlip and hFlip to 1 doesnt seem to have any effects.

Thanks,
Ramon(o)
Last edited by ramono : 12-21-10 at 01:07 PM.
ramono is offline Report comment to moderator  
Reply With Quote
Unread 12-21-10, 12:42 PM  
kazama14
A Kobold Labourer

Forum posts: 0
File comments: 34
Uploads: 0
Cool

Love the addon, I used the code to show when Denounce procs on my Holy Paladin. However I had one quick question. For some reason when using this method it flips the textures along the X-Axis so they are all upside down. For example when using the hand of light texture it should curve over the top of the player like a rainbow, but instead it is in a U shape above the player. I have tried different positions but this doesn't seem to help. Any idea on how to change this?

Also an addon like this would be a great idea to gather together all the abilities that Blizz has not yet added a notification for but sorely need it.

Thanks in advance.
kazama14 is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: