.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
  #11  
Old November 28th, 2001, 09:18 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

This past weekend I ran a series of 5 test games with 10 AIs (I sometimes took control). I changed the minimum number of mine sweepers to 6 in all the AI scripts. Prior to an attack, the AI built 6 minesweepers and sent them in as a group. The six minesweepers cleared the 100 mines in usually in the first pass (depending on mine level - in one case the did not, but cleared the majority that the fleet, although depleted still made it through the minefield) and then sent in the 40 ship fleet. I could no longer depend on minefields for the AI to kill itself on. I recommend that all the modpack AI mod makers seriously consider upgrading the minimum number of minesweepers to 6. Conduct your own tests but please consider.

Other tests:
I added a separate queue for attack, but left the prepare to attack queue the same. Did not achieve the expected results. I could not find a clear distinction between attack and prepare to attack by the AI. Recommend keeping the current setup on one queue for both.

I added a separate queue for defend (long term), and in all but one case achieved the expected results. The AI consistently went into this state when it was loosing. I used this queue to have the AI build lots of mines, satellites, fighters, weapon platforms, bases, and then ships. The AI put up such a strong defense that it actually stopped me. Usually once I get the AI on the ropes, it folds, but it actually stopped me. The one case that it didn't work occurred when an Ork ship was transported by an event into Norak space and moved into the Norak home system. The Norak's went into the defend long term state for over 50 turns. Maybe since the Norak's could not attack because of no direct contact, the AI put them into the defend long term state, or maybe since the home system was "attacked", the AI went into the defend long term state. So I added a colonizer back into this queue but with a minimum of 1. The AI needs to build at least 1 colonizer so it doesn't kill itself like the Norak's by not expanding, but does not need to constantly waste resources by building colonizers that immediately get destroyed when actually in a real defensive situation. I replayed the Norak game and with the addition of the colonizer, the Norak's changed states and moved out of defend long term much sooner then 50 turns. So it played differently the second time around.

Recommend that the modpack AI makers seriously consider and test a separate queue for defend long term.

I also made a separate research queue for defend long term, so it would research defensive techs. Maybe could expand to include separate techs for infrastructure, etc. Might also help the AI.

Going to take a break from SEIV since it is the only game I have played for a year and try some Civ III, but since I still love SEIV I will be back.
Reply With Quote
  #12  
Old November 28th, 2001, 09:21 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

This past weekend I ran a series of 5 test games with 10 AIs (I sometimes took control). I changed the minimum number of mine sweepers to 6 in all the AI scripts. Prior to an attack, the AI built 6 minesweepers and sent them in as a group. The six minesweepers cleared the 100 mines in usually in the first pass (depending on mine level - in one case the did not, but cleared the majority that the fleet, although depleted still made it through the minefield) and then sent in the 40 ship fleet. I could no longer depend on minefields for the AI to kill itself on. I recommend that all the modpack AI mod makers seriously consider upgrading the minimum number of minesweepers to 6. Conduct your own tests but please consider.

Other tests:
I added a separate queue for attack, but left the prepare to attack queue the same. Did not achieve the expected results. I could not find a clear distinction between attack and prepare to attack by the AI. Recommend keeping the current setup on one queue for both.

I added a separate queue for defend (long term), and in all but one case achieved the expected results. The AI consistently went into this state when it was loosing. I used this queue to have the AI build lots of mines, satellites, fighters, weapon platforms, bases, and then ships. The AI put up such a strong defense that it actually stopped me. Usually once I get the AI on the ropes, it folds, but it actually stopped me. The one case that it didn't work occurred when an Ork ship was transported by an event into Norak space and moved into the Norak home system. The Norak's went into the defend long term state for over 50 turns. Maybe since the Norak's could not attack because of no direct contact, the AI put them into the defend long term state, or maybe since the home system was "attacked", the AI went into the defend long term state. So I added a colonizer back into this queue but with a minimum of 1. The AI needs to build at least 1 colonizer so it doesn't kill itself like the Norak's by not expanding, but does not need to constantly waste resources by building colonizers that immediately get destroyed when actually in a real defensive situation. I replayed the Norak game and with the addition of the colonizer, the Norak's changed states and moved out of defend long term much sooner then 50 turns. So it played differently the second time around.

Recommend that the modpack AI makers seriously consider and test a separate queue for defend long term.

I also made a separate research queue for defend long term, so it would research defensive techs. Maybe could expand to include separate techs for infrastructure, etc. Might also help the AI.

Going to take a break from SEIV since it is the only game I have played for a year and try some Civ III, but since I still love SEIV I will be back.
Reply With Quote
  #13  
