.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   AI and systemwide facilities (http://forum.shrapnelgames.com/showthread.php?t=8115)

Gandalph December 27th, 2002 08:51 PM

Re: AI and systemwide facilities
 
My only answer to this problem was to put the system wide facility deep in the facility construction file. The AI will only build the system facility after 10 other facilities (10 being a random number). This does not help the stock AI's, and my custom AI's will still build a system wide facility in a system that only has 1 breathable with sufficient slots available, but it helps.

Rexxx December 28th, 2002 02:01 AM

AI and systemwide facilities
 
The AI - obviously - doesn't rely on the systemwide abilities of the religious Time Shrine and the "standard" System Robotoid Factory. It follows the construction orders for these facilities types on every planet in a system.

Mephisto December 28th, 2002 02:34 AM

Re: AI and systemwide facilities
 
Not sure what the question is. http://forum.shrapnelgames.com/image...s/confused.gif
The AI will only build one system wide facility per system. Maybe more if you call them by different abilities but not when using the same ability.
regarding building them in a system with only a single planet: What's bad about this? If the planet is large enough it will help even the one single planet a lot. Just make sure to not place them right at the top of your AI build queue like Gandalf correctly suggested.

mottlee December 28th, 2002 02:53 AM

Re: AI and systemwide facilities
 
I have seen the AI place one on a moon and there was only 3 planets in system http://forum.shrapnelgames.com/images/icons/icon7.gif

Q December 28th, 2002 09:05 AM

Re: AI and systemwide facilities
 
Quote:

Originally posted by Mephisto:
The AI will only build one system wide facility per system. Maybe more if you call them by different abilities but not when using the same ability.
<font size="2" face="Verdana, Helvetica, sans-serif">This is not completely true. The AI will check only if there is already a facility present in the system with the system wide ability but ignore facilities under construction. Therefore several identical system wide facilities may be constructed at the same time and eventually present in the same system. I see this all the time.
A possible solution would be a special colony type that is only chosen once per system and then put all the system facilities on this colony.

Mephisto December 28th, 2002 12:53 PM

Re: AI and systemwide facilities
 
That sounds right. In the end, my Ais never had a problem with it. Even if they have 2 such facilities it is no big deal. One might get destroyed and then you are glad that you have a backup. http://forum.shrapnelgames.com/images/icons/icon7.gif

Rexxx December 28th, 2002 01:36 PM

Re: AI and systemwide facilities
 
Thanks for your answers.

Quote:

Originally posted by Q:
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by Mephisto:
The AI will only build one system wide facility per system. Maybe more if you call them by different abilities but not when using the same ability.

<font size="2" face="Verdana, Helvetica, sans-serif">This is not completely true. The AI will check only if there is already a facility present in the system with the system wide ability but ignore facilities under construction. Therefore several identical system wide facilities may be constructed at the same time and eventually present in the same system. I see this all the time.
A possible solution would be a special colony type that is only chosen once per system and then put all the system facilities on this colony.
</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">I'm not sure that this AI ckeck works when it comes to System Robotoid Factories. In a present game the AI builds them although there are already one or more existing (there were constructed years ago) in the system.
As you said the check will ignore facilities under construction. That restriction should led to a lot of System Gravitational Shields due to their very long construction times. I'm just curious but I've never seen the AI built two of them in a system.

EDIT: Just a chance shot: maybe the check fails for new created planets????

[ December 28, 2002, 11:56: Message edited by: Rexxx ]

Mephisto December 28th, 2002 04:47 PM

Re: AI and systemwide facilities
 
Quote:

Originally posted by Rexxx:
EDIT: Just a chance shot: maybe the check fails for new created planets????
<font size="2" face="Verdana, Helvetica, sans-serif">That could be the answer. I never saw 3 or more SRF in a system with any of my races with "pre-build" planets but I'm not sure for created planets.

oleg December 28th, 2002 05:08 PM

Re: AI and systemwide facilities
 
Quote:

Originally posted by Q:
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by Mephisto:
The AI will only build one system wide facility per system. Maybe more if you call them by different abilities but not when using the same ability.

<font size="2" face="Verdana, Helvetica, sans-serif">This is not completely true. The AI will check only if there is already a facility present in the system with the system wide ability but ignore facilities under construction. Therefore several identical system wide facilities may be constructed at the same time and eventually present in the same system. I see this all the time.
A possible solution would be a special colony type that is only chosen once per system and then put all the system facilities on this colony.
</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">I usually use different method: diversify colony types, using planet size as a criteria. For example I usualy have several mineral mining colony types with different order of facilities for tiny, small, etc. planets. There' still a problem with non-breathable planets but I arange system wide facilities that they can be build on breathable planets only.

Master Belisarius December 28th, 2002 10:52 PM

Re: AI and systemwide facilities
 
I had the same experience that Rexxx reported with the System Robotoid facility. Even in systems with no "created" planets.

Mephisto December 29th, 2002 12:30 PM

Re: AI and systemwide facilities
 
Thats altogether strange. Why don't I encounter the problem? Maybe my AIs avoid them because it is the 6 or so facility. Well, I'm puzzled. http://forum.shrapnelgames.com/image...s/confused.gif

Q December 30th, 2002 02:24 AM

Re: AI and systemwide facilities
 
You will see this only on colonies with breatheble athmosphere, because usually the facilities with system wide abilities are built after the fifth or sixth facility. This means you see it usually only after the AI uses athmosphere converters and usually with the system robotoid, system computer complex and system intel facilities, because they are built on the three main colony types. The system gravitational shield e.g. is mainly built on military colonies and these are mostly limited to one colony per system! But all depends on the colony type and facility contruction files of the AI.

Mephisto December 30th, 2002 01:30 PM

Re: AI and systemwide facilities
 
I have a PBW game here with Ai. In this game the AI has several dozens planets with the right atmosphere, even whole systems with huge breathable planets and it does not build more then one system robotoid factory or any system wide facility for that matter. It only happened to the Ai with a space port where I put one into the queue and the AI build one too (the check while building problem we all agreed upon). Can someone post a savegame with the problem here?

Rexxx December 30th, 2002 08:54 PM

Re: AI and systemwide facilities
 
Quote:

Originally posted by Mephisto:
I have a PBW game here with Ai. In this game the AI has several dozens planets with the right atmosphere, even whole systems with huge breathable planets and it does not build more then one system robotoid factory or any system wide facility for that matter. It only happened to the Ai with a space port where I put one into the queue and the AI build one too (the check while building problem we all agreed upon). Can someone post a savegame with the problem here?
<font size="2" face="Verdana, Helvetica, sans-serif">In a current game my religious-psychic AI has decided to build the fourth Time Shrine in a system. Will post the savegame later.

EDIT: The savegame: http://forum.shrapnelgames.com/newup...1041274875.zip

The system with four Time Shrines is Eskirk. But in Haphik and Osshod the AI also decided to build more than one. All of the "additional" Time Shrines were constructed when the first was present in the system for several turns.
Have no savegame about Robotoid Factories available but believe me the AI-behaviour is just the same.

[ December 30, 2002, 19:13: Message edited by: Rexxx ]

Mephisto December 31st, 2002 02:05 AM

Re: AI and systemwide facilities
 
Now I only need your Ai race, too. http://forum.shrapnelgames.com/images/icons/icon7.gif

Mephisto December 31st, 2002 01:38 PM

Re: AI and systemwide facilities
 
I stand corrected. I have found the bug, too, and have sent it to MM.

Rexxx January 1st, 2003 02:41 AM

Re: AI and systemwide facilities
 
Thanks. http://forum.shrapnelgames.com/images/icons/icon7.gif


All times are GMT -4. The time now is 06:22 PM.

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