Thread Tools Display Modes
02-29-20, 01:43 PM   #1
Yukka
A Theradrim Guardian
 
Yukka's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2020
Posts: 60
Hide unreadable names

Hello world

I want to talk about something that annoys me when I play. When people are too far from me (30 meters) their names above their heads become little and unreadable. So I would like to create an addon that hide people names that are too far from me to be readable. But I need to keep showed the names of people that are close enough to be readable. I would be thankful if one of you can help me with some code.

Here is a screenshot that shows the issue:

https://drive.google.com/file/d/1yf5...ew?usp=sharing
As you can see, the names of the players in the inn are undreadable because they are too far. But the closest ones are perfectly readable.

Last edited by Yukka : 02-29-20 at 02:23 PM.
  Reply With Quote
02-29-20, 06:20 PM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,877
I doubt there will be a way to turn them off on an individual basis. It's possible that nameplates connected to a unit ( target, player, raid1, party1, mouseover) will allow some distance tests but whether it will then allow you to turn off a single nameplate because it is too far is doubtful.

There is a cvar that allows you to adjust the display of ALL nameplates, so you may want to see if there are options linked to nameplates that will help your display issue.


That aside, hopefully someone will have more definitive knowledge on what is and isn't possible nowadays.
__________________
  Reply With Quote
02-29-20, 06:33 PM   #3
Yukka
A Theradrim Guardian
 
Yukka's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2020
Posts: 60
I just found this addon that do what I need: https://www.wowinterface.com/downloa...lateRange.html you were right there is cvar things.

Thanks and sorry for this useless thread ^^
  Reply With Quote
02-29-20, 06:38 PM   #4
JDoubleU00
A Firelord
 
JDoubleU00's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 463
Originally Posted by Yukka View Post
I just found this addon that do what I need: https://www.wowinterface.com/downloa...lateRange.html you were right there is cvar things.

Thanks and sorry for this useless thread ^^
This is not a useless thread. I just learned something myself. Anytime someone makes a post, is an opportunity to learn something from them.
__________________
Author of JWExpBar and JWRepBar.
  Reply With Quote
02-29-20, 08:05 PM   #5
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
  1. Don't use that addon, it's rendered defunct
  2. Don't just change cvar names in the hope they exist
  3. Use KuiNameplates
  Reply With Quote
02-29-20, 07:10 PM   #6
Yukka
A Theradrim Guardian
 
Yukka's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2020
Posts: 60
That's some wise words

Now I try to make a macro (or an addon) that hide / show ALL the nameplates, can I continue here?

I tryed this in a macro but it does not work:

Lua Code:
  1. /run SetCVar("nameplateHide", 0)(n==1 and "Enabled" or "Disabled")

Do you know how to make it work?
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Hide unreadable names

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off