Name Distance

Post Reply
User avatar
Gambit
Member
Posts: 453
Joined: Sat Oct 29, 2011 19:31
Location: United States

Name Distance

by Gambit » Post

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?
Current Projects: MineToon | PixelBOX
Gambit's Checkmate Server - 43.65.296.232 - port: 30001

User avatar
Menche
Member
Posts: 1001
Joined: Sat Jul 02, 2011 00:43
IRC: Menchers
In-game: Menche
Location: An island in a lava lake.

by Menche » Post

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.
An innocent kitten dies every time you top-post.

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

by Evergreen » Post

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).
Back from the dead!

User avatar
BrandonReese
Member
Posts: 839
Joined: Wed Sep 12, 2012 00:44
GitHub: bremaweb
IRC: BrandonReese
In-game: BrandonReese
Location: USA

by BrandonReese » Post

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.

User avatar
nextmissinglink
Member
Posts: 145
Joined: Mon Feb 04, 2013 16:43
Location: Uranus
Contact:

by nextmissinglink » Post

good idea
IF in doubt hit it with a hammer
This is a signature virus. Add me to your signature so that I can multiply id10t ERROR
do not abuse me i am 11 and i like hitting things with a hammer that may include you
this is ment to be secret http://forum.minetest.net/viewtopic.php ... 467#p86467

User avatar
Gambit
Member
Posts: 453
Joined: Sat Oct 29, 2011 19:31
Location: United States

by Gambit » Post

So... any plans for this sort of thing to happen in the near future?
Current Projects: MineToon | PixelBOX
Gambit's Checkmate Server - 43.65.296.232 - port: 30001

Sylvertech
Member
Posts: 14
Joined: Sat Mar 02, 2013 20:09

by Sylvertech » Post

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™*

prestidigitator
Member
Posts: 647
Joined: Thu Feb 21, 2013 23:54

by prestidigitator » Post

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"
Last edited by prestidigitator on Sun Mar 03, 2013 06:16, edited 1 time in total.

User avatar
crazyR
Member
Posts: 60
Joined: Thu Jun 19, 2014 14:41
Location: uk

Re:

by crazyR » Post

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??

Dragonop
Member
Posts: 1233
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop
Location: Argentina

Re: Name Distance

by Dragonop » Post

I think we are all thinking, only about names, not the entire players, right?

User avatar
crazyR
Member
Posts: 60
Joined: Thu Jun 19, 2014 14:41
Location: uk

Re: Name Distance

by crazyR » Post

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

User avatar
Joby
Member
Posts: 15
Joined: Mon Dec 01, 2014 17:24
GitHub: JobyB
Location: Orange County

Re: Name Distance

by Joby » Post

+1 I think its a great idea.

User avatar
Krock
Developer
Posts: 4650
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: Name Distance

by Krock » Post

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.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

Dragonop
Member
Posts: 1233
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop
Location: Argentina

Re: Name Distance

by Dragonop » Post

But, it would be better if you can see the names from close, but the characters from very far away.

varnayskiy
New member
Posts: 5
Joined: Tue Jun 24, 2014 15:13

Re: Name Distance

by varnayskiy » Post

I really need this feature. unlimited_player_transfer_distance not the option.

User avatar
crazyR
Member
Posts: 60
Joined: Thu Jun 19, 2014 14:41
Location: uk

Re: Name Distance

by crazyR » Post

Bump... Did anyone attempt this?

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests