Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(73 Kb)
Download
Updated: 11-15-10 03:17 PM
Pictures
File Info
Updated:11-15-10 03:17 PM
Created:10-30-10 11:35 AM
Downloads:2,348
Favorites:7
MD5:
Categories:Paladin, Outdated Mods
BgHolyPowerTriforce
Version: 1.0.2
by: Basso [More]
BgHolyPowerTriforce Features:
Bassos great HolyPower Triforce
  1. Simple AddOn
  2. Two Options for Shape, Triforce or Numbers see Screen
  3. Hides Blizzard HolyPowerBar
  4. Moveable with Lua Config
  5. Needs nearly no AddOn Memory

NOTE:
The configuration can be found in "......\World of Warcraft\Interface\AddOns\BgHolyPowerTriforce\BgHolyTriforce.lua".
Code:
-----------------------------------------------
---------------- Configuration ----------------
-----------------------------------------------

frame:SetPoint("CENTER",0,-250)                                                                  -- Set to TOP,TOPRIGHT,TOPLEFT,CENTER,LEFT,RIGHT,BOTTOM,BOTTOMLEFT,BOTTOMRIGHT and change Coords to move
local textureFolder            = "Interface\\AddOns\\BgHolyPowerTriforce\\Triforce\\"            -- Change "Triforce" or "Numbers" to change Style
PaladinPowerBar:SetAlpha(0)                                                                      -- Hides BLizzard Holy Power Bar 0=Hide; 1=Show

-----------------------------------------------
------------  End of Configuration ------------
-----------------------------------------------



Im if you find any bugs please report them to me.


PS: Ingame Moving with Shortcut is something i have in mind for a future Version.
Version 1.0.2
Fixed the bugged with the not updating frame after leaving instance etc.

Version 1.0.1
Blizzard HolyPower Bar is now hidden, you can show it again by editing the options.
sorry that i missed that in the first version.
Optional Files (0)


Post A Reply Comment Options
Unread 01-22-13, 03:09 PM  
Shryke
A Kobold Labourer
 
Shryke's Avatar

Forum posts: 0
File comments: 1
Uploads: 0
Thanks for this.
Shryke is offline Report comment to moderator  
Reply With Quote
Unread 11-27-10, 01:52 AM  
Immary
A Kobold Labourer

Forum posts: 0
File comments: 19
Uploads: 0
Originally posted by Basso
The bug should now be fixed, if not please tell me.
Fixed now thanks
Immary is offline Report comment to moderator  
Reply With Quote
Unread 11-15-10, 03:17 PM  
Basso
A Deviate Faerie Dragon
 
Basso's Avatar
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 36
Uploads: 4
The bug should now be fixed, if not please tell me.
Basso is offline Report comment to moderator  
Reply With Quote
Unread 11-10-10, 09:54 AM  
rain3x
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 19
Uploads: 7
Originally posted by Basso
Anyone got the bug too ?
i only hear it from immary until now and i got problems to recreate the bug by me with my paladin, at least i only got a little twink pala XD
Yeah, mine is staying at 3 if I was at 3 before I left the BG. Perhaps referencing the function the previous person was talking about

Code:
frame:RegisterEvent("PLAYER_ENTERING_WORLD")
or something like

