Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(279 Kb)
Download
Updated: 10-14-14 04:13 PM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.3)
Warlords of Draenor Pre-Patch (6.0.2)
Updated:10-14-14 04:13 PM
Created:02-03-11 11:34 AM
Downloads:38,445
Favorites:217
MD5:
Categories:Unit Mods, Combat Mods
6.0.3

KuiNameplates  Popular! (More than 5000 hits)

Version: 243
by: Kesava [More]

More up to date versions can often be found on Curse.
Please try using that version before reporting a bug.


Prettier, pixel-perfect nameplates with auras. Configurable through interface options (open with /knp or /kuinameplates)
.

Class colours on hostile players can be enabled in the default interface options, under "Names" - check "Class Colors in Nameplates" at the bottom right.

If you're having issues with nameplates being in incorrect locations or being unclickable, first try unchecking the "Fix aliasing" option in configuration.

Current features:

  • All of the default nameplate features
  • Pixel perfect!
  • Auras!
  • Combo points
  • Tank mode - recolour health bars when you have threat (enable by checking "Enable tank mode" in options)
  • Customisable display of health for friendly or enemy units
  • Pretty fading in/out of frames (disable by unchecking "Smoothly fade" in options)
  • Automatic toggling of nameplates when you enter or exit combat (enable by checking "Auto toggle in combat" in options)
  • Cast & incoming healing warnings, useful for PVP (disabled by default, check "Show cast warnings" in options)
  • Configuration profiles
Health display patterns:
The text to display for health on different frames is determined by two simple patterns: one for friendly frames and one for neutral and hostile frames. These patterns can be changed in the options dialog (/knp). They must make use of specific conditions and results, in the following format:
condition1:result1;condition2:result2;condition3:result3;
There must be at least one condition (and one result). Any other conditions are optional.

Possible conditions are:
"=" When the unit is at maximum health...
"<" When the unit's health is less than maximum...
"=<" When the unit's health is either less than maximum or at maximum...
Possible results are:
"m" ... Display their maximum health (i.e. 123.4k).
"d" ... Display their health deficit (i.e. -46.5k).
"p" ... Display their health percentage.
"c" ... Display their current health (i.e. 76.9k).
"b" ... Display nothing.
The patterns used by default are:
Friendly units: =:m;<:d;
Which means:
When the unit is at maximum health:Display their maximum health;
When they're below maximum health:Display their health deficit;
Hostile units: <:p;
Which means:
When the unit is below maximum health:Display their health percentage;
Planned features:
  • Frame blacklisting
  • Stuff I can't remember

243
* fix issue where auras were not updated on mouseover frames
* fix an issue where auras and other such things would sometimes appear on the wrong frame
* add support for combo points' anticipation stacks
* change colouration of the addons' titles, so that they don't break alphabetic sorting on the addon list
* bump TOC

Change log for previous versions available on CurseForge.
Archived Files (1)
File Name
Version
Size
Author
Date
240
278kB
Kesava
07-18-14 02:07 PM


Post A Reply Comment Options
Unread 11-29-12, 10:39 AM  
Kesava
A Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 172
Uploads: 3
Originally Posted by akgis
Just a sugestion: Wouldnt be better to have the layout config in a simple separate file that could be kept unchanged during diferent versions unless something major changed
I'm not going to full on support skinning because, as Anja says, this addon is pretty much already a theme itself - my theme - and there are other nameplate addons created purely with the goal of being themeable, like TidyPlates. It's a lot of work for me to implement something which other addons already provide.

However, I'll need to do this anyway, so I'm going to be adding a Post-function handler. More on that when it comes out. Really it's just to let me clean up the code a bit, make it somewhat modular so all the code isn't in 1 file as it is now, but it should also be possible for people like yourself to hook into it and modify things in the nameplates after critical events (creation, OnShow, etc).
Kesava is offline Report comment to moderator  
Reply With Quote
Unread 11-29-12, 12:02 PM  
Anja
A Fallenroot Satyr
 
Anja's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 37
Uploads: 3
Kesava, can i give minions the same plate as the normal targets? because of this stacking problem, the "carrier" frame is alot smaller and i think, this is the main problem of this...

