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,021
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 04-10-13, 01:07 PM  
duhwhat
A Wyrmkin Dreamwalker

Forum posts: 51
File comments: 236
Uploads: 0
any chance of a version without pixel fonts? i find them very unreadable.
Report comment to moderator  
Reply With Quote
Unread 04-10-13, 03:57 PM  
Kesava
A Murloc Raider
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 141
Uploads: 1
It doesn't have any pixel fonts by default. It's just aligned so that the individual elements of frames aren't blurred - something that's tricky to do with the default UI's nameplates without just disabling AA.
Report comment to moderator  
Reply With Quote
Unread 04-10-13, 08:32 PM  
Massiveunit
A Black Drake
 
Massiveunit's Avatar

Forum posts: 81
File comments: 27
Uploads: 0
Hey,
Wanted to give u a shout out. Great addon, use it with real UI. Looks great and works well with it!
Thxs,
Massive
Report comment to moderator  
Reply With Quote
Unread 04-11-13, 03:03 PM  
Kesava
A Murloc Raider
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 141
Uploads: 1
Originally Posted by Massiveunit
...
Thank you!

Originally Posted by Tonyleila
1...
I'll have config for size/position soonish. Forcing myself to do a rewrite of the main layout code first, though.

Originally Posted by Tonyleila
2...
I'll look for a solution, yes.

Originally Posted by Tonyleila
3...
That'll probably be an option, since it's simple to add.
Last edited by Kesava : 04-11-13 at 03:03 PM.
Report comment to moderator  
Reply With Quote
Unread 04-11-13, 04:52 PM  
luigee91
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 51
Uploads: 3
Best nameplate addon ever.
Report comment to moderator  
Reply With Quote
Unread 04-12-13, 09:21 PM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1600
File comments: 2305
Uploads: 21
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
Unread 04-13-13, 02:52 PM  
akgis
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 80
Uploads: 4
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-13-13, 09:34 PM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1600
File comments: 2305
Uploads: 21
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-14-13, 02:00 AM  
Piefayth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 1
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-14-13, 10:34 AM  
Ither
A Firelord
 
Ither's Avatar
AddOn Author - Click to view AddOns

Forum posts: 497
File comments: 201
Uploads: 3
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, 11:49 AM  
Kesava
A Murloc Raider
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 141
Uploads: 1
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, 11:57 AM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1600
File comments: 2305
Uploads: 21
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, 04:27 PM  
Piefayth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 1
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, 07:17 PM  
Kesava
A Murloc Raider
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 141
Uploads: 1
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-15-13, 04:39 AM  
Piefayth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 1
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
Post A Reply



Category Jump: