Download
(44Kb)
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:28,255
Favorites:132
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
Post A Reply Comment Options
Unread 06-06-10, 10:05 PM  
kxuhx
A Kobold Labourer

Forum posts: 0
File comments: 83
Uploads: 0
Your error is the result of your OUF Module.

I downloaded and installed your recent release of oUF viv r6. Then dnameplates r4 worked with out error.

Disabling all the oUF viv r6 files then caused the error to pop up.

So, from a pure newb POV (my POV), oUF Viv is parsing the code snippet properly, but those who do not use oUF Viv get the error.

Its directly related to the Health issue, as its missing when the error is produced.
Last edited by kxuhx : 06-06-10 at 10:07 PM.
Report comment to moderator  
Reply With Quote
Unread 06-07-10, 06:19 AM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 918
File comments: 959
Uploads: 22
It's a little bit work in progress. I'll fix that.

The fun thing is, I coded r4 on my laptop during some minutes this night (couldn't sleep) and it only runs GRID, nMainbar and nBuff ... no error, neither.

This is really ridiculous, I can't get that error to pop up, even when I wipe my interface folder, except for dNamePlates.

Anyway, r5 might fix it. *crosses fingers*

Originally posted by kxuhx
r4 the same error is back as previous versions.

had to revert back to r3
Which lines exactly?
__________________
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-07-10 at 06:38 AM.
Report comment to moderator  
Reply With Quote
Unread 06-07-10, 09:17 AM  
kxuhx
A Kobold Labourer

Forum posts: 0
File comments: 83
Uploads: 0
Was the same exact error as before. Repeating non-stop. Round returning a nil value.

How ever, this last update its working fine. no errors. The % health as well as the Health number is there.

Again, looking forward to keeping this mod.
Report comment to moderator  
Reply With Quote
Unread 06-07-10, 01:25 PM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 918
File comments: 959
Uploads: 22
Great, I didn't plan more changes for health display, anyway.

I might add some more color options and finally an in-game config. However the in-game config is a very big MAYBE.
__________________
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..."

Report comment to moderator  
Reply With Quote
Unread 06-07-10, 01:29 PM  
fhaddad922
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 11
Uploads: 2
Hi CPU usage or something.

First. I hate addons and I really don't use any. I like thekunitframes because it lets me move the player and target frames and its a very simple efficient addon. I also use parrot just because the blizzard combat text system sucks.

Anyway, there is nothing wrong w/ blizzard's nameplates except they are a little to big in my opinion.

Which leads me to your nameplate addon.

I tried so many from DocsUI, Cael, Aloft, and yours. By far, your name plate implementation is legit! I love it. I would use your addon except I'm noticing massive FPS drops with it.

For example, when I was in the dungeon today DTK, the very first boss where all those snakes are on the ground and you have like 40 nameplates up. My FPS dropped from 65 (which is where i cap it) to 20. When i disabled your addon, no FPS drop in the same spot. Also when I turned off nameplates FPS jumped right back up.

What is your addon doing to use up that much CPU or hit my FPS that hard when lots of nameplates are showing?

For the record, I'm on an Intel Core i5 750, 8 GB DDR3 RAM, ATI Radeon 4870 w/ 1 GB RAM, and Windows 7 x64. So it's not that I'm on a low end computer or something.

I hope this was helpful because your nameplate implementation is sick and I want to use it. But not at a performance loss.

Freddie

BTW, I will be more than happy to help beta test your addon if needed.

Oh and, all the people having weird errors and crashes, thats something on your end. I tried this addon by itself, and w/ ace addons running (from parrot) and DBM and much others. No errors no crashes nothing.
Last edited by fhaddad922 : 06-07-10 at 01:31 PM.
Report comment to moderator  
Reply With Quote
Unread 06-07-10, 01:43 PM  
lanacan
A Warpwood Thunder Caller
 
lanacan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 177
Uploads: 13
Re: Hi CPU usage or something.

Originally posted by fhaddad922
First. I hate addons and I really don't use any. I like thekunitframes because it lets me move the player and target frames and its a very simple efficient addon. I also use parrot just because the blizzard combat text system sucks.

Anyway, there is nothing wrong w/ blizzard's nameplates except they are a little to big in my opinion.

Which leads me to your nameplate addon.

I tried so many from DocsUI, Cael, Aloft, and yours. By far, your name plate implementation is legit! I love it. I would use your addon except I'm noticing massive FPS drops with it.

For example, when I was in the dungeon today DTK, the very first boss where all those snakes are on the ground and you have like 40 nameplates up. My FPS dropped from 65 (which is where i cap it) to 20. When i disabled your addon, no FPS drop in the same spot. Also when I turned off nameplates FPS jumped right back up.

What is your addon doing to use up that much CPU or hit my FPS that hard when lots of nameplates are showing?

For the record, I'm on an Intel Core i5 750, 8 GB DDR3 RAM, ATI Radeon 4870 w/ 1 GB RAM, and Windows 7 x64. So it's not that I'm on a low end computer or something.

I hope this was helpful because your nameplate implementation is sick and I want to use it. But not at a performance loss.

Freddie

BTW, I will be more than happy to help beta test your addon if needed.

Oh and, all the people having weird errors and crashes, thats something on your end. I tried this addon by itself, and w/ ace addons running (from parrot) and DBM and much others. No errors no crashes nothing.

I am the same way now that I'm back playing wow. I ended up using P3lim's nameplates http://github.com/p3lim/Overhead.
__________________
Busy modifying your code for my own UI.
Last edited by lanacan : 06-07-10 at 01:45 PM.
Report comment to moderator  
Reply With Quote
Unread 06-07-10, 04:55 PM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 918
File comments: 959
Uploads: 22
For example, when I was in the dungeon today DTK, the very first boss where all those snakes are on the ground and you have like 40 nameplates up. My FPS dropped from 65 (which is where i cap it) to 20. When i disabled your addon, no FPS drop in the same spot. Also when I turned off nameplates FPS jumped right back up.

What is your addon doing to use up that much CPU or hit my FPS that hard when lots of nameplates are showing?
That also happens with CaelNamePlates and I'm pretty sure any other major nameplate addon on this particular instance and ONLY at the beginning with all the snakes on the ground. I used other nameplates before and just switched them off for the 3 trash packs before the boss ... I do not consider this an issue. Once the snakes are dead or you move on it's fine. I haven't noticed such a behaviour even in 40 people battlegrounds with much zerg going on.
__________________
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-07-10 at 05:16 PM.
Report comment to moderator  
Reply With Quote
Unread 06-07-10, 05:34 PM  
fhaddad922
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 11
Uploads: 2
Originally posted by Dawn
That also happens with CaelNamePlates and I'm pretty sure any other major nameplate addon on this particular instance and ONLY at the beginning with all the snakes on the ground. I used other nameplates before and just switched them off for the 3 trash packs before the boss ... I do not consider this an issue. Once the snakes are dead or you move on it's fine. I haven't noticed such a behaviour even in 40 people battlegrounds with much zerg going on.
Fair enough. I haven't compared the fps drop with other nameplate addons, but other than that I love it and I'm sticking it with it!

Nice work.
Report comment to moderator  
Reply With Quote
Unread 06-08-10, 04:28 AM  
Ferous
Sheer Sense of Doom
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 563
Uploads: 10
Originally posted by Dawn
That also happens with CaelNamePlates and I'm pretty sure any other major nameplate addon on this particular instance and ONLY at the beginning with all the snakes on the ground. I used other nameplates before and just switched them off for the 3 trash packs before the boss ... I do not consider this an issue. Once the snakes are dead or you move on it's fine. I haven't noticed such a behaviour even in 40 people battlegrounds with much zerg going on.
This is entirely true. I'm still using ncNameplates and i get an FPS issue when there is alot of 'snakes' or anything of that kind of sort :P
Report comment to moderator  
Reply With Quote
Unread 06-08-10, 09:37 AM  
Slaxi81
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
ToDo
* think about adding debuffs over nameplate

will love you for this

have a nice day

slaxi
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 06-08-10, 06:00 PM  
SofaKing
A Kobold Labourer
 
SofaKing's Avatar

Forum posts: 1
File comments: 38
Uploads: 0
Thumbs up Trying it out...

I've been using TidyPlates, but am always on the lookout to try new addons.

After a few tweaks with the config, I like what a see.
Namely, dropping framesize width C and H from 100 to 50 and setting NumbFS=8 instead of 10.

I may go lower than 50.
I'll check that out and the rest of the settings in our raid later tonight.

Nice Job.
Report comment to moderator  
Reply With Quote
Unread 06-08-10, 06:02 PM  
SofaKing
A Kobold Labourer
 
SofaKing's Avatar

Forum posts: 1
File comments: 38
Uploads: 0
Originally posted by Ferous
This is entirely true. I'm still using ncNameplates and i get an FPS issue when there is alot of 'snakes' or anything of that kind of sort :P
Maybe the ability to hide neutral mob nameplates?
This is an option in TidyPlates.
Might help here.
Report comment to moderator  
Reply With Quote
Unread 06-08-10, 06:14 PM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 918
File comments: 959
Uploads: 22
Originally posted by SofaKing
Maybe the ability to hide neutral mob nameplates?
This is an option in TidyPlates.
Might help here.
Good point, I'll look into it.
__________________
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..."

Report comment to moderator  
Reply With Quote
Unread 06-11-10, 10:51 PM  
Alfrunnah
A Kobold Labourer

Forum posts: 1
File comments: 56
Uploads: 0
I know its probably really easy to implement, but when I try and do it myself I get errors and shit. Would you be able to make it so the bar color itself changes based on threat, rather than the outline? Would be awesome if you could post what to change to make that happen. Big fan of your mods and UF's, use them all
Report comment to moderator  
Reply With Quote
Unread 06-12-10, 08:40 PM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 918
File comments: 959
Uploads: 22
Originally posted by Alfrunnah
I know its probably really easy to implement, but when I try and do it myself I get errors and shit. Would you be able to make it so the bar color itself changes based on threat, rather than the outline? Would be awesome if you could post what to change to make that happen. Big fan of your mods and UF's, use them all

Try to replace "self.healthBar.hpGlow:SetBackdropBorderColor" with "self.healthBar:SetStatusBarColor" in the ThreatUpdate function ... and remove
"self.healthBar:SetStatusBarColor(self.r, self.g, self.b)" from the function. Untested, but that's where I would start.
__________________
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..."

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.