Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] flying AI (PR#1162)
Home

[Freeciv-Dev] flying AI (PR#1162)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] flying AI (PR#1162)
From: Gregory Berkolaiko <gberkolaiko@xxxxxxxxxxx>
Date: Fri, 28 Dec 2001 15:35:01 -0800 (PST)

Hi,

I am trying to make AI use bombers, but the real difficulty is to make it
_build_ airunits.  The routines used in choosing attacking units to build
are 

kill_something_with, process_attacker_want: advmilitary.c
find_something_to_kill : aiunit.c

unfortunately these functions are among the most horrible to read and
understand.  therefore I ask if anyone has any knowledge about the
complicated weighting techniques to produce the choice.want etc...
In particular, how do you think the want should be calculated for the
bombers.

Petr, Raahul, if you have any cleanup patches ready for the above
functions, please submit them!

G.

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com



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