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,770
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 07-21-10, 06:58 AM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 903
File comments: 947
Uploads: 23
Ok, seems like I should mention, that those nameplates change the default colors, shouldn't I?

Neutral and friendly units stay yellow and green-ish, but those aren't default colors neither. Guess it wasn't obvious enough. I'll add that to the addons description and maybe add an option to the config that allows for changing of the friendly and neutral colors. The hostile color can be changed already, it's the maincolor.

Btw, that's exactly how blizzards nameplates handle it, except for dNamePlates replacing the default health colour (maincolor, see config) for hostile targets, ofc.
__________________
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 : 07-21-10 at 07:03 AM.
Dawn is offline Report comment to moderator  
Reply With Quote
Unread 07-21-10, 06:35 AM  
kappe
A Deviate Faerie Dragon

Forum posts: 13
File comments: 115
Uploads: 0
Originally posted by Dawn
You mean hostile players right? NPCs are not class colored, never.

And hostile players are only class colored out of a sanctuary (which excludes Dalaran for example), generally said, they are class colored in PvP.
hostile players seems ok, no problems with those.
npcs plates are not class colored, ok, but should be at least red, not grey. they should be grey if tapped by someone else. this is my little problem.
Last edited by kappe : 07-21-10 at 06:36 AM.
kappe is offline Report comment to moderator  
Reply With Quote
Unread 07-20-10, 08:59 PM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 903
File comments: 947
Uploads: 23
You mean hostile players right? NPCs are not class colored, never.

And hostile players are only class colored out of a sanctuary (which excludes Dalaran for example), generally said, they are class colored in PvP.
__________________
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 : 07-20-10 at 09:00 PM.
Dawn is offline Report comment to moderator  
Reply With Quote
Unread 07-20-10, 05:37 PM  
kappe
A Deviate Faerie Dragon

Forum posts: 13
File comments: 115
Uploads: 0
after playing a little with the config file i'm really happy with this nameplate addon. still having the issue everyone is having, hostile npcs are grey.
kappe is offline Report comment to moderator  
Reply With Quote
Unread 07-19-10, 06:15 PM  
Ghiradelli
A Kobold Labourer
 
Ghiradelli's Avatar

Forum posts: 0
File comments: 10
Uploads: 0
Originally posted by Dawn
What client are you running? Have you tried to disable all addons but dNamePlates?

I need a little more information from your side, since It's working for me.
I am running the US client. I deleted my WTF folder as well as turned off all my addons. When I checked the box for Class Color in nameplate, all the name plates flashed blue then returned to gray.
Ghiradelli is offline Report comment to moderator  
Reply With Quote
Unread 07-19-10, 02:47 PM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 903
File comments: 947
Uploads: 23
What client are you running? Have you tried to disable all addons but dNamePlates?

I need a little more information from your side, since It's working for me.
__________________
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 07-19-10, 02:45 PM  
Ghiradelli
A Kobold Labourer
 
Ghiradelli's Avatar

Forum posts: 0
File comments: 10
Uploads: 0
Class Color not in nameplate

I am having the same problem with a lot of people here. I have class color in nameplate checked but they are still gray.
Ghiradelli is offline Report comment to moderator  
Reply With Quote
Unread 07-15-10, 07:37 PM  
victor_chou
A Kobold Labourer
 
victor_chou's Avatar

Forum posts: 0
File comments: 1
Uploads: 0
Some About several kinds of nameplates

Someone mentioned how to show the castbar on a "untargetted' player. As a konw, "Aloft" can do this. But I woud like to use another UI "tidy_threaten", which can hide the nameplates of pets and toterns in the arena. That is the most important function i need.
__________________
Game is life, life is a game...
Last edited by victor_chou : 07-15-10 at 07:39 PM.
victor_chou is offline Report comment to moderator  
Reply With Quote
Unread 07-15-10, 08:39 AM  
Soulblaze
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
grey nameplates

I have the exact same problem with the grey nameplates. Neutral nameplates look just fine, I have "show class colored nameplates" activated -- but hostile players' and aggressive mobs' nameplates show as grey.

I've both tried with a moderate amount of tweaking (different texture and font, smaller size of bars and icons) and a fresh clean install, even deleted all relevant files from SavedVariables -- and deleted all SavedVariables stuff (both from the general folder was well as the per-character ones) of former nameplate addons... to no avail.

There's also no error message or other indication of a conflict in any way.

As soon as I find the time later today I'll see if the nameplate color stays grey with all other addons disabled.

Oh yeah, other than that, the addon is great. No unnecessary options that'd only make it appear bloated, easy tweaking while still giving a lot of freedom with customization... wonderful. Good work! And the raid icons look awesome.

--------------

Edit: Even with all other addons disabled, the bars stay grey. :/
Last edited by Soulblaze : 07-16-10 at 12:11 AM.
Soulblaze is offline Report comment to moderator  
Reply With Quote
Unread 07-14-10, 05:21 AM  
schambi
A Murloc Raider
 
schambi's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 12
Uploads: 1
Hey there
the nameplates on ur first screen looks pretty well but .. is it possible to change the position and size of castbar icon? Want it right from the castbar and as high as the castbar

schambi
schambi is offline Report comment to moderator  
Reply With Quote
Unread 07-12-10, 08:12 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 vertigo1980
is there any way to use the default raid icons? im in charge of stunning valkyrs on heroic lich king and im just not used to them, takes me a bit longer to see and target them
You would have to delete line 366... this:
Code:
	raidIconRegion:SetTexture("Interface\\AddOns\\dNamePlates\\media\\raidicons")
However, I really don't know what's so damn different that they are harder to notice. They are just way cooler - maybe try to improve the raid icon size via config, first.


@Sojik
Sounds good.
__________________
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 07-12-10, 05:05 PM  
vertigo1980
A Kobold Labourer

Forum posts: 0
File comments: 41
Uploads: 0
is there any way to use the default raid icons? im in charge of stunning valkyrs on heroic lich king and im just not used to them, takes me a bit longer to see and target them
vertigo1980 is offline Report comment to moderator  
Reply With Quote
Unread 07-09-10, 03:08 PM  
Sojik
A Wyrmkin Dreamwalker
 
Sojik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 53
File comments: 165
Uploads: 12
I tried your nameplates recently and really like them. I like the way you abbreviate the names. I've been doing the same thing on my unit frames since I learned how (I think Tekkub posted how in the oUF forums). Your gsub string looks very similar to mine. I've edited mine to deal with names with quotation marks like "Red" Jack Findle. They're normally abbreviated to ". J. Findle instead of R. J. Findle.

Code:
(string.len(oldName) > cfgm.abbrevNumb) and string.gsub(string.gsub(oldName, [["]], ""), "%s?(.)%S+%s", "%1. ") or oldName
Maybe you'll find this useful.
Sojik is offline Report comment to moderator  
Reply With Quote
Unread 07-09-10, 02:00 PM  
Shakabalus
A Kobold Labourer

Forum posts: 0
File comments: 26
Uploads: 0
Originally posted by Dawn
Have you changed a certain option or something? I need more info. I can't reproduce it like that, since it's working for me, sorry.
just the normal...
Shakabalus is offline Report comment to moderator  
Reply With Quote
Unread 07-09-10, 10:44 AM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 903
File comments: 947
Uploads: 23
Have you changed a certain option or something? I need more info. I can't reproduce it like that, since it's working for me, sorry.
__________________
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.