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

This Month's Specials

Raging Tiger- Save $9.00
The Star and the Crescent- Save $9.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old January 21st, 2007, 02:00 PM
Slick's Avatar

Slick Slick is offline
Brigadier General
 
Join Date: Apr 2002
Location: Kailua, Hawaii
Posts: 1,860
Thanks: 0
Thanked 1 Time in 1 Post
Slick is on a distinguished road
Default Re: Anyone working on AI for standard SE V?

I asked some of the TDM guys and they aren't.


Maybe if they got some encouragement???
__________________
Slick.
Reply With Quote
  #2  
Old January 21st, 2007, 02:05 PM
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: Anyone working on AI for standard SE V?

If I look at the AI files I understand the reluctance!
For me these files are very hard to understand. Just for instance how do you chance the AI design creation?
Reply With Quote
  #3  
Old January 21st, 2007, 02:18 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Anyone working on AI for standard SE V?

Aaron is the only one I know of.
Reply With Quote
  #4  
Old January 21st, 2007, 06:23 PM
Ironmanbc's Avatar

Ironmanbc Ironmanbc is offline
Sergeant
 
Join Date: Oct 2006
Location: Kingston, Ontario
Posts: 289
Thanks: 1
Thanked 3 Times in 3 Posts
Ironmanbc is on a distinguished road
Default Re: Anyone working on AI for standard SE V?

Quote:
Q said:
If I look at the AI files I understand the reluctance!
For me these files are very hard to understand. Just for instance how do you chan g e the AI design creation?
But I thought you were Q
Reply With Quote
  #5  
Old January 21st, 2007, 06:28 PM
President_Elect_Shang's Avatar

President_Elect_Shang President_Elect_Shang is offline
Brigadier General
 
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
President_Elect_Shang is on a distinguished road
Default Re: Anyone working on AI for standard SE V?

I haven't even started yet. The AI is farther down on my list.
__________________
President Elect Shang; Tal-Re Republic of Free Worlds
Welcome to Super Vegeta’s Big Bang Attack… Welcome to OBLIVION!
“Don Panoz made an awesome car and… an incinerator” Bill Auberlen
Reply With Quote
  #6  
Old January 21st, 2007, 09:54 PM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,624
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default Re: Anyone working on AI for standard SE V?

It's intimidating at first, but once you start understanding how the files work together and the how the current functions work it becomes a lot easier to change and come up with new functions.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #7  
Old January 21st, 2007, 10:03 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: Anyone working on AI for standard SE V?

Any chance of sharing some of your AI wisdom on the Wiki, Kwok?

Everybody kept asking for scriptable AIs, so what's the problem now that we have them?
__________________
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
  #8  
Old January 21st, 2007, 10:10 PM
Atrocities's Avatar

Atrocities Atrocities is offline
Shrapnel Fanatic
 
Join Date: Dec 2000
Location: USA
Posts: 15,630
Thanks: 0
Thanked 30 Times in 18 Posts
Atrocities is on a distinguished road
Default Re: Anyone working on AI for standard SE V?

Yes I would especially love to read more about how to set the ship sizes, orientations, and so on in addition to any AI info.
__________________
Creator of the Star Trek Mod - AST Mod - 78 Ship Sets - Conquest Mod - Atrocities Star Wars Mod - Galaxy Reborn Mod - and Subterfuge Mod.
Reply With Quote
  #9  
Old January 21st, 2007, 11:02 PM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,624
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default Re: Anyone working on AI for standard SE V?

Quote:
Imperator Fyron said:
Any chance of sharing some of your AI wisdom on the Wiki, Kwok?
I'd like to do something like that eventually, but it's always a time issue. The latest beta patches alone take considerable time to reconcile with the Balance Mod AI. Too bad I need to waste so much time sleeping!

But here are a few beginner tips:

All the AI source scripts are found in the Utilities\ScriptParser\SE5EmpireScripts folder. The Script Parser itself is not a great editing tool, so use Notepad etc., but you'll need the Script Parser to compile AI files. Each empire has a Setup and Main script, which are the only files you every actually compile. The AI_Script_[xxxxxx] files contain functions that are included in the Setup/Main scripts.

The [Empire]_Setup_Script file is used only on player generation and chooses the racial traits as well as starting research. I suppose the most important note is that it uses the Script_AI_GlobalResearch file to pick starting techs, and not Script_AI_Research - which is used by the AI for choosing techs to research in-game.

The [Empire]_Main_Script is run for each AI every turn. It incorporates the functions of all the Script_AI_[xxxxxx] files, as well as sets most variables and tech choices for that Empire.

A brief synopsis of each file:

Script_AI_GlobalConstants sets various constants used in the other AI files.

Script_AI_GlobalVariables sets all sorts of variables (some of which are overwritten by an Empire's main scripts) used by functions in other files.

Script_AI_GlobalSettings sets all sorts of variables used by the other AI functions. This includes settings for vehicle design creation (such as number of engines or crew), extra components to add to designs, setting demand for vehicles to construct, and a bunch of politics settings which are used in calculations for diplomacy.

Script_AI_ColonyType contains the functions that determine the Colony Type the AI assigns to a new colony.

Script_AI_Construction contains the functions that add ships/units/facilities to the building queues.

Script_AI_DesignCreation contains the design algorithm for the AI. This is perhaps the most complex file to understand at first. A lot of settings from the GlobalSettings file are used here.

Script_AI_Intelligence contains the functions that choose what intel projects to run etc.

Script_AI_Lists contains a series of functions that compile lists for lots of different things like attack/defend locations, colonizable planets, resupply locations, etc. This list variables are used in many of the scripts, particularly in Script_AI_Orders_Ships.

Script_AI_Orders_Planets contains a few functions to give planets orders like launch mines.

Script_AI_Orders_Ships has all the functions that assign orders to ships. It often uses list variables set in Script_AI_Lists in its functions.

Script_AI_Politics contains all the functions that handle sending messages and diplomacy. Many of the functions refer to values that are set in Script_AI_GlobalSettings, such as the maximum anger level for a given treaty stipulation.

Script_AI_Research contains the functions used to pick research items for the AI during the game. It's just a list of tech areas to add to the research queue and set tech area requirements.

Script_AI_GlobalReseach is more or less the same as Script_AI_Research, but is only used by the Empire's setup script.

Script_AI_Restricted_SolarSystems doesn't do anything at this time.

Script_AI_StateChange has functions that determines the AI's state. It also has functions to determine whether to attack or not.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #10  
Old January 22nd, 2007, 02:23 PM
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: Anyone working on AI for standard SE V?

Quote:
Ironmanbc said:
Quote:
Q said:
If I look at the AI files I understand the reluctance!
For me these files are very hard to understand. Just for instance how do you chan g e the AI design creation?
But I thought you were Q
I am used to snip my fingers to get what I want and not to modify some text files!

On a more serious side it is very bad that the AI design creation is so complex, as it is just terrible in standard SE V: I wiped out a fleet from a well developped AI empire with 7 light cruisers and high level anti proton beams because they didn't have combat sensors and ECM (although they had researched it to a high level). My 3 destroyers didn't take any damage at all!
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 06:10 AM.


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