Opened 3 years ago

Closed 2 years ago

Last modified 22 months ago

#4349 closed enhancement (fixed)

Visual Aura Range

Reported by: scythetwirler Owned by: elexis
Priority: Should Have Milestone: Alpha 22
Component: UI & Simulation Keywords: beta
Cc: Patch:

Description (last modified by fabio)

When an entity that emits an aura is selected or hovered, a circle should be drawn showing it's range. Perhaps this circle could be color coded: Red - Attack modifying Green - Healing Blue - Armour modifying, Loyalty regeneration. Also see #3915.

Change History (7)

comment:1 Changed 3 years ago by Sandarac

Description: modified (diff)

comment:2 Changed 2 years ago by elexis

Owner: set to elexis
Resolution: fixed
Status: newclosed

In 19519:

RangeVisualization? component and use it to visualize Aura ranges.

Differential Revision: https://code.wildfiregames.com/D238
Fixes #4349
Patch By: Sandarac

comment:3 Changed 2 years ago by fabio

Description: modified (diff)

Any reason why healers have the + aura, while temples still have the standard = line aura?

comment:4 in reply to:  3 Changed 2 years ago by Imarok

Replying to fabio:

Any reason why healers have the + aura, while temples still have the standard = line aura?

Because there is a difference between healer range and heal aura range: the healer can only heal one unit in the range, while the healing aura heals every unit in range.

comment:5 Changed 2 years ago by elexis

fabio isn't alone, in the end we decided for consistency in Phab:D571 We should have more auras textures (then we can reconsider), and ideally an area-texture system (as attempted in delenda est)

comment:6 Changed 22 months ago by elexis

In 20622:

Render the range visualization of auras, heal and attack component in a separate RangeOverlayRenderer? component instead of abusing Selectable for that.
This also allows non-selectable entities like building previews to cast range visualizations.

Patch By: Sandarac
Differential Revision: https://code.wildfiregames.com/D555
Refs #3915, #4349, rP19519 / D238.
Comments By: Vladislav

comment:7 Changed 22 months ago by elexis

In 20624:

Use only one getter for range overlays instead of three to four in the Heal and Auras component.
Move default Heal range visualization texture properties to the template and only display Heal ranges if the template was given.

Differential Revision: https://code.wildfiregames.com/D1128
Refs #3915, #4349, D238, D432, D568

Note: See TracTickets for help on using tickets.