|
|
|
|
March 23rd, 2002, 07:36 PM
|
Corporal
|
|
Join Date: Jul 2001
Location: Oakland,Ca,USA
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Modding Question
What file determines the default facilities that are used to place on homeworlds at the start of a game.
|
March 23rd, 2002, 08:36 PM
|
National Security Advisor
|
|
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Modding Question
It's hard-coded.
Phoenix-D
__________________
Phoenix-D
I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
- Digger
|
March 23rd, 2002, 08:41 PM
|
Corporal
|
|
Join Date: Jul 2001
Location: Oakland,Ca,USA
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Modding Question
I noticed in the porportions mod the default facilites are different. If it's hard coded how'ed he do it.
|
March 23rd, 2002, 10:05 PM
|
Major
|
|
Join Date: Apr 2001
Location: Rosario, Argentina
Posts: 1,047
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
March 23rd, 2002, 10:09 PM
|
National Security Advisor
|
|
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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"
Phoenix-D
__________________
Phoenix-D
I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
- Digger
|
March 23rd, 2002, 10:36 PM
|
|
General
|
|
Join Date: Feb 2001
Location: Pittsburgh, PA, USA
Posts: 3,070
Thanks: 13
Thanked 9 Times in 8 Posts
|
|
Re: Modding Question
quote: 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"
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.
__________________
Cap'n Q
"Good morning, Pooh Bear," said Eeyore gloomily. "If it is a good morning," he said. "Which I doubt," said he.
|
March 25th, 2002, 09:35 AM
|
Second Lieutenant
|
|
Join Date: Dec 2000
Location: Houston, TX, USA
Posts: 571
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Modding Question
quote: 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.
That's pretty much what it appears to do.
__________________
--
...can you and your associates arrange that for me, Mr. Morden?
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|