Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2002:
[Freeciv-Dev] [RFC][Patch] AI can fly v2 (fwd)
Home

[Freeciv-Dev] [RFC][Patch] AI can fly v2 (fwd)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx>, Raahul Kumar <raahul_da_man@xxxxxxxxx>
Subject: [Freeciv-Dev] [RFC][Patch] AI can fly v2 (fwd)
From: Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxx>
Date: Sun, 7 Apr 2002 17:20:55 +0100 (BST)

Oops, the patch was too big so my first email didn't go through...

I uploaded it to 
ftp://ftp.freeciv.org/pub/freeciv/incoming/ai_can_fly_v2.diff.gz

Please come and play with it.

---------- Forwarded message ----------
Date: Sat, 6 Apr 2002 19:18:13 +0100 (BST)
From: Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxx>
To: freeciv-dev@xxxxxxxxxxx
Subject: [RFC][Patch] AI can fly v2

Here comes the improved version of AI patch.  It's fat but it works.

Please test!!!

Features:
AI
* Builds air units
* Sends them to the place where the fighting is hot
* Uses them to destroy most valuable and undefended enemy units
* New air "cost map" is implemented using priority queue
* Units usually come back home safely (haven't seen any run out of fuel)

Problems:
* Does not take into account how threatening a possible target is to the 
city the plane is "defending"
* Does not take into account how secure it will be at it's refuelling 
point (fx planes would fly into undefended city with an enemy battleship 
nearby ready to destroy anything live in the city -- this is possible 
only in AI-vs-AI battle as no human would miss the opportunity of an 
empty enemy city)
* Does not cache any calculations
* Does not know when to build Airports (or Airstrips)

General Impressions:
* Does not make AI that much tougher: battleships and howitzers are far 
deadlier when it comes to eliminating city defenders
* Quite good at keeping Transports at bay.  Unfortunately, AI won't build 
anything until it sees a possible target, and then it might be too late.
* I saw a couple of Cruise Missiles taking out a wounded battleship which 
would otherwise continue to massacre ground troops (possibly after being 
repaired)
* So it introduces a bit of variety in the game without changing 
difficulty by much

A savegame is attached.
Login either as pille (I am reusing Christian's savegame) or as solomon 
and see what happens.  Solomon is actually too big, it's hard to stop 
him...

G.

Attachment: air-war.sav.gz
Description: GNU Zip compressed data


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