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

This Month's Specials

BCT Commander- Save $6.00
World Supremacy- Save $10.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old June 12th, 2003, 08:18 PM
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:
This appears conflicting, if you Modified the se4 Default setting of = False to true...
Will the AI player (1) actually? ~ “ once the first ship enters that square and does not blow up then it will most definitely clear the minefield marker and move on to the next one.”

It may be recommended with base se4, that you set Mine Sweeper availability to be a high priority tech to Research, if you wish your AI to expand?
Well, by definition in creating a AI, I am modifying the AI files of a race. So all changes to the AI files of that race are fair game. "Ships don't move through minefields" is in xyz_AI_Settings.txt so I can change it to whatever I want. But I am not changing the data files, thus in essence the goal in a competitive AI for the unmodded game. This is similar to the goals of the TDM Modpack for instance, only on the scale of only one race for me right now.

Now their is a trade-off to both settings of ships don't move through minefields. If it is true, then only "Mine Sweeper" Design types will move into marked minefields. Predictable and since they travel alone, they could be prey to an intelligent human opponent. If it is false, then the behaivor is less predictable but the AI acts as though it doesn't know about the minefield. So it sends innocent ships without minesweepers to their demise.

So to answer you question explicitly, the AI will move a "Mine Sweeper" design type into the mine field even when set to true. At that point if at least one ship survives, my experience so far is that it will clear the marked minefield. It may be smart and clear these marked minefield when making a treaty, but I wouldn't bet on it.

Yes, ship construction, an early weapon, point defense, and then mine sweepers are early research priorities for the AI IMHO.
Reply With Quote
  #2  
Old June 12th, 2003, 08:29 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: My AI Design Q&A

Quote:
It may be smart and clear these marked minefield when making a treaty, but I wouldn't bet on it.
Even if it dosen't, as soon as a ship enters that sector and dosen't die, the field marker gets cleared.
Reply With Quote
  #3  
Old June 12th, 2003, 09:26 PM
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 Suicide Junkie:
Even if it dosen't, as soon as a ship enters that sector and dosen't die, the field marker gets cleared.
Thanks SJ, that is what I was trying to say the sentence before that.

Any thoughts on questions 1-7) from the P&N Master?
Reply With Quote
  #4  
Old June 12th, 2003, 11: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

Quote:
Originally posted by JLS:
(1) Why would you want the AI to invest the Resources for a cloaking BSY, as opposed to a shield and PD?
~~~
Quote:
Originally posted by Master Belisarius:
Good question. My oppinon is that the Armor Cloak is good because give the bonus and a little protection while cloaked. Anwyay, a lone space shipyard usually is dead meat...
Great tip, MB. I am going to use Armor Cloak more for my AI Designs


[ June 12, 2003, 22:26: 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
  #5  
Old June 13th, 2003, 12:21 AM
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:
More questions:
6) As a human player I can design a ship with a small transport hull that has 5 mine layer components. Since their secondary ability is cargo storage and 150/300 >= 50% then this is a valid design. Is there a way to have the AI design this ship, or is a transport hull forced to have eight cargo storage components for the AI no matter what?
The AI select the hull, in basis of the ship design. For example, you will see that my AIs never use the "Transport" hull.

Quote:
Originally posted by cybersol:

7) Does anyone know how to fix the fact that the AI retrofits ships and then leaves when they are only half done repairing?
Nope. Think the only way is to include repair ships in the fleets...
Reply With Quote
  #6  
Old June 13th, 2003, 07:45 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 Master Belisarius:
I think the AI always check the 1-11 every turn. My guess is that the AI always start from the number 1 in the queue and check if need to build the item or not. One after other.
For this, if the queue is very large, the AI have problems to reach the Lastest items in the queue... because always is building trying to replace the loses in the first places of the queue.
Well, I finished testing this and you (as usual) are correct. It seems to start at the top of the queue for that ai state every turn looking for something to build. If the requirements are satisfied then it moves down to the next item. So redundant lines really will not help. Now I have to revisit all my queues.

Quote:
Originally posted by Master Belisarius:
The AI select the hull, in basis of the ship design. For example, you will see that my AIs never use the "Transport" hull.
Yeah, selecting the small transport hull is easy (via majority component). But getting it to use 5 mine layers as the required components instead of 8 cargo storage seems impossible. Bummer.
Reply With Quote
  #7  
Old June 13th, 2003, 08:20 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

Thanks, guys for answering my questions.

Summary of what I have learned from the questions so far:
1) If you use a cloak on ship space yards, don't expect any production. But this might be a good thing.
2,3,4,6,7) These are all slight imperfections in how the AI works, you can't do anything about them except live with them.
5) I was just plain wrong. The construction_vehicles file reads from top to bottom inside the current state everytime it wants to construct something.

New Question:
8) Most ships seems to understand when they are running out of supply EXCEPT colony ships. Those are really important ships not to stop off and resupply before travelling across the entire quadrant. Is there any trick (before solar collectors make it unecessary) to get them to stop and resupply at a forward system and then go off and colonize. (I'll probably have to live with this one too, unfortunately).
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:35 AM.


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