Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Re: Agents and further direction

[Freeciv-Dev] Re: Agents and further direction

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Daniel Sjölie <deepone@xxxxxxxxxx>, freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Agents and further direction
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 30 Aug 2001 08:01:12 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Thu, Aug 30, 2001 at 06:31:37AM +0200, Daniel Sjölie wrote:
> On 2001-08-25 16:10:02, Raimar Falke wrote:
> > On Sat, Aug 25, 2001 at 03:48:47PM +0200, Daniel Sjölie wrote:
> > > > The attribute patch I was talking about enables the client to store
> > > > data. This data is included in a savegame and so acts as a memory for
> > > > the agents.
> > > 
> > > Yes, that's what I was talking about... Your agents don't use this
> > > right? If they did You could set a "irrigate only" attribute on a
> > > settler and have it saved, right?
> > 
> > No. It is a bit more complex:
> >  - the user of the agent (currently some gui code) puts a settler
> >  under the control of the agent and supplies the agent with parameters
> >  (these will be extended)
> >  - the agent will notice that this settler has nothing to do
> >  - it will create some actions (based on the parameters) and merge
> >  external actions
> >  - all actions will be assessed, sorted and a final one selected
> >  - this action will then be carried out (goto to the tile and start
> >  the activity)
> >
> > The agent will save (using attributes) the user supplied parameters
> > and the currently selected action.
> Sounds like what I meant... Except, do You mean that You set _global_
> parameters for Your agents, not for each unit? I guess so but wouldn't
> it be better and not to hard to have the agent check the settler unit
> for parameters/attributes specific to that settler?
> Do we understand eachother here? :)

One parameter set per settler.

> If it's not easy now, wouldn't it be fairly easy when the attributes
> patch is applied? Then You can set paramenter on units, right?
> It was quite a while since I saw something about attributes on the list.
> I've been looking forward to playing with it... when it's done...
> will it be done? :) (who was the author? You?)

It is on my todo list. Today or tomorrow.


 email: rf13@xxxxxxxxxxxxxxxxx
 "#!/usr/bin/perl -w
  if ( `date +%w` != 1 ) {
    die "This script only works on Mondays." ;
    -- from by Cornelius Krasel in de.comp.os.linux.misc

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