.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 November 19th, 2002, 11:49 AM

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 AI and resources

There is a hardcoded safety device to protect the AIs from running out of resources. I read about it and often could see it intervening.

Does anybody know the criteria/calculations/conditions which are used/necessary to wake up this hardcoded AI? I tried but I see no pattern so far.
__________________
homo homini lupus est
Reply With Quote
  #2  
Old November 19th, 2002, 11:52 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: AI and resources

There is a minimum resource generation, definable in Settings.txt. Other than that, I don't think that there is anything like what you are talking about.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #3  
Old November 19th, 2002, 03:26 PM

God Emperor God Emperor is offline
Second Lieutenant
 
Join Date: Dec 2000
Location: Australia
Posts: 464
Thanks: 0
Thanked 0 Times in 0 Posts
God Emperor is on a distinguished road
Default Re: AI and resources

SJ,
is this the line you mean?

Maximum Maintenance Percent of Revenue := 99

GE
Reply With Quote
  #4  
Old November 19th, 2002, 03:27 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: AI and resources

Thanks for your answers.
But I tried to describe something different:

Just as an example (the numbers are not exact):
My AI has 30000 kt organics in stock, its net resources per turn are -4000 kt organics.
During this turn another planet is colonized. It has a mineral value of 140%. Normally a mining colony should have been founded according to my settings in the AI planet_types file.
However what I get is a farming colony on this planet with its organic value of 80%.
That is not an isolated case, I've seen this several times. If the AI "thinks" it will be going bancrupt because of lacking radioactives there is a good chance the next colonized planet will become a refining colony regardless of its value.

It is mentioned in
http://www.shrapnelgames.com/cgi-bin...;f=23;t=001756
and I would like to know about its details.
__________________
homo homini lupus est
Reply With Quote
  #5  
Old November 19th, 2002, 03:44 PM

God Emperor God Emperor is offline
Second Lieutenant
 
Join Date: Dec 2000
Location: Australia
Posts: 464
Thanks: 0
Thanked 0 Times in 0 Posts
God Emperor is on a distinguished road
Default Re: AI and resources

Rexxx,
There certainly is an over-ride on the planet designation routine. I'm not sure whether it is a ratio of the nett production to storage or what.
I usually find that giving the AI at least a low bonus pretty much stops the problem. I've checked my AI on numerous occaisions and they pretty much behave themselves.
In galaxies where planets are not numerous, the problem can be exacerbated.

Regards,

GE
Reply With Quote
  #6  
Old November 19th, 2002, 04:29 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: AI and resources

Quote:
Originally posted by God Emperor:

In galaxies where planets are not numerous, the problem can be exacerbated.
Especially if you try to mod gas giant races.

Seriously:
This override can be quite annoying if two or more of those precious huge gas planets with a breathable atmosphere and a very high mineral value are "wasted" only to counteract a net loss (or whatever it uses) of organics which will end two turns later anyway.
__________________
homo homini lupus est
Reply With Quote
  #7  
Old November 19th, 2002, 04:56 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 and resources

Rexxx, you already said everything there is about to say on the AI colonizing. If any resource will drop into the negative, the next colony will be of the appropriate type. There is nothing you can do about it and as the AI will never scrap anything (except atmospheric converts) this is MOST annoying.
__________________
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
  #8  
Old November 20th, 2002, 02:46 AM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: AI and resources

There is also a setting which prevents the AI from building more ships than it can maintain...
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 09:57 AM.


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