Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2002:
[Freeciv-Dev] Re: (PR#2415) autoattack patch
Home

[Freeciv-Dev] Re: (PR#2415) autoattack patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2415) autoattack patch
From: "Per I. Mathisen via RT" <rt@xxxxxxxxxxxxxx>
Date: Tue, 26 Nov 2002 04:10:51 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Tue, 26 Nov 2002, Raimar Falke via RT wrote:
> > Changes:
> > - autoattack now controlled by old autoattack menu & key, and is a
> > separate activity like sentry and fortify
...
> The previous patch was server-side always auto attack for all
> units. And how we have client interaction? Please don't be so terse.

You must set a unit to ACTIVITY_AUTO_ATTACK in the client for the
server-side autoattack to work. You can do this with the "A" key or the
"Autoattack" menu item, and the unit gets an "A" logo.

> > TODO:
> > - add autoattack to unit popup-dialog in city dialog
> > - allow AI to use autoattack even if game.autoattack == FALSE
> > - testing!!

Also:
 - We shouldn't go back to idle after having attacked once. Revert to
previous activity once we've attacked (which for human players is
ACTIVITY_AUTO_ATTACK).

  - Per




[Prev in Thread] Current Thread [Next in Thread]