Discussion:
[Freecol-developers] path finding and carrier
Enrico Weigelt, metux IT consult
2016-12-09 07:20:17 UTC
Permalink
Hi folks,


just looking at Unit::search() - the documentation states that there
can be given an optonal carrier which is the unit can use.

Does that mean, that land units can automatically can employ a ship
when ordered across the sea ? If so, does that also work w/ wagons
on a trade route ?


--mtx
Michael T. Pope
2016-12-09 08:00:10 UTC
Permalink
On Fri, 9 Dec 2016 08:20:17 +0100
Post by Enrico Weigelt, metux IT consult
just looking at Unit::search() - the documentation states that there
can be given an optonal carrier which is the unit can use.
Does that mean, that land units can automatically can employ a ship
when ordered across the sea ?
Yes. This was implemented and indeed used in the AI.
Post by Enrico Weigelt, metux IT consult
If so, does that also work w/ wagons
on a trade route ?
Wagons do not carry units, so the issue does not arise.

Cheers,
Mike Pope
Enrico Weigelt, metux IT consult
2016-12-09 09:03:10 UTC
Permalink
Post by Michael T. Pope
Post by Enrico Weigelt, metux IT consult
Does that mean, that land units can automatically can employ a ship
when ordered across the sea ?
Yes. This was implemented and indeed used in the AI.
Can we use that also for human players ?
Post by Michael T. Pope
Post by Enrico Weigelt, metux IT consult
If so, does that also work w/ wagons
on a trade route ?
Wagons do not carry units, so the issue does not arise.
I was referring to wagons traveling via ship.

Apropos trade routes: a major fun killer for me always is having to
micro manage trade routes for the supply chain and preventing stock
overrun. It would be really great if that could be automatized.

--mtx
Michael T. Pope
2016-12-09 11:23:24 UTC
Permalink
On Fri, 9 Dec 2016 10:03:10 +0100
Post by Enrico Weigelt, metux IT consult
Post by Michael T. Pope
Post by Enrico Weigelt, metux IT consult
Does that mean, that land units can automatically can employ a ship
when ordered across the sea ?
Yes. This was implemented and indeed used in the AI.
Can we use that also for human players ?
Of course.
Post by Enrico Weigelt, metux IT consult
Post by Michael T. Pope
Post by Enrico Weigelt, metux IT consult
If so, does that also work w/ wagons
on a trade route ?
Wagons do not carry units, so the issue does not arise.
I was referring to wagons traveling via ship.
Wagons can not travel by ship.
Post by Enrico Weigelt, metux IT consult
Apropos trade routes: a major fun killer for me always is having to
micro manage trade routes for the supply chain and preventing stock
overrun. It would be really great if that could be automatized.
Agreed. Some of the pain is reduced by switching on "enhanced trade
routes", but that is an experimental extension and probably needs more
work.

Cheers,
Mike Pope

Loading...