Ticket #1234 (closed enhancement: fixed)
[PATCH] Read formations from json files
|Reported by:||leper||Owned by:||leper|
|Priority:||Should Have||Milestone:||Alpha 10|
|Component:||UI & Simulation||Keywords:||patch|
As noted in GetCivFormations in utility_functions.js the formations should probably be read from json files.
The patch also checks if a unit can actually be moved in a formation. If a unit doesn't support a specific formation it just executes the task as if it is walking alone.
This removes the use of scatter and the use of formations for female citizens as in #601.
Formations like Wedge, Testudo, Syntagma, Phalanx (and others) that are only supported by some units should be removed from template_unit.xml and added to the respective units only.
- Owner set to leper
- Status changed from new to closed
- Resolution set to fixed