Opened 9 years ago
Closed 9 years ago
#3294 closed defect (fixed)
Obstruction size issues breaking naval trade (carthaginians)
Reported by: | serveurix | Owned by: | Itms |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 19 |
Component: | Core engine | Keywords: | pathfinding |
Cc: | Patch: |
Description
Carthaginian merchant ships can't trade, they just go to the dock target and stand there, not going back to their second dock target. Apparently (as sanderd17 said on IRC), it's related to obstruction : carthaginians have an obstruction of 6 when others like romans have an obstruction of 8, so carthaginian ships get stuck against the dock because they can't get close enough of it. As mentioned by sanderd17 on IRC, this obstruction problem can happen for other units too, so it need to be solved on a general level.
Change History (7)
comment:1 by , 9 years ago
Keywords: | pathfinding added; obstruction trade removed |
---|
comment:2 by , 9 years ago
comment:3 by , 9 years ago
Milestone: | Backlog → Alpha 19 |
---|
Pushing it as we should fix it before A19. Option 2 proposed by sanderd17 looks good to me.
comment:6 by , 9 years ago
Committing a fix later today (this commit was huge enough). You shouldn't try to play on r16867 IMO ;)
There are some ways to solve this:
IMO, unit obstruction sizes aren't very important anymore, as it only determines inter-unit behaviour, and not unit-to-building behaviour. It would look nice enough if our land units will be subdivided into 2 classes: regular and big. so we can use the pathfinder clearance directly as unit obstruction.