to outsource the theme data in another file is a dream for me, than i can update your nice addon without lose my theme... but please make it like this structure:

wow / interface / addons / kui_nameplates / files
wow / interface / addons / kui_themes / theme_x / files
Anja is offline Report comment to moderator  
Reply With Quote
Unread 11-29-12, 12:08 PM  
Kesava
A Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 172
Uploads: 3
Originally Posted by Anja
wow / interface / addons / kui_nameplates / files
wow / interface / addons / kui_themes / theme_x / files
I won't enforce that, you could put the code wherever you like (as long as it's included by an addon). You could make an addon called Kui_Themes and put it there if you like.


Originally Posted by Anja
Kesava, can i give minions the same plate as the normal targets
Not unless Blizzard implement that in the default options. I could make it -look- the same, but they'd stack over each other, and the click-box would still be smaller, which is the problem you're having. Addons can't change the size of interactive things in combat, so it would sometimes work, and sometimes not, which isn't great.
Kesava is offline Report comment to moderator  
Reply With Quote
Unread 11-29-12, 12:42 PM  
Anja
A Fallenroot Satyr
 
Anja's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 37
Uploads: 3
i can only "change" variables and code - not code my own addons - i dont know how i can make an addon like kui_theme that change all the variables in your addon O_o

Originally Posted by Kesava
Not unless Blizzard implement that in the default options. I could make it -look- the same, but they'd stack over each other, and the click-box would still be smaller, which is the problem you're having.
yes, sad... okay - i must look what i can do, this "minions thing" is dumb shitty xD


other things i found out, when a plate is releasing, the healthbar starts at 0% and goes fast to 100%, that looks not good, can you change that? to always 100% first?
Last edited by Anja : 11-29-12 at 02:25 PM.
Anja is offline Report comment to moderator  
Reply With Quote
Unread 11-30-12, 12:49 PM  
Kesava
A Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 172
Uploads: 3
Originally Posted by Anja
i can only "change" variables and code - not code my own addons - i dont know how i can make an addon like kui_theme that change all the variables in your addon O_o
You only need to make a folder, a .toc and a .lua file to "make" an addon. Either way I can describe how it works to you in a PM when that update actually comes out.

Originally Posted by Anja
the healthbar starts at 0% and goes fast to 100%
I'll look into improving that.
Last edited by Kesava : 11-30-12 at 03:36 PM.
Kesava is offline Report comment to moderator  
Reply With Quote
Unread 12-01-12, 05:05 AM  
redworm
A Defias Bandit

Forum posts: 2
File comments: 64
Uploads: 0
missing the option to remove levels...
redworm is offline Report comment to moderator  
Reply With Quote
Unread 12-03-12, 11:16 PM  
devilArt
An Aku'mai Servant
 
devilArt's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 32
File comments: 123
Uploads: 1
hi kesava
is there a easy way to remove level and health, i try use hide() to "frame.level" and "frame.health.p", but level still display
maybe add a option to hide them would be a nice choice

anyway, thanks for this awesome addon
devilArt is online now Report comment to moderator  
Reply With Quote
Unread 12-05-12, 12:06 PM  
Kesava
A Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 172
Uploads: 3
There's an option for that in the update I just uploaded (3.5.2). Should be up an hour or so from this posting.

Thanks!
Last edited by Kesava : 12-05-12 at 12:07 PM.
Kesava is offline Report comment to moderator  
Reply With Quote
Unread 12-14-12, 09:33 AM  
Velarayne
An Aku'mai Servant
 
Velarayne's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 35
File comments: 57
Uploads: 1
Hiya, I have a quick question if you don't mind. :>

I noticed in 5.1, Blizzard redesigned the nameplates so that low health-type mobs (like little mobs that have way less health than normal mobs of the same level) have really small nameplates compared to everything else. As you can see in my screenshot, I'm using a pixel font on my nameplates, so this new feature distorts the font size and it doesn't look very good.



So I was wondering, is there anything I may have missed in the options (or even the LUA) that would allow me to disable this and have all my nameplates be the same size? If there isn't currently an option, is it something that would be easy to fix?

