Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] Re: Development Strategies
Home

[Freeciv-Dev] Re: Development Strategies

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Development Strategies
From: "Per I. Mathisen" <Per.Inge.Mathisen@xxxxxxxxxxx>
Date: Mon, 3 Dec 2001 18:11:55 +0100 (MET)

On Mon, 3 Dec 2001, Daniel L Speyer wrote:
... (snip snip snip) ...
> That's not so easy.  Ignoring AI, here is my lisp code for a healer

This is very good for making rulesets better and the server simpler. There
are only two problems:
 1. The code gets slower, since it has to be interpreted
 2. AI doesn't know what to do

The first depends largely on choice of solution (language+compiler). I
simply don't know how well the different compilers do when embedded,
except tcl works pretty ok. The second can be solved by adding procedural
AI hooks for units/buildings/governments with abnormal behaviour.

So the Healer would also have a procedure OverrideAIControl, which, if
present, would be run instead of normal AI code for this unit. Then it
could have flags to determine how it would fit into the general AI
build/deployment strategy.

Yours,
Per

Man: "God! At last we have found you! Now tell us, please... WHY ARE WE THE WAY 
WE
ARE? WHY ARE WE HERE?"

God: "I dunno. I created you to eat the lions, and you just kinda got out of 
hand"

 --- Seen on slashdot (so it must be true!)





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