Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(44 Kb)
Download
Updated: 10-13-12 08:11 PM
Pictures
File Info
Updated:10-13-12 08:11 PM
Created:06-05-10 04:26 PM
Downloads:22,817
Favorites:142
MD5:

dNamePlates  Popular! (More than 5000 hits)

Version: r17
by: Dawn [More]

Custom minimalistic and lightweight nameplates.

Features
* works with PlateBuffs
* spell icon
* name text is colored by threat
* Totems are shown as icons
* current health value
- current health value is hidden @100% health
- between 35% and 25%, value is yellow colored
- between 25% and 20%, value is orange colored
- below 20%, value is red colored
* added hankthetank's raidicon textures
* show hostile nameplates in combat and/or optionally hide them out of combat
- by default nameplates show in combat and do not hide out of combat
...


NPCs are not class coloured, never.
Hostile players are only class coloured out of a sanctuary (which excludes Dalaran for example). Generally said, they are class coloured in PvP, which also means they have to be flagged for PvP on a PvE server.



FAQ

1. Where'z teh options?

Take a look into your World of Warcraft folder: Interface\Addons\dNamePlates\dNameplates.lua. You can open this file with Wordpad, Notepad or any other text editor. I recommend Notepad++ - it's free, google it.

note: If you change anything, you have to reload your interface, either via /rl, /console reloadui or log out ingame.



Credits
p3lim - for Overhead
hankthetank - raid icon texture
Cyprias - for helping me to improve the code



Config
Code:

local TEXTURE = mediaFolder.."dA"
local FONT = mediaFolder.."Pixelway_Baseline.ttf"
local FONTSIZE = 8
local FONTFLAG = "OUTLINE MONOCHROME"			-- "THINOUTLINE", "OUTLINE MONOCHROME", "OUTLINE" or nil (no outline)

local hpHeight = 5
local hpWidth = 100
local cbIconSize = 20
local cbHeight = 5
local cbWidth = 100

local showIC = true 
local hideOOC = false

local blankTex = "Interface\\Buttons\\WHITE8x8"	

r17
* quick updated for Mists of Pandaria

note: untested


r16
* updated for 4.1
* the selected nameplate won't be resized by default, anymore (aka adWidth and adHeight are set to 0)
- the option is still there, however ...

note:
- untested, just a quick fix for 4.1


r15
* selected nameplates will now be larger than others
* added options to set the increased size for selected plates
- adWidth = 14 -- additional width for selected nameplate (hpWidth + adWidth)
- adHeight = 4 -- additional height for selected nameplate (hpHeight + adHeight)
* fixed totem icon display, which broke in r14, because of level display ... D'OH!


r14
* added Totem of Tranquil Mind support
* added Spirit Link Totem support
* added 1px border around totem icons
* added highlight for selected nameplate
* tweaked level and name position code
* added an option to set a font shadow offset (default: FontShadowOffset = 0)
- 1 = (1,-1), 1.5 = (1.5, -1.5), ...


r13
* forgot to include raidicon texture ...


r12
* Totems are now shown as icons
* some CVars are now set by default
- SetCVar("ShowClassColorInNameplate", 1)
- SetCVar("nameplateShowEnemyTotems", 1)
* added level display ...
* some minor visual tweaks


r11
* removed some obsolete code
* small visual tweaks

r10
* toc update for patch 4.x
* code rewritten, extremely simplified, no longer based on caelNameplates
* removed class icon code
* removed separate config - some options (size, etc) can still be found in dNameplates.lua
* level is now hidden
* names are no longer abbreviated

NOTE:
Blizzards Nameplates are still bugged and seem to show/hide randomly. This addon modifies blizzards nameplates instead of replacing them. Therefore the same oddly behaviour will happen. This is Blizzards fault. Once Blizzard will fix their code, the issue will be gone. ;)


r9
* nicer raid icon position...

r8
* replaced the "glow border" with a solid border, to match my oUF layout
* added an option to change the border color
* long names will be abbreviated, to match my oUF layout (for example: Sunreaver Mage Guardian becomes S. M. Guardian)
* added an option to change the maximum number of characters before a name gets abbreviated
* revised class icon code
* added new border to class icon
* some tweaks
* removed the class icon textures from the package and use blizzards default textures instead - reduced package size FTW ...
* removed some more unused textures and fonts from the package - reduced package size FTW ... #2

r7
* added an option to change the position of the nameplate (X and Y Offset)
* cleaned up some code and improved PlateBuffs compatibility

r6
* added class icon (only visible for hostile players)
* added 3 icon sets of class textures (oldClassIcons, newClassIcons)
- you can choose a different one, via config
- you might have to adjust the size of the icon, depending on the texture you choose
* added hankthetanks's raidicon textures
* added an icon texture (dBBorderJ) for castbars spell icon
* added a new mouseover highlight texture and made the highlight slightly more visible
* added a more flat bartexture (dM2) and set it as default
* level text font shadow can be turned on/off via "showFontShadow", too

r5
* possible fix for r4 nil error, everyone but myself seems to enounter - D'OH! #2

