|
|
|
 |

July 16th, 2007, 10:42 AM
|
 |
Colonel
|
|
Join Date: Jan 2001
Posts: 1,661
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
AI research script??
Could anybody give me some explanations how the "AI global research" and "AI research" scripts function?
Especially the "age research" levels and the interaction of the two AI research files are a complete mystery to me.
I started to try some modding myself and as soon as you alter some tech areas and levels you should of course adapt the AI research to this.
Any help is appreciated.
|

July 16th, 2007, 10:43 PM
|
 |
National Security Advisor
|
|
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,624
Thanks: 1
Thanked 14 Times in 12 Posts
|
|
Re: AI research script??
The global research file is only called only during random AI creation before the game starts. Script_AI_Research is used in game to determine the tech areas the AI will research at a given time. I don't have a reference to look at right now, but from what I recall all the listed techs are added before it will advance to the next age. I think it was a way MM used to organize the file a bit.
|

July 17th, 2007, 01:46 AM
|
 |
Colonel
|
|
Join Date: Jan 2001
Posts: 1,661
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: AI research script??
Thank you very much for your reply Kwok. With your experience you should write a modding manual if you once can spare the time.
One more question: what is the effect of the "critical", "high", "medium" and "low" research priority. I guess it determines how many percent of the research spending goes into this specific research area, but do you know that more precisely?
|

July 17th, 2007, 02:26 AM
|
 |
National Security Advisor
|
|
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,624
Thanks: 1
Thanked 14 Times in 12 Posts
|
|
Re: AI research script??
It's something I added so that an AI in a war state etc. would focus on certain important tech areas. The [Empire]_Main script files have some lines that control when the AI is in a certain research state.
|

July 17th, 2007, 06:01 AM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: AI research script??
If people would add this sort of stuff to the Wiki as they went along, it would go a long way towards having a modding manual. 
|

July 18th, 2007, 07:51 PM
|
Private
|
|
Join Date: Jun 2007
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: AI research script??
So why is it the AIs don't research research?
|

July 18th, 2007, 09:23 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: AI research script??
We need a bit of context.
|
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
|
|
|
|
|