Ticket #1406 (closed enhancement: fixed)
Units walk over foundations waiting to be constructed
| Reported by: | fabio | Owned by: | Deiz |
|---|---|---|---|
| Priority: | Should Have | Milestone: | Alpha 11 |
| Component: | UI & Simulation | Keywords: | |
| Cc: |
Description (last modified by quantumstate) (diff)
Friendly units should try to avoid walking over foundations. Otherwise they block the building from being built.
Savegame is attached, which is a good test case with a steady stream of trade units.
Attachments
Change History
comment:2 Changed 12 months ago by quantumstate
- Priority changed from Must Have to Should Have
- Summary changed from cannot create civic center to Units walk over foundations waiting to be constructed
- Type changed from defect to enhancement
- Description modified (diff)
- Milestone changed from Alpha 10 to Alpha 11
Thanks for reporting this.
This is because there were trade carts walking across the foundation. While units are on top of a foundation the structure cannot be built.
I would guess that the second issue would be the minimum distance required between civ centres. Once I deleted the foundation you had placed I could place a new one.
I have modified the tickets title and description to give a more accurate description. Priority has been lowered because this has an easy workaround of manually stopped the flow of trade units.
comment:4 Changed 9 months ago by Deiz
- Owner set to Deiz
- Status changed from new to closed
- Resolution set to fixed
In 12462:
comment:5 Changed 9 months ago by Deiz
- Component changed from Core engine to UI & Simulation
Solution in r12462 is rather brute-force, but it's very effective. I was considering a pathfinding solution but decided a simple solution would do.
In my testing with 60 traders on a very short (5 metal) route, it took around five builders to get a fortress foundation started (keep in mind that the LeaveFoundation UnitAI function is called by the foundation each time a unit attempts to build, so more builders means more calls).