Also, thanks for making an awesome addon. I was using dNameplates prior to 5.1, but 5.1 broke them and the author wasn't updating. Eventually stumbled across KuiNameplates and now I have no intention of switching to anything else. :>

Edit: Gah sorry, I totally didn't realize someone asked the exact same thing already. ;_;
Last edited by Velarayne : 12-14-12 at 09:35 AM.
Velarayne is offline Report comment to moderator  
Reply With Quote
Unread 12-14-12, 07:15 PM  
Kesava
A Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 172
Uploads: 3
It should be possible for you to get the font to look right on trivial frames. If you rename the custom-rename-me.lua to (predictably) custom.lua, look for this line:
Code:
-- Place code to be performed after a frame is shown here.

And put this code after it:
Code:
    if frame.trivial then
        local name,_,style = frame.name:GetFont()
        frame.name:SetFont(name, KuiNameplates.fontSizes.name, style)
    end
Then completely restart wow (if you had it open), the names on both types of frames -should- be the same size. As per keeping everything pixel-perfect those frames aren't scaled in any way - it's just because the names on trivial frames use a 1 point smaller font size.

But concerning -frame- sizes, as you read in the other reply I can only make them look the same. The click boxes would still be the smaller size because Blizzard doesn't let us control that without it sometimes breaking, so it'd result in really bad UI feedback.


Thanks!
Last edited by Kesava : 12-14-12 at 07:18 PM.
Kesava is offline Report comment to moderator  
Reply With Quote
Unread 12-15-12, 05:56 AM  
Monkooli
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Monochrome

Hello, I really like this addon but one thing that I would need for it to fit in my UI is a monochrome setting. I can't really find the option for it in the LUA files so can you lend me a hand?
Monkooli is offline Report comment to moderator  
Reply With Quote
Unread 12-15-12, 07:44 AM  
Kesava
A Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 172
Uploads: 3
Re: Monochrome

Originally Posted by Monkooli
a monochrome setting
It's possible to do that in this version - you need to search for "OUTLINE" in layout.lua, castbar.lua and castwarnings.lua and replace each of them with "OUTLINE, MONOCHROME". But it should much easier to do in the version I'm working on, and I'll be able to add an option for it.
Kesava is offline Report comment to moderator  
Reply With Quote
Unread 12-15-12, 10:10 PM  
Velarayne
An Aku'mai Servant
 
Velarayne's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 35
File comments: 57
Uploads: 1
Originally Posted by Kesava
It should be possible for you to get the font to look right on trivial frames. If you rename the custom-rename-me.lua to (predictably) custom.lua, look for this line:
Code:
-- Place code to be performed after a frame is shown here.

And put this code after it:
Code:
    if frame.trivial then
        local name,_,style = frame.name:GetFont()
        frame.name:SetFont(name, KuiNameplates.fontSizes.name, style)
    end
Then completely restart wow (if you had it open), the names on both types of frames -should- be the same size. As per keeping everything pixel-perfect those frames aren't scaled in any way - it's just because the names on trivial frames use a 1 point smaller font size.

But concerning -frame- sizes, as you read in the other reply I can only make them look the same. The click boxes would still be the smaller size because Blizzard doesn't let us control that without it sometimes breaking, so it'd result in really bad UI feedback.


Thanks!
Thank you so much, this worked perfectly. That was driving me crazy! :>
Velarayne is offline Report comment to moderator  
Reply With Quote
Unread 12-17-12, 09:43 AM  
McBloed
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 31
Uploads: 2
Options sometimes dont be saved after relog in version 3.5.2 (reload works, just relog dont)
__________________
www.extinction-dethecus.de
Last edited by McBloed : 12-18-12 at 09:13 AM.
McBloed is online now Report comment to moderator  
Reply With Quote
Unread 12-20-12, 09:27 AM  
Velarayne
An Aku'mai Servant
 
Velarayne's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 35
File comments: 57
Uploads: 1
I have another question, if you don't mind. ^^

Say I added a bar texture to to the texture folder in Kui_Media; How would I go about editing the LUA to use that bar texture on my nameplates? I skimmed through the LUA a bit and wasn't sure what I would need to change. Thanks in advance! :>
Velarayne 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.