Re: [Freeciv-Dev] (PR#10694) AI Builds Doomed Ferries and Passengers
"Gregory Berkolaiko" <[email protected]>
| Newsgroups | gmane.games.freeciv.ai |
|---|---|
| Message-ID | <[email protected]> |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10694 > Mmh, I think you are going in wrong direction. IMO the right direction would be to make sure bodyguards are built and used. Even better, we need to teach AI coordinated attacks. Even if one transport makes it to the enemy shore, the result (to a prepared player) is more an annoyance than a danger. AI needs to accumulate forces and then ship them -- safely -- to the enemy, possibly bombarding its cities beforehand. Gr. On Sun, 7 Nov 2004, Benedict Adamson wrote: > > <URL: http://rt.freeciv.org/Ticket/Display.html?id=10694 > > > Here is a patch that implements a possible fix. This is applicable to > the 2004-1103 CVS development version. Note that this patch is only > lightly tested; I'm posting it to get feedback rather than to provide a > final fix. > > The uses an estimate of the ferry sinking probability to adjust the cost > estimate for a proposed ferried attacker. That tends to punish long > ferry routes through dangerous waters. It computes the sinking > probability from the danger values already computed in the assess_danger > function. The computation has one WAG constant (FERRY_DANGER_FACTOR). > > Any comments? > >