Download
(505Kb)
Download
Updated: 10-21-20 07:11 AM
Pictures
File Info
Updated:10-21-20 07:11 AM
Created:02-03-11 11:34 AM
Downloads:98,091
Favorites:279
MD5:
Categories:Unit Mods, Combat Mods

KuiNameplates  Popular! (More than 5000 hits)

Version: 2.26.3e
by: Kesava [More]

Prettier nameplates.
Configurable through interface options (/knp or /kuinameplates).
I have a problem/question!
The classic release, previous versions and change logs can be found on Curse: https://www.curseforge.com/wow/addons/kuinameplates/files

Also see the FAQ in the Curse description: https://www.curseforge.com/wow/addons/kuinameplates

Thanks!

** See releases on GitHub or Curse for detailed change notes. Thanks! **
Post A Reply Comment Options
Unread 09-28-13, 04:03 PM  
madmatt91
A Kobold Labourer

Forum posts: 0
File comments: 27
Uploads: 0
couple .lua stuffs i'd like to know

Hi, first of all thanks for the addon it's a beauty! couple things i'd like to change for myself, i saw you said that to change the health bar background (not the frame background just the bit that appears as the health bar goes down like someone else asked) you would have to change the custom lua, i tried and this is how it looks:
Code:
function mod:PostCreate(msg, frame)
    frame.bg:SetVertexColor(.5,.5,.5,1)
although it doesn't really work infact nothing changes, still got the kinda faded out black bar as background, with the .5,.5,.5,1 values instead i should have a solid grey / light grey background, how can i fix this?

second thing, I'd like to have the health percentage display changed to decimal at all times

third thing, i would like the health percentage to be on the same vertical offset as the nameplate's unit name

last thing, i would like to be able to change the vertical offset of both the name and the health percentage, the build it options only allow untill just a bit over the center of the frame, i'd like to be able to go lower

thanks in advance i know it's a lot of question but probably someone else is looking for this too big ups for the great addon again!

EDIT: managed to get third and last thing to be as i wanted! about the first one i managed to change that specific color the problem is that the texture that changes that part is called solid right? in the ''t'' folder, and it's the same texture that also makes the border of the health bar appear, so you can't say put the background of the health bar at (.3, .3, .3, 1) and make the border remain totally black with ( 0, 0, 0, 1), or am i wrong?
would still need the decimals for the %health display, got no clue how to do that
Last edited by madmatt91 : 09-29-13 at 04:46 AM.
Report comment to moderator  
Reply With Quote
Unread 09-28-13, 01:44 PM  
ak_wow
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Re: Re: CUSTOM_CLASS_COLORS

Originally Posted by Kesava
... To cut to the chase, to do this you'd have to do a sort of reverse-lookup to find the class given the colour of the nameplate. But that's.. more than a few lines of code. I'll look into it, though.

Thanks!
wawww i didn' t think that was so difficult...
I understard why i failed

Thanks for your anwser!
Report comment to moderator  
Reply With Quote
Unread 09-28-13, 01:20 PM  
Kesava
A Murloc Raider
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 141
Uploads: 1
Re: CUSTOM_CLASS_COLORS

Originally Posted by ak_wow
I tried to make the addon works with !classcolor but i know nothing about lua so i failed...
The default nameplates don't provide their owner's class as a variable, they just recolour the health bar. So what I'm doing in that code you modified is reading the colour of the default nameplates' health bar and putting it on to my addon's nameplates' health bar - not reading the class, which means it isn't available as a key in CUSTOM_CLASS_COLORS.

Similarly nameplate owners aren't given a unit definition unless you happen to be targeting the owner, in which case you still have to find the right nameplate (programmatically speaking, you can do this by checking that it is the only nameplate at 100% opacity) in order to work out which nameplate actually belongs to your target... All this means functions which take units, like UnitClass, don't work for nameplates.

To cut to the chase, to do this you'd have to do a sort of reverse-lookup to find the class given the colour of the nameplate. But that's.. more than a few lines of code. I'll look into it, though.

Thanks!

