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

This Month's Specials

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

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old November 21st, 2001, 07:47 PM

Jourin Jourin is offline
Corporal
 
Join Date: Dec 2000
Location: Sherman, TX, USA
Posts: 122
Thanks: 0
Thanked 0 Times in 0 Posts
Jourin is on a distinguished road
Default Better AI Idea - modders please read

Recent game I was attacked by the XiChung. I was defending warp point with only mines, but had 100+ on the warp point (If you have 99 and then lay the mines from 1 ship it is possible to get more than 100 mines in a sector). AI sent in 2 mine sweepers and then 40 ships, all were killed. I re-seeded the mine field and the AI kept sending in more ships but no more mine sweepers. I finally got bored and quite the game as it was too easy.

Looked at AI files and AI only had to build 2 mine sweepers where they need a minimum of 6 to 10 (assume mine level 2, LT CR hull {400} and following design file would put 5 to 6 mine sweepers on ship or each mine sweeper could sweep 10 to 12 mines. At mine 3 it would be 15 to 18 mines - to sweep a 100+ mine field requires 6 to 10 mine sweepers). Additionally it will build ships before mine sweepers so it kept on building ships and sending them into the minefield and never got a chance to build more mine sweepers.

Recommend:

1. Change in 'Prepare to Attack' phase the required minesweepers to 10, better more then not enough.

2. To simulate how humans will replenish losses to sustain an attack separate the 'Prepare to Attack' and 'Attack' phases into two queues. Keep 'Prepare to Attack' the same (except for adding more mine sweepers). For the new 'Attack' phase use to replenish losses. Keep it short so it cycles through. Include mine sweepers, troop transports, troops, fighters, ships (carriers, Kamikaze, space yard ships). That is 9 maybe 10 items in the queue. Having the AI build defensive bases and population transports during the attack might waste effort that would be better used to sustain the attack. Preparing to attack, attack, and securing holdings after attack are different phases and having the AI build the same for all these phases hurts the AI because a human would not do that.

3. Add a separate Defend (Long Term). My understanding is that this phase is when the AI is on the strategic defense (loosing) and not a tactical defensive pause which is Defend (Short Term). Keep the current queue for 'Prepare for Defense, Defend (Short Term)' the same. Again keep the new 'Defend (Long Term)' queue short to quickly replenish critical elements, like mines and at least two mine layers (top of the queue). Include satellites, 1 satellite layer, defensive bases, weapons platforms, troops to keep the people happy (and also for some defense), and then ships. When an AI dies it dies quickly because it doesn't build the best things for a cheap defense.

4. I understand the logic in all the queues, but I think in two critical areas, the attack phase and the defend (Long term phase) greater granularity would make a better AI. Think what you build when you are on the attack. (For me it is mine sweepers if I loose any, fighters, troops, and then ships). What do you build when you are on the strategic defense, mines, mine layer, more mines, fighters, satellites, maybe a satellite layer to seed the mine field with satellites, defensive bases, weapons platforms, more space yards, and then ships. Ships are good for a mobile defense or for rebuilding during a tactical defense, but mines and fighters are cheaper and defensive bases provide more fire power per cost then ships. I never build colonizing ships or population transports or troop transports.

The current Infrastructure and Exploration make perfect sense, but maybe separating the following phases into custom designed and smaller queues would help the AI a lot. Just my thoughts. I will experiment in a game this weekend to see if these changes make a difference. But something all the AI mod makers should consider.
Reply With Quote
  #2  
Old November 21st, 2001, 08:14 PM

tesco samoa tesco samoa is offline
General
 
Join Date: Jul 2001
Location: Canada
Posts: 4,603
Thanks: 0
Thanked 0 Times in 0 Posts
tesco samoa is on a distinguished road
Default Re: Better AI Idea - modders please read

I have done the adjustment in 2 PBEM games with computer players.
following is the adjustments

Not Connected 2 ships entry level(el) 5
Prepare for Defense, Defend (Short Term), Defend (Long Term)
3 ships Entry level 15
Secure Holdings After Attack, Incursion
6 ships el 8
Prepare for Attack, Attack
12 ships el 4
Infrastructure
8 ships el 6
Exploration
8 ships el 6

And I decreased the
Planet Per Item from 30 to 20.

The Ai Has no problems with mines. And AI fleets at the mid point of the game will have a minimum of 3 to 5 minesweepers.

