Page 1 of 1

Name Distance

Posted: Wed Feb 20, 2013 22:07
by Gambit
Has anyone ever thought about name distance in Minetest? I'm sure I'm not the only one who dislikes being disturbed by unwanted guest on servers when they follow you and your friends due to the fact your name tag gives away your position.

A feature where servers can be setup to their own preference such as:
  • Adjusting the distance which a players name's fade off. (e.g 10 blocks or 30 blocks away)
  • Different Settings for certain players
  • Owners and Admins can have full name views of every player. Whereas others will not.
  • Player's name can be set Red and full view for other players if that player is suspected of griefing.
  • Disable all name tags so players can only recognize other players by their character texture.
  • Color tag the names for certain players from different teams or groups.
The list can go on, but it should be customizable for the servers liking. Any suggestions? What are your thoughts?

Posted: Wed Feb 20, 2013 23:02
by Menche
Setting "unlimited_player_transfer_distance" to false in minetest.conf enables this. I forget the exact distance but it is hard-coded in. I think the distance should be configurable, and it would be nice if structures blocking line-of-sight obstructed the view of the name tag.

Maybe make the name tag an entity attached above players? That wouldn't be visible from far away and wouldn't show through walls.

Posted: Thu Feb 21, 2013 14:29
by Evergreen
I don't really want to vote because I'm torn between them. Your ideas for customization of this feature are pretty good. I have an idea for another option. If a player wants to, they can make their tag visible from anywhere to a specific player(s).

Posted: Thu Feb 21, 2013 16:00
by BrandonReese
Menche wrote: Maybe make the name tag an entity attached above players? That wouldn't be visible from far away and wouldn't show through walls.
I like that idea. I'm sure somebody could make a mod that does this, but it's would be in vain if there isn't an option to disable the current name tag.

Posted: Thu Feb 21, 2013 16:14
by nextmissinglink
good idea

Posted: Sat Mar 02, 2013 21:27
by Gambit
So... any plans for this sort of thing to happen in the near future?

Posted: Sat Mar 02, 2013 21:35
by Sylvertech
I think this should be a personal matter,
since I, for one, can imagine doing something like this:

*Epic PVP wars going on.*

*All factions sneaking on each other in the cover of night.*

"COME GET ME MORTALS"

*Sylvertech activates lights and perma-nametag*

*Sylvertech stands on top of mountain*

*Players come from left and right*

*He sprays them with his UberBullets™*

Posted: Sun Mar 03, 2013 06:13
by prestidigitator
I think it would be nice to have a simple function in the Player API:

Code: Select all

player:set_name_visible_to(player_name, isVisible)
This could manipulate a simple NxN table of booleans. There would obviously be a default, but the presence of this API would allow mod code to set custom values and update them every few seconds based on permissions, distance, chat commands, or whatever. The only tricky one would be line-of-sight, because you probably wouldn't want N^2 ray traces across the world every couple seconds to see if anything is blocking vision. That would better be done in the client, obviously.

EDIT: It could be an enum instead of a boolean: "never", "always", "LOS"

Re:

Posted: Fri Dec 19, 2014 21:40
by crazyR
prestidigitator wrote:I think it would be nice to have a simple function in the Player API:

Code: Select all

player:set_name_visible_to(player_name, isVisible)
This could manipulate a simple NxN table of booleans. There would obviously be a default, but the presence of this API would allow mod code to set custom values and update them every few seconds based on permissions, distance, chat commands, or whatever. The only tricky one would be line-of-sight, because you probably wouldn't want N^2 ray traces across the world every couple seconds to see if anything is blocking vision. That would better be done in the client, obviously.

EDIT: It could be an enum instead of a boolean: "never", "always", "LOS"

this is the perfect idea although id add one more variable:

Code: Select all

player:set_name_visible_to(player_name, isVisible, tagColour)
tagColour could be a hex code or a word??

Re: Name Distance

Posted: Sat Dec 20, 2014 22:15
by Dragonop
I think we are all thinking, only about names, not the entire players, right?

Re: Name Distance

Posted: Tue Dec 23, 2014 22:34
by crazyR
Dragonop wrote:I think we are all thinking, only about names, not the entire players, right?
we are talking about the name tag that sits above each player in the game

Re: Name Distance

Posted: Tue Dec 23, 2014 23:12
by Joby
+1 I think its a great idea.

Re: Name Distance

Posted: Wed Dec 24, 2014 09:05
by Krock
I don't get it. You can set the player-to-player view distance with a setting which exists since a month.

About the colored names: Yes, that's a good idea, now is someone required to write the codes for it.

Re: Name Distance

Posted: Thu Dec 25, 2014 02:51
by Dragonop
But, it would be better if you can see the names from close, but the characters from very far away.

Re: Name Distance

Posted: Sat Dec 27, 2014 19:01
by varnayskiy
I really need this feature. unlimited_player_transfer_distance not the option.

Re: Name Distance

Posted: Fri Nov 11, 2016 16:08
by crazyR
Bump... Did anyone attempt this?