I doesn't track in Demonology or Affliction, and I'm not running any glyphs that would change corruption. I think another person in the RealUI thread also asked about the same thing.
I'll look at it when I get the chance, thanks.
Last edited by Kesava : 09-28-13 at 01:21 PM.
Report comment to moderator  
Reply With Quote
Unread 09-28-13, 12:57 PM  
ak_wow
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
CUSTOM_CLASS_COLORS

Hello,

Great addon so far

I tried to make the addon works with !classcolor but i know nothing about lua so i failed...

Under "enemy player, use default UI colour", i tried :

r = CUSTOM_CLASS_COLORS[select(2, UnitClass ("self"))].r

or

r = CUSTOM_CLASS_COLORS[select(2, UnitClass ("self.class"))].r

and some other things ...


I could use some help if someone know how to fix that.

Thank you.
Report comment to moderator  
Reply With Quote
Unread 09-24-13, 09:15 AM  
Midjet
A Fallenroot Satyr

Forum posts: 21
File comments: 5
Uploads: 0
Re: Re: PvP

Originally Posted by Kesava
Originally Posted by Laméricain
I am using KNP through Real UI. Does anyone know if there is an option to have KNP debuffs over all nameplates in PvP? Right now it is only showing debuffs over pets and only occasionally over players.
Auras will only display over your current target, and they'll linger over past targets. When it comes to nameplates, the API doesn't provide a reliable way to track auras on any unit except your target. It should be displaying on any unit you target - there's no option to make it only track them on pets or otherwise.

Originally Posted by xeleven
is there a way i can make the name text bigger?
Not as an option at the moment. You can edit core.lua, find this line:
Code:
        name      = 9,
(It should be on line 32) And edit that number to whatever size you'd like. Note that it may also affect some other text.

Originally Posted by Midjet
Hey there, since 5.4 KNP isn't tracking corruption for me.
It's tracking for me, but I don't actively play a warlock. What spec are you? Do you have any glyphs that modify corruption?

Originally Posted by poohkie
the addon castbar isnt over-riding the default blizzard 1, so now my nameplates have the kui castbar, and these huge ugly ass blizzard cast bars.... how do i fix this?
Could you disable any other addons and see if it still happens?


Thanks.
I doesn't track in Demonology or Affliction, and I'm not running any glyphs that would change corruption. I think another person in the RealUI thread also asked about the same thing.
Report comment to moderator  
Reply With Quote
Unread 09-24-13, 06:57 AM  
Kesava
A Murloc Raider
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 141
Uploads: 1
Re: PvP

Originally Posted by Laméricain
I am using KNP through Real UI. Does anyone know if there is an option to have KNP debuffs over all nameplates in PvP? Right now it is only showing debuffs over pets and only occasionally over players.
Auras will only display over your current target, and they'll linger over past targets. When it comes to nameplates, the API doesn't provide a reliable way to track auras on any unit except your target. It should be displaying on any unit you target - there's no option to make it only track them on pets or otherwise.

Originally Posted by xeleven
is there a way i can make the name text bigger?
Not as an option at the moment. You can edit core.lua, find this line:
Code:
        name      = 9,
(It should be on line 32) And edit that number to whatever size you'd like. Note that it may also affect some other text.

Originally Posted by Midjet
Hey there, since 5.4 KNP isn't tracking corruption for me.
It's tracking for me, but I don't actively play a warlock. What spec are you? Do you have any glyphs that modify corruption?

Originally Posted by poohkie
the addon castbar isnt over-riding the default blizzard 1, so now my nameplates have the kui castbar, and these huge ugly ass blizzard cast bars.... how do i fix this?
Could you disable any other addons and see if it still happens?


Thanks.
Report comment to moderator  
Reply With Quote
Unread 09-21-13, 12:30 PM  
Midjet
A Fallenroot Satyr

Forum posts: 21
File comments: 5
Uploads: 0
Hey there, since 5.4 KNP isn't tracking corruption for me.

I'm using it as part of RealUI, so I'm not sure if that changes anything.
Report comment to moderator  
Reply With Quote
Unread 09-20-13, 04:43 PM  
xeleven
A Kobold Labourer

Forum posts: 0
File comments: 25
Uploads: 0
is there a way i can make the name text bigger?
Report comment to moderator  
Reply With Quote
Unread 09-18-13, 10:49 AM  
Laméricain
A Kobold Labourer