Sometimes just decreasing the planet per item will clean up that problem with the minesweeping but.....


OverKill is prefered.



------------------
Utinam logica falsa tuam philosophiam totam suffodiant!
__________________
RRRRRRRRRRAAAAAGGGGGGGGGHHHHH
old avatar = http://www.shrapnelgames.com/cgi-bin...1051567998.jpg

Hey GUTB where did you go...???

He is still driving his mighty armada at 3 miles per month along the interstellar highway bypass and will be arriving shortly
Reply With Quote
  #3  
Old November 21st, 2001, 08:33 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: Better AI Idea - modders please read

Honestly I dislike the idea to require at least 10 minesweepers to the AI. Why?
Because the AI doesn't know how to use the minesweepers: the AI doesn't know that need to group them and include them into the attacking fleets...
Then, IMHO, 10 minesweepers should be a waste of resources (depend of the stage of the game).

I think that the best option (not the perfect option), is to include at least one mine-sweeper component, inside the attack ships.
Reply With Quote
  #4  
Old November 21st, 2001, 08:57 PM

vreln vreln is offline
Private
 
Join Date: Nov 2001
Location: Los Angeles
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
vreln is on a distinguished road
Default Re: Better AI Idea - modders please read

quote:
Originally posted by Master Belisarius:
Honestly I dislike the idea to require at least 10 minesweepers to the AI. Why?
Because the AI doesn't know how to use the minesweepers: the AI doesn't know that need to group them and include them into the attacking fleets...
Then, IMHO, 10 minesweepers should be a waste of resources (depend of the stage of the game).

I think that the best option (not the perfect option), is to include at least one mine-sweeper component, inside the attack ships.



But this runs into the "Swiss Army Starship" problem -- if you build specialized components into your warships, they have less punch in battle. Having a bunch of specialized types gives you greater operational flexibility. Though for some reason it always seems like the specialist I need in a big hurry right *here* is invariably way over *there*...


------------------
Not *that* button!
__________________
Not *that* button!
Reply With Quote
  #5  
Old November 21st, 2001, 09:30 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: Better AI Idea - modders please read

Vrlen: I can see your view. For this, still my AI races have minesweepers... But you will see that the more sucesfull AIs, have minesweepers included into their attack ships also.

Jourin: I like your idea to separate the queues. But I can see a problem: we never know in what state is the AI (well, except in the starting game, when occur the Exploration phase). And also, we never know how many time the AI will be in the same phase, and we're unable to change the AI phase (hard coded).

I had the same idea than you, when I started my first attempts to do a decent AI: I did the Attack queue with a low number of items, and removed the Colony ships from this queue. Big mistake! The AI was a loooong time without build Colony ships... and then, died very fast.

After lots and lots of hours testing SE4 AI scripts, I prefer to use looong queues.
Reply With Quote
  #6  
Old November 21st, 2001, 10:59 PM

Jourin Jourin is offline
Corporal
 
Join Date: Dec 2000
Location: Sherman, TX, USA
Posts: 122
Thanks: 0
Thanked 0 Times in 0 Posts
Jourin is on a distinguished road
Default Re: Better AI Idea - modders please read

Master Belisarius,

Thanks for the feedback on the states. Does anyone know the rules why an AI would go into each state? Maybe we could ask MM to publish the rules.

Since the Last patch I have seen the AI group mine sweepers, so maybe that problem is fixed. On too many mine sweepers wasting resources. Maybe 10 is too much, but 6 is the minimum. I would rather build the extra minesweepers once then build over a 100+ ships and constantly feed them into the meat grinder of a mine field. Adding mine sweeper components helps clear the minefield, but that is one less weapon, shield, or armor to help in the battle when it counts. The XiChung sent in the minesweepers first, they just didn't send in enough. If they had 8 less ships and 8 more mine sweepers (They were at mine 2 level), I would have been in trouble. 32 (orignial 40 - 8 for extra mine sweepers) ships would have broken into a system that was defended by nothing. But what happened is that my minefield, constantly being re-seeded killed over a 100+ ships. Yes they finally broke through with 16 heavily damaged crusiers to be met and destroyed by 9 destroyers. Those 9 destroyers + 6 minesweepers, then conquered the next couple of systems. I emplaced another minefield and watched as the AI again killed itself. I then quite the game. I was playing high bonus for the AI.

If separate queues are not the answer, then move the minesweepers to the top of the queue and increase to 6.
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 09:34 AM.


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