View Single Post
  #3  
Old December 19th, 2002, 03:36 PM

Rexxx Rexxx is offline
Corporal
 
Join Date: Jun 2002
Location: Hannover, Germany
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
Rexxx is on a distinguished road
Default Re: History.txt - Calling for names in the construction file

Quote:
Originally posted by Mephisto:
If you call "Colonizer" in the build queue, the AI will try to evaluate what type of Colonizer it needs (Rock, Gas, Ice) while calling it by "name" it will build whatever you called needed or not. I hope that clears it for you.
Unfortunately it does.
Well, I hoped that this sentence gives me an answer to the question why calling for names for colony ships doesn't work as described in the history.txt.
During the Last days I ran some tests with different construction_vehicles files. I wanted to avoid those colonizer dead ends which occured frequently during games between peaceful races in MB's AI contest confirming my own observations from a lot of test games (choose a small quadrant and peaceful races: Expansion, I bid you a very fond farewell . At Last I wanted the AI to build different colonizers during the same turn.

An example:
Entry 3 Type := Seeder (Gas)
Entry 3 Planet Per Item := 300
Entry 3 Must Have At Least := 5
Entry 4 Type := Seeder (Rock)
Entry 4 Planet Per Item := 300
Entry 4 Must Have At Least := 9
Entry 5 Type := Seeder (Ice)
Entry 5 Planet Per Item := 300
Entry 5 Must Have At Least := 12

Until the first rock colonizer was designed the AI built 5 gas colonizers just as I called for.
From that moment on the AI began to build rock colonizers, only rock colonizers. It followed the call for 9 ships. After the first ice colonizer design was available it began to build only ice colonizers, again following the new call for 12 ships.

The good news is that those annoying dead ends can be avoided. If I had 5 gas colonizers and no gas giant available, the additional 4 rock colonizers guaranteed further expansion. The bad news is the impossibilty of having all available colonizing tech used simultaneously.

After that I ran test with space yard ships.
Entry 17 Type := Support (SYS-1)
Entry 17 Planet Per Item := 0
Entry 17 Must Have At Least := 2
Entry 18 Type := Weapon Platform
Entry 18 Planet Per Item := 20
Entry 18 Must Have At Least := 0
Entry 19 Type := Support (SYS-2)
Entry 19 Planet Per Item := 0
Entry 19 Must Have At Least := 4

It build two SYS-1 and - the much later designed - two SYS-2. If one of these 4 ships were destroyed or scrapped the AI built only SYS-2 until the number of 4 was reached.

It is my guess that - unfortunately - the AI only follows the Last (available) entry/name for a certain design type and the according must have number.

Can anybody confirm these observations?
__________________
homo homini lupus est
Reply With Quote