Overhead
What's Overhead?
Overhead at this stage is a very simple nameplate addon. Its purpose is provide additional behaviors inside ARENA ONLY. It does two things:
- Hides non-player nameplates in arena (totems, pets, mirror images, etc) and Note: The nameplates aren’t actually hidden, just the art is so you’ll still see them shuffle around if they’re clustered
- Displays castbars on all enemy nameplates regardless of target selection.
Enjoy
4.0+ New Features
- Now it's castbar also works with parties' and enemies pets' nameplate, and you can disable this feature by slash command.
- A new slash command table, this will be presented later on this page.
- Add blacklist and whitelist, you can show totems only that you want(eg. only show Grounding Totem), hide pets that you don't want to see(eg. hide Treant and Shadowfiend)
Slash Command
- /oh party <on/off> -parties castbar on or off, default is on
- /oh pet <on/off> -enemies' pets castbar on or off, default is on
- /oh <disable/enable> -the addon on or off, works after reloading
- /oh status -show addon status
- /oh showlist <add/del> <name> -add or delete whitelist items
- /oh hidelist <add/del> <name> -add or delete hidelist items
- /oh <showlist/hidelist> -show all items in showlist or hidelist
- /oh reset -reset to default and clean all lists, works after reloading
Some Addition Notes
- When add or delete names in lists, you have to take care of the letters case and spaces and not add any kinds of quotation marks(eg. /oh showlist add Spirit Link Totem is just correct)
- The hidelist is for parties, pets and enemies(default is shown), the showlist is for guards and totems(default is hidden), but all this config is under your game conifg of nameplates. In other words, if your game option of enemies pet is hidden, you can't show it whatever you do using overhead.
Update to 5.4.2, please.
Update it for 5.1 plz! :(
Please update it to 5.0.5!
I was wondering if this addon works with different nameplates addon as well or just default nameplates?
i really miss the enemy spell CD feature but other than that it's awesome.
/oh showlist add Grounding Totem
PLEASEE!!! i need it so bad
Someone please update this. :( I miss castbars on nameplates
Anyways, it's not tested thoroughly, but this is what this setup will do, I hope:
- Shows Players, of course. It sill shows the cast bars too. Sometimes it shows no nameplates for blocked items, sometimes it shows "empty" ones, did that before though for me.
- Shows Earthbind, Stoneclaw, Grounding, Mana Tide, Cleansing, and Tremor Totems.
- Shows DK/Lock/Hunter pets. *It may show mirror images, I tried to fix it, but haven't been able to test*
- Won't show the other 20 totems, snakes, water elementals, treants, spirit wolves, val'kyr guardians, gargoyles, and shadowfiends.
If you want to edit, eg. show shadowfiend for cyclone or gargoyle for shackle, read through the commented sections in the script! I tried to make it simple. Commented lines begin with "--"
Maybe kollektiv will do it proper one day? I pretty much butchered LUA I'm sure. I just thought I'd share this.
If you have anything that doesn't work, tell me, I'd like to fix it for myself too! Xfire: Mefail.
But don't expect me to support this if he's not going to, I don't feel like learning .. another programming language and an API to boot. :|
Also, to turn off stuff like DK/Lock/Hunter pets, and still see totems w/ this, I believe that you can go into Interface > Names > and uncheck "Pets" from the Unit Nameframes. Didn't try that though.
---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
Go to line #253. Replace:
---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
-- Show or hide nameplate art
function Overhead:UpdateArt()
for nameplate in pairs(nameplates) do
if nameplate.shouldShowArt then nameplate:ShowArt()
else nameplate:HideArt() end
end
end
---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
with
---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
-- Addition, shows *everything*, except for items blocked, then I un-block specific items below.
-- It may be confusing, but it makes sense to me.
function Overhead:ShowOther()
for nameplate in pairs(nameplates) do
-- To remove anything here, or add anything, make sure it follows the same pattern.
-- The pattern should be obvious, even if you don't know programming.
-- Everything must have the proper name, rank, punctuation, capitalization, etc.
-- *Blocking* miscellaneous from being shown.
---------------------------------------------
if nameplate.name:GetText() == "Treant" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Water Elemental" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Spirit Wolf" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Val'kyr Guardian" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Shadowfiend" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Ebon Gargoyle" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Viper" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Venomous Snake" then nameplate.shouldShowArt = false
-- I can't get Mirror Images to work with the name "Mirror Image". This will block anything under 5k max hp? Mebbe!
-- If it works, it will include snake trap, though I also included them above. Never got a hunter to snake trap though.
------------------------------------------------------------------------------------------------------------------------
elseif select(2,nameplate.healthbar:GetMinMaxValues()) <= 5000 then nameplate.shouldShowArt = false
-- *Blocking* all totems from being shown. Elemental Totems can't be used in arena. Unblock below rather than deleting here.
------------------------------------------------------------------------------------------------------------------------------
elseif nameplate.name:GetText() == "Earthbind Totem" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Stoneskin Totem X" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Stoneclaw Totem X" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Strength of Earth Totem VIII" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Tremor Totem" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Searing Totem X" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Magma Totem VII" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Flametongue Totem VIII" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Totem of Wrath IV" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Windfury Totem" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Grounding Totem" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Mana Tide Totem" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Healing Stream Totem IX" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Mana Spring Totem VIII" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Cleansing Totem" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Sentry Totem" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Nature Resistance Totem VI" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Frost Resistance Totem VI" then nameplate.shouldShowArt = false
elseif nameplate.name:GetText() == "Fire Resistance Totem VI" then nameplate.shouldShowArt = false
else nameplate.shouldShowArt = true end
---------------------------------------------------------------------------------------------------------------------
-- Below are allowed items, some may be repeated from the blocked items above. Not the best to do this way I'm sure.
---------------------------------------------------------------------------------------------------------------------
-- I just like having a full list of totems above w/ their ranks. For misc items, I would add/delete above instead.
-- I think everything needs to be correctly spelled, capitalizated, punctuated, and have proper ranks. Totem's have the ranks in their names.
----------------------------------------------------------------------------------------------------------------------------------------------
if nameplate.name:GetText() == "Earthbind Totem" then nameplate.shouldShowArt = true end
if nameplate.name:GetText() == "Stoneclaw Totem X" then nameplate.shouldShowArt = true end
if nameplate.name:GetText() == "Tremor Totem" then nameplate.shouldShowArt = true end
if nameplate.name:GetText() == "Mana Tide Totem" then nameplate.shouldShowArt = true end
if nameplate.name:GetText() == "Cleansing Totem" then nameplate.shouldShowArt = true end
if nameplate.name:GetText() == "Grounding Totem" then nameplate.shouldShowArt = true end
end
end
-- Show or hide nameplate art
function Overhead:UpdateArt()
for nameplate in pairs(nameplates) do
Overhead:ShowOther()
if nameplate.shouldShowArt then nameplate:ShowArt()
else
nameplate:HideArt()
end
end
end