Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#2984 closed enhancement (fixed)

Maps should handle garrisoned units (for example for sea nomad map)

Reported by: mimo Owned by: mimo
Priority: Should Have Milestone: Alpha 18
Component: UI & Simulation Keywords: patch
Cc: Patch:

Description

Now that #2877 is done, we can have nomad maps and it would be nice to be able to have garrisoned units in maps. This can be done quite easily via scripts (thanks to discussions with leper). The attached garrison.diff patch interprets such scripts and initializes the garrisoning. An example of such a script is given in the attached skirmish map Sicilia_Nomad.xml which is just a slightly modified version of the Sicilia_(2) map. To test it, copy the Sicilia_(2).pmp file to Sicilia_Nomad.pmp and you are ready to play the first ever 0ad sea nomad map :-)

Attachments (2)

garrison.diff (3.5 KB ) - added by mimo 9 years ago.
Sicilia_Nomad.xml (506.2 KB ) - added by mimo 9 years ago.

Download all attachments as: .zip

Change History (4)

by mimo, 9 years ago

Attachment: garrison.diff added

by mimo, 9 years ago

Attachment: Sicilia_Nomad.xml added

comment:1 by mimo, 9 years ago

Owner: set to mimo
Resolution: fixed
Status: newclosed

In 16147:

allow maps to handle garrisoned units, fixes #2984

comment:2 by leper, 9 years ago

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