From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27112 invoked by alias); 14 Dec 2003 13:48:28 -0000 Mailing-List: contact xconq7-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: xconq7-owner@sources.redhat.com Received: (qmail 27104 invoked from network); 14 Dec 2003 13:48:27 -0000 Received: from unknown (HELO smtp14.fre.skanova.net) (195.67.227.31) by sources.redhat.com with SMTP; 14 Dec 2003 13:48:27 -0000 Received: from [212.181.162.155] (h155n1fls24o1048.bredband.comhem.se [212.181.162.155]) by smtp14.fre.skanova.net (8.12.10/8.12.10) with ESMTP id hBEDmLMw000823; Sun, 14 Dec 2003 14:48:25 +0100 (CET) X-Sender: u22611592@m1.226.comhem.se Message-Id: In-Reply-To: <16348.23283.101130.821785@gargle.gargle.HOWL> References: <16345.806.302555.965948@gargle.gargle.HOWL> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 15 Dec 2003 00:57:00 -0000 To: pessolo@freemail.it From: Hans Ronne Subject: Re: scorekeepers with if and cond forms in the body Cc: xconq7@sources.redhat.com X-SW-Source: 2003/txt/msg01037.txt.bz2 >Hans Ronne writes: > > > You would have to add support for other scorekeepers in determine_subgoals > > in mplayer.c. > >Is it possible to implement AI scripting support, >such that one may use individual ai scripts for scenarios? >especially for RPG-style scenarioes hardcoded strategies >are not flexible enough, think of the variety of >scenarioes in Age of Empires II. >So the AI behaviour of mplayers should be completely determined >from AI scripts, with the current last-side-winning support as the default >if no script is supplied? Then no recognition of scorekeepers would >be necessary. Some of the AI behaviour can be modifed on a side-by-side basis by using different side doctrines. I guess this could be expanded into a more general scripting support for different scenarios. Another way to handle different scenarios is game-class specific code, which is also supported in the AI. This is how time.g works. However, I don't think this is the way to go since it makes the AI code very complicated. Then there is the option of using completely different AIs for different sides. This is not very useful right now since we only have two AIs: the mplayer and its lobotomized brother the iplayer. I've been planning to write a new AI for quite some while, but there has been to many other things to do :-/. Hans