Re: AI personalities

Gregory Berkolaiko <[email protected]> Mon, 31 Oct 2005 15:47:39 -0600 (CST)
Newsgroups gmane.games.freeciv.ai
Message-ID <[email protected]>
On Sat, 7 May 2005, Per Inge Mathisen wrote:

> New wiki page up: http://www.freeciv.org/index.php/AI_personality_traits
> 
> Write up your thoughts.

Per (and others),

I was actually thinking about it lately.  In the building system overhaul 
which I never finished, I was trying to implement tags for proposed 
builds.  They were something like:
1. EMERGENCY_MILITARY  (emergency defence)
2. EMERGENCY_CIVIL  (temples)
3. MILITARY (aggressive units)
4. EXPANSION (settlers)
5. CIVIL (development like banks)

Then to compare them, I wanted to implement the following simple rules: 
1 trumps all others
2 trumps all but 1
3, 4 and 5 have certain weights and the comparison is done on numerical 
basis

Changing these weights would allow cheap implementation of three traits.

Maybe one day I will time and strength to code all the above.

Best wishes,
Greg