
June 25th, 2003, 02:24 AM
|
Lieutenant Colonel
|
|
Join Date: Feb 2003
Location: RI. USA
Posts: 1,470
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: My AI Design Q&A
Quote:
Originally posted by cybersol:
So let us say my AI has plenty of resource reserves and is half way through building everything in the "Prepare for Attack" queue.
Then it switches to another state, say "Defend (Short Term)" to repel a small enemy fleet from its territory.
Lets say theoretically that it manages to do this without taking any loses, without building any ships, and without colonizing any planets.
|
Cybersol,
From the Variables you described above:
Your build queues will continue the construction process to complete, all Items, which are already under construction from your previous, Prepare for Attack State. (IIRC) Any Items, other then top in processed Item, will be cleared from the queues.
-
Please remember, your AI now had a change State; to Defend Short Term, basically for (5 Turns)
Now, with this new State Change, the AI will fill all available build queues, Starting at the top of the AI State: = Defend Short Term List (Irregardless of the format: i.e. Combined with any other AI State or not. Subject to AI State rules.
It is recommended, that units be placed at the top of this Defend Short Term, because the AI Switches in an out of this State frequently. This way, thru out the game your Home World will be assured of a fresh supply.
Any available BSYs or Yard Facilities will continue on with the Defend (Short Term) list, of course the BSY will only receive, Ship or Base requests.
This reminds me. Cybersol, about how many BSYs do you expect at about turn 55?
Defend Short Term:
Entry 1 Type: Weapon Platform (Highly suggested, to insure steady and continues builds of fresh designs for your se4 AI’s Home World.
2: Satellites and or Fighters
Attack Ships
Defense Ships (Optional)
Etc
Please note: From the Defend (Short Term) With no enemy in your Territory, the AI will only change to Infrastructure State or the Exploration as out lined below.
(E) Enemy is NOT IN that AI’s territory and there are NO Systems to Explore; then your AI may revert to the ~(B) Infrastructure State
FROM (E)to(B)THEN and IF , Enough time since the Last Attack has passed from your AI Settings File (XiChung @ Turns to Wait until next attack := 6) then your AI WILL consider from (B) Infrastructure State again, for an Attack or an Incursion
Or
(F) However, from Defend Short Term, if no enemy is in that AI territory, or nearby and there are Systems to Explore still; then your AI may revert all the way back to the Exploration State.
Quote:
When it switches back to "Prepare for Attack", the first ship added to construction queues will be from what location in the "Prepare for Attack" queue? Will it be the first entry at the top, the Last entry at the bottom, or would it be the exact entry it would have produced next if it had never been interrupted by the "Defend (Short Term)" state?
|
Your build queues will continue the construction process to complete, all Items, which are already under construction from your previous, Defend (Short Term). (IIRC) Any Items, other then top in processed Item, will be cleared from the queues.
=
When the AI; picks a selection based on the AI State, the first item in the queue is selected, and evaluated , the AI will fill all available build queues.
=
Reference:
AI CONSTRUCTION VEHICLES DATA FILE
Rules:
1. The game picks a selection based on the AI State. There cannot be duplicate
AI states.
2. Item will be placed at whichever spaceyard is available and can get it done the fastest.
3. First item in the queue is selected, and evaluated. We construct if:
Please refer to file for formula. If I post data, a HTML error here will, exist
4. If the Build at Least value is greater than 0, we check if the Planet Per Item condition
is still true. If it is, then we purchase another one, if not, we move to the next
queue item. If we do purchase another one, we continue in this loop until the
condition is false, or we have purchased the number in Build At Least.
5. When the Last item is reached, it restarts at the beginning.
[ June 25, 2003, 02:07: Message edited by: JLS ]
|