FileFront Forums

FileFront Forums (http://forums.filefront.com/)
-   ST:A2 Modding, Mapping and Editing (http://forums.filefront.com/st-a2-modding-mapping-editing-139/)
-   -   Adding ships/stations to the AI? (http://forums.filefront.com/st-a2-modding-mapping-editing/314848-adding-ships-stations-ai.html)

DScottHewitt May 21st, 2007 07:57 PM

Adding ships/stations to the AI?
 
How do you add ships & stations to the AI so that the computer will build them in single player and instant action missions?!?!?



Scott

You don't need so many ? and ! marks in your title. Trust me, if it's posted, it'll get attention regardless ;) -J7

jameskirk13 May 21st, 2007 09:52 PM

How to add ships and stations to the AI....
 
well you have to go into the AI files.. find the build list file for race to want to add ships + stations to... open the file and you will see build lists labeled... Phase I. Base & Yard, Phase II. Research, Phase III. Advanced Shipyard, Phase IV. Advanced Research, Phase V. Ship Upgrade and Endgame,.... add the ship or station to the appropriate list... and while your at it go on head and add the ship or station to the other build list files for that race... the files are using the federation as the example... (federation_defensive_list), (federation_endgame_list), (federation_instant_action_build_list), (federation_offensive_list)
that way your ship will be build able to the AI throughout the whole game...

DScottHewitt May 21st, 2007 11:23 PM

Quote:

Originally Posted by jameskirk13 (Post 3692898)
well you have to go into the AI files.. find the build list file for race to want to add ships + stations to... open the file and you will see build lists labeled... Phase I. Base & Yard, Phase II. Research, Phase III. Advanced Shipyard, Phase IV. Advanced Research, Phase V. Ship Upgrade and Endgame,.... add the ship or station to the appropriate list... and while your at it go on head and add the ship or station to the other build list files for that race... the files are using the federation as the example... (federation_defensive_list), (federation_endgame_list), (federation_instant_action_build_list), (federation_offensive_list)
that way your ship will be build able to the AI throughout the whole game...

Okay. I'm VERY new at this. What about the numbers in the list? What is what?


Scott

Flash525 May 22nd, 2007 11:30 AM

Modding & Editing

:moved:

Ragnar May 22nd, 2007 12:11 PM

What the numbers are are explained at the top of the file like so

Syntax: "ODF name", number to build, base to build at, max number from this line, min tech level

So

"fmining", 1, 1, -1, 0, // mining stations
This would build one Federation mining station, at their first base (primary base), it would only build one from this section (I think), and the minimum tech level required by the AI to build it.

Hope that helps in a mildly confusing way :D

DScottHewitt May 22nd, 2007 01:02 PM

Quote:

Originally Posted by ragnar603 (Post 3693717)
What the numbers are are explained at the top of the file like so

Syntax: "ODF name", number to build, base to build at, max number from this line, min tech level

So

"fmining", 1, 1, -1, 0, // mining stations
This would build one Federation mining station, at their first base (primary base), it would only build one from this section (I think), and the minimum tech level required by the AI to build it.

Hope that helps in a mildly confusing way :D


Makes sense.....


Scott

(KNEW the numbers meant SOMETHING)

AdmarilRyan May 22nd, 2007 01:58 PM

yawn:

Armada 2 Files - AI Files for Beginners Tutorial

I spent ages writing that tutorial, be nice if people used it ;)

Majestic-MSFC May 22nd, 2007 10:42 PM

Quote:

Originally Posted by AdmarilRyan (Post 3693948)
yawn:

Armada 2 Files - AI Files for Beginners Tutorial

I spent ages writing that tutorial, be nice if people used it ;)

I myself use it mate, nice work on it. :D

Chiletrek May 23rd, 2007 10:38 AM

Hello:
Even though I learned some of the AI editing by following the Norway Class minimod (and how the author added that ship to the AI), I find this tutotial both good and useful.
Thanks for the tutorial :stallard:

DScottHewitt May 23rd, 2007 01:03 PM

Quote:

Originally Posted by AdmarilRyan (Post 3693948)
yawn:

Armada 2 Files - AI Files for Beginners Tutorial

I spent ages writing that tutorial, be nice if people used it ;)


Humblest apologies. I am new to this modding thing. Mostly have been adding downloaded stuff. Will check out your tutorial right away. Sorry I missed it.


Scott


All times are GMT -7.

Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.