Download
(287Kb)
Download
Updated: 06-30-11 01:17 PM
Pictures
File Info
Updated:06-30-11 01:17 PM
Created:03-20-10 10:29 PM
Downloads:32,956
Favorites:168
MD5:

oUF Hank  Popular! (More than 5000 hits)

Version: v3.0.10c
by: hankthetank [More]



Supported frames

  • Player
  • Target
  • ToT
  • TToT
  • Focus
  • ToF
  • Pet
  • Boss

The layout does not include party or raid frames!


Features
  • Compact, text based design
  • HP percentage fill serves as life bar
  • Custom graphics for status and raid icons
  • System for custom modifications
    • Possibility to override every single detail of this layout without touching the original code (LUA knowledge required)
    • No rewriting of your customizations after a patch
    • Share your copy & paste ready code snippets with others
  • Aura filtering:
    • Sticky auras: Always visible & colored. Can be disabled
      • Your buffs
      • Your debuffs
      • Pet debuffs
      • Curable debuffs
      • Enemy's own buffs
    • Maximum buff & debuff cap
    • White- and blacklists
    • Target and focus auras can be configured separately
  • Cast- & mirrorbars
  • DK runes, combo points, holy power, soul shards, eclipse bar
  • Experience / reputation
  • Support for:
    • oUF_SpellRange
    • oUF_TotemBar


Configuration

There is a broad range of options inside the config.lua file. Knowledge in LUA is not not necessarily mandatory but beneficial. Some of the things you can configure:
  • Frame scale and positions
  • Colors and fonts
  • Fill and border textures
  • Aura filtering and appearance
  • Range fading
  • Threat indication
  • Several castbar options


FAQ's and articles

Visit my author portal

3.0.10c
  • TOC bump
  • Bug fix: Eclipse bar should work properly again.

3.0.10b
  • TOC bump
  • Removed pet happiness

3.0.10
  • Features
    • Boss frames
    • Added configuration option for name abbreviation
  • Bug fixes
    • Recompiled some textures to hopefully fix white edges
    • Reputation display now updates correctly

3.0.9
  • Eclipse bar
  • Updated dispel mechanics for cataclysm
  • Additional status icons with new configuration option (order & visibility)
  • Bug fix: Dispellable debuffs now update on talent changes

3.0.8
  • Updated to oUF 1.5 & WoW 4.0.1
  • Holy power added
  • Soul shards added
  • Bug fixes:
    • Removed unnecessary cast bar animations after instant spells
    • Vehicle context menu
    • Vehicle tags

3.0.7
  • Display for experience & reputation
  • Updated to new oUF_SpellRange version
  • Bugfix for unknown power types

3.0.6
  • Updated to oUF 1.4
  • Got rid of some obsolete code
  • Removed ugly hacky hooks
  • Minor bugfixes

3.0.5
  • Castbars integrated
  • Mirrorbars
  • Custom modifications system introduced
  • Focus target added
  • Aura filtering additions:
    • StickyAura option: petDebuffs
    • myDebuffs now covers player's vehicles
  • Removed ButtonFacade support for now
  • Minor visual improvements
    • Aura duration spiral reversed
    • Aura mouseover icon skinned
    • Color overlay for StickyAuras now configurable

3.0.4
  • New aura filter features:
    • All aura settings can now be configured separately for target and focus
    • Buffs and debuffs now can have different filter methods
  • Fix for buff and debuff spacing
  • NEW CONFIG.LUA OPTIONS! PLEASE BACKUP YOUR OLD CONFIG! You can use your old config as long as you replace the "Aura filters" part starting at line 100 with the new version.

3.0.3b
  • Fixed an issue with combo points
  • Minor visual improvement of border textures

3.0.3
  • Combo points
  • Custom aura borders & aura spacing
  • Option to not hide Blizzard party frames in config
  • ButtonFacade support

3.0.2
  • Death Knight runes
  • Support for oUF_TotemBar
  • Option for focus frame scale

3.0.1
  • Advanced aura filtering
  • oUF_SpellRange support
  • Bugfixes
