baaron4 / GW2-Elite-Insights-Parser

Binary parser for the .evtc files that arcdps generates after a boss encounter. This will generate a .html file where the results can be easily reviewed.
MIT License
136 stars 48 forks source link

Portal decorations in combat replay #761

Closed Zerthox closed 1 year ago

Zerthox commented 1 year ago

Portal decorations for:

Zerthox commented 1 year ago

Should the GetEffectsForPlayer and GetGroupedEffectsForPlayer helpers be moved somewhere else? Currently they are in ProfHelper.

EliphasNUIT commented 1 year ago

They can be moved to CombatData as a Public API and remove "Player" notion from it to work directly with an AgentItem like other GetXXXEvents.

EliphasNUIT commented 1 year ago

Like GetEffectEventsBySrcWithGUID or something

EliphasNUIT commented 1 year ago

Looks great! You think you could complete all the portals by adding properly sized and colored circle decorations (with UsingSkillMode) at the same position as the icon decorations?

Zerthox commented 1 year ago

So two separate decorations? If it's about getting an idea of how large the portals actually are, maybe the icon could resize when the "use hitbox size" option is enabled?

EliphasNUIT commented 1 year ago

Yeah, I was thinking as a separate decoration. The icon resize is not without interest but I would say that it is an orthogonal evolution to adding circles to represent portals.

Zerthox commented 1 year ago

Should portals always render or only on player select? I was thinking the active ones probably should be always displayed since they affect all players. Not sure about inactive portals.

EliphasNUIT commented 1 year ago

Active portals should be always active yes, the inactive ones should be on select only.

EliphasNUIT commented 1 year ago

Looks great! Thanks.

Zerthox commented 1 year ago

Some closing notes for future reference: Right now active portals are always displayed whereas inactive ones are only displayed on player select. Portal decoration radius is currently 90 units, roughly matching the ingame visual effect size. Actual functional interact size seems to be ~100 units.