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

This Month's Specials

Air Command 3.0- Save $12.00
War Plan Pacific- Save $7.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old June 20th, 2003, 04:25 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: My AI Design Q&A

I also have used a few of your Posts to redo a few changes in AIC...

EDIT:
If I came off a little scruffy, I had the flue most of Last week

Thanks for this thread, Cybersol

[ June 21, 2003, 23:36: 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
  #2  
Old June 20th, 2003, 05:53 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: My AI Design Q&A

Quote:
ALL quotes: Originally posted by cybersol:

You start out in exploration (assuming you are connected).


(Yes) In the very first turn of the game. If the AI Starting HS is void of a warp point and unable to Explore and not a Ancient Race, the AI will Change to the Not Connected State.

~
Quote:
Then encounter another empire. If they are far away, not a threat then you most likely go into infrastucture?

(No) The AI will remain in the Exploration State, if there are more Systems nearby still unexplored

~
Quote:
If the are close by and maybe a threat then defend (short term)?


There is not a (maybe a threat), for the AI.
Threat would be constituted, if the other Player was not in an (Right Of Passage) Agreement, that Player would be considered the (Enemy) for the sake of this discussion.

(Yes) There is an Enemy ship in your AIs Claimed territory… Your AI may Change to Defend Short Term State.

(No) If there is an Enemy Near but not in the Claimed Territory, then your AI may go into Infrastructure State
~
Quote:
What other state transitions are possible starting in the exploration state?


Again, there are many possible Scenarios that can occur.

However, along with the AI Exploration State change in the Scenarios posted above. I would say the most Common would be if:

Your AI had an agreement with another Player and Your AI no longer had Systems, reasonably close to Explore, your AI would go into the Infrastructure State.

Definitions.

AI Exploration Strategic State:
This is where the AI; will explore new worlds and seek out new life, and boldly go where no other, AI has gone before.

On the serious side, your AI is expected to colonize more in this AI Exploration State and the Secure Holdings State then any other State.
However, it is recommended the Designers; AI Colonizer Production, stay within the Parameters of the MOD he, or she is designing for.
The finished product, in my opinion. Would be measured not how your AI competes against another AI, but how that AI deals and interacts with a Human Player
-
AI Infrastructure Strategic State:
This is where the AI, will build up its Infrastructure, to setup Passive defenses and to Start long term Projects. Example: Non-Offensive Stellar Manipulation devises and other Vehicles that would require a long and extensive build process.
-
AI Defend Short Term Strategic State:
This would be the first stage for the AI Player, to boot the other Enemy player out of his territory and for that AI to analyze its current Status for that current Situation.
-
AI Not Connected Strategic State:
This AI Player has colonized all of its available systems, and this AI player is currently disconnected from other systems in the Quadrant.
The basic goal for the AI here is to Research Techs that will Colonize new Planet types, open news Warps, Create new Planets and to stay competitive with its own Ship Designs, so when the Warp is opened; this AI has not opened Pandora’s Box

[ June 24, 2003, 04:52: Message edited by: JLS ]
__________________
&gt;~~~~~~AI CAMPAIGN -NEW-v4.191a AIC ~~~~~~&lt;

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
  #3  
Old June 22nd, 2003, 12:28 AM

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: My AI Design Q&A

Quote:
Originally posted by JLS:
Regarding mine sweepers and cloasks).I don't see why not. I need and will test this, for both of us, I use this for 2 or 3 AI designs.
Quote:
Originally posted by cybersol:
Scout and Colony ships with mine sweeping and cloak died horribly without sweeping any of the mines. Mine sweepers will de-cloak for a previously marked mine field, but then they will cloak and move forward and happily die without sweeping any mines on the next warp point that has not been marked. So it sort of works for mine sweepers, but not at all for the rest.

Cybersol, thanks for the tip.
I was able to change a few things around in a few of the AIC designs in this Last Version

Again, thanks

[ June 21, 2003, 23:30: Message edited by: JLS ]
__________________
&gt;~~~~~~AI CAMPAIGN -NEW-v4.191a AIC ~~~~~~&lt;

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
  #4  
