PDA

View Full Version : Question about starting facilities


Val
May 3rd, 2002, 04:43 PM
How do you pick which facilities (or facility abilities) are on the Homeworld at the start of the game (working with old SE IV 1.49 right now)? I can't seem to find it anywhere!

I am trying to change the starting facilities to work with new facilities created for the B5 Mod.

Any help is most welcome http://forum.shrapnelgames.com/images/icons/icon7.gif

dogscoff
May 3rd, 2002, 04:51 PM
Take a look at the data files for the proportions mod, there's an example there of how to do it. (Look at the Cultural Centres)

PDF
May 3rd, 2002, 04:51 PM
You do not pick them, the AI does according to priorities in AI_Construction_facilities.txt

To have a given set of facilities you need to tweak the files by using "dummy" abilities. I had the same question 1 week or 2 ago, some vets gave all the answers, I just repeat ... http://forum.shrapnelgames.com/images/icons/icon12.gif

Val
May 3rd, 2002, 07:25 PM
I had adjusted the AI_Con_Fac file already, and had added in 'dummy' abilities, I even removed all the other facilities from the Facilies file that I did not want used. The problem I am having is getting the starting facilities to correctly appear. I have managed to get some, but not all. Does the 'dummy' ability have to be first on the list?

Val
May 3rd, 2002, 09:01 PM
I have tried a dozen + different things with the AI_Con_Fac file and I can't seem to get the starting Homeworld to take the facilities I want.

My beginning 'Homeworld' seems to always start with:
1 Ship Yard (doesn't appear to pick highest Ship Construction rate or comp repair rate)
1 Depot (not sure why - highest cargo me thinks)
6 Mining Colonies (Appears to pick highest Res Gen - Min)
1 Mining Colony (highest Res Gen - Rad)
1 Ag Colony (highest Res Gen - Org)
5 Edu Centers (highest Research Point Gen)

Does anyone know why/how it chooses these? The initial Homeworld does not appear to be influenced by the AI_Con_Fac, not that I can tell at least. I have even eliminated everything from it except the Homeworlds for the various AI States and changed the abilities to the 'dummy' ones. No luck!

Anyone?

Val
May 3rd, 2002, 10:50 PM
Hmmm... figured out one thing I was doing wrong - I had it dependent on a tech that you do not start with, DOH! That being said, I was able to get it to take most of what I wanted, but it seems like the starting homeworld facilities is predecided somewhere other than the AI_Con_Fac file.

Rollo
May 3rd, 2002, 11:05 PM
IIRC, the starting facilities are hard coded and not controlled by the AI files. It picks the facilities by highest Ratings as you describe.

Rollo

capnq
May 4th, 2002, 10:18 PM
<blockquote><font size="1" face="Verdana, Arial">quote:</font><hr> 1 Depot (not sure why - highest cargo me thinks)
<hr></blockquote>Judging from the rest of your list, that would normally be the Resupply Depot, which uses Supply Generation.

jimbob
May 4th, 2002, 11:02 PM
<blockquote><font size="1" face="Verdana, Arial">quote:</font><hr> Don't anthropomorphise computers.
They hate that. <hr></blockquote>

Ha Ha Ha!
Yeah, I know I'm a geek, but that is funny!

Val
May 6th, 2002, 09:45 PM
Yeah, it was the resupply thing!

I have it working now, but since many of my facilities have multiple abilities the AI doesn't always want to build them as "one is already in system" - well in it's eyes at least http://forum.shrapnelgames.com/images/icons/icon12.gif

Thanks for all the help everyone http://forum.shrapnelgames.com/images/icons/icon7.gif