Complete.Org: Mailing Lists: Archives: freeciv-ai: January 2003:
[freeciv-ai] Re: Patch Army
Home

[freeciv-ai] Re: Patch Army

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv ai <freeciv-ai@xxxxxxxxxxx>
Subject: [freeciv-ai] Re: Patch Army
From: Jordi Negrevernis i Font <jorneg@xxxxxxxxxxx>
Date: Tue, 21 Jan 2003 19:20:16 +0100


   Hi there!

Please, if someone is going to modify the patch, modify this it attached!!

   I made some modifications.

En/na Per I. Mathisen ha escrit:

 But, i have 3 questions:

 - How do i know if there is a city in the attack direction?

I don't understand the question.

Yes. The code selects a good city to attack. The selects a meeting point, so a city. But between the objective city and the meeting point can be other cities... So, there is a way to follow the direction of the units? I want to know this to prepare the attack, so that the units occupy tiles with resources or mountains or hills to gain hitpoints...


 - Which are the wants for the units? While debugging i get want >
101 many times, before i evaluate army_advisor_choice!! I knew they were
between 0 and 100!!

You knew wrong, as did Raahul. A lot of wants are over 101, the want for
attacking units are among them.
Anyway the army_advisor is useless, it only selects phalanx now :-( . I don't manage to make 'process_attacker_want' select other units, so wins 'process_defender_want'.


Attachment: army2.zip
Description: Zip compressed data


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