Optional Files (1)
File Name
Version
Size
Author
Date
Type
3
254kB
03-22-10 04:53 PM
Patch


Post A Reply Comment Options
Unread 05-01-10, 01:00 PM  
hankthetank
A Theradrim Guardian
 
hankthetank's Avatar
AddOn Author - Click to view AddOns

Forum posts: 64
File comments: 132
Uploads: 6
Originally posted by Mourdin
ok, so how do we hide the GIANT ENORMOUS casting bars? might i suggest that you make it much much much smaller...
might i suggest you take a look at the configuration?

Bar too big? => Resize it
Code:
CastbarSize = {110, 32},
Fonts too big? => Change them
Code:
-- Castbar: Time text, focus spell name
CastBarBig = {"Interface\\AddOns\\oUF_Hank_v3\\fonts\\tahoma.ttf", 15},
-- Castbar: Spell name (player, target)
CastBarMedium = {"Interface\\AddOns\\oUF_Hank_v3\\fonts\\tahoma.ttf", 9},
-- Castbar: Latency
CastBarSmall = {"Interface\\AddOns\\oUF_Hank_v3\\fonts\\tahoma.ttf", 8},
Still don't like it? => Disable castbars and use your own.
Code:
Castbar = true,
Last edited by hankthetank : 05-01-10 at 01:56 PM.
Report comment to moderator  
Reply With Quote
Unread 05-01-10, 12:59 PM  
Mourdin
A Murloc Raider

Forum posts: 6
File comments: 49
Uploads: 0
ok, so how do we hide the GIANT ENORMOUS casting bars? might i suggest that you make it much much much smaller...
Report comment to moderator  
Reply With Quote
Unread 05-01-10, 09:30 AM  
Gsusnme
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 199
Uploads: 1
MMOUI Minion

Just thought I would mention this so no one else erases their custom modifications like I did.
When using MMOUI Minion, be sure to copy your custom_modifications.lua into a SEPARATE FOLDER (like your Desktop) for backup before updating this mod in Minion.
As Minion DELETES the entire folder before installing the "New" version, your custom_modifications.lua would be deleted along with it.

So in short, make your finishing touches to your custom_modifications.lua, make a COPY of it somewhere outside of the oUF_Hank_v3 folder, run minion, update, and copy custom_modifications.lua back into it, overwriting the template one, and you're good to go.
Report comment to moderator  
Reply With Quote
Unread 05-01-10, 08:33 AM  
hankthetank
A Theradrim Guardian
 
hankthetank's Avatar
AddOn Author - Click to view AddOns

Forum posts: 64
File comments: 132
Uploads: 6
Originally posted by oopsminded
1. ButtonFacade doesn't see the addon; need to edit something in the config?
2. tried editing your blp border textures using blp2png, modifying the png and reconverting but the results are meh, what do you use/suggest to edit/create them?
3. where can I undo the change to the cooldown spiral that you implemented?
4. still getting lua error when entering vehicles (SotA ones for sure)
- Removed ButtonFacade support for now
I use Photoshop for editing / creating PNGs. As far as how to produce best conversion results, I figured out BLPConverter (->BLP) and WoWExplored Texture Converter (BLP->) work best for me.

To revert to the way the cooldown spiral looked before use this custom modification:

Code:
oUF_Hank_hooks.EmptyOutAuraCDs = {
	PostCreateAuraIcon = function(self, icon, icons, index, isDebuff)
		icon.cd:SetReverse(false)
	end,
}
Report comment to moderator  
Reply With Quote
Unread 05-01-10, 03:46 AM  
oopsminded
A Murloc Raider

Forum posts: 7
File comments: 25
Uploads: 0
Getting better and better, grats on the layout. Issues, maybe you or someone else could help:

1. ButtonFacade doesn't see the addon; need to edit something in the config?
2. tried editing your blp border textures using blp2png, modifying the png and reconverting but the results are meh, what do you use/suggest to edit/create them?
3. where can I undo the change to the cooldown spiral that you implemented?
4. still getting lua error when entering vehicles (SotA ones for sure)

