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,857
Favorites:141
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-01-10, 06:12 AM  
barbol12
A Cyclonian
 
barbol12's Avatar
AddOn Author - Click to view AddOns

Forum posts: 42
File comments: 63
Uploads: 2
aggro showing..?

i seem to have a problem... it doesnt want to show aggro/threat on the nameplates... how can i fix this?
barbol12 is offline Report comment to moderator  
Reply With Quote
Unread 10-31-10, 03:15 PM  
Thaliest
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Cheers for that I'd really appreciate it.
Also, since your intention was to not show it, might be an idea to set standard on off.

Just throwing it in there
Thaliest is offline Report comment to moderator  
Reply With Quote
Unread 10-31-10, 11:44 AM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 907
File comments: 949
Uploads: 24
I'll think about an option to show/hide level display. Might end up not that pretty though, since the only viable place left is before or after the unit's name.
__________________
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 10-31-10, 11:26 AM  
Thaliest
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Originally posted by Dawn
Blizzard removed some options with 4.x. There are some console commands you can use, like "spreadnameplates".

I don't want to show levels on nameplates. I want them to be as clean as possible. Level display is available through your unitframes. I don't value it to be important information in combat.
I quite understand that you want to keep it as clean as possible and I must say that I rather like it.
But while I am leveling one of my many alts, I'd like to see the level of a NPC without having to click on them (or TAB).

I've had a look through the lua file, but can't seem to find any way to turn them on. Did you remove them entirely? If so, any chance that they could be added for the people who would like the levels in there?

Other than that, great addon really love the layouts.
Thaliest is offline Report comment to moderator  
Reply With Quote
Unread 10-31-10, 11:14 AM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 907
File comments: 949
Uploads: 24
Blizzard removed some options with 4.x. There are some console commands you can use, like "spreadnameplates".

I don't want to show levels on nameplates. I want them to be as clean as possible. Level display is available through your unitframes. I don't value it to be important information in combat.
__________________
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 10-30-10, 11:53 PM  
SofaKing
A Kobold Labourer
 
SofaKing's Avatar

Forum posts: 1
File comments: 38
Uploads: 0
Levels and HP

Is it possible to turn on or show the level on the target?

Also, I am unable to locate the "allow names to overlap" in the Blizz UI. Has this been removed as an option?
Last edited by SofaKing : 10-30-10 at 11:58 PM.
SofaKing is offline Report comment to moderator  
Reply With Quote
Unread 10-30-10, 03:29 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 Apakal
I hope you don't find this offensive but... How can I disable your custom raid icon artwork?

It looks good, but it doesn't match raid icons on my unit frames (OCD...), and I think its a bit smaller, which makes it somewhat hard to see when the screen gets crowded.
Try to remove this line
Code:
	raidicon:SetTexture(mediaFolder.."raidicons")
Btw, I'd rather add these icon textures to your unitframes, than remove them from the nameplates. The option to increase icon size is at the top of the file (cbIconSize).
__________________
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 : 10-30-10 at 03:31 PM.
Dawn is offline Report comment to moderator  
Reply With Quote
Unread 10-30-10, 03:09 PM  
Apakal
A Kobold Labourer

Forum posts: 0
File comments: 36
Uploads: 0
I hope you don't find this offensive but... How can I disable your custom raid icon artwork?

It looks good, but it doesn't match raid icons on my unit frames (OCD...), and I think its a bit smaller, which makes it somewhat hard to see when the screen gets crowded.
Apakal is offline Report comment to moderator  
Reply With Quote
Unread 10-30-10, 09:08 AM  
Talisia
A Deviate Faerie Dragon

Forum posts: 15
File comments: 21
Uploads: 0
Ty!

Ty for an amazingly quick response!

I followed your instrunctions which I had already tried and it works now. I think the changing of the font size was the key, in otherwords, it had changed before but it was so small etc it looked like it hadnt =P Again ty =))
Talisia is offline Report comment to moderator  
Reply With Quote
Unread 10-30-10, 08:59 AM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 907
File comments: 949
Uploads: 24
1. get a font you want to use, let's say myfont.ttf
2. copy it into dNameplates media folder
3. open up dNameplates.lua and look for this line (at the very top of the file)

Code:
local FONT = mediaFolder.."Pixelway_Baseline.ttf"
4. change the font name
Code:
local FONT = mediaFolder.."myfont.ttf"
5. save
6. profit




note:
If you are using a normal font, don't forget that you might have to adjust the font size
Code:
local FONTSIZE = 8
and change the font outline (OUTLINE MONOCHROME only works well for pixel fonts - normal fonts look better with THINOUTLINE)
Code:
local FONTFLAG = "OUTLINE MONOCHROME"
__________________
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 : 10-30-10 at 09:01 AM.
Dawn is offline Report comment to moderator  
Reply With Quote
Unread 10-30-10, 08:38 AM  
Talisia
A Deviate Faerie Dragon

Forum posts: 15
File comments: 21
Uploads: 0
Changing Font

Hi =) Great addon! Ty!

I have been trying to change the font used but I seem to be getting nowhere fast... I have changed the font in the media file and name in lua but nothing is happening =( I am no code expert and can usually just about change things like this =P was wondering if you could help me out, its the only thing I would like to change

Ty again!
Talisia is offline Report comment to moderator  
Reply With Quote
Unread 10-28-10, 11:19 AM  
Lastbreath
A Defias Bandit

Forum posts: 3
File comments: 81
Uploads: 0
Originally posted by Dawn
You might have used /console bloattest 1 or an addon that does that for you (NameplateFix ... whatever). Last patch fixed nameplates, this shouldn't be necessary anymore.

Try this

/console bloattest 0
tnx its fixed now....
Lastbreath is offline Report comment to moderator  
Reply With Quote
Unread 10-27-10, 05:05 PM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 907
File comments: 949
Uploads: 24
You might have used /console bloattest 1 or an addon that does that for you (NameplateFix ... whatever). Last patch fixed nameplates, this shouldn't be necessary anymore.

Try this

/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 10-27-10, 03:16 PM  
Lastbreath
A Defias Bandit

Forum posts: 3
File comments: 81
Uploads: 0
M8 dont know why ive chance the height of the bars and /rl then ctrl+c and plates are ok, if i disable enable again they go back to their normal size any idea why, and that happends every time i /rl 1st time they are ok after that they are old size 5.
Lastbreath is offline Report comment to moderator  
Reply With Quote
Unread 10-26-10, 06:32 PM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 907
File comments: 949
Uploads: 24
It's not annoying it's way worse than that ........

Anyway, it works fine on Beta. If it goes live like that, we only have to endure this for another month and one week. Maybe less if the "in-between" Cataclysm patch will fix it.


Edit:

The following issues have been addressed in the 4.0.1a minor patch.

* Using a "/cast!" command no longer disconnects players.
* Mousing over objects that generate a cogwheel should no longer cause the client to freeze or disconnect.
* Guild Tabards should no longer display on characters not actually wearing the Guild Tabard.
* Floating combat text should always appear.
* NPC Health Bars/Nameplates are now appearing correctly.
Should go live today ^^
__________________
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 : 10-26-10 at 07:31 PM.
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.