Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] flying AI
Home

[Freeciv-Dev] flying AI

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Petr Baudis <pasky@xxxxxxxxxxx>, Raahul Kumar <raahul_da_man@xxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] flying AI
From: Gregory Berkolaiko <gberkolaiko@xxxxxxxxxxx>
Date: Fri, 28 Dec 2001 23:35:00 +0000 (GMT)

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]