r4
* added current health value as a possible shown health value
* added an option to show/hide current health value
* added an option to show/hide percent health value
- if both options are true it will show both, current AND percent health value

r3
* possible fix for a nil error everyone but myself seems to enounter - D'OH!
- I need some feedback on this.Since I don't get the error, I can't tell if it's gone now or not.

r2
* added an option to turn auto show nameplates in combat on/off
* added auto hide nameplates out of combat (disabled by default)
* added an option to turn auto hide nameplates out of combat on/off
* added an option to show/hide a shadow behind text (disabled by default)
* removed some fonts

r1
* initial release
Archived Files (12)
File Name
Version
Size
Author
Date
r16
42kB
Dawn
04-28-11 05:02 PM
r15
42kB
Dawn
03-26-11 07:03 PM
r14
42kB
Dawn
03-18-11 10:57 AM
r13
39kB
Dawn
03-12-11 07:57 PM
r12
26kB
Dawn
03-12-11 05:43 PM
r11
30kB
Dawn
10-25-10 11:17 AM
r10
30kB
Dawn
10-18-10 02:48 PM
r9
44kB
Dawn
07-05-10 07:52 PM
r7
237kB
Dawn
06-19-10 10:44 AM
r6
237kB
Dawn
06-14-10 05:59 AM
r5
118kB
Dawn
06-07-10 07:59 AM
r3
118kB
Dawn
06-06-10 01:27 AM


Post A Reply Comment Options
Unread 06-05-10, 04:49 PM  
kxuhx
A Kobold Labourer

Forum posts: 0
File comments: 83
Uploads: 0
Looks like a nice spin off of Cael.

But i get an error when i attempt to show Friendly name plates

Code:
Message: Interface\AddOns\dNamePlates\dNamePlates.lua:54: attempt to call global 'round' (a nil value)
Time: 06/05/10 18:48:47
Count: 3414
Stack: Interface\AddOns\dNamePlates\dNamePlates.lua:54: in function <Interface\AddOns\dNamePlates\dNamePlates.lua:38>

Locals: self = <unnamed> {
 oldname = <unnamed> {
 }
 highlight = <unnamed> {
 }
 healthOriginal = <unnamed> {
 }
 elapsed = 0.14400001056492
 g = 0.65
 elite = <unnamed> {
 }
 boss = <unnamed> {
 }
 level = <unnamed> {
 }
 healthBar = <unnamed> {
 }
 r = 0.35
 done = true
 name = <unnamed> {
 }
 nameplate = true
 0 = <userdata>
 b = 0.35
 oldglow = <unnamed> {
 }
 castBar = <unnamed> {
 }
}
elapsed = 0.010000000707805
minHealth = 0
maxHealth = 3984
valueHealth = 3984
(*temporary) = nil
(*temporary) = 1
(*temporary) = 2
(*temporary) = "attempt to call global 'round' (a nil value)"
cfgc = <table> {
 maincolor = <table> {
 }
 sndcolor = <table> {
 }
 trdcolor = <table> {
 }
}
repeats nonstop until i get the "Alot of errors, WTF TURN OFF ADDONS NAO!" blizz Message
kxuhx is offline Report comment to moderator  
Reply With Quote
Unread 06-05-10, 04:55 PM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 903
File comments: 947
Uploads: 23
Originally posted by kxuhx
Looks like a nice spin off of Cael.

But i get an error when i attempt to show Friendly name plates

repeats nonstop until i get the "Alot of errors, WTF TURN OFF ADDONS NAO!" blizz Message
I'll look into it, asap. Thanks for reporting.

E: Works fine for me. What exactly did you do? Does it happen on a "boss plate" or something?
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."

"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."

Last edited by Dawn : 06-05-10 at 05:00 PM.
Dawn is offline Report comment to moderator  
Reply With Quote
Unread 06-05-10, 05:07 PM  
kxuhx
A Kobold Labourer

Forum posts: 0
File comments: 83
Uploads: 0
Originally posted by Dawn
I'll look into it, asap. Thanks for reporting.

E: Works fine for me. What exactly did you do? Does it happen on a "boss plate" or something?
Im inside Scryer bank in Shat, looking at the Bankers.

Lemme double check a toon with less mods installed

Control-V/Shift-V of Friendly health bars gives me the error on all my toons.

*EDIT* Guessing it has to be a clash with a mod, lemme do some checking and see if its not liking a mod

*EDIT 2* Only mod enabled, im getting this error. Cael itself works fine. Its my normal nameplate mod.
Last edited by kxuhx : 06-05-10 at 05:12 PM.
kxuhx is offline Report comment to moderator  
Reply With Quote
Unread 06-05-10, 05:21 PM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 903
File comments: 947
Uploads: 23
I tried to reproduce the error without luck. I was in Dalaran, Orgrimmar and even Shattrath- with friendly nameplates enabled, I even tried to buff an npc if possible to pop up the health value. No error. Which client are you using? This is wired. You are sure you didn't had both nameplate addons enabled? Wired...

