Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#610 closed enhancement (fixed)

Garrisoning units in buildings

Reported by: Evans Owned by: Brian
Priority: Should Have Milestone: Alpha 3
Component: Core engine Keywords: garrison
Cc: Patch:

Description

Patch to implement Garrisoning in buildings Features Implemented: Auto Unloading of units when the building's health reduces to a particular amount Filtering unit classes on garrisoning Fixed "GetPosition() called when IsInWorld() is false" error Unload All Auto Healing garrisoned units

Features Not Implemented: Special cases for Ships Garrison flag appearing on top of the building Playing Garrisoning sound

Other things to be done: Modify XML to set the class/max number of units which can be garrisoned in a building, heal rate etc

Attachments (1)

Garrisoning.patch (19.2 KB ) - added by Evans 14 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by Kieran P, 14 years ago

Milestone: UnclassifiedOS Alpha 2

comment:2 by Erik Johansson, 14 years ago

Keywords: review added
Type: defectenhancement

comment:3 by Kieran P, 14 years ago

Milestone: OS Alpha 2OS Alpha 3

by Evans, 14 years ago

Attachment: Garrisoning.patch added

comment:4 by Kieran P, 14 years ago

Priority: minormajor

comment:5 by brian, 14 years ago

Resolution: fixed
Status: newclosed

(In [8451]) Garrisoning for buildings based on patch by Evans (fixes #610)

comment:6 by Evans, 14 years ago

Resolution: fixed
Status: closedreopened

When there is only 1 unit garrisoned, The unload-all button should have the caption "1". Right now, it is blank.

comment:7 by brian, 14 years ago

Resolution: fixed
Status: reopenedclosed

(In [8457]) Show a 1 when only a single unit remains garrisoned (re-fixes #610)

comment:8 by brian, 13 years ago

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