.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old June 8th, 2001, 02:59 AM

Omega Omega is offline
Private
 
Join Date: May 2001
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Omega is on a distinguished road
Default AI Production Halted Abnormally

I have almost finished my new AI mod. I have run into a production anomaly that is making the AI quite weak late in the game. Around turn 110, the AI’s production drops off precipitously. Within 20 turns the production of both ships and units is almost zero.

The AI is not even close to the limits for ships or units (both set to 5000). The AI has a surplus of 1,127,995 minerals, 176,316 organics and 326,668 radioactives per turn. The AI has not met the ship or unit build quotas in the AI_Construction_Vehicles file. Most of the shipyard construction queues are empty and there is zero production of mines.

Have I run into some type of arbitrary limits in the AI production routines? If I have, it is impossible to make a challenging AI by modifying the AI data files. The AI appears to simply shut down it’s production beyond a certain point. Has anyone else seen the AI halt it’s production of ships and units for no reason?
Reply With Quote
  #2  
Old June 8th, 2001, 07:00 AM
Q's Avatar

Q Q is offline
Colonel
 
Join Date: Jan 2001
Posts: 1,661
Thanks: 0
Thanked 0 Times in 0 Posts
Q is on a distinguished road
Default Re: AI Production Halted Abnormally

O yes, there has been several discussion topics about that in this forum. Just use the search function.
I found it helpful to increase the storage capacity of the AI empire, but not everybody had the same positive effect on the AI production.
Reply With Quote
  #3  
Old June 9th, 2001, 01:21 AM
Jubala's Avatar

Jubala Jubala is offline
Second Lieutenant
 
Join Date: Oct 2000
Location: Linköping, Östergötland, Sweden
Posts: 504
Thanks: 0
Thanked 0 Times in 0 Posts
Jubala is on a distinguished road
Default Re: AI Production Halted Abnormally

I seem to recall that building defense bases would cause this since the AI would try to build defense bases where it can't, ie planets with no space yards and choke. Taking out Defense Bases from Vehicle_Construction.txt fixes that. Don't remember if other reasons exist. Or if this one has been fixed.
__________________
You don't go through the hardships of an ocean voyage to make friends...
You can make friends at home!
-Eric The Viking-
Reply With Quote
  #4  
Old June 8th, 2001, 06:08 PM
Mephisto's Avatar

Mephisto Mephisto is offline
Brigadier General
 
Join Date: Sep 2000
Location: Frankfurt, Germany
Posts: 1,994
Thanks: 0
Thanked 0 Times in 0 Posts
Mephisto is on a distinguished road
Default Re: AI Production Halted Abnormally

The Defense-Base-Bug has been fixed. You need to build some storage facilities and everything *should* return to normal.

quote:
Originally posted by Jubala:
I seem to recall that building defense bases would cause this since the AI would try to build defense bases where it can't, ie planets with no space yards and choke. Taking out Defense Bases from Vehicle_Construction.txt fixes that. Don't remember if other reasons exist. Or if this one has been fixed.


__________________
For, in the final analysis, our most basic common link is that we all inhabit this small planet. We all breathe the same air. We all cherish our children's futures. And we are all mortal. - JFK
Reply With Quote
  #5  
Old June 8th, 2001, 08:01 PM

Omega Omega is offline
Private
 
Join Date: May 2001
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Omega is on a distinguished road
Default Re: AI Production Halted Abnormally

There are no defense bases in the vehicle construction queues. I don’t find them terribly useful. I will try to fiddle with the storage as see what happens.
Reply With Quote
  #6  
Old June 8th, 2001, 09:18 PM

Omega Omega is offline
Private
 
Join Date: May 2001
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Omega is on a distinguished road
Default Re: AI Production Halted Abnormally

Well, I’ll be damned. It would seem that there is some type of ungodly relationship between the amount of storage space an empire has and how many ships it will produce. That makes absolutely no sense.

I had set the Minimum Empire Point Storage line in the settings.txt file to 500,000. Apparently this was not high enough. I was able to get my AI to resume production by upping the storage to 1,000,000. The AI is now producing 150 new ships. It does not appear to be producing any new mines.

This has to be some kind of bug. There must be some type of logic in the build routine that is meant to cap production before resource exhaustion. I wonder if the routine looks at mineral storage capacity when it should be looking at net mineral production. Even then, the ratios of mineral production vs. construction make no sense.

I recommend that everyone set their Minimum Empire Point Storage to 1,000,000 or higher and remove all storage facility building from their AI_Construction_Facilities files. This will result in more robust AI players.

Oh, and a hearty thanks to Q to pointing me down the right path.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 02:40 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.