
June 25th, 2003, 10:08 PM
|
 |
Corporal
|
|
Join Date: May 2003
Location: SF Bay Area, CA
Posts: 145
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: My AI Design Q&A
Quote:
Originally posted by JLS:
However, what you are not excepting, Cybersol, too be true; is that your AI will NEVER return to the Prepare for Attack State, from the Defend (Short Term) State.
|
I re-read your previous post, which has been edited since I read it Last. You are saying it will most likely transition through an Infrastructure state before it can get back to the prepare for attack state?
Quote:
Originally posted by JLS:
Respect to your hypothetical situation:
So if the AI will NOT return to Prepare for Attack State from the Defend (Short Term)" state, how can your AI start off, were it left off?
|
Assume all intervening queues were dummy queues with a call for one attack ship. Since the prepare for attack already build a lot of these attack ships, no new ones will be built.
The point of the example, flawed as it was, is that the AI will never rebuild anything it already has, so you do not have to worry about multiple passes close in time through the same queue of items.
Quote:
Originally posted by JLS:
Regards to any other theoretical, AI State Change: Also, please, refer to se4 Rules; regarding, were the AI will start the construction queue.
How is it interpreted, by you Cybersol, that:
“ Thus the first "ship" it will add to a construction queue is exactly the one it would have added if it had never switched '' state. ”
|
Originally in the queue lets say it was just about to add the first ship from entry 15 to a build queue, but it never did add that ship because it just added the Last one from entry 14 when it left the Prepare for Attack state. In the example no ships were built or destroyed while in the other AI states, and no planets were colonized. When it looks at entry 1 when it returns to the "Prepare for Attack" state, it will see that PPI and MHAL are already satisfied because those ships or whatever the entry calls for have already in existence. Thus it will move on to entry 2 without adding anything to a build queue, and so on until entry 14. The Last time at entry 14, we had just added the Last ship that satisfied the PPI and MHAL criteria, so this time it will move on past entry 14 (it may still be building a few of these ships from Last time if they took a long time to build, but that counts as existence to the AI). Thus, the first ship it will ADD to a construction queue is the first one in entry 15. Right where it left off.
Quote:
Originally posted by JLS:
As you recall, this is to say if you have a PPI on any of your ITEMS types, you gave in your format group of: Prepare for Attack, Attack, Incursion
And now knowing that the AI does enter the Incursion frequently, then, yes, your ships will multiply, PER the PPI every time you enter the Incursion state as I pointed out in THAT post, this will include every Item you have in your Prepare for Attack, Attack, Incursion
|
Again, I think multiply not the ideal description of how the queues work. Every time it enters the Incursion state it will start at the top and try to build forces, but the nth time through it will have most of the forces from the nth-1 time, so it will only build the ones it needs. How does that result in ship multiplication?
|