Thanks
Report comment to moderator  
Reply With Quote
Unread 04-30-10, 09:52 PM  
Gsusnme
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 199
Uploads: 1
Thanks for the quick reply mate, great work as always!
Report comment to moderator  
Reply With Quote
Unread 04-30-10, 09:20 PM  
hankthetank
A Theradrim Guardian
 
hankthetank's Avatar
AddOn Author - Click to view AddOns

Forum posts: 64
File comments: 132
Uploads: 6
Originally posted by Gsusnme
How about the code to disable certain frames? Like say, I didn't want the ToTT or the FT, could that be added to the custom modifications lua somehow? Thanks in advance!
Not exactly disabled but as close as it gets:

Code:
oUF_Hank_hooks.HideFrames = {
	sharedStyle = function(self, unit)
		if unit == "targettargettarget" or unit == "focustarget" then
			self:SetAttribute("initial-height", 1)
			self:SetAttribute("initial-width", 1)
			self:SetAlpha(0)
		end
	end,
}
Report comment to moderator  
Reply With Quote
Unread 04-30-10, 08:33 PM  
Gsusnme
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 199
Uploads: 1
How about the code to disable certain frames? Like say, I didn't want the ToTT or the FT, could that be added to the custom modifications lua somehow? Thanks in advance!
Report comment to moderator  
Reply With Quote
Unread 04-30-10, 08:09 PM  
duderise
A Defias Bandit

Forum posts: 3
File comments: 29
Uploads: 0
I was using SciTE, and the encoding was 8-bit, so there were no "?" in the actual code, reason why I didn't pick up on it. But I did change the encoding to UTF-8 and that fixed it, thx.
Report comment to moderator  
Reply With Quote
Unread 04-30-10, 08:00 PM  
hankthetank
A Theradrim Guardian
 
hankthetank's Avatar
AddOn Author - Click to view AddOns

Forum posts: 64
File comments: 132
Uploads: 6
Originally posted by duderise
Haha. alright, thx. That all worked just as I wanted it to, but now there is a little glitch.
Save your file using UTF-8 encoding!

Replace these lines:

Code:
if unit == "targettarget" or unit == "focustarget" then self:Tag(self.name, "|c[classColor]›  [smartName] @[perhp]%|r")
elseif unit == "targettargettarget" then self:Tag(self.name, "|c[classColor]ğ [smartName] @[perhp]%|r") end
Since you used ASCII they will look like this:

Code:
if unit == "targettarget" or unit == "focustarget" then self:Tag(self.name, "|c[classColor]?  [smartName] @[perhp]%|r")
elseif unit == "targettargettarget" then self:Tag(self.name, "|c[classColor]? [smartName] @[perhp]%|r") end
Thereafter, assuming you edit the file with notepad, choose Save as to overwrite the file selecting UTF-8 from the encoding combo box.
Last edited by hankthetank : 04-30-10 at 08:00 PM.
Report comment to moderator  
Reply With Quote
Unread 04-30-10, 07:36 PM  
duderise
A Defias Bandit

Forum posts: 3
File comments: 29
Uploads: 0
Haha. alright, thx. That all worked just as I wanted it to, but now there is a little glitch.

Report comment to moderator  
Reply With Quote
Unread 04-30-10, 07:11 PM  
hankthetank
A Theradrim Guardian
 
hankthetank's Avatar
AddOn Author - Click to view AddOns

Forum posts: 64
File comments: 132
Uploads: 6
Originally posted by duderise
Still trying to figure out how to do this with the targets detailed health, and ToT/ToTT's health percents
Here is the complete custom_modifications.lua for that purpose:

Code:
local cfg = oUF_Hank_config
oUF_Hank_hooks = {}

oUF.Tags["[classColor]"] = function(unit)
	local color = RAID_CLASS_COLORS[select(2, UnitClass(unit))]
	return ("FF%.2x%.2x%.2x"):format(color.r * 255, color.g * 255, color.b * 255)
end

--------------------------------------------------------------------------
--  Class colored detailed health
--------------------------------------------------------------------------

