This is the mail archive of the
xconq7@sourceware.cygnus.com
mailing list for the Xconq project.
Re: Xconq module redesign, which games work? damage dice specs, tanker refueling
- To: Stan Shebs <shebs AT cygnus dot com>
- Subject: Re: Xconq module redesign, which games work? damage dice specs, tanker refueling
- From: Hans Ronne <hronne AT 2.sbbs.se>
- Date: Tue, 14 Sep 1999 23:37:12 +0100
- Cc: xconq7 AT sourceware.cygnus dot com
- References: <l03130300b3ffd510b171@[212.112.5.17]> (message from HansRonne on Sat, 11 Sep 1999 11:02:17 +0100)
> [...] a unit which is sitting in a transport inside
> another
> unit (i.e. a base or a city) is unable to resupply either from the
>city's or
> from the transport's supply. The transport will therefore sit forever in
> the city waiting for its occupant to complete its futile resupply task.
>I have
> seen this happen both with bombers carrying infantry in the standard game
> and with fleets carrying troops in the ww2 games. I am looking into
>possible
> fixes. One fix that works is to force units that get a resupply task to
>leave
> their transport if inside another transport, but it would of course be
>better
> to make the resupply code itself work as expected for units inside other
> units.
>
>Well, there's that big hairy 4-level occupant recursion macro you
>defined, seems like just the ticket for this!
>
Right. Using it in try_transfer_to_cell and try_sharing_with_cell solved
the ai problem. I had to use a different approach in take_supplies to get the
manual command to work the same way. I will put up the fixes soon.
Hans
Hans Ronne
hronne@2.sbbs.se