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

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old October 12th, 2004, 02:02 PM
Aiken's Avatar

Aiken Aiken is offline
Major
 
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
Aiken is on a distinguished road
Default Re: Newbie AI Writing Thread

Fleets Num Divisions := X
Defines the rules for amount of fleets to change through the game.

Example:
Code:
 Fleets Div 1 Max Amount of Ships                                             := 20
Fleets Div 1 Max Amount of Planets := 0
Fleets Div 1 Num Fleets := 2


Starting item. If total amount of ships in empire <= 20 then AI will form 2 fleets per empire. If amount of ships > 20 then go to Fleets Div 2 item.
Code:
 Fleets Div 2 Max Amount of Ships                                             := 60
Fleets Div 2 Max Amount of Planets := 0
Fleets Div 2 Num Fleets := 3


So, if 20<amount of ship<=60 AI will form 3 fleets per empire. Etc.

Last item usually looks like this:
Code:
 Fleets Div X Max Amount of Ships                                             := 100000
Fleets Div X Max Amount of Planets := 0
Fleets Div X Num Fleets := 10


Maximum amount of fleets for your AI will be 10, because total amount of ships will be always below 100000.

You can make make fleet amount dependant of total number of planets in your empire with Fleets Div N Max Amount of Planets := xyz, but then you can't refer to amount of ships item (must use Fleets Div X Max Amount of Ships := 0)

Quote:
Fleets Percentage of Ships For Fleets - 100%, to take advantage of fleet training.

Fleets Dont Use For Num Turns - 0, so that the AI puts ships into fleets right away.
AI doesn't care about training.

Oh, and colonizers have nothing to do with fleets, they don't join them.
Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

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:13 PM.


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