Old November 28th, 2001, 10:21 PM
Puke's Avatar

Puke Puke is offline
Lieutenant General
 
Join Date: Dec 2000
Location: california
Posts: 2,961
Thanks: 0
Thanked 0 Times in 0 Posts
Puke is on a distinguished road
Default Re: Better AI Idea - modders please read

Jourin, thats is an awesome development! depending on the design of minesweeper, you can probably get away with less than 6. BCs with MS4s should probably do fine with about 3, so that might be hard to balance between the early and midgame.

I really like the long term defense idea. can you post an example of the edited files for us to check out?

Thanks!
__________________
...the green, sticky spawn of the stars
(with apologies to H.P.L.)
Reply With Quote
  #14  
Old November 28th, 2001, 10:28 PM
DirectorTsaarx's Avatar

DirectorTsaarx DirectorTsaarx is offline
Major
 
Join Date: Dec 2000
Location: Northern Virginia, USA
Posts: 1,048
Thanks: 0
Thanked 0 Times in 0 Posts
DirectorTsaarx is on a distinguished road
Default Re: Better AI Idea - modders please read

I agree with Puke: nice work Jourin.

If we can make the AI do human-like things in the different states (like researching and building defensive items when defending), we'll be closer to making a challenging AI.

I think some of the other modders have determined that the AI always needs at least one colonizer in the build queue for each state, otherwise the AI will stagnate and eventually lose.
__________________
L++ Se+++ GdY $++ Fr C+++ Csc Sf Ai AuO M+ MpTM S Ss RRSHP+ Pw- Fq->Fq+ Nd+++ Rp G++ Mm++ Bb---
Reply With Quote
  #15  
Old November 28th, 2001, 11:09 PM
Tampa_Gamer's Avatar

Tampa_Gamer Tampa_Gamer is offline
Captain
 
Join Date: May 2000
Location: Tampa, FL USA
Posts: 862
Thanks: 0
Thanked 0 Times in 0 Posts
Tampa_Gamer is on a distinguished road
Default Re: Better AI Idea - modders please read

Nice job Jourin! I tried separating some of the queues a few Versions ago with my TDM races. I was having mixed results with some queues stopping altogether but I beleive this was as a result of a bug that has since been fixed sinced. I will try your suggestion this weekend. As for Civ3, I have played two games and am now waiting for the patch before my next game due to several bug frustrations (patch rumor mill has it coming out next week).
__________________
No bastard ever won a war by dying for his country. He won it by making the other poor dumb bastard die for his country.
-General George S. Patton
Reply With Quote
  #16  
Old November 29th, 2001, 01:08 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: Better AI Idea - modders please read

Good work Jourin!
I'll test something about it, if some day I can get a free time!
Reply With Quote
  #17  
Old November 29th, 2001, 02:49 AM

God Emperor God Emperor is offline
Second Lieutenant
 
Join Date: Dec 2000
Location: Australia
Posts: 464
Thanks: 0
Thanked 0 Times in 0 Posts
God Emperor is on a distinguished road
Default Re: Better AI Idea - modders please read

I agree with Master Belisarius. The AI cannot/doesnt make use of specialised components effectively so its best to design their ships as "Swiss Army Knives". All of my races Attack ships include at least one minesweeper component whilst Minesweeper ships include limited weapons.
If you play strategic combat, the Swiss Army Knife ships tend to perform better too...
Reply With Quote
  #18  
Old November 29th, 2001, 10:03 PM
DirectorTsaarx's Avatar

DirectorTsaarx DirectorTsaarx is offline
Major
 
Join Date: Dec 2000
Location: Northern Virginia, USA
Posts: 1,048
Thanks: 0
Thanked 0 Times in 0 Posts
DirectorTsaarx is on a distinguished road
Default Re: Better AI Idea - modders please read

quote:
Originally posted by Tampa_Gamer:
Nice job Jourin! I tried separating some of the queues a few Versions ago with my TDM races. I was having mixed results with some queues stopping altogether but I beleive this was as a result of a bug that has since been fixed sinced. I will try your suggestion this weekend.


I'm not certain those bugs are entirely gone; one of the races in my current single-player game appears to be having trouble with construction. I need to check on that... thanks for the reminder...

edit: it's one of the stock races that's having trouble, not a TDM race.

[ 29 November 2001: Message edited by: DirectorTsaarx ]

__________________
L++ Se+++ GdY $++ Fr C+++ Csc Sf Ai AuO M+ MpTM S Ss RRSHP+ Pw- Fq->Fq+ Nd+++ Rp G++ Mm++ Bb---
Reply With Quote
  #19  
