IceHUD
IceHUD is a highly configurable and customizable HUD addon in the spirit of DHUD, MetaHUD, and others designed to keep your focus in the center of the screen where your character is.
What it is
- Player and target health and mana bars, casting and mirror bars, pet health and mana bars, druid mana bar in forms, extensive target info, ToT display, and much more
Short feature list
- Lots of different bar shapes and patterns to make the HUD look like you want
- Class-specific modules such as combo point counters, Slice'n'dice timers, druid mana trackers, Eclipse bar, Holy Power monitoring, Warlock shard tracking, and more
- Target-of-target bars, Crowd Control timers, Range Finders, Threat meters, and plenty of other helpful modules
- Lots of DogTag-supported strings for extreme customizability (with the option to completely disable DogTag support for those that dislike the CPU toll that it takes)
- Cast lag indicator (optional)
- Alpha settings for in combat, target selected, etc.
- Fully customizable bars and counters capable of tracking buff/debuff applications on any unit, spell/ability cooldowns, and the health/mana of any unit you specify. The custom health/mana bars will even work with crazy unit specifications like "focustargettargetfocustarget" if you want!
- Highly configurable (can totally re-arrange all bars, change text display, etc.)
Slash commands
- /icehud - opens the configuration UI to tweak any setting
- /icehudCL - command-line access to tweak IceHUD settings (for use with macros, etc.)
Frequently Asked Questions
How do I hide the default Blizzard player, target unit frames and party unit frames? Type /icehud, expand the "Module Settings" section, click "Player Health" or "Target Health," and check "Hide Blizzard Frame" and/or "Hide Blizzard Party Frame". (NOTE: before version 1.3.7, the player/target unitframes were hidden by default. Follow the same steps to enable them if desired)
How do I turn off click-targeting and menus on the player bar? Type /icehud, expand the "Module Settings" section, click "Player Health," un-check "Allow click-targeting." Note that as of v1.3, there is now an option to allow click-targeting out of combat, but turn it off while in combat.
How do I hide the HUD or change its transparency based on combat, targeting, etc.? Type /icehud, check the "Transparency Settings" section. Nearly any combination of states should be available for tweaking.
Even if the rest of the HUD is transparent, the health percentages seem to show up. Why? Type /icehud, expand the "Module Settings" section, expand "Player Health," click "Text Settings," look for options about keeping the lower/upper text blocks alpha locked. If the text is alpha locked, it will not drop below 100%, otherwise it respects its bar's transparency setting. Player Health/Mana, Target Health/Mana, and pet bars should all have these options.
Is there any way to see combo points for Rogues and Druids or sunder applications for Warriors? Yes, check the "Combo Points" and "Sunders" modules in the /icehud configuration panel. (Note that these modules may not show up if you're not of the appropriate class to see them. They should be present for their respective classes, however.)
What's this thing at the top of the player's cast bar and threat bar? It's darker than the rest of the bar. (and may be colored red) That's the Cast Lag Indicator (or the aggro-pull warning for the Threat bar) that shows you when you can start casting a new spell and still be able to finish the current one (based on your lag to the server). You can disable this in the Player Cast Bar settings under the /icehud configuration screen.
Is there a bar that shows breath underwater and if so, how can I adjust it? Yes, this is called the MirrorBarHandler in the module settings portion of the /icehud configuration. It's called that because it mirrors casting bar behavior, displays more than just breathing (fatigue is one example), and that's what Blizzard calls it. It can be moved/adjusted/resized/etc. as with any other module.
There's a long green bar that sometimes shows up below everything else. What is it? That would be the TargetOfTarget module. That module is available for people who don't want the full ToT health/mana bars, but do want some sort of ToT representation on the screen. It's configurable through the /icehud module settings.
IceHUD needs a bar or counter for buff/debuff X! Good news: as of v1.5, you can create as many bars and counters for any buffs or debuffs you want! Type /icehud, select one of the custom module types in the drop-down at the top of the settings page, and press the Create button. This will create a custom module and automatically select it in the list. It is highly recommend that you rename the bar as soon as possible to avoid any confusion later.
How do I turn off the resting/combat/PvP/etc. icons on the player or target? Type /icehud, expand Module Settings, expand PlayerHealth (or TargetHealth for targets), click Icon Settings. You can control every aspect of the icons there including location, visibility, draw order, etc.
How do I turn off buffs/debuffs on the player's or target's bar? Type /icehud, expand Module Settings, expand PlayerInfo (or TargetInfo for targets), select Buff Settings or Debuff Settings, and un-check "show buffs" (or "show debuffs").
How do I turn off these big huge bars that pulse whenever one of my abilities procs? This isn't IceHUD - it's Blizzard's Spell Alerts they added in 4.0.1. Interface options => Combat => "Spell Alert Opacity" to turn them off or search for a mod to tweak their positioning/size/etc.
I don't like where some of the bars are placed. How do I put the health/mana on the left/right? Type /icehud, expand Module Settings, expand whatever module you want to move (e.g. PlayerHealth, PlayerMana), and adjust the "Side" and "Offset" settings. "Side" controls whether it's on the left or the right and "Offset" controls how far from center it is.
Which module displays Monk Chi power? Prior to v1.11.2, this module was called HarmonyPower. Harmony was the original name for Chi back when 5.0 was in beta, so I used Blizzard's name for it while I was developing for Cataclysm. IceHUD v1.11.2 changed this module to be called Chi.
How do I add commas/periods into big numbers like health? If you have DogTags enabled, you can open the Text Settings for the module in question and add SeparateDigits() around the tag you're trying to split up. To display Health/MaxHealth with commas, use: [(SeparateDigits(HP):HPColor "/" SeparateDigits(MaxHP):HPColor):Bracket]. To use periods instead of commas, use: [(SeparateDigits(HP, "."):HPColor "/" SeparateDigits(MaxHP, "."):HPColor):Bracket]. Use the /dog help menu to build your own similar tags for Mana, etc.
The countdown timers on buffs and debuffs completely obscure the icon. How do I disable or adjust the text? IceHUD is not responsible for this countdown text and cannot control it. The 6.0 patch added an option in the game client to display counts on top of cooldowns. Look at the Action Bars menu under the game's Interface options. You can turn the text on or off there. Mods like OmniCC or CooldownCount will generally give you the same feature but allow you to control when, where, and how the text shows up.
When I rotate some modules 90 degrees, such as the castbar, the bar appears to wiggle up and down as it fills or empties. How do I fix this? This is a side effect of the animation API that I'm co-opting to force a rotation without having to provide duplicates of every bar texture in the mod. Any bar moving sufficiently quickly and updating rapidly will cause this. IceHUD is intended to be a vertically-oriented mod, so the rotation feature is there for people who are willing to accept the side effects that come with it. My suggestion is to use one of the many horizontally-oriented bar mods out there if you're wanting horizontal bars. Quartz is a good castbar replacement that you can use and disable IceHUD's built-in castbar, for example.
How do I get rid of the bars that showed up beneath the player in the 7.0 patch? Blizzard added a "Personal Resource Display" feature in the 7.0 game client. You can disable it in the Game options -> Interface -> Names -> Personal Resource Display.
Why is there no target castbar for Classic? The Classic game client doesn't offer a reliable way to show castbars for anyone except the player. You can install the LibClassicCasterino addon to enable support, but it's a best guess and not at all accurate.
Why do buff/debuff timers not work in Classic? The Classic game client doesn't provide this information to addons because it wasn't a feature when the game first released. You can install the LibClassicDurations addon to enable support, but it's a best guess and not at all accurate.
See here for a user-created guide to creating new IceHUD textures.
In reply to Parnic:
I was wondering about that, it showed me that too when I went to roll back. Had v1.14.6 listed as from the 20th, and then then v1.14.0 as the new version that was just released today(23rd). It also did not show me any patch notes from v1.14.1 and above in the changelog, even though it had 14.1-14.6 still listed in patch history.
Thanks for the quick fix, and continued support!
(also I just realized *why* this specific thing seemed familiar, incredible job curse client, couldn't have trolled better on my best day)
hello i got this error often
Message: [ADDON_ACTION_FORBIDDEN] L'AddOn 'IceHUD' a tenté d'appeler la fonction protégée 'GuildControlSetRank()'.
Time: Mon Nov 21 21:34:43 2022
Count: 1
Stack: [ADDON_ACTION_FORBIDDEN] L'AddOn 'IceHUD' a tenté d'appeler la fonction protégée 'GuildControlSetRank()'.
[string "@Interface_Wrath\FrameXML\FriendsFrame_Wrath.lua"]:239: in function `GuildControlPopupFrame_Initialize'
[string "@Interface_Wrath\FrameXML\FriendsFrame_Wrath.lua"]:156: in function `FriendsFrame_OnEvent'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>
Locals: <none>
withe the dongeon search, i got an similiar error (called search)
This is most likely caused by another addon that is using a library loaded by IceHUD. The way WoW addons work is that if multiple addons use the same library (such as "Ace3", which is used by most addons), then it only gets loaded once. If IceHUD is the one that loaded it, then any error that goes through that library will get blamed on IceHUD.
Which is to say: IceHUD doesn't ever call the function "GuildControlSetRank" listed in that error message, so it can't be the actual culprit.
In reply to Parnic:
Did you think GRM can be the cause of this error?
I don't know what GRM is. Maybe?
I can't seem to find a way to negate a buff bar, i.e. I want the bar to show when I don't have the buff, and not show when I do have the buff. For example, a Soulstone and/or Fel Armor for a Warlock. Is this possible?
This is not currently possible, but can be added.
This will be available on custom Buff/Debuff watchers in version 1.14.6. You'll want to set a few settings in this mode to get the bar behaving the way you want:
This should give you what I believe you want: a bar that only shows up when your target doesn't have Soulstone active (or when you don't have Fel Armor active).
In reply to Parnic:
Thanks! That is exactly what I want.
I have version 14.4 and got this error:
1x [ADDON_ACTION_BLOCKED] AddOn 'IceHUD' tried to call the protected function 'UIParentRightManagedFrameContainer:SetPoint()'.
[string "@Interface/AddOns/!BugGrabber/BugGrabber.lua"]:480: in function <Interface/AddOns/!BugGrabber/BugGrabber.lua:480>
[string "=[C]"]: in function `SetPoint'
[string "@Interface/SharedXML/AnchorUtil.lua"]:34: in function `SetPoint'
[string "@Interface/FrameXML/UIParent.lua"]:3095: in function `UIParentManageFramePositions'
[string "@Interface/FrameXML/UIParent.lua"]:2570: in function <Interface/FrameXML/UIParent.lua:2557>
[string "=[C]"]: in function `SetAttribute'
[string "@Interface/FrameXML/UIParent.lua"]:3113: in function `UIParent_ManageFramePositions'
[string "@Interface/AddOns/Blizzard_ObjectiveTracker/Blizzard_ObjectiveTracker.lua"]:1470: in function `ObjectiveTracker_Update'
[string "@Interface/AddOns/Blizzard_ObjectiveTracker/Blizzard_ObjectiveTracker.lua"]:878: in function <...zzard_ObjectiveTracker/Blizzard_ObjectiveTracker.lua:876>
IceHUD is being blamed for this incorrectly. See how the only time IceHUD is mentioned is in the top message? This is happening with pretty much every addon I use right now, so it's a game bug.
I know you've got a lot on your plate, but is there any chance in the future we could get short aura/cooldown icons that can be displayed up near the bars?
I would accept a pull request that adds this, but I probably won't do it myself. There are lots of other custom counter/cooldown/buff modules already in IceHUD that I'm not sure this would be valuable. Plus the whole idea is to provide bars, not icons.
Hello, ever since 10.0 hit live servers icehud is not registering some bars unless I re-target the unit I want to track. For example, when I apply a stun to an enemy the TargetCC bar wont show the remaining CC duration unless I drop target (or target something else) and re-target the enemy I stunned. Same for TargetInvuln, if a Pala uses bubble TargetInvuln wont track the bubble unless I re-target the pala. Is this a known bug? is there a workaround?
This is not a known bug. You're the first to report it. Are the CC and Invuln bars the only ones affected? There was a similar problem with Rogue's RollTheBones that was fixed in one of the alphas.
Ok, it was the same problem as RollTheBones. I audited the rest of IceHUD for a similar pattern and only found CC and Invuln with the same issue. Those are fixed in v1.14.2.
In reply to Parnic:
Thank you :) it's correclty showing the CC and Invuln duration now, I even added a TargetBurst into the modules for PvP reasons and it is also working
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
-- needs to not be local so that we can inherit from it
TargetBurst = IceCore_CreateClass(IceUnitBar)
TargetBurst.prototype.buffName = nil
TargetBurst.prototype.buffRemaining = 0
TargetBurst.prototype.buffDuration = 0
local GetNumPartyMembers, GetNumRaidMembers = GetNumPartyMembers, GetNumRaidMembers
if GetNumGroupMembers then
GetNumPartyMembers = GetNumGroupMembers
GetNumRaidMembers = GetNumGroupMembers
end
-- list of spell ID's for each CC type so we can avoid localization issues
local BurstList= {
--PvE
260805, --Focusing Iris
--Death Knight
--Blood
--Frost
51271, --Pillar of Frost
207127, --Hungering Rune Weapon
207256, --Obliteration
--Unholy
194918, --Blighted Rune Weapon
215711, --Soul Reaper
207289, --Unholy Frenzy
--Demon Hunter
188501, --Spectral Sight
--Havoc
162264, --Metamorphosis
211048, --Chaos Blades
--Vengeance
205629, --Demonic Trample
--Druid
--Balance
194223, --Celestial Alignment
102560, --Incarnation: Chosen of Elune
--Feral
106951, --Berserk
102543, --Incarnation: King of the Jungle
--Guardian
102558, --Incarnation: Guardian of Ursoc
--Restoration
--Hunter
--Beast Masstery
19574, --Bestial Wrath
--Marksman
193526, --Trueshot
--Survival
186289, --Aspect of the Eagle
--Mage
--Arcane
12042, --Arcane Power
--Fire
190319, --Combustion
--Frost
12472, --Icy Veins
198144, --Ice Form
--Monk
310454, --Weapons of Order
--Brewmaster
--Mistweaver
--Windwalker
137639, --Storm, Earth, and Fire
152173, --Serenity
--Paladin
31884, --Avenging Wrath
--Holy
31842, --Avenging Wrath
216331, --Avenging Crusader
--Protection
152262, --Seraphim
--Retribution
231895, --Crusade
--Priest
10060, --Power Infusion
--Discipline
--Holy
--Shadow
194249, --Voidform
--Rogue
--Assassination
192428, --From the Shadows
--Outlaw
13750, --Adrenaline Rush
202665, --Curse of the Dreadblades
198529, --Plunder Armor
--Subtlety
185313, --Shadow Dance
121471, --Shadow Blades
--Shaman
2825, --Bloodlust
32182, --Heroism
--Elemental
114050, --Ascendance
--Enhancement
114051, --Ascendance
204362, --Heroism
204361, --Bloodlust
204945, --Doom Winds
--Restoration
--Warlock
196098, --Soul Harvest
--Affliction
236471, --Soulshatter
--Demonology
--Destruction
212284, --Firestone
--Warrior
107574, --Avatar
1719, --Battle Cry
--Arms
--Fury
200953, --Berserking
--Protection
}
-- Constructor --
function TargetBurst.prototype:init(moduleName, unit)
-- not sure if this is necessary...i think it is...this way, we can instantiate this bar on its own or as a parent class
if moduleName == nil or unit == nil then
TargetBurst.super.prototype.init(self, "TargetBurst", "target")
else
TargetBurst.super.prototype.init(self, moduleName, unit)
end
self.moduleSettings = {}
self.moduleSettings.desiredLerpTime = 0
-- self.moduleSettings.shouldAnimate = false
self:SetDefaultColor("CC:Burst", 0.99, 0.0, 0.0)
self.buffList = {}
self:PopulateSpellList(self.buffList, BurstList,"Burst")
self.previousbuff = nil
self.previousbuffTarget = nil
self.previousbuffTime = nil
end
-- grabs the list of CC's and pulls the localized spell name using the wow api
function TargetBurst.prototype:PopulateSpellList(buffListVar, ccList, ccName)
local spellName
for i=1,#ccList do
spellName = GetSpellInfo(ccList[i])
if spellName and spellName ~= "" then
buffListVar[spellName] = ccName
end
end
end
-- 'Public' methods -----------------------------------------------------------
-- OVERRIDE
function TargetBurst.prototype:Enable(core)
TargetBurst.super.prototype.Enable(self, core)
self:RegisterEvent("UNIT_AURA", "UpdateTargetBuffs")
self:RegisterEvent("PLAYER_TARGET_CHANGED", "UpdateTargetBuffs")
self:Show(false)
end
function TargetBurst.prototype:Disable(core)
TargetBurst.super.prototype.Disable(self, core)
end
-- OVERRIDE
function TargetBurst.prototype:GetDefaultSettings()
local settings = TargetBurst.super.prototype.GetDefaultSettings(self)
settings["enabled"] = false
settings["shouldAnimate"] = false
settings["hideAnimationSettings"] = true
settings["desiredLerpTime"] = nil
settings["lowThreshold"] = 0
settings["side"] = IceCore.Side.Left
settings["offset"] = 7
settings["usesDogTagStrings"] = false
return settings
end
-- OVERRIDE
function TargetBurst.prototype:GetOptions()
local opts = TargetBurst.super.prototype.GetOptions(self)
opts["lowThreshold"] = nil
opts["textSettings"].args["upperTextString"] = nil
opts["textSettings"].args["lowerTextString"] = nil
opts["alertParty"] = {
type = "toggle",
name = L["Alert Party"],
desc = L["Broadcasts crowd control effects you apply to your target via the party chat channel"],
get = function()
return self.moduleSettings.alertParty
end,
set = function(info, v)
self.moduleSettings.alertParty = v
end,
disabled = function()
return not self.moduleSettings.enabled
end,
}
return opts
end
-- 'Protected' methods --------------------------------------------------------
function TargetBurst.prototype:GetMaxbuffDuration(unitName, buffNames)
local i = 1
local buff, rank, texture, count, buffType, duration, endTime, unitCaster
if IceHUD.SpellFunctionsReturnRank then
buff, rank, texture, count, buffType, duration, endTime, unitCaster = UnitAura(unitName, i, "HELPFUL")
else
buff, texture, count, buffType, duration, endTime, unitCaster = UnitAura(unitName, i, "HELPFUL")
end
local isMine = unitCaster == "player"
local result = {nil, nil, nil}
local remaining
while buff do
remaining = endTime - GetTime()
if (duration == 0) and (remaining<0) then
duration =100000
remaining =100000
end
if buffNames[buff] and (not self.moduleSettings.onlyShowForMybuffs or isMine) then
if result[0] then
if result[2] <= remaining then
result = {buff, duration, remaining}
end
else
result = {buff, duration, remaining}
end
end
i = i + 1;
if IceHUD.SpellFunctionsReturnRank then
buff, rank, texture, count, buffType, duration, endTime, unitCaster = UnitAura(unitName, i, "HELPFUL")
else
buff, texture, count, buffType, duration, endTime, unitCaster = UnitAura(unitName, i, "HELPFUL")
end
isMine = unitCaster == "player"
end
return unpack(result)
end
function TargetBurst.prototype:MyOnUpdate()
TargetBurst.super.prototype.MyOnUpdate(self)
self:UpdateTargetBuffs("internal", self.unit)
end
function TargetBurst.prototype:UpdateTargetBuffs(event, unit)
local name, duration, remaining
local isUpdate = event == "internal"
if not isUpdate or not self.lastUpdateTime then
self.buffName, self.buffDuration, self.buffRemaining = self:GetMaxbuffDuration(self.unit, self.buffList)
else
self.buffRemaining = math.max(0, self.buffRemaining - (GetTime() - self.lastUpdateTime))
if self.buffRemaining <= 0 then
self.buffName = nil
end
end
self.lastUpdateTime = GetTime()
name = self.buffName
duration = self.buffDuration
remaining = self.buffRemaining
local targetName = UnitName(self.unit)
if (name ~= nil) and (self.previousbuff == nil) and (duration ~= nil) and (remaining ~= nil) then
if (duration > 1) and (self.moduleSettings.alertParty) and ((GetNumPartyMembers() >= 1) or (GetNumRaidMembers() >= 1)) then
SendChatMessage(targetName .. ": " .. name .. " (" .. tostring(floor(remaining * 10) / 10) .. "/" .. tostring(duration) .. "s)", "PARTY")
end
self.previousbuff = name
self.previousbuffTarget = targetName
self.previousbuffTime = GetTime() + duration
-- Parnic: Force the CurrScale to 1 so that the lerping doesn't make it animate up and back down
self.CurrScale = 1.0
elseif (self.previousbuff ~= nil) then
if (targetName ~= self.previousbuffTarget) then
self.previousbuff = nil
self.previousbuffTarget = nil
self.previousbuffTime = nil
elseif (GetTime() > self.previousbuffTime) then
self.previousbuff = nil
self.previousbuffTarget = nil
self.previousbuffTime = nil
end
end
if (name ~= nil) then
self:Show(true)
if (duration ~= nil and duration >= 0) then
self:UpdateBar(duration ~= 0 and remaining / duration or 0, "CC:" .. self.buffList[name])
self:SetBottomText2(floor(remaining * 10) / 10)
else
self:UpdateBar(0, "CC:" .. self.buffList[name])
self:SetBottomText2("")
end
self:SetBottomText1(name)
else
self:Show(false)
end
end
-- Load us up
IceHUD.TargetBurst = TargetBurst:new()
Latest update in classic seems bugged, worked fine at 7 am now all my frames are messed up except player health. Immersion is having the same problem, it's probably related to the Ace issues. I had to roll Immersion and IceHUD back a version, skipped over the alpha versions and I don't think I'm set to install Alpha versions so I can't comment on them but 1.14 bugged, 1.13 working.
Ok. What are "the ace issues"? I don't play classic so I haven't seen anything there.
I loaded v1.14.0 onto WotLK-Classic and it has no errors for me. Have you tried with only IceHUD running and no other mods?
edit: this was specific to the PlayerHealth Hide Blizzard Party feature, and was reported at https://www.wowace.com/projects/ice-hud/issues/330. Fixed in v1.14.1 (assuming that's the same thing you saw).