Opened 14 years ago

Closed 14 years ago

Last modified 8 years ago

#521 closed enhancement (fixed)

Rally Points for Buildings

Reported by: Evans Owned by: Evans
Priority: Nice to Have Milestone:
Component: Core engine Keywords:
Cc: philip Patch:

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 (3)

RallyPoints.diff (7.8 KB ) - added by Evans 14 years ago.
RallyPoint.js (404 bytes ) - added by Evans 14 years ago.
binaries/data/mods/public/simulation/components/RallyPoint.js
RallyPoint.2.js (39 bytes ) - added by Evans 14 years ago.
binaries/data/mods/public/simulation/components/interfaces/RallyPoint.js

Download all attachments as: .zip

Change History (8)

by Evans, 14 years ago

Attachment: RallyPoints.diff added

by Evans, 14 years ago

Attachment: RallyPoint.js added

binaries/data/mods/public/simulation/components/RallyPoint.js

by Evans, 14 years ago

Attachment: RallyPoint.2.js added

binaries/data/mods/public/simulation/components/interfaces/RallyPoint.js

comment:1 by Evans, 14 years ago

Cc: philip added
Keywords: review added
Status: newassigned

comment:2 by Philip Taylor, 14 years ago

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.

comment:3 by philip, 14 years ago

Resolution: fixed
Status: assignedclosed

(In [7849]) # Add rally points for newly-trained units, based on patch from evans. Fixes #521.

comment:4 by (none), 14 years ago

Milestone: Unclassified

Milestone Unclassified deleted

comment:5 by sanderd17, 8 years ago

Keywords: review removed
Note: See TracTickets for help on using tickets.