Old November 30th, 2001, 07:06 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

Thanks,

My test environment was a custom map where I paired the AIs together. The AIs, I used where Earh Alliance (me/AI) - XiChung (AI/me), Orks - Norak, Jraenar - Colonials, Krill - Sergetti, Rage - Pryrochette.

Test #1: Increased minesweepers to 6 - Did not achieve expected results. AI would build ships and not build minesweepers.
Test #2: Increased minesweepers to 6 and moved them to the top of the queue. Achieved expected results.

In test 2, the AI would discover a minefield. The AI would then send the Ready Fleet into the minefield (and be destroyed). Then it would send in the Ready minesweepers (usually just 2) and clear some mines but then be destroyed. The AI would then build the 6 minesweepers and a new attack fleet. The AI would send in the minesweepers and then the attack fleet. Not perfect but better.

Test #3: Separated the Attack and Prepare to Attack into two separate queues. Did not achieve expected results.

Test #4: Made Defend (Long Term) into separate queue. Queue was short and I will post the actual text file later. Had the AI build mines, minelayers, satillites, satillite layer, fighters, bases, weapons platforms, and ships. Cheated in the game to set up the conditions of a very weak Earth Alliance (scrapped all the ships) and then attacked with the Xichung. Earth Alliance definitely used this queue and put up a very good defense that stopped my XiChung attack. Monitored other AIs and found previously mentioned problem with Noraks.

Test #5: Added a colonizer to the queue (but only 1), and retested Noraks. After building the colinizer, they left the defend (long term) phase. My concern that I didn't test, does the AI automatically leave defend (long term) after a colinizer is built. If so, then putting instructions into the queue to build a colinizer may defeat the purpose of a separate defend (long term) queue unless colinizer is at the end of the queue and you want to trigger a transition to another state. Conversly, having no colinizer in the queue could lead to AI growth stagnation as seen with the Noraks.

After my tests I just played a normal game for about 85 turns, but discovered my strategy of just using minefields for defense while I explore and build my economy/infrastructure didn't work anymore and I (gasp) was loosing to the AI, so I did what any good human would do. I quite the game and started playing Civ3.

PS. Played at High bonus, low tech, 1 planet start and separated each AI by five systems, so they would not meet until after colinizing the second system.

Thanks for everyone's interest.
Reply With Quote
  #20  
Old November 30th, 2001, 07:08 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

Thanks,

My test environment was a custom map where I paired the AIs together. The AIs, I used where Earh Alliance (me/AI) - XiChung (AI/me), Orks - Norak, Jraenar - Colonials, Krill - Sergetti, Rage - Pryrochette.

Test #1: Increased minesweepers to 6 - Did not achieve expected results. AI would build ships and not build minesweepers.
Test #2: Increased minesweepers to 6 and moved them to the top of the queue. Achieved expected results.

In test 2, the AI would discover a minefield. The AI would then send the Ready Fleet into the minefield (and be destroyed). Then it would send in the Ready minesweepers (usually just 2) and clear some mines but then be destroyed. The AI would then build the 6 minesweepers and a new attack fleet. The AI would send in the minesweepers and then the attack fleet. Not perfect but better.

Test #3: Separated the Attack and Prepare to Attack into two separate queues. Did not achieve expected results.

Test #4: Made Defend (Long Term) into separate queue. Queue was short and I will post the actual text file later. Had the AI build mines, minelayers, satillites, satillite layer, fighters, bases, weapons platforms, and ships. Cheated in the game to set up the conditions of a very weak Earth Alliance (scrapped all the ships) and then attacked with the Xichung. Earth Alliance definitely used this queue and put up a very good defense that stopped my XiChung attack. Monitored other AIs and found previously mentioned problem with Noraks.

Test #5: Added a colonizer to the queue (but only 1), and retested Noraks. After building the colinizer, they left the defend (long term) phase. My concern that I didn't test, does the AI automatically leave defend (long term) after a colinizer is built. If so, then putting instructions into the queue to build a colinizer may defeat the purpose of a separate defend (long term) queue unless colinizer is at the end of the queue and you want to trigger a transition to another state. Conversly, having no colinizer in the queue could lead to AI growth stagnation as seen with the Noraks.

After my tests I just played a normal game for about 85 turns, but discovered my strategy of just using minefields for defense while I explore and build my economy/infrastructure didn't work anymore and I (gasp) was loosing to the AI, so I did what any good human would do. I quite the game and started playing Civ3.

PS. Played at High bonus, low tech, 1 planet start and separated each AI by five systems, so they would not meet until after colinizing the second system.

Thanks for everyone's interest.
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:49 AM.


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