Thread: AI files
View Single Post
  #6  
Old June 4th, 2003, 06:23 PM
Hrothgar's Avatar

Hrothgar Hrothgar is offline
Corporal
 
Join Date: Feb 2000
Location: Beaver Falls, PA
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Hrothgar is on a distinguished road
Default Re: AI files

I've finally gotten things straightened out [thanks for your help, Imperator Fyron, DavidG, and Oleg], except for one thing--I made a new Research.txt file for my race, but it's not working properly. As far as I've been able to determine, research projects are chosen by the AI in the order I desire, but research points are not divided as I thought they would be. My impression was that, if you indicated 50% as the Tech Area Minimum Percent, that another project could also be added to the research queue AND be researched simultaneously. However, when I check the research queue while the game is in progress with my race under computer control, although two projects will appear on the queue, only the first gets any research points--until it's down to its Last turn, at which point excess research points will flow over to the next research project. Perhaps this is what's supposed to happen, in which case I guess my race is working properly, but, like I said, I thought that assigning 50 as the Minimum percent would allow two projects to each receive half of the current research points. Here's a couple lines from my Research File, in which, if there's an error, I'd really appreciate suggestions:

================================================== =====================================
*BEGIN*
================================================== =====================================

AI State := Exploration, Infrastructure, Prepare for Attack, Attack, Secure Holdings After Attack, Incursion, Prepare for Defense, Defend (Short Term), Defend (Long Term)
Tech Area Name := Applied Research
Tech Area Level := 2
Tech Area Min Percent := 50

AI State := Exploration, Infrastructure, Prepare for Attack, Attack, Secure Holdings After Attack, Incursion, Prepare for Defense, Defend (Short Term), Defend (Long Term)
Tech Area Name := Ship Construction
Tech Area Level := 2
Tech Area Min Percent := 50

If there are no errors, and it's just impossible to get the AI to divide research points among different projects, then I guess I'll have to live with things as they are.

Thanks.
Reply With Quote