Forum posts: 1
File comments: 1
Uploads: 0
PvP

I am using KNP through Real UI. Does anyone know if there is an option to have KNP debuffs over all nameplates in PvP? Right now it is only showing debuffs over pets and only occasionally over players.
Report comment to moderator  
Reply With Quote
Unread 09-17-13, 04:26 PM  
poohkie
A Murloc Raider

Forum posts: 9
File comments: 49
Uploads: 0
the addon castbar isnt over-riding the default blizzard 1, so now my nameplates have the kui castbar, and these huge ugly ass blizzard cast bars.... how do i fix this?
Report comment to moderator  
Reply With Quote
Unread 09-09-13, 06:54 AM  
Tonyleila
A Molten Giant
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 758
File comments: 2021
Uploads: 37
Originally Posted by iNs
Love your addon, I have an issue tho. I could have sworn that there was an option in the menu to change the health bar colors. However I can no longer find that option and I don't know how to bring it back. Enemy name plates are using default wow colors (red, yellow, gray for dummies) and I have no idea how to change it. Do you have any idea? Thanks in advance.
Not in the menu you can change it in the lua file
Go to \World of Warcraft\Interface\AddOns\Kui_Nameplates
open core.lua with a text editor
Change the RGB values from line 45-49 here
Code:
-- Custom reaction colours
addon.r = {
    { .7, .2, .1 }, -- hated
    {  1, .8,  0 }, -- neutral
    { .1, .3, .1 }, -- friendly
	{ .5, .5, .5 }, -- tapped
	{ .3, .3, .3 }, -- friendly player
}
__________________
Author of: LeilaUI and Aurora: Missing Textures
__________________
Report comment to moderator  
Reply With Quote
Unread 09-07-13, 04:16 AM  
iNs
A Kobold Labourer

Forum posts: 1
File comments: 7
Uploads: 0
Love your addon, I have an issue tho. I could have sworn that there was an option in the menu to change the health bar colors. However I can no longer find that option and I don't know how to bring it back. Enemy name plates are using default wow colors (red, yellow, gray for dummies) and I have no idea how to change it. Do you have any idea? Thanks in advance.
Report comment to moderator  
Reply With Quote
Unread 08-21-13, 10:09 AM  
Kesava
A Murloc Raider
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 141
Uploads: 1
Re: hi

Is possible to add the feature to enable / disable healthbars on friendly units unless you are in combat?
If you mean like the option there current is to automatically hide enemy's nameplates (but not friendlies), then yes, that's something I plan to add.

For now, if you -don't- want enemy nameplates to hide when you leave combat, you can open layout.lua and find/replace this:
Code:
nameplateShowEnemies
With:
Code:
nameplateShowFriends
And then check the "Auto toggle in combat" option. After making that change, it'll work on friendlies rather than enemies.

Thanks!

Originally Posted by Sassyxo
I was wondering if there was any way of making the black bar (as the mob is dying and the health is going down, behind it the bar is jjust black) more transparent/see-through ...
Yes, using custom.lua. Rename custom-rename-me.lua to custom.lua, open it, and add this line:
Code:
frame.bg:SetVertexColor(0,0,0,.5)
Immediately under the line:
Code:
function mod:PostCreate(msg, frame)
That will make the background 50% transparent. Change the ".5" to whatever value you want to customise that.
Report comment to moderator  
Reply With Quote
Unread 08-20-13, 12:00 AM  
samvx
A Defias Bandit
 
samvx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 118
Uploads: 3
Hello Kesava.... let me thank you for this awesome work.

Is possible to add the feature to enable / disable healthbars on friendly units unless you are in combat?

ty in advance... or any suggestion from anyone who knows LUA I appreciate it
Report comment to moderator  
Reply With Quote
Unread 08-15-13, 05:09 PM  
Sassyxo
An Aku'mai Servant

Forum posts: 31
File comments: 37
Uploads: 0
hi

I was wondering if there was any way of making the black bar (as the mob is dying and the health is going down, behind it the bar is jjust black) more transparent/see-through ...
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: