[Freeciv-Dev] [RFC][Patch] AI can fly v2 (fwd)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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.
air-war.sav.gz
Description: GNU Zip compressed data
|
|