PunishedPineapple / Distance

Dalamud/XIVLauncher plugin to show basic distance to boss information.
MIT License
10 stars 11 forks source link

Feature Request: add distance markers to Party List HUD element. #26

Open CatbotTsumi opened 1 month ago

CatbotTsumi commented 1 month ago

As a healer i would love to know who is in range of my AOE heals! Trying to find them by nametags in world is hard when there's a lot going on or simply out of view. Having distance markers on the Party List would be amazing!

This idea was partially inspired by another mod that puts the health % of enemies on the enmity list, so i figured something like that might be doable with the Party List and Distance mod.

PunishedPineapple commented 1 month ago

Distances on the party and enemy lists have been a planned feature for quite a while actually, but I've never gotten around to implementing them. The goal was to have it either be distance readouts or let you color-code player/enemy name text based on distance. There are a few things ahead of those features in the backlog, so I cannot really give a time estimate, though :(

xyzsys commented 1 month ago

Wow, I was just thinking about requesting this feature.

This would be nice to be able to select not just the distance from the player to other party member, but also the distance from the current target, the focus target, the closest member to the center of where the party members are, to each party member.

It would also be easier to know who is closest to the center if there was a display option that would show "⭐️" for the member.

These could be used in a variety of ways, but especially would be helpful for healing, creating barriers, using buffs, etc.

PunishedPineapple commented 1 month ago

I am not sure how to be able to display all of those distances without a lot of clutter in the party list, but I will try to think of a way to work them in. Although, before any of that, I probably need to finally get around to implementing separate configuration profiles for each job I guess.

My initial thought is to have (in the plugin settings) a list where you can set a priority of which of the distances you mentioned to show (show from the soft-targeted player if you have one, otherwise from the targeted player, otherwise from any focus targeted player, otherwise from the player closest to the barycenter of all players, for example). There would only be one distance readout per party member in the list.

The star by the name of the closest player is a really good idea, like the little triangle that shows when someone is below max HP. I will definitely try to use that.

If you (or anyone else that cares) have other ideas on how to handle/present all that information, please let me know.

xyzsys commented 1 month ago

One idea is to display as values the distances from the player or from the current target/soft target to each party member(The exception to this is when hard targeting an enemy. It would be better to be able to display the distance values from the player-self while hard targeting the enemy), while the distance range from the starred member could be displayed as the star itself color-coded.

This would allow to be displayed without disturbing the screen, although the exact distances from the starred member would not be known until that member becomes the target.

Skills that allow party members to be the center of the skill's range instead of the healer-self are:

Cure III 10y Asylum 15y Liturgy of the Bell 20y Earthly Star 20y Sacred Soil 15y Deployment Tactics 30y

and faerie skills:

Whispering Dawn 15y Fey Illumination 30y Fey Blessing 20y Angel's Whisper 15y Seraphic Illumination 30y Consolation 30y

Some of these actions are actually ground target actions, but most gamepad players use these skills by targeting themselves or their party members with macros just as they would with regular skills.

In conclusion, there are four different ranges for the healer's skill: 10y radius, 15y radius, 20y radius, and 30y radius

So it would be good if we have color-coded in 5 colors: 0-10y, 10-15y, 15-20y, 20-30y, and over 30y.

Thinking about this, I feel that it would be better to have some kind of color-coded marks not only for the members closest to the circumcenter, but also for player-self and faerie to be able to indicate the distance range to the party members.

CatbotTsumi commented 1 month ago

Either way i dont think we should hard code the values, for me it would be fine to have the same options that we have for title bar. I personally set it up green 0-15, orange 15-30 and 30+ is red. I think it is fine to have an option in settings to change if its based on the distance to you or any of the other distances mentioned. you could provide a command to change this setting so people could macro it to change on the fly. I would probably add an icon for the different modes though. And i agree on only having one distance per party list entry because its already a very compact and cluttered element even without the distance addition.

xyzsys commented 1 month ago

I agree that some people do not need the exact distance values as you mentioned. Maybe there could be an option to hide the actual distance values.

My first thought was not to display everything at the same time, but to offer the user a variety of options and let them choose what and how to display depending on their preference, purpose, and situation. This is because I believe this would make the feature usable in as many different use cases as possible.

CatbotTsumi commented 4 weeks ago

Like let them position and scale it and select which data(s) are displayed sounds like a solid solution that should work for everyone.

xyzsys commented 4 weeks ago

For your reference: https://en.wikipedia.org/wiki/Smallest-circle_problem