.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   Modding Question (http://forum.shrapnelgames.com/showthread.php?t=5453)

travislp March 23rd, 2002 07:36 PM

Modding Question
 
What file determines the default facilities that are used to place on homeworlds at the start of a game.

Phoenix-D March 23rd, 2002 08:36 PM

Re: Modding Question
 
It's hard-coded.

Phoenix-D

travislp March 23rd, 2002 08:41 PM

Re: Modding Question
 
I noticed in the porportions mod the default facilites are different. If it's hard coded how'ed he do it.

Andrés March 23rd, 2002 10:05 PM

Re: Modding Question
 
I'm not an expert in editing AI, but every race seems to use something from their own AI_Construction_Facilities.
There are a few entries with
Construction Queue Type := Homeworld
so I'm not sure wich it uses and when.

Phoenix-D March 23rd, 2002 10:09 PM

Re: Modding Question
 
Easy. It's hard-coded to pick the facility that produces the max amount of a certain item. That's why you get level III facilities instead of level I in a normal SE4 High Tech game, for example.

You can test this yourself- make a new facility, no tech required. Now give it boatloads of mineral production- it'll be used instead of the default mineral miners. Give it boatloads of organics/rads/research and it'll be used in place of those. Give it resupply/spaceport, it *might* be used in place of those. etc

I don't think the homeworld type in the construction file does anything, other than maybe telling the AI not to scrap it's homeworld facilities for something "better" http://forum.shrapnelgames.com/images/icons/icon7.gif

Phoenix-D

capnq March 23rd, 2002 10:36 PM

Re: Modding Question
 
<blockquote><font size="1" face="Verdana, Arial">quote:</font><hr> I don't think the homeworld type in the construction file does anything, other than maybe telling the AI not to scrap it's homeworld facilities for something "better" <hr></blockquote>I thought the AIs weren't smart enough to scrap things? Has that been improved in Gold?

I'm sticking to my theory that the Homeworld entries are for rebuilding after an attack destroys facilities.

Sinapus March 25th, 2002 09:35 AM

Re: Modding Question
 
<blockquote><font size="1" face="Verdana, Arial">quote:</font><hr>Originally posted by capnq:
I thought the AIs weren't smart enough to scrap things? Has that been improved in Gold?

I'm sticking to my theory that the Homeworld entries are for rebuilding after an attack destroys facilities.
<hr></blockquote>

That's pretty much what it appears to do.


All times are GMT -4. The time now is 01:16 AM.

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