This is the mail archive of the xconq7@sourceware.cygnus.com mailing list for the Xconq project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Xconq module redesign, which games work? damage dice specs, tanker refueling


>   [...] 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]