#3915 closed enhancement (fixed)
[PATCH] Visual Attack Range
Reported by: | scythetwirler | Owned by: | elexis |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 23 |
Component: | UI & Simulation | Keywords: | patch beta |
Cc: | Patch: | Phab:D568 |
Description (last modified by )
We need to have a visual idea of how much attack range is (including techs);
e.g. when you hover or click on a tower, it will draw a circle (or a deformed circle, depending on elevations). Similarly for building previews (taking techs into account)
When attempting to place a foundation of a building with attack range, this circle should be displayed
Circle can be black in color to differentiate from aura effects.
See #4349 for aura range.
Attachments (2)
Change History (27)
comment:3 by , 8 years ago
Milestone: | Alpha 21 → Backlog |
---|
by , 8 years ago
Attachment: | visualrange_v0.1.patch added |
---|
WIP patch that shows the maximum range of defensive structures when hovered or selected. Based on the code used to display the debug range overlay.
comment:4 by , 8 years ago
Keywords: | rfc patch added |
---|---|
Milestone: | Backlog → Alpha 21 |
Summary: | Visual Range → [PATCH] Visual Range |
comment:5 by , 8 years ago
- Don't forget to bump the year in the comments.
size_t
should bestd::size_t
, but preferably use a ranged loop, see wiki:Coding_Conventions
comment:6 by , 8 years ago
It would be nice to show this range circle in the building preview too. Bugs(/Features?):
- Select a tower, hover another one => no range indicator at all
- Should it show only one range circle when selecting multiple towers?
by , 8 years ago
Attachment: | visualrange_v0.2.patch added |
---|
Properly handles multiple selected buildings.
comment:7 by , 8 years ago
This patch doesn't seem to take the range upgrade for the defence tower into account (at least the visual range does not change when researched) It would be nice if the was a visual range when constructing a building: to know the limits of the range before building.
comment:8 by , 8 years ago
Keywords: | rfc removed |
---|---|
Milestone: | Alpha 21 → Backlog |
comment:9 by , 8 years ago
Keywords: | beta added |
---|
comment:10 by , 7 years ago
Summary: | [PATCH] Visual Range → [PATCH] Visual Attack Range |
---|
comment:11 by , 7 years ago
Description: | modified (diff) |
---|
comment:12 by , 7 years ago
Description: | modified (diff) |
---|---|
Keywords: | wip added |
comment:13 by , 7 years ago
Keywords: | wip removed |
---|---|
Milestone: | Backlog → Alpha 22 |
comment:14 by , 7 years ago
Delenda Est has a visually appealing aura range:
However the implementation is inacceptable, as it replaces the selection ring texture with that texture and scales it to the aura size manually (so every balancing change needs to change some graphical setting by hand): https://github.com/JustusAvramenko/delenda_est/commit/0019f858b8854baac28c042859400ff6e2a3f300#diff-a6bb63d568e94dbf00b07cdc5199a70c
comment:16 by , 7 years ago
Description: | modified (diff) |
---|---|
Milestone: | Alpha 22 → Backlog |
comment:17 by , 6 years ago
Milestone: | Backlog → Alpha 23 |
---|---|
Patch: | → Phab:D568 |
This good example in AOE castle under siege: http://i.imgur.com/U31sHsi.jpg