Code:
local lastUpdate = 0
frame:SetScript("OnUpdate", function(self, elapsed)
	lastUpdate = lastUpdate + elapsed
	if lastUpdate > 0.1 then
		lastUpdate = 0
		local power = UnitPower("player")
		frame:SetValue(power)
I don't REALLY know and neither of these methods have been tested by me and the second one would probably need tweaking, I'm just a noob playing with code =P
Last edited by rain3x : 11-10-10 at 10:08 AM.
rain3x is offline Report comment to moderator  
Reply With Quote
Unread 11-06-10, 05:43 PM  
Basso
A Deviate Faerie Dragon
 
Basso's Avatar
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 36
Uploads: 4
Originally posted by Immary
Found a bug:

If leaving an instance/BG while you still have charges of holy power, the bar wont auto-hide and will show the holy power stacks you had when you left the BG/instance.
Anyone got the bug too ?
i only hear it from immary until now and i got problems to recreate the bug by me with my paladin, at least i only got a little twink pala XD
Basso is offline Report comment to moderator  
Reply With Quote
Unread 11-06-10, 05:22 PM  
Basso
A Deviate Faerie Dragon
 
Basso's Avatar
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 36
Uploads: 4
Originally posted by wildcard
Are there any useful alternatives to this, bit confused as to why the author can't figure out zip files
i uploaded in zip now, hope it works now
Last edited by Basso : 11-06-10 at 05:24 PM.
Basso is offline Report comment to moderator  
Reply With Quote
Unread 11-06-10, 05:55 AM  
wildcard
A Kobold Labourer

Forum posts: 1
File comments: 20
Uploads: 0
Are there any useful alternatives to this, bit confused as to why the author can't figure out zip files
wildcard is offline Report comment to moderator  
Reply With Quote
Unread 11-03-10, 03:18 PM  
aapoo
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 32
Uploads: 4
Originally posted by Basso
Thats bad, i will look into it this week, not that much time atm, for the moment use all holy power you have before leaving the bg/instance if possible

if anyone already know how to fix this please tell me^^



I play without sounds and i hate annoying sounds so there would be nothing like thatr in my addons^^


Nearly all AddOns i dowloaded until were archived in .rar why should i use somehtin other Oo ?
Haven't really looked into your addon, but wouldn't it be a simple matter of running through your function on player entering world (recall there being a event, but can't think of the name of that event atm) and it should update your power (and thus nullify the power if it's really 0)
aapoo is offline Report comment to moderator  
Reply With Quote
Unread 11-02-10, 01:22 AM  
rain3x
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 19
Uploads: 7
Added solution for sound suggestion

Along with the ability to move from in game, the ability to scale the triforce would be nice too


Originally posted by Gizim
Need 1 thing to be perfect
Full holy power the "Da da da daaaaaa" sound.
in BgHolyPowerTriforce.lua immediately under this:

Code:
   elseif power == 3 then
                 frame:SetWidth(64)
                 frame:SetHeight(64)
                 texture:SetAllPoints(frame)
                 texture:SetTexture(textureFolder.."3.tga")
                 frame:Show()
Input:

Code:
PlaySoundFile("Interface\\AddOns\\BgHolyPowerTriforce\\sounds\\whatever.mp3");
Replace whatever.mp3 with the soundfile you want to play at 3 holy power. Put the soundfile in a folder called sounds inside the BgHolyPowerTriforce folder. The code should fully look like this:

Code:
        elseif power == 3 then
                 frame:SetWidth(64)
                 frame:SetHeight(64)
                 texture:SetAllPoints(frame)
                 texture:SetTexture(textureFolder.."3.tga")
                 frame:Show()
				 PlaySoundFile("Interface\\AddOns\\BgHolyPowerTriforce\\sounds\\whatever.mp3");
Hope this helps.
Last edited by rain3x : 11-02-10 at 04:22 AM.
rain3x is offline Report comment to moderator  
Reply With Quote
Unread 11-01-10, 02:04 PM  
wildcard
A Kobold Labourer

Forum posts: 1
File comments: 20
Uploads: 0
Can;t use MMOUI Minion to install/update this, probably because of the rar file
wildcard is offline Report comment to moderator  
Reply With Quote
Unread 10-31-10, 05:57 PM  
Basso
A Deviate Faerie Dragon
 
Basso's Avatar
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 36
Uploads: 4
Originally posted by Immary
Found a bug:

If leaving an instance/BG while you still have charges of holy power, the bar wont auto-hide and will show the holy power stacks you had when you left the BG/instance.
Thats bad, i will look into it this week, not that much time atm, for the moment use all holy power you have before leaving the bg/instance if possible

if anyone already know how to fix this please tell me^^


Originally posted by Gizim
Need 1 thing to be perfect
Full holy power the "Da da da daaaaaa" sound.
I play without sounds and i hate annoying sounds so there would be nothing like thatr in my addons^^

Originally posted by Gizim
and for the love of god stop using .RAR
Nearly all AddOns i dowloaded until were archived in .rar why should i use somehtin other Oo ?
Last edited by Basso : 10-31-10 at 06:19 PM.
Basso is offline Report comment to moderator  
Reply With Quote
Unread 10-31-10, 12:26 PM  
Immary
A Kobold Labourer

Forum posts: 0
File comments: 19
Uploads: 0
Found a bug:

If leaving an instance/BG while you still have charges of holy power, the bar wont auto-hide and will show the holy power stacks you had when you left the BG/instance.
Immary is offline Report comment to moderator  
Reply With Quote
Unread 10-31-10, 10:54 AM  
Gizim
A Defias Bandit

Forum posts: 2
File comments: 39
Uploads: 0
and for the love of god stop using .RAR
Gizim is offline Report comment to moderator  
Reply With Quote
Unread 10-31-10, 10:54 AM  
Gizim
A Defias Bandit

Forum posts: 2
File comments: 39
Uploads: 0
Need 1 thing to be perfect
Full holy power the "Da da da daaaaaa" sound.
Gizim is offline Report comment to moderator  
Reply With Quote
Unread 10-30-10, 12:38 PM  
Gsusnme
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 56
File comments: 198
Uploads: 1
Hah, love it!
Gsusnme is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: