public inbox for xconq7@sourceware.org
 help / color / mirror / Atom feed
From: Peter Garrone <pgarrone@acay.com.au>
To: Lincoln Peters <sampln@sbcglobal.net>
Cc: xconq7@sources.redhat.com
Subject: Re: pathfinding refueling
Date: Tue, 23 Dec 2003 04:25:00 -0000	[thread overview]
Message-ID: <20031222115655.GA473@leonardo> (raw)
In-Reply-To: <1072048230.578.7065.camel@odysseus>

On Sun, Dec 21, 2003 at 03:10:31PM -0800, Lincoln Peters wrote:
> On Sat, 2003-12-20 at 23:38, Peter Garrone wrote:
> > > >If it has insufficient movement points
> > > >to reach the next point in the move, and it has used some mp this turn,
> > > >and the next point is a mobile
> > > >unit, it goes into reserve for that turn,
> > > >and rechecks at the start of its next turn.
> > > 
> > > Yes, if fuel consumption is per-move. If it is per-turn, going into reserve
> > > makes little sense. Unless it can resupply itself from the terrain, of
> > > course.
> > 
> > Thanks. Of course in the roman game, food is consumed per turn. But that
> > would never be a problem because there arent any mobile land-based
> > resupply points. But I will certainly check for that in the code.
> 
> What about the wandering barbarian tribes?  The last time I played
> roman.g (when I was testing the pathfinding code), I used a tribe to
> carry an invasion force across a desert (I piled infantry into the
> tribe, then moved it across the desert).  The tribe remains productive,
> even when in a desert and on the move (although less prodctive than a
> stationary tribe in plains).
> 
> -- 
> Lincoln Peters <sampln@sbcglobal.net>

This development will be a long way from guaranteeing no unit will ever
starve. Hopefully it will increase playability by vastly reducing the
clicking on aircraft units and also as a way of minimising the losses
the ai incurs. it might work on the roman game to automate this
behavior, but I doubt its much of a problem. I think the roman game will
be fine as long as ships find their way round the med, and army units
drop in for food at cities on the way. Actually my main problem with it
is getting all the troops to jump into the transports at the start.

Seriously, it is beyond my ability, and desire, to replicate the supply code in the
pathfinding, so i hope noone expects this. Instead fairly simple
approaches are used to optimise playability.

Peter

  reply	other threads:[~2003-12-22 11:46 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20031218063340.GA733@leonardo>
2003-12-18 21:54 ` Eric McDonald
2003-12-19  1:43   ` Peter Garrone
2003-12-19  4:12     ` Eric McDonald
2003-12-20  6:44       ` Peter Garrone
2003-12-20 23:00         ` pathfinding refueling 2 (was Re: pathfinding refueling) Eric McDonald
2003-12-20  6:43     ` pathfinding refueling Hans Ronne
2003-12-20 16:09       ` Peter Garrone
2003-12-20 17:08         ` Hans Ronne
2003-12-20 23:31           ` Peter Garrone
2003-12-21  7:22             ` Hans Ronne
2003-12-21 23:07               ` Peter Garrone
2003-12-22 11:46                 ` Hans Ronne
2003-12-23  4:08                 ` Lincoln Peters
2003-12-23  4:25                   ` Peter Garrone [this message]
2003-12-20  6:43     ` Eric McDonald
2003-12-20  6:43       ` Peter Garrone
2003-12-20 22:50         ` Eric McDonald
2003-12-20 23:00           ` Hans Ronne
2003-12-21  2:36             ` Peter Garrone
2003-12-20 23:21           ` Peter Garrone
2003-12-21  7:27             ` Mark A. Flacy
2003-12-17 10:28 Peter Garrone
2003-12-18  5:30 ` Eric McDonald
2003-12-19  0:12 ` Jim Kingdon
2003-12-20 11:55   ` Peter Garrone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031222115655.GA473@leonardo \
    --to=pgarrone@acay.com.au \
    --cc=sampln@sbcglobal.net \
    --cc=xconq7@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).