#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: | Patch: |
Description (last modified by )
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 (1)
Change History (7)
by , 12 years ago
Attachment: | quicksave-0004.0adsave added |
---|
comment:1 by , 12 years ago
Description: | modified (diff) |
---|
comment:2 by , 12 years ago
Description: | modified (diff) |
---|---|
Milestone: | Alpha 10 → Alpha 11 |
Priority: | Must Have → Should Have |
Summary: | cannot create civic center → Units walk over foundations waiting to be constructed |
Type: | defect → enhancement |
comment:5 by , 12 years ago
Component: | Core engine → 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).
comment:6 by , 12 years ago
If not done already, can we also give foundations a footprint/obstruction area to prevent new units walking onto foundations once placed?
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.