oUF_Hank_hooks.ClassHealthDetailed = {
	sharedStyle = function(self, unit)
		if unit == "target" or unit == "focus" then self:Tag(self.power, cfg.ShowThreat and "|c[classColor][h_ppDetailed]|r[threatPerc]" or "|c[h_ppDetailed]|r") end
	end,
}

--------------------------------------------------------------------------
--  Class colored ToT, TToT, ToF
--------------------------------------------------------------------------

oUF_Hank_hooks.ClassToT_etc = {
	sharedStyle = function(self, unit)
		if unit == "targettarget" or unit == "focustarget" then self:Tag(self.name, "|c[classColor]›  [smartName] @[perhp]%|r")
		elseif unit == "targettargettarget" then self:Tag(self.name, "|c[classColor]ğ [smartName] @[perhp]%|r") end
	end,
}
One more thing: You don't need the UnitHealth part for your ClassHealth hook. That was just for the health colored example.

Code:
--------------------------------------------------------------------------
--  Class colored health%
--------------------------------------------------------------------------

oUF_Hank_hooks.ClassHealth = {
	UpdateHealth = function(self, unit)
		if UnitIsConnected(unit) and not UnitIsGhost(unit) and not UnitIsDead(unit) then
			for i = 1, 4 do
				self.healthFill[5 - i]:SetVertexColor(RAID_CLASS_COLORS[select(2, UnitClass(unit))].r, RAID_CLASS_COLORS[select(2, UnitClass(unit))].g, RAID_CLASS_COLORS[select(2, UnitClass(unit))].b)
			end
		end
	end,
}
Last edited by hankthetank : 04-30-10 at 07:40 PM.
Report comment to moderator  
Reply With Quote
Unread 04-30-10, 06:17 PM  
duderise
A Defias Bandit

Forum posts: 3
File comments: 29
Uploads: 0
Hook to make the percent fill match the players class.

Code:
oUF_Hank_hooks.ClassHealth = {
			UpdateHealth = function(self, unit)
				if unit == "player" and UnitHasVehicleUI("player") then
					h, hMax = UnitHealth("pet"), UnitHealthMax("pet")
				else
					h, hMax = UnitHealth(unit), UnitHealthMax(unit)
				end

				if UnitIsConnected(unit) and not UnitIsGhost(unit) and not UnitIsDead(unit) then
					for i = 1, 4 do
						self.healthFill[5 - i]:SetVertexColor(RAID_CLASS_COLORS[select(2, UnitClass(unit))].r, RAID_CLASS_COLORS[select(2, UnitClass(unit))].g, RAID_CLASS_COLORS[select(2, UnitClass(unit))].b)
					end
				end
			end,
		}
Still trying to figure out how to do this with the targets detailed health, and ToT/ToTT's health percents
Report comment to moderator  
Reply With Quote
Unread 04-30-10, 05:33 PM  
hankthetank
A Theradrim Guardian
 
hankthetank's Avatar
AddOn Author - Click to view AddOns

Forum posts: 64
File comments: 132
Uploads: 6
New version
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
Code:
- Castbars integrated
- Mirrorbars
- Custom modifications system
- Focus target added
- Aura filtering additions:
   - StickyAura option: petDebuffs
   - myDebuffs now covers player's vehicles
- Removed ButtonFacade support for now
- Minor visual improvements
   - Aura duration spiral reversed
   - Aura mouseover icon skinned
   - Color overlay for StickyAuras now configurable
Castbar design:



Introducing the new custom modifications system:



This allows you to hook into every function of the addon to write customizations without touching the original code. Changes you made to the layout will not get lost when patching the addon (you need to backup custom_modifications.lua of course). I encourage you to post little snippets here that other people might like. I am going to publish further information on that subject later in the FAQs.
Last edited by hankthetank : 04-30-10 at 07:29 PM.
Report comment to moderator  
Reply With Quote
Unread 04-29-10, 01:02 AM  
duderise
A Defias Bandit

Forum posts: 3
File comments: 29
Uploads: 0
I did my best to read all 9 pages of comments, cause I really like this layout. But I still have one question; how can I make the tot and tott font colors change with class. Also the color of the targets health numbers. (20.1k/20.1k)
Last edited by duderise : 04-29-10 at 01:14 AM.
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.