Download
(156 Kb)
Download
Updated: 11-27-12 05:59 PM
Pictures
File Info
Compatibility:
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:11-27-12 05:59 PM
Created:11-19-10 01:04 AM
Downloads:36,169
Favorites:198
MD5:
shNameplates  Popular! (More than 5000 hits)
Version: r9.2
by: shUI [More]
shNameplates
A light-weight and beautiful nameplate addon that works right out of the box!

Why use this addon instead of some of the other famous nameplates? Simple: elegance, ease of use, and efficiency. Other addons similar to shNameplates are extremely "busy" or they are too plain. In some cases, they are highly inefficient when it comes to coding.
  • Unit Name
  • Raid Icon
  • Unit Level (using blizzard code to add difficulty coloring)
  • PvE coloring (blizzard based) and PvP coloring (class colored based)
  • Aggro and threat color (with glow overlay)
  • Castbar, Cast Time, and Spell Icon
  • Health Text Display (using color gradient for percentage)
  • Auto toggle on and off when in or out of combat (user set via config.lua)
  • Lots of config attributes that handle nameplate behavior, colors, fonts, and positioning (user set via config.lua)
  • Configuration that allows repositioning of the spell and raid icons (user set via config.lua)
  • Configuration option for TANKMODE (green coloring on aggro) and namecoloring (colors pvp enemy names with their class color) (user set via config.lua - PLEASE see changelog for more details)
  • Target cast spell names (for both channeled and cast)
  • Mouse over highlighting
  • Cool new fade in effects when nameplates appear
  • Target Unit POWER bar under health frame. SET TO ONLY IN PVP (b/c who cares about mob power at this point in the game)
  • COMBO points for feral and rogues...AND addition of showing Chi, burning embers, soul shards, holy power, burning embers, etc. (SELF buffs ony)
  • Now works with Icicle and/or Plate Buffs

NOTE: I want to thank the following authors: Caelian, Tekkub, Luzz, and Rothar. Especially Caelian, b/c I have based this addon to his famous addon caelNameplates

Bug Reports and/or Requests:
All bug reports, requests (with this addon or another), errors, suggestions, and problems will be handled via the forum-comments page.

If you liked this mod, please check out my other addons:
shClock: Data Broker simple clock
shPerformance: Data Broker memory/latency/fps usage display utility

