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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #19  
Old October 8th, 2003, 08:06 PM

JLS JLS is offline
Lieutenant Colonel
 
Join Date: Feb 2003
Location: RI. USA
Posts: 1,470
Thanks: 0
Thanked 0 Times in 0 Posts
JLS is on a distinguished road
Default Re: Question re AI Modding

Rollo, you are introducing an AI doctrine that you feel is best for the environments that you perceive, and your doctrines are solid; please do not misunderstand me. Your doctrine offers a great deal towards AI growth and probable economic options.

However, the AI is hard coded to change States when another non-treaty Empires Ship enters your AI's territory and that AI State is AI State := Defend (Short Term). If Defend (Short Term) is paired with another AI State so-be-it and is irrelevant, the AI will not change States again until there is no longer an enemy ship in its territory. In addition, the AI may decide to continue to the Defend (Long Term) State, which in actuality is nothing more then a continuation of the (Short Term state) build process with the default Vehicle Construction File.

So basically to say, with a Lay out of AI State := Defend (Short Term), Infrastructure; and the Enemy is not cleared from that AI’s Territory that as far as the Vehicle Construction file is concerned, the whole Category of the non-default {Defend (Short Term), Infrastructure} is in actuality the continuation of the now non-existent Defend (Long Term) State; that was once combined as above.

~

Also to say that the Hard Code will allow the AI to change from the Defend (Short Term) States, ONLY after the enemy is cleared, and excluding (Long Term); that this will yield only TWO strategy state options for that AI:

1: Explore State and only if there is NOT an Enemy controlled System nearby and there is in fact an unexplored System near.

2: Infrastructure State and only if the Enemy is still near but not actually in its Territory and there are no Un-explored Systems nearby.
= = = =

Quote:
exactly, and this is the whole reason behind it. Since it is very common that some enemy ship is nearby (be it some scout or even colony ship) I like the AI to just follow the 'main plan'.
You are asserting your “main plan” and it would be unwise and/or disrespectful for me to comment on all the Pros and any Cons of your doctrine.

Other then to say, as I posted above; in regards to some obvious strengths.
- - - -

Quote:
In regards to Defend (Long Term), I cannot recall seeing an AI in this state once. It is rare to say the least.
I will risk a response to this with disregard to the uncertainty of the location of your Defend (Long Term) AI State's placement in your Vehicle Construction file.

What I proposes is happening to your Defend (Long Term) and only as this applies to your Vehicle Construction file is that; what is probably happening, is that the Continuation from Short Term defend to Long Term Defend can not happen, and that this continuation for Long Term Defend is in your: Defend (Short Term)--> that will Continue to your combined---> Infrastructure State…
- - - -

Quote:
And (may not reset) to Entry 1 of the non-defaulted and combined Infrastructure State; after the AI has cleared the Enemy and is directed to resume the Infrastructure State. Because in that layout, it is already producing in that State
This is based on above:

“Also to say that the Hard Code will allow the AI to change states; ONLY after the enemy is cleared, and that this will yield only TWO strategy state options for that AI:"
2: Infrastructure State and only if the Enemy is still near but not actually in its Territory and there are no Un-explored Systems nearby.”


If your AI is already in the Infrastructure State as it is also paired with the Defend (Short Term). Now when it comes out of the Defend (Short Term) State it is already in the Infrastructure State

Hence as it is already producing in that Category it may not reset to Entry 1 of your: AI State := Defend (Short Term), Infrastructure; with in your Vehicle Construction file Category.



[ October 08, 2003, 19:35: Message edited by: JLS ]
__________________
>~~~~~~AI CAMPAIGN -NEW-v4.191a AIC ~~~~~~<

Optimized for[i] Solitaire Play!
With or without all Warp points, Finite resources, same starts and Simultaneous movement


~~~ CLICK ON &gt;&gt;&gt; (((&gt; <font color="green"> AI CAMPAIGN v4.191 </font> &lt)) &lt;&lt;&lt; To Get ~~~
Reply With Quote
 

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 03:52 PM.


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