Old June 22nd, 2003, 05:55 AM
cybersol's Avatar

cybersol cybersol is offline
Corporal
 
Join Date: May 2003
Location: SF Bay Area, CA
Posts: 145
Thanks: 0
Thanked 0 Times in 0 Posts
cybersol is on a distinguished road
Default Re: My AI Design Q&A

Quote:
Originally posted by JLS:
Cybersol, thanks for the tip.
I was able to change a few things around in a few of the AIC designs in this Last Version

Again, thanks
I'm glad you found something I wrote useful, because you have been much more helpful to me in my AI design efforts.

Quote:
Originally posted by cybersol:
What other state transitions are possible starting in the exploration state?
quote:
Reply posted by JLS:
Again, there are many possible Scenarios that can occur.

However, along with the AI Exploration State change in the Scenarios posted above. I would say the most Common would be if:

Your AI had an agreement with another Player and Your AI no longer had Systems, reasonably close to Explore, your AI would go into the Infrastructure State.

How would the AI go from Exploration to Prepare for Attack? Or to Incursion?

When is Prepare for Defense used?

How long do Prepare for Attack and Prepare for Defense typically Last?
Reply With Quote
  #5  
Old June 22nd, 2003, 04:11 PM
Master Belisarius's Avatar

Master Belisarius Master Belisarius is offline
Colonel
 
Join Date: Jul 2000
Location: Montevideo Uruguay
Posts: 1,598
Thanks: 0
Thanked 0 Times in 0 Posts
Master Belisarius is on a distinguished road
Default Re: My AI Design Q&A

Quote:
Originally posted by cybersol:
How would the AI go from Exploration to Prepare for Attack? Or to Incursion?
When is Prepare for Defense used?
How long do Prepare for Attack and Prepare for Defense typically Last?
Good questions... and I have only a few answers.

Defend Short Term: The most important thing, is know that 95% of the time during the game, the AI is under the "Defend (Short Term)"...
IF the AI see a enemy ship into a system where the AI have a single planet, then the AI will change to "Defend (Short Term)".

Exploration: the AI always start into the Exploration state until the first contact. The AI could move again to the Exploration state, after some time without see ships/planets of another race.

Infraestructure: can remember that Aaron said that the AI move to Infraestructure state, after a long time without change the current state.

When Gold was near to be released, some beta testers had a chat into a Shrapnel forum with Aaron (I was unable to be Online when this happened ). Can remember that Aaron did a post explaining how the AI change the state, but now this forum was erased.

Anyway IMHO, because the AI most the time will be into the Defense Short Term (and exploration in the early game), the modder should consider the these states as the most importants.
Reply With Quote
  #6  
Old June 22nd, 2003, 06:37 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: My AI Design Q&A

Quote:
Originally posted by cybersol:

How would the AI go from Exploration to Prepare for Attack? Or to Incursion?
Assuming no changes from se4 Version 1.78
============================

On average the most AI State Changes, from the Exploration State is to:
1: Defend Short Term State
2: Infrastructure State
3: Not Connected State

Ok, from the first Exploration State; your AI just went into Infrastructure State, as we have previously discussed, by either (A)or(B)

A: Your AI had an agreement with another Player and Your AI no longer had Systems, reasonably close to Explore, your AI would go into the Infrastructure State.

If (A) was the only Variable, the AI or AI’s will live happily ever-after. Remain in Infrastructure and (may) Consider Not Connected State, at some point.

However, ALL: AI Settings Files, Anger Files, Politics Files and Accept Treaties; WILL always be in play. It is probable at some point, that/those AI may not like; living happily ever-after forever, and break the (Existing Treaty with the other Original Player)

===

B: If there is an Enemy Near but not in the Claimed Territory, then your AI may go into Infrastructure State

If (B) is the only variable to consider, and other Player had no agreement, then from the Infrastructure State.

If the Enemy Players System are Nearby, the AI may Consider the Prepare Attack State then to consider the actual * Attack State.
(This is why continuing a new game, when you start next to Psychos, like the XiChung; is not usually a winnable choice, in any se4 Game)
-
The AI may just consider the Incursion State early with a quick Muster, if that AI considers the enemies systems, is not well defended.
---
(C):The AI (may) Consider a Prepare for Defense State.
If the (adjacent system vs. Home/System) Ship strength numbers are not even near favorable
====
((D)): If your AI, IS IN any State mentioned above, and ANY ENEMY Player has entered your territory, then your AI WILL Change to Defend Short Term State for a few turns :

Your AI will now; analyze its current Situation, IF-THEN :

IF enemy is still in its territory after a few turns go by, it will remain in the Defend Short Term State * that may continue to * Prepare for Defense State, and in the end; to Defend (Long Term) State.
-----
Until:
(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

(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 and start the above process, from the Scenario you presented; all over again.

========================================

* ~Tip~ * (IMO) To maintain the continuity and the transition to the next AI State; designers may want to stay with the default format intact for both:

AI State := Prepare for Defense, Defend (Short Term), Defend (Long Term)

(AND)

AI State := Prepare for Attack, Attack

---
Also (IMO FWIW):
Absolutely, a deviation from the from the above Format, may yield some FUNKY results, but this may also, lead to a distortion of the intended MODs, logical and total Combat (or Design TYPE) Ship totals.
It may also lead, to the dreaded Defend (Long Term) or just to stay stuck in Defend (Short Term); and/or resulting in no logic.
===========================================

Definitions and Actions:

AI Defend Short Term Strategic State:
This would be the first stage for the AI Player, to boot the other Enemy player out of his territory and for that AI to analyze its current Status for that current Situation
(Continues for about 5 turns. Then this AI will make a decisive decision; for the next State Change)
As outlined in ((D)),(E), and (F).
-

AI Prepare to Attack State:
AI considers a nearby enemy system is weak and could be conquered. Your AI will now prepare a Fleet/Fleets and get ready to attack that system.

AI Attack State:
Your AI will now consider this to be a valid and doable Attack, if so, then the AI will attack that Enemy System and attempt to conquer it.

In both the above, Prepare for Attack, Attack States, your AI has some save guards, so your AI may revert to various other states, however, the State you DO want to see, as the next change, is the:

Secure Holdings State
Your AI’s attack has been completed and it was VICTORIOUS.

Your AI will send in ships to secure the system (a few pre-built defense ships will do well here, if any planets were captured +Happy , and your AI will now want to colonize any empty planets…
This is were your next best Colony Expansion Policy, should reap, the next best and safest rewards

When in the Secure Holdings State and that newly conquered System is now totally secured; your AI will revert back to ~(B) Infrastructure State...
And your AI, may start the process all over again, begining from ~(B) Infrastructure State

Also note: If any Enemy enters any Territory, also from the Secure Holdings State.
Your AI will revert, briefly; to the ((D)) AI Defend Short Term Strategic State:
To re-evaluate
===
END
===
After over 6 hours, with this post. I think, I thought; every thing, trough
=
==
=
Any questions, please don’t hesitate to ask.

[ June 24, 2003, 02:07: Message edited by: JLS ]
__________________
&gt;~~~~~~AI CAMPAIGN -NEW-v4.191a AIC ~~~~~~&lt;

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
  #7  
Old June 22nd, 2003, 09:18 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: My AI Design Q&A

Quote:
Originally posted by Master Belisarius:

Defend Short Term: The most important thing
Absolutely MB, I agree.
This is by far the most Critical of all the States to set up.

Actually the entire Prepare for Defense, Defend (Short Term) upto the Defend (Long Term) AI State falls under this need, for that AI; to do its best to oust the intruder; ASAP. (*See Note)

If it is unable, this AI has, in essence; resigned, to defend it-self with a costly, Defend (Long Term) State
=
==
=
(*Note):
Without this AI designer, distorting and/or undermining the se4 or MODS, LOGICAL total Combat(or Design TYPE) Ship PPI and MHAL Parameters.

[ June 22, 2003, 23:27: Message edited by: JLS ]
__________________
&gt;~~~~~~AI CAMPAIGN -NEW-v4.191a AIC ~~~~~~&lt;

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
Reply

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 06:54 AM.


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