Click here to lend your support!
v9.2
- Fixed errors due to new Nameplate object creation
- TOC bump
-----------
v9.1
- Fixed bug that was causing errors when powerbar was disabled
- Fixed code in threat update to also fix bar coloring in and out of combat correctly
------------
v9.0
- Rewrite of most functions and rearranging of function paths
- Addition of "combo" like details on nameplate that show: CHI, Shadow Orbs, Burning Embers, Holy Power, Soul Shards, etc (SELF buffs only)
- Optimized CPU usage
- Changed font and positioning
- FIXED: bug that was showing red highlighting when not having aggro and bug that wasn't properly coloring healthbar
- Big improvements
- Platebuffs and icicles ready...really this time
------------
8.1
- Much needed optimization including: iterating over nameplates and throttled threat updates IN combat ONLY
- Cleaned up some other code
- Let me know of any other random bugs
--------------
8.0
- ToC bump -> 5.0
- fixed transparency of health text, symbols, etc.
- changed function to locate and skin nameplates themselves to make sure to get every new frame correctly
---------------
7.3b
- ToC bump -> 4.3
----------------
7.3a
- OnUpdate function now checks for additional nameplates faster to prevent any issues with them appearing
- ToC bump
----------------
7.3
- ADDED: "OnSizeChanged" function as an additional backup to double check and/or fix castbar bloating
----------------
7.2
- Revamped FixCastbar function to fix castbar bloating - really this time (I have extensively tested this, so PLEASE let me know if you find it happening)
- Minor code fixes to be more readable/understandable
----------------
7.1
- Fixed powerbar nil error when disabling powerbars
----------------
7.0
- Complete revamp of lots of code
- Lots of clean up and fixes of pesky little bugs - I THINK I got them all :) Please bug report
- REMOVED: LibNameplate library and wrote my own code
- FIXED: castbar bloating and interruptability color coding
- NOTE: please let me know of ANY bugs
- REDUCED CPU and MEMORY usage significantly
-----------------
6.3
- Code clean up for initial nameplate settings
- Fix small bug with castbar still bloating...I hope
- fixed castbar width again to make sure it doesn't look like it's bugging hehe
- ADDED option to disable power bar
------------------
6.2
- Updated FixCastbar function and now bloating of castbar shouldn't occur
- Fixed up castbar and icon location and color
- Optimized code for updates
-------------------
6.1
- ADDED: Power bars to ONLY target frames! (shows all types of powers except rage/runic bower <= 0)
- Cool elite/boss icons
- Now works with platebuffs!
-------------------
6.0
- Complete revamp of lots of code and optimizations
- Got rid of redundant baggage within code
- Changed appearance of overall nameplate
- ADDED: combo points to nameplate
- ADDED: LibNameplate for additional features
- ADDED: Icons for elite mobs and boss mobs
---------------------
5.5
- Fixed the castbar from being extremely huge...should work now :)
----------------------
5.4a
- Updated TOC to patch 4.2
----------------------
5.4
- Small bug fix in config.lua file -> I know I'm stupid, but it should be good to go
----------------------
5.3
- Updated TOC to patch 4.1
- Removed CVAR that was causing problems
- Redid some code that would initialize the skinning of the plates (THANKS Csalago!)
- Minor performance tweaks
----------------------
r5.2
- REMOVED the automatic setting to show pvpcoloring in nameplates (you can set it in blizz options)
- Optimized name coloring function
- FIXED lots of global calls and made them local now (i'm an idiot I know)
- OVERALL increase in efficiency
- Fixed config file a bit and made it less bulky (sorry guys that update and have to redo their config)
- Minor bug fixes and improvements
-----------------------
r5.1
- Small bug fixes when hpallthetime set to TRUE
- Small bug fix when updating the health text of mobs
------------------------
r5.0
- ADDED a lot of new configuration options including all coloring options for the different types of units and npc.
- ADDED custom colors for TANKMODE enabled nameplates
- ADDED fade in effect when nameplates appear
- ADDED new mouse over displays of max health and name highlighting
- ADDED spell names when cast or channeled
- ADDED custom status bar texture when cast spells are NOT interruptable
- LOTS of look and feel elements redone and code optimized
- NOTE: due to all the additions, the mem usage has gone up to around 32kb (only a 10kb increase from before) and only about a 12% increase of cpu usage!
------------------------
r4.1
- Function call optimization
- ADDED: tankmode option under behavior options - this will add a green glow and green bar when you HAVE AGGRO
- ADDED: namecoloring option under behavior options - this will color all PVP names with their class colors
- Minor cosmetic fixes
-------------------------
r4.0
- Big update of overall look and feel
- Many code optimizations (still runs around 22kb)
- Increased size of cast bar and spell icon (including changing locations)
- Changed the different unit type colors: hostile, neutral, friendly unit, and friendly player
- Changed some fonts and locations of health text (NOTE: will not show text if at 100% health)
- NOTE: these are all changes that I like, you can change whatever you want via the config.lua
---------------------------
r3.1
- Small update that increased the threshold before names were being formatted of being to long (increased from 20 to 40 characters)
- Optimized Threat Update Function
---------------------------
r3
- ADDED new options to control behaviors (overlapping, threat bloat, etc)
- ADDED option to control raid icon positioning and size
- ADDED option to control spell icon positioning and size
- The thick black border around nameplates started to bother me, so I toned it down a bit
- I like the name text to be centered and the raid icon to be immediately above it
- I didn't like the custom raid icons, so I used the default blizz one (check config.lua) if you want the custom ones back
----------------------------
r2
-- ADDED lots of configuration options to the config.lua file
-- ADDED option for auto toggling the nameplates when OOC and IC (see config.lua)
-- Code optimization and tweaks (shouldn't go over 23kb of memory)
-- Cleaned up the default settings and made the neutral mob color a bit darker so the health text can be seen easier if its set to be shown
Archived Files (3)
File Name
Version
Size
Author
Date
r9.1
156kB
shUI
11-08-12 06:39 PM
r9.0
156kB
shUI
10-30-12 08:29 PM
r8.1
104kB
shUI
09-16-12 07:56 PM


Post A Reply Comment Options
Unread 10-01-11, 02:35 PM  
Falleneu
A Murloc Raider

Forum posts: 5
File comments: 13
Uploads: 0
Re: Re: wtf uber nameplate

Originally posted by shUI
It is a font called CONAN or Hyborian (I got the idea from the damage text from Age of Conan)



To be honest buddy, since I am using the Blizzard nameplates and their threat glows...I have to figure out how to set up what you are asking for with tankmode. Look for something in a future update with that. Let me play around with it...it makes sense! Same scenario/answer for the transparency thing...that is a blizzard thing, but there's gotta be a way around it. Search the lua file for "hpGLow" and you'll see lines of code that change the Alpha of them. Change it to zero and then whatever alpha you want when you mouseover or target it.
Allright thanks, il keep following this its on a good route so far, i used tidyplates threatplates before and even tho they are really nice for tanking the amount of memory they suck up is not something im pleased with (and its not really being updated anymore either).

You got the highthreat workign when someone else is tanking and i know its possible from other addons, hope to see it soon.

Goodluck and keep up the good work.

Edit: Figured it out, thanks again hope to see the hightreat when tanking the mob soon.
Last edited by Falleneu : 10-01-11 at 03:04 PM.
Falleneu is offline Report comment to moderator  
Reply With Quote
Unread 10-01-11, 12:56 PM  
shUI
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 329
Uploads: 5
Re: wtf uber nameplate

Originally posted by wakolv
thanks for this wonderful addon. btw may i know what font is used on your combat text posted in screenshot.
It is a font called CONAN or Hyborian (I got the idea from the damage text from Age of Conan)

I enabled Tankmode and it indeed goes green when i got aggro, it goes red when i do not have aggro, but it does not go yellow when someone reaches the 100%+ threat area. It does however go yellow if i reach that and someone else is tanking tho.

Is it in anyway possible to make the nameplates go yellow when someone reaches highthreat while i got aggro? (even if im not targeting that mob but i do have aggro on it)

Also is it possible to disable the nameplates going transparent when im not targeting the mob but i am in combat with it? While keeping it going transparent if im not in combat with it.

Is their anyway for the borderglow to activate only on the mob im targeting and/or mousing over the nameplate and just disable on the rest, regardless if i am in combat with it or not?

And disabling the outer glow color changing, just to have it one color when i target it or mouse over the nameplate?


Sorry for the many requests and some might be in but im unable to get it to work.

Good stuff so far, would like to see those changes so i can start using it for tanking.

Thanks inadvance for reading all this and sorry for the hassle.
To be honest buddy, since I am using the Blizzard nameplates and their threat glows...I have to figure out how to set up what you are asking for with tankmode. Look for something in a future update with that. Let me play around with it...it makes sense! Same scenario/answer for the transparency thing...that is a blizzard thing, but there's gotta be a way around it. Search the lua file for "hpGLow" and you'll see lines of code that change the Alpha of them. Change it to zero and then whatever alpha you want when you mouseover or target it.
__________________
shPerformance: Data Broker memory/latency/fps usage display utility
shNameplates: Lightweight, simple, and sexy nameplates
shClock: Lightweight and simple data broker clock
shUI is offline Report comment to moderator  
Reply With Quote
Unread 10-01-11, 02:02 AM  
wakolv
An Aku'mai Servant

Forum posts: 37
File comments: 34
Uploads: 0
wtf uber nameplate

thanks for this wonderful addon. btw may i know what font is used on your combat text posted in screenshot.
wakolv is offline Report comment to moderator  
Reply With Quote
Unread 09-30-11, 12:37 PM  
Falleneu
A Murloc Raider

Forum posts: 5
File comments: 13
Uploads: 0
Few requests.

I enabled Tankmode and it indeed goes green when i got aggro, it goes red when i do not have aggro, but it does not go yellow when someone reaches the 100%+ threat area. It does however go yellow if i reach that and someone else is tanking tho.

Is it in anyway possible to make the nameplates go yellow when someone reaches highthreat while i got aggro? (even if im not targeting that mob but i do have aggro on it)

Also is it possible to disable the nameplates going transparent when im not targeting the mob but i am in combat with it? While keeping it going transparent if im not in combat with it.

Is their anyway for the borderglow to activate only on the mob im targeting and/or mousing over the nameplate and just disable on the rest, regardless if i am in combat with it or not?

And disabling the outer glow color changing, just to have it one color when i target it or mouse over the nameplate?


Sorry for the many requests and some might be in but im unable to get it to work.

Good stuff so far, would like to see those changes so i can start using it for tanking.

Thanks inadvance for reading all this and sorry for the hassle.
Falleneu is offline Report comment to moderator  
Reply With Quote
Unread 09-29-11, 08:02 PM  
shUI
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 329
Uploads: 5
Originally posted by Palisis
Any chance you could assist me in applying a border to the frames? Ive tweaked the config as needed, with diff fonts and background images, but the border is missing on the frames to match my UI. Any help would be appreciated
In the config file there is an option to replace the border texture with whatever texture you want. Once you set that up with what you want, you need to change the alpha/setpoint attributes in the CreatePlate function in the main file. That should do it.
__________________
shPerformance: Data Broker memory/latency/fps usage display utility
shNameplates: Lightweight, simple, and sexy nameplates
shClock: Lightweight and simple data broker clock
shUI is offline Report comment to moderator  
Reply With Quote
Unread 09-29-11, 06:46 PM  
Palisis
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Any chance you could assist me in applying a border to the frames? Ive tweaked the config as needed, with diff fonts and background images, but the border is missing on the frames to match my UI. Any help would be appreciated
Palisis is offline Report comment to moderator  
Reply With Quote
Unread 09-19-11, 11:12 AM  
shUI
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 329
Uploads: 5
Absolutely, I will be doing it on the next update.
__________________
shPerformance: Data Broker memory/latency/fps usage display utility
shNameplates: Lightweight, simple, and sexy nameplates
shClock: Lightweight and simple data broker clock
shUI is offline Report comment to moderator  
Reply With Quote
Unread 09-18-11, 10:50 PM  
kxuhx
A Kobold Labourer

Forum posts: 0
File comments: 98
Uploads: 0
any chance, in a future update, that there could be an option to disable the viewing of the mana/power bar?

Thanks!
kxuhx is offline Report comment to moderator  
Reply With Quote
Unread 09-16-11, 08:48 AM  
shUI
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 329
Uploads: 5
Originally posted by kxuhx
Code:
Message: Interface\AddOns\shNameplates\shNameplates.lua:224: attempt to perform arithmetic on local 'maxValue' (a string value)
Time: 09/15/11 20:32:47
Count: 2
Stack: Interface\AddOns\shNameplates\shNameplates.lua:224: in function <Interface\AddOns\shNameplates\shNameplates.lua:213>
Interface\AddOns\shNameplates\shNameplates.lua:387: in function <Interface\AddOns\shNameplates\shNameplates.lua:386>

Locals: self = <unnamed> {
 0 = <userdata>
 HolderB = <unnamed> {
 }
 healthBar = <unnamed> {
 }
 cbBackground = <unnamed> {
 }
 cname = <unnamed> {
 }
 spellicon = <unnamed> {
 }
 castbarOverlay = <unnamed> {
 }
 time = <unnamed> {
 }
 IconOverlay = <unnamed> {
 }
 HolderA = <unnamed> {
 }
 shieldedRegion = <unnamed> {
 }
 cbGlow = <unnamed> {
 }
}
curValue = 604800
minValue = 0
maxValue = "??"
oldname = "Ignition"
castname = "Ignition"
(*temporary) = <function> defined =[C]:-1
(*temporary) = <unnamed> {
 0 = <userdata>
}
(*temporary) = "%.1f - %.2f"
(*temporary) = "Interface\Icons\Spell_Fire_SoulBurn"
(*temporary) = 37800213
(*temporary) = "attempt to perform arithmetic on local 'maxValue' (a string value)"
UnitCastingInfo = <function> defined =[C]:-1
UnitChannelInfo = <function> defined =[C]:-1
len = <function> defined =[C]:-1
gsub = <function> defined =[C]:-1
On adds during the Alysrazor encounter tonight.
Yep that's part of the next update. Stupid long casts!
__________________
shPerformance: Data Broker memory/latency/fps usage display utility
shNameplates: Lightweight, simple, and sexy nameplates
shClock: Lightweight and simple data broker clock
shUI is offline Report comment to moderator  
Reply With Quote
Unread 09-15-11, 08:00 PM  
kxuhx
A Kobold Labourer

Forum posts: 0
File comments: 98
Uploads: 0
Code:
Message: Interface\AddOns\shNameplates\shNameplates.lua:224: attempt to perform arithmetic on local 'maxValue' (a string value)
Time: 09/15/11 20:32:47
Count: 2
Stack: Interface\AddOns\shNameplates\shNameplates.lua:224: in function <Interface\AddOns\shNameplates\shNameplates.lua:213>
Interface\AddOns\shNameplates\shNameplates.lua:387: in function <Interface\AddOns\shNameplates\shNameplates.lua:386>

Locals: self = <unnamed> {
 0 = <userdata>
 HolderB = <unnamed> {
 }
 healthBar = <unnamed> {
 }
 cbBackground = <unnamed> {
 }
 cname = <unnamed> {
 }
 spellicon = <unnamed> {
 }
 castbarOverlay = <unnamed> {
 }
 time = <unnamed> {
 }
 IconOverlay = <unnamed> {
 }
 HolderA = <unnamed> {
 }
 shieldedRegion = <unnamed> {
 }
 cbGlow = <unnamed> {
 }
}
curValue = 604800
minValue = 0
maxValue = "??"
oldname = "Ignition"
castname = "Ignition"
(*temporary) = <function> defined =[C]:-1
(*temporary) = <unnamed> {
 0 = <userdata>
}
(*temporary) = "%.1f - %.2f"
(*temporary) = "Interface\Icons\Spell_Fire_SoulBurn"
(*temporary) = 37800213
(*temporary) = "attempt to perform arithmetic on local 'maxValue' (a string value)"
UnitCastingInfo = <function> defined =[C]:-1
UnitChannelInfo = <function> defined =[C]:-1
len = <function> defined =[C]:-1
gsub = <function> defined =[C]:-1
On adds during the Alysrazor encounter tonight.
kxuhx is offline Report comment to moderator  
Reply With Quote
Unread 09-15-11, 12:53 PM  
shUI
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 329
Uploads: 5
Re: small bug..

Originally posted by sangyoub
ver 6.1 is GREAT!!!

but castbar extremely huge again....
I know exactly what you are talking about and it's annoying as hell. I am actually working on it now and think I have it fixed. Look for it updated in 6.2
__________________
shPerformance: Data Broker memory/latency/fps usage display utility
shNameplates: Lightweight, simple, and sexy nameplates
shClock: Lightweight and simple data broker clock
shUI is offline Report comment to moderator  
Reply With Quote
Unread 09-14-11, 11:20 PM  
sangyoub
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
small bug..

ver 6.1 is GREAT!!!

but castbar extremely huge again....
sangyoub is offline Report comment to moderator  
Reply With Quote
Unread 09-13-11, 07:22 PM  
shUI
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 329
Uploads: 5
Excellent, that's what I want to hear. If it happens again let me know, and let's figure it out...b/c I don't want anyone else to be having the same problems.

Originally posted by shaggy7
OK!

So I removed all my addons and enabled shNameplates only, line 489 NOT commented out. It worked. So, one-by-one, I re-enabled all the rest of my addons and haven't got that error message.

So, I have no clue what in the world could possibly cause that, but, the anomaly is gone for now. I really didn't think I was running any addons that were messing with anything related to nameplates, which is what confused me.

And, since I've caused you trouble today, I think it's appropriate to tell you that I still love your mods! shNameplates, shClock, and shPerformance are mainstays of my UI and I really cannot live without the nameplates because they're just *that* good.

Hopefully I don't see that error message creeping up again, if I do I'll try to be more specific about what's causing it, I suppose, since it seems to be playing nicely with the rest of my mods now.

Cheers!
__________________
shPerformance: Data Broker memory/latency/fps usage display utility
shNameplates: Lightweight, simple, and sexy nameplates
shClock: Lightweight and simple data broker clock
shUI is offline Report comment to moderator  
Reply With Quote
Unread 09-13-11, 06:52 PM  
shaggy7
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
OK!

So I removed all my addons and enabled shNameplates only, line 489 NOT commented out. It worked. So, one-by-one, I re-enabled all the rest of my addons and haven't got that error message.

So, I have no clue what in the world could possibly cause that, but, the anomaly is gone for now. I really didn't think I was running any addons that were messing with anything related to nameplates, which is what confused me.

And, since I've caused you trouble today, I think it's appropriate to tell you that I still love your mods! shNameplates, shClock, and shPerformance are mainstays of my UI and I really cannot live without the nameplates because they're just *that* good.

Hopefully I don't see that error message creeping up again, if I do I'll try to be more specific about what's causing it, I suppose, since it seems to be playing nicely with the rest of my mods now.

Cheers!
shaggy7 is offline Report comment to moderator  
Reply With Quote
Unread 09-13-11, 06:00 PM  
shUI
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 329
Uploads: 5
Originally posted by shaggy7
I commented out line 489 in shNameplates.lua

Code:
--castBar:SetFrameLevel(healthBar.hpGlow:GetFrameLevel() -1)
I still get the same errors, unfortunately, and the nameplates are displaying pretty similarly to how keLston's screenshot shows, except *all* of my nameplates are showing like that, not just a few.
Ok do this. It has to be something else that you are running. Create any new character and ONLY enable my addon. Run around and see if it does the same thing. If it doesnt, then there has to be another addon that is messing with it.
__________________
shPerformance: Data Broker memory/latency/fps usage display utility
shNameplates: Lightweight, simple, and sexy nameplates
shClock: Lightweight and simple data broker clock
shUI is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: