.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 research script?? (http://forum.shrapnelgames.com/showthread.php?t=35426)

Q July 16th, 2007 10:42 AM

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.

Captain Kwok July 16th, 2007 10:43 PM

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.

Q July 17th, 2007 01:46 AM

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?

Captain Kwok July 17th, 2007 02:26 AM

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.

Fyron July 17th, 2007 06:01 AM

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. http://forum.shrapnelgames.com/images/smilies/happy.gif

marhawkman July 18th, 2007 07:51 PM

Re: AI research script??
 
So why is it the AIs don't research research?

Fyron July 18th, 2007 09:23 PM

Re: AI research script??
 
We need a bit of context.


All times are GMT -4. The time now is 02:17 PM.

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