E: Was there a dead NPC or Player?
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."

"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."

Last edited by Dawn : 06-05-10 at 05:30 PM.
Dawn is offline Report comment to moderator  
Reply With Quote
Unread 06-05-10, 06:02 PM  
kxuhx
A Kobold Labourer

Forum posts: 0
File comments: 83
Uploads: 0
Originally posted by Dawn
I tried to reproduce the error without luck. I was in Dalaran, Orgrimmar and even Shattrath- with friendly nameplates enabled, I even tried to buff an npc if possible to pop up the health value. No error. Which client are you using? This is wired. You are sure you didn't had both nameplate addons enabled? Wired...

E: Was there a dead NPC or Player?
English Client. Im pretty sure there was no other mod active. I dont display names over players if that makes a different (disabled via options). I cant say if there was a dead player. Its popped up on all my toons.
kxuhx is offline Report comment to moderator  
Reply With Quote
Unread 06-05-10, 06:13 PM  
Minerv
A Black Drake
 
Minerv's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 89
File comments: 26
Uploads: 2
New UF's ? love em
also, thx 4 these, works perfect for me.
Minerv is offline Report comment to moderator  
Reply With Quote
Unread 06-05-10, 06:14 PM  
kxuhx
A Kobold Labourer

Forum posts: 0
File comments: 83
Uploads: 0
Originally posted by Minerv
New UF's ? love em
also, thx 4 these, works perfect for me.
harumph....... Im not sure what else i can do lol
kxuhx is offline Report comment to moderator  
Reply With Quote
Unread 06-05-10, 06:16 PM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 903
File comments: 947
Uploads: 23
Originally posted by kxuhx
English Client. I'm pretty sure there was no other mod active. I don't display names over players if that makes a different (disabled via options). I cant say if there was a dead player. Its popped up on all my toons.
I'm on an English client, too. Tried to enable disable all kind of variations (in config and display of names, even displaying friendly and hostile plates at once). No error. D'OH! Sorry, I can't help you, atm.


@Minerv
Yeah, viv r7 - glad it works for you, too.
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."

"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."

Last edited by Dawn : 06-05-10 at 06:17 PM.
Dawn is offline Report comment to moderator  
Reply With Quote
Unread 06-05-10, 06:18 PM  
kxuhx
A Kobold Labourer

Forum posts: 0
File comments: 83
Uploads: 0
Originally posted by Dawn
I'm on an English client, too. Tried to enable disable all kind of variations (in config and display of names, even displaying friendly and hostile plates at once). No error. D'OH! Sorry, I can't help you, atm.


@Minerv
Yeah, viv r7 - glad it works for you, too.
ill poke and prod with things once i get out of this run, and see what im doing.
kxuhx is offline Report comment to moderator  
Reply With Quote
Unread 06-05-10, 06:26 PM  
Minerv
A Black Drake
 
Minerv's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 89
File comments: 26
Uploads: 2
hurr, stupid me, had not turned on display lua errors :$, says its an error on line 38 and 54 in dNamePlates.lua
Minerv is offline Report comment to moderator  
Reply With Quote
Unread 06-05-10, 06:27 PM  
kxuhx
A Kobold Labourer

Forum posts: 0
File comments: 83
Uploads: 0
Originally posted by Minerv
hurr, stupid me, had not turned on display lua errors :$, says its an error on line 38 and 54 in dNamePlates.lua
same, so im not alone lol
kxuhx is offline Report comment to moderator  
Reply With Quote
Unread 06-05-10, 06:39 PM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 903
File comments: 947
Uploads: 23
Err, what are you doing? I do have them turned on and nothing?!
Maybe the upload got corrupted? Please try r2, once it's approved.

I need to figure that out, o_O.
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."

"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."

Dawn is offline Report comment to moderator  
Reply With Quote
Unread 06-05-10, 08:39 PM  
kxuhx
A Kobold Labourer

Forum posts: 0
File comments: 83
Uploads: 0
Still same error.

Love the way this mod works though, and would love to use it. But right now, cannot.

*EDIT* had a friend install it, test it. same error.
Last edited by kxuhx : 06-05-10 at 08:46 PM.
kxuhx is offline Report comment to moderator  
Reply With Quote
Unread 06-05-10, 09:01 PM  
Pixelzombie
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Looks really nice addon, but i have to concur with other users, endless Lua errors until option to dissable addons, if you sort this minor prob out i'll be using this addon
Thanks...

For a bit more info for example when i approach a mob and it is in range and the
nameplate changes from the basic text to your nameplates thats when the Lua error hits, when mobs dead error stops until you come into range of another mob red or yellow.
Hope this helps .
Last edited by Pixelzombie : 06-05-10 at 09:17 PM.
Pixelzombie is offline Report comment to moderator  
Reply With Quote
Unread 06-05-10, 09:03 PM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 903
File comments: 947
Uploads: 23
I'll rewrite the health value code, that might fix the issue. I'm still curious why I'm not getting said error, though.
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."

"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."

Dawn is offline 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.