Ticket #521 (closed enhancement: fixed)
Rally Points for Buildings
| Reported by: | evans | Owned by: | evans |
|---|---|---|---|
| Priority: | Nice to Have | Milestone: | |
| Component: | Core engine | Keywords: | review |
| Cc: | philip |
Description
The ability to create Rally Points for buildings by right clicking on the ground after selecting a building. All newly created units from that building will walk towards the rally point soon after creation.
Attachments
Change History
Changed 3 years ago by evans
- Attachment RallyPoint.js added
binaries/data/mods/public/simulation/components/RallyPoint.js
Changed 3 years ago by evans
- Attachment RallyPoint.2.js added
binaries/data/mods/public/simulation/components/interfaces/RallyPoint.js
comment:1 Changed 3 years ago by evans
- Cc philip added
- Keywords review added
- Status changed from new to assigned
comment:2 Changed 3 years ago by Philip
Thanks! This seems basically fine, though I ended up making a few minor modifications:
- Added right-click-on-selected-building command to unset the rally point.
- Changed where the GUI updates the rally point display, so that it updates when you destroy a selected building.
- Rearranged the rally point rendering code to make #524 easier.
- Fixed removal of old rally point entities so they vanish instantly (DestroyEntity has a delay).
- Prevented displaying rally points for enemy buildings.
Note: See
TracTickets for help on using
tickets.
