SmartlyDressedGames / Unturned-3.x-Community

Community portion of the Unturned-3.x repo. If you have access to the source code you can find it here:
https://github.com/SmartlyDressedGames/Unturned-3.x/
84 stars 18 forks source link

Better handle clusters of player labels in HUD and map #4310

Closed 0x59R11 closed 4 months ago

0x59R11 commented 5 months ago

On servers where a large number of players accumulate, the map is not possible to use normally.

I'd offer a simple solution to the problem, in my opinion it will be very useful, as it will allow to realize more pleasant servers on special topics.

Server settings:

SDGNelson commented 5 months ago

Are you using something to show the labels for all players? I would think by default for group members it wouldn't be too many.

DanielWillett commented 5 months ago

I think he means having a lot of people in the same group. My server has a similar issue with the map being hard to see at high-pop since the server is split into two groups.

Or alternatively, the name is displayed only when the mouse is over the player icon itself.

This is a cool idea.

0x59R11 commented 5 months ago

Are you using something to show the labels for all players? I would think by default for group members it wouldn't be too many.

I think a simple colored circle texture with some shadows or outlines would be enough.

As for me it would bring new opportunities for server developers. As an example, here is a screenshot from one server, the theme of which is built on a large number of players in one team, the map is really hard to use.

image

Another problem is the nicknames in the HUD. Yes they can be disabled, but then there is another problem, to distinguish the enemy from the partner becomes much harder.

The problem is that if the player in front of a large number of partners, it is not possible among all these nicknames something to see. As a solution I propose to make a label (with transparency) instead of nicknames. (as well simple colored texture)

image

ItsRodrigoAl commented 5 months ago

Normally on games like Battlefield where you have a big team group, the nickname of the players on your group will be shown only when you aim them, if not then there's only an small icon on them, the same could be applied here, also same with the nickname on map only showing icons and only their nickname when the mouse is above the icon

SDGNelson commented 5 months ago

That's the kind of thing that would definitely bug me in other games and think "man I wish I could make this one update." I'm not sure whether I'll do it for the next update but I'll mark as "should do".

SDGNelson commented 4 months ago

The next update has two related changes:

  1. Names above players' heads are at 50% opacity and fade out to 5% when closer to the middle of the screen. They stay at 100% opacity with the "spectator" setting enabled.
  2. The map screen has toggles underneath for markers, player names, and avatars. (players can choose to enable/disable as-needed)