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,858
Favorites:140
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 11-21-10, 04:08 PM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 907
File comments: 949
Uploads: 24
Originally posted by Alfrunnah
Is it still possible to make the bars threat colored like before, or is it a difficult thing to accomplish.
I's just more code, I'm using the default behaviour.
__________________
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 11-21-10, 03:27 PM  
Alfrunnah
A Kobold Labourer

Forum posts: 1
File comments: 58
Uploads: 0
Is it still possible to make the bars threat colored like before, or is it a difficult thing to accomplish.
Alfrunnah is offline Report comment to moderator  
Reply With Quote
Unread 11-15-10, 12:48 PM  
Mahiro
A Murloc Raider
 
Mahiro's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 103
Uploads: 8
hi, i have a bit of a problem with the size of the bars. when i change it then its like randomly setting the size i want and the default size. i dont really get it why this happens o_O maybe you know whats going on?

tested again and the size resets when the castbar goes out of view and back again...

changed the OnShow on line 184 with OnUpdate and that works fine, but probably needs a bit mor resources:/
Last edited by Mahiro : 11-15-10 at 01:18 PM.
Mahiro is offline Report comment to moderator  
Reply With Quote
Unread 11-11-10, 06:07 PM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 907
File comments: 949
Uploads: 24
There is no player class icon since r10, I recommend reading the changelog ...
__________________
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 11-11-10, 12:22 PM  
sangoku
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I love the addon but last version has a bad habit to hover on the face of players when you have the camera maximally zoomed out (like my usual play style).
AND (big and) on holy paladins (I am guessing that is because they have a spell that is both offensive and heeler spell) and for them the addon duos not display the player class icon at all for paladins, Which is more than annoying. It works on my mage and DK and every other class except holy priest/discipline and holy paladin... and only thing that they have in common is that they both have the spell which can be used on enemies and friendly players.

The last bug is always present since i use the addon (about half a year)
Last edited by sangoku : 11-11-10 at 12:23 PM.
sangoku is offline Report comment to moderator  
Reply With Quote
Unread 11-06-10, 09:33 AM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 907
File comments: 949
Uploads: 24
You can no longer change the color.

You should be able to still use r9, 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..."

Last edited by Dawn : 11-06-10 at 09:34 AM.
Dawn is offline Report comment to moderator  
Reply With Quote
Unread 11-06-10, 09:27 AM  
ginoney
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
HELLO~

can you tell me where change the HP color@@?

i want it is pink

althought i know pink RGB is(255,181,197)

but i only see some code in “dNameplates.lua” like
-- color hp bg dependend on hp color
local BGr, BGg, BGb = frame.hp:GetStatusBarColor()
frame.hp.hpbg2:SetVertexColor(BGr*0.36, BGg*0.36, BGb*0.36)

HideObjects(frame)
end

local function UpdateCastbar(frame)
frame:ClearAllPoints()
frame:SetSize(cbWidth, cbHeight)
frame:SetPoint('TOP', frame:GetParent().hp, 'BOTTOM', 0, -5)
frame:GetStatusBarTexture():SetHorizTile(true)

if(not frame.shield:IsShown()) then
frame:SetStatusBarColor(1, 0.3, 0.3)
the (1, 0.3, 0.3) is HP color? but i can't find it in my photoshop RGB tables

sorry my english is not good

but i just want change the HP color to pink because i done before(r9)
Last edited by ginoney : 11-06-10 at 09:28 AM.
ginoney is offline Report comment to moderator  
Reply With Quote
Unread 11-05-10, 12:25 PM  
Elv22
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 485
Uploads: 6
Originally posted by Dawn
Names are always full length now. Really long names are "cut off" at the end though. That's a default behaviour of font strings. I already increased the default width of the name's font string a little, way more would look awkward, imho.
Hi dawn, I was wondering if it would be ok for me to use some of the base code for my own addon. Mostly the code to determine if the plate is an actual nameplate from WorldFrame children.

Thanks!
Elv22 is offline Report comment to moderator  
Reply With Quote
Unread 11-05-10, 08:46 AM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 907
File comments: 949
Uploads: 24
Names are always full length now. Really long names are "cut off" at the end though. That's a default behaviour of font strings. I already increased the default width of the name's font string a little, way more would look awkward, imho.
__________________
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 11-05-10, 01:08 AM  
Nikto
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
How do i change short format text to normal, full length?

I know this question was answered a page or so back but I was unable to find where to edit the number to change the name length. Did the code change since then, is this still possible to do, or am I just dumb?

Thanks and thanks for the awesome addon.
Nikto is offline Report comment to moderator  
Reply With Quote
Unread 11-03-10, 05:00 AM  
vertigo1980
A Kobold Labourer

Forum posts: 0
File comments: 41
Uploads: 0
Originally posted by Dawn
You would have to change the border code. But there is no option for this and the old border code is no longer included. Some r9 : r10 hardcore compare action mixed with copy and paste should work, though.
Any chance this could be implemented as a feature? (the old look :P it just suited the rest of my UI so well )
Last edited by vertigo1980 : 11-03-10 at 05:00 AM.
vertigo1980 is offline Report comment to moderator  
Reply With Quote
Unread 11-02-10, 09:47 PM  
JaimeRavenholdt
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Originally posted by Dawn
see changelog ...


Therefore I'm no longer changing default colors. Using standard reaction/class colors, now.

The font is a pixel font, that's intended. You can still change the font to whatever you want. Read through the info page and/or comments. Someone asked that a few comments before, too.

The "bug" is most likely due to you having either used a "nameplate fix" kind of addon or typed in /console bloatthreat 1 and/or /console bloattest 1 manually.

Neither of that is necessary anymore, since the last minor patch that fixed blizzards nameplate mess up.

To reverse this:
/console bloatthreat 0
/console bloattest 0
Thanks.

Completely forgot it had been based on Cael.
JaimeRavenholdt is offline Report comment to moderator  
Reply With Quote
Unread 11-02-10, 08:19 PM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 907
File comments: 949
Uploads: 24
see changelog ...
* code rewritten, extremely simplified, no longer based on caelNameplates
Therefore I'm no longer changing default colors. Using standard reaction/class colors, now.

The font is a pixel font, that's intended. You can still change the font to whatever you want. Read through the info page and/or comments. Someone asked that a few comments before, too.

The "bug" is most likely due to you having either used a "nameplate fix" kind of addon or typed in /console bloatthreat 1 and/or /console bloattest 1 manually.

Neither of that is necessary anymore, since the last minor patch that fixed blizzards nameplate mess up.

To reverse this:
/console bloatthreat 0
/console bloattest 0
__________________
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 11-02-10, 07:33 PM  
JaimeRavenholdt
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
First off, fantastic mod. I absolutely love your nameplates.

My question:

A few versions ago, you had these very subtle, almost earthy colors to your nameplates. Of course, I don't have a single screenshot of them. -_- The font was also less pixelated.

After updating to the 4.0.1 version, the colors got louder and the font looks very digital compared to my old nameplates.

Do you remember what I'm talking about? Can you hook me up with the config for the old settings? :/

Thanks.

Also! I think there's a bug with threat. Whenever I draw aggro, the nameplate for the associated mob enlarges. Just something I thought I'd mention. Turning off the in-game threat notifications do not fix this.
Last edited by JaimeRavenholdt : 11-02-10 at 07:35 PM.
JaimeRavenholdt is offline Report comment to moderator  
Reply With Quote
Unread 11-01-10, 07:49 AM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 907
File comments: 949
Uploads: 24
Re: aggro showing..?

Originally posted by barbol12
i seem to have a problem... it doesnt want to show aggro/threat on the nameplates... how can i fix this?
Names are threat colored (red name = aggro, ...).
__________________
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.