
May 15th, 2002, 08:20 AM
|
 |
Lieutenant General
|
|
Join Date: Jan 2001
Location: Oxford, UK
Posts: 2,592
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Comments (bugs) with _AI_Construction_Vehicles.txt
Quote:
Originally posted by Athena:
thank you a lot Oleg, it made things clearer for me.
How the AI calculate in which AI state it is? Is it something totally hardcoded or can it be altered?
Something else, in different files : In proportion mod there is planetary facilities with the name of ship components. I suppose this is used as placeholder name, but how it works for the AI ? They ignore it totally?
|
Those are bogus abilities to manipulate AI.
When AI see standard "resource extraction - minerals" ability in its own construction_facility.txt file, it uses the facility with highest mineral extraction value available. Unfortunately, it is a Cultural center which will be build in 100+ years on new planet.
To make AI build miniral mines, PvK assigned bogus ability, something like "ship = bridge". Then he replaced all entries for mineral extraction in construction_facility.txt by this new ability. Now on, when AI cycles through file, it builds mineral miners, sisnce it is the only facility with this ability ! Very clever, I should say.
__________________
It is forbidden to kill; therefore all murderers are punished unless they kill in large numbers and to the sound of trumpets. - Voltaire
|