.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
World Supremacy- Save $9.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old July 16th, 2007, 10:42 AM
Q's Avatar

Q Q is offline
Colonel
 
Join Date: Jan 2001
Posts: 1,661
Thanks: 0
Thanked 0 Times in 0 Posts
Q is on a distinguished road
Default 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.
Reply With Quote
  #2  
Old July 16th, 2007, 10:43 PM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default 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.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #3  
Old July 17th, 2007, 01:46 AM
Q's Avatar

Q Q is offline
Colonel
 
Join Date: Jan 2001
Posts: 1,661
Thanks: 0
Thanked 0 Times in 0 Posts
Q is on a distinguished road
Default 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?
Reply With Quote
  #4  
Old July 17th, 2007, 02:26 AM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default 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.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #5  
Old July 17th, 2007, 06:01 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default 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.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #6  
Old July 18th, 2007, 07:51 PM

marhawkman marhawkman is offline
Private
 
Join Date: Jun 2007
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
marhawkman is on a distinguished road
Default Re: AI research script??

So why is it the AIs don't research research?
Reply With Quote
  #7  
Old July 18th, 2007, 09:23 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: AI research script??

We need a bit of context.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 05:08 AM.


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