Quantcast
Download
(196 Kb)
Download
Updated: 07-27-16 09:48 AM
Pictures
File Info
Compatibility:
Legion (7.0.3)
Updated:07-27-16 09:48 AM
Created:02-03-11 11:34 AM
Downloads:56,221
Favorites:253
MD5:
Categories:Unit Mods, Combat Mods

KuiNameplates  Popular! (More than 5000 hits)

Version: 2-7
by: Kesava [More]

Prettier nameplates with auras.
Configurable through interface options (/knp or /kuinameplates).

Notable features
  • Pixel perfect!
  • Auras!
  • Combo points and other class powers!
  • Tank mode!
  • Pretty fading in/out of frames (disable by unchecking "Smoothly fade" in options)
  • Other things!

I have a problem/question!

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

If you have any issues, feel free to PM me, post it in the comments on Curse, or on GitHub (but check through that list to make sure it's not already there, first). I don't get any sort of notification for comments posted on WoWI, so that might not be the best option.

Change logs available @ CurseForge.
Archived Files (3)
File Name
Version
Size
Author
Date
2-4
193kB
Kesava
07-21-16 01:01 PM
2-1
192kB
Kesava
07-19-16 10:32 AM
260
303kB
Kesava
02-18-16 02:04 PM


Post A Reply Comment Options
Unread 04-20-13, 08:48 PM  
Kesava
A Murloc Raider
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 141
Uploads: 3
I have the same problem. I get "ghost plates" if i use kui with vialcooldowns. Today 03:38 PM
it works with VialCooldowns in PVP http://wow.curseforge.com/addons/via...ldowns-v1-4-1/,but when the other players dead,Their nameplates like this ,please help me.
I'll look into it, thanks for letting me know.

Originally Posted by Draigars
Hi. Is it possible to not anchor alt health to health? ... Btw if I make changes in the (renamed) custom file, the game get tons of mini-freezes
Could you post the contents/previous contents of your custom.lua? There's nothing in there by default to cause anything like that and I haven't heard that from anyone else.

I can't test code at the moment but adding this in the mod:PostShow function in custom.lua should possibly do what you want:
Lua Code:
  1. frame.health.mo:SetAllPoints(frame.health)
  2. frame.health.mo:SetJustifyH('CENTER')
  3. frame.health.mo:SetAlpha(1)
Or if you want to edit create.lua just drop it at the bottom of the function you quoted and replace "frame" with "f".

Please add filter for nameplates so it blacklists certain mobs, this would be very usefull for Tortos
Planned. Can't promise when though.
Last edited by Kesava : 04-21-13 at 06:57 AM.
Report comment to moderator  
Reply With Quote
Unread 04-20-13, 04:49 PM  
GeneralWurst
A Defias Bandit

Forum posts: 2
File comments: 98
Uploads: 0
Re: Problem with VialCooldowns

Originally Posted by zweidyx
it works with VialCooldowns in PVP http://wow.curseforge.com/addons/via...ldowns-v1-4-1/,but when the other players dead,Their nameplates like this ,please help me.
I have the same problem. I get "ghost plates" if i use kui with vialcooldowns.
Report comment to moderator  
Reply With Quote
Unread 04-20-13, 08:38 AM  
Draigars
A Murloc Raider
 
Draigars's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 4
File comments: 42
Uploads: 1
Hi. Is it possible to not anchor alt health to health? I'd like to place it in the center of the main (i.e. http://puu.sh/2DDLH/084e64a5be.jpg), but it doesn't stay centered when its lenght change, even though justify is center. And I can't display it if its set point doesn't depends on f.health.

Code:
------------------------------------------------------------- Alt health text --
function addon:CreateAltHealthText(frame, f)
	f.health.mo = f:CreateFontString(f.overlay, {
		font = addon.font, size = 'small', outline = "OUTLINE" })
	f.health.mo:SetJustifyH('CENTER')
	f.health.mo:SetPoint('BOTTOMRIGHT', f.health,
		-53, addon.uiscale and (1/addon.uiscale) or 1)
	f.health.mo:SetAlpha(1)
end
Btw if I make changes in the (renamed) custom file, the game get tons of mini-freezes, whereas if I directly modify create.lua there's no problem at all.
Last edited by Draigars : 04-20-13 at 06:33 PM.
Report comment to moderator  
Reply With Quote
Unread 04-19-13, 02:22 AM  
zweidyx
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Problem with VialCooldowns

it works with VialCooldowns in PVP http://wow.curseforge.com/addons/via...ldowns-v1-4-1/,but when the other players dead,Their nameplates like this ,please help me.
Report comment to moderator  
Reply With Quote
Unread 04-15-13, 03:46 PM  
akgis
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 80
Uploads: 5
Please add filter for nameplates so it blacklists certain mobs, this would be very usefull for Tortos
__________________
Report comment to moderator  
Reply With Quote
Unread 04-15-13, 04:39 AM  
Piefayth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 2
Originally Posted by Kesava
Originally Posted by Piefayth
Excuse my ignorance, but what if I don't have levels enabled? I tried half an hour's worth of things and just managed to break it more and more hilariously as I went.
Use this line instead:
Lua Code:
  1. frame.name:SetPoint('BOTTOMLEFT', frame.health, 'TOPLEFT', 2, [your y offset])
For reference, the function which creates the name text is at the bottom of create.lua.
Hah, I had the right region just never the right combination of points. Works perfect! Thanks a bunch, love your addon.
Report comment to moderator  
Reply With Quote
Unread 04-14-13, 07:17 PM  
Kesava
A Murloc Raider
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 141
Uploads: 3
Originally Posted by Piefayth
Excuse my ignorance, but what if I don't have levels enabled? I tried half an hour's worth of things and just managed to break it more and more hilariously as I went.
Use this line instead:
Lua Code:
  1. frame.name:SetPoint('BOTTOMLEFT', frame.health, 'TOPLEFT', 2, [your y offset])
For reference, the function which creates the name text is at the bottom of create.lua.
Report comment to moderator  
Reply With Quote
Unread 04-14-13, 04:27 PM  
Piefayth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 2
Originally Posted by Kesava
Originally Posted by Piefayth
How can I move the y coordinate of the name text up or down slightly? It seems like I can change it for the trivial nameplates easily, but no matter what I do I can't modify the regular ones.
Originally Posted by akgis
How do I move the Name text a few pixels up

And remove the alpha from the HP text.

I knew how to do it on old versions cant find how in the new version
Use custom.lua: rename Kui_Nameplates/custom-rename-me.lua to custom.lua, and insert this code (or whatever) after the line: "function mod:PostShow(msg, frame)":
Lua Code:
  1. frame.name:SetPoint('LEFT', frame.level, 'RIGHT', -2, [your y offset])
  2. f.health.mo:SetAlpha(1)
Assuming you have levels enabled. That particular code will break if you don't but I gather you can work that out. You'll also have to restart WoW to get it to recognise the new file, if you didn't already have a custom.lua.
Excuse my ignorance, but what if I don't have levels enabled? I tried half an hour's worth of things and just managed to break it more and more hilariously as I went.
Report comment to moderator  
Reply With Quote
Unread 04-14-13, 11:57 AM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
Featured Addon Author

Forum posts: 1600
File comments: 2309
Uploads: 50
Originally Posted by Kesava
Because I set the parent differently depending on the setting of "fix aliasing", I have to scale everything down/up (i.e. divide it by UIParent:GetEffectiveScale()) in order to make everything look the same size whether fixaa is enabled or not. Specifically, when it's enabled I have to scale sizes up if you have a screen height of, say, 1080. For frame sizes, that's to keep things pixel-perfect - for fonts it's purely to make the size setting consistent, so you don't have to directly change the font scale option if you dis/enable fixaa. I may be able to get rid of all that scaling fuss in the next version, I'm not sure yet.

Custom text offset: yes
Many thanks
Report comment to moderator  
Reply With Quote
Unread 04-14-13, 11:49 AM  
Kesava
A Murloc Raider
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 141
Uploads: 3
Originally Posted by Piefayth
How can I move the y coordinate of the name text up or down slightly? It seems like I can change it for the trivial nameplates easily, but no matter what I do I can't modify the regular ones.
Originally Posted by akgis
How do I move the Name text a few pixels up

And remove the alpha from the HP text.

I knew how to do it on old versions cant find how in the new version
Use custom.lua: rename Kui_Nameplates/custom-rename-me.lua to custom.lua, and insert this code (or whatever) after the line: "function mod:PostShow(msg, frame)":
Lua Code:
  1. frame.name:SetPoint('LEFT', frame.level, 'RIGHT', -2, [your y offset])
  2. f.health.mo:SetAlpha(1)
Assuming you have levels enabled. That particular code will break if you don't but I gather you can work that out. You'll also have to restart WoW to get it to recognise the new file, if you didn't already have a custom.lua.

Originally Posted by Nibelheim
Me again Just wondering about something. What's the philosophy behind the Font Scaling your using?
Because I set the parent differently depending on the setting of "fix aliasing", I have to scale everything down/up (i.e. divide it by UIParent:GetEffectiveScale()) in order to make everything look the same size whether fixaa is enabled or not. Specifically, when it's enabled I have to scale sizes up if you have a screen height of, say, 1080. For frame sizes, that's to keep things pixel-perfect - for fonts it's purely to make the size setting consistent, so you don't have to directly change the font scale option if you dis/enable fixaa. I may be able to get rid of all that scaling fuss in the next version, I'm not sure yet.

Custom text offset: yes

Originally Posted by TheGeek
Latest update is broke; you cant turn off cast bars no matter how many times you select it.
Verified. It's been a while, actually. Next version.

Thanks!
Last edited by Kesava : 04-14-13 at 11:52 AM.
Report comment to moderator  
Reply With Quote
Unread 04-14-13, 10:34 AM  
TheGeek
A Firelord
 
TheGeek's Avatar
AddOn Author - Click to view AddOns

Forum posts: 494
File comments: 196
Uploads: 8
Latest update is broke; you cant turn off cast bars no matter how many times you select it.
__________________
Report comment to moderator  
Reply With Quote
Unread 04-14-13, 02:00 AM  
Piefayth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 2
How can I move the y coordinate of the name text up or down slightly? It seems like I can change it for the trivial nameplates easily, but no matter what I do I can't modify the regular ones.
Report comment to moderator  
Reply With Quote
Unread 04-13-13, 09:34 PM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
Featured Addon Author

Forum posts: 1600
File comments: 2309
Uploads: 50
Me again Just wondering about something. What's the philosophy behind the Font Scaling your using?

I'm currently using Pixel Fonts in my UI, and to keep the fonts on the Nameplates the correct size across all resolutions I set the Font Scale = (768 * Font Size Difference) / Screen Height. Like so:

Lua Code:
  1. local kn = LibStub('AceAddon-3.0'):GetAddon('KuiNameplates')
  2. local screenHeight = string.match(({GetScreenResolutions()})[GetCurrentResolution()], "%d+x(%d+)")
  3. kn.db.profile.fonts.options.fontscale = ceil(((768 * (8 / kn.defaultSizes.font.name)) / screenHeight) * 100) / 100
  4. for key, _ in pairs(kn.defaultSizes.font) do
  5.     ScaleFontSize(key)
  6. end
  7. for _, frame in pairs(kn.frameList) do
  8.     kn.configChangedFuncs.fontscale(frame.kui, kn.db.profile.fonts.options.fontscale)
  9. end

Perhaps an auto-scaling and default font size option in the future?
Just a suggestion
Last edited by Nibelheim : 04-13-13 at 10:55 PM.
Report comment to moderator  
Reply With Quote
Unread 04-13-13, 02:52 PM  
akgis
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 80
Uploads: 5
How do I move the Name text a few pixels up

And remove the alpha from the HP text.

I knew how to do it on old versions cant find how in the new version
__________________
Report comment to moderator  
Reply With Quote
Unread 04-12-13, 09:21 PM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
Featured Addon Author

Forum posts: 1600
File comments: 2309
Uploads: 50
Would it be possible to offset the FontStrings by x 0.5 and y 0.5 in future updates? This stops the text from bouncing around

Ohh, or better yet, custom Text Offset settings

Thanks! Love the AddOn
Last edited by Nibelheim : 04-12-13 at 09:34 PM.
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.