.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

Reply
 
Thread Tools Display Modes
  #1  
Old March 15th, 2001, 05:38 PM
Alpha Kodiak's Avatar

Alpha Kodiak Alpha Kodiak is offline
Captain
 
Join Date: Jan 2001
Location: Chandler, AZ, USA
Posts: 921
Thanks: 0
Thanked 0 Times in 0 Posts
Alpha Kodiak is on a distinguished road
Default One reason for strange AI attack behavior

I was doing some testing on the AI for a new race I am working on (coming soon to a forum near you!) and I finally figured out why in the past I have seen large AI fleets show up to threaten me, only to have the fleet disappear and then I get attacked by one or two ships.

I watched my race put together a fleet of 18 ships to attack another AI it was at war with. They moved through a couple of systems, got to the target system, and were within a couple of sectors of a key planet. Then the resupply minister kicked in and decided that all those ships needed to go back to the nearest resupply point. The next turn, a single straggler showed up that had been sent from a closer system, and was now the loner in the target system.

The problem is that a human will realize that it is ok for the fleet to drop a little low on supplies, since a colonizer can be sent in to set up a resupply base after combat is over, but the AI doesn't think that far ahead. It doesn't want to strand its ships in enemy territory, so it pulls them out.

Can anyone think of a way to mod this behavior? I can't think of a way to tell the AI to ignore supply needs under certain circumstances.
__________________
My SEIV Code: L++++ GdY $ Fr+++ C-- S* T? Sf Tcp A%% M+++ MpT RV Pw+ Fq Nd- RP+ G++ Au+ Mm++(--)

Ursoids of the Galaxy, unite!
Reply With Quote
  #2  
Old March 15th, 2001, 05:46 PM

Emperor Zodd Emperor Zodd is offline
Sergeant
 
Join Date: Jan 2001
Location: Syracuse,NY USA
Posts: 320
Thanks: 0
Thanked 0 Times in 0 Posts
Emperor Zodd is on a distinguished road
Default Re: One reason for strange AI attack behavior

Suggest to Aaron to program the AI to fix this.
Reply With Quote
  #3  
Old March 15th, 2001, 06:45 PM
raynor's Avatar

raynor raynor is offline
Captain
 
Join Date: Jan 2001
Location: Texas
Posts: 830
Thanks: 0
Thanked 0 Times in 0 Posts
raynor is on a distinguished road
Default Re: One reason for strange AI attack behavior

Could you please run a test for me? Try placing an enemy ship in a warp point between your fleet heading back to resupply and the closest resupply depot. I'm curious if the Resupply Minister is smart enough to engage and destroy the enemy ship enroute to resupply? It seems possible that the Resupply Minister may try to avoid combat enroute to the Resupply Depot.
Reply With Quote
  #4  
Old March 15th, 2001, 07:50 PM

Baron Munchausen Baron Munchausen is offline
General
 
Join Date: Aug 2000
Location: Ohio, USA
Posts: 4,323
Thanks: 0
Thanked 0 Times in 0 Posts
Baron Munchausen is on a distinguished road
Default Re: One reason for strange AI attack behavior

Well, this makes an interesting problem. If you set the supply warning level higher for YOU, the human player, you get better warning that your ships are low on supply and are more able to avoid stranding ships. But then the AI gets confused and keeps recalling fleets before they can attack. If you set it low so the AI doesn't get schizoid you might lose track of your supply status and strand a ship or even a fleet beyond resupply range... Could we have seperate resupply warning levels for human and AI players?

[This message has been edited by Baron Munchausen (edited 15 March 2001).]
Reply With Quote
  #5  
Old March 16th, 2001, 12:34 AM
Alpha Kodiak's Avatar

Alpha Kodiak Alpha Kodiak is offline
Captain
 
Join Date: Jan 2001
Location: Chandler, AZ, USA
Posts: 921
Thanks: 0
Thanked 0 Times in 0 Posts
Alpha Kodiak is on a distinguished road
Default Re: One reason for strange AI attack behavior

quote:
Originally posted by raynor:
Could you please run a test for me? Try placing an enemy ship in a warp point between your fleet heading back to resupply and the closest resupply depot. I'm curious if the Resupply Minister is smart enough to engage and destroy the enemy ship enroute to resupply? It seems possible that the Resupply Minister may try to avoid combat enroute to the Resupply Depot.


If I can set up the circumstances properly, I will give it a shot. Finding a fleet that is returning for resupply and interposing a hostile ship may be tricky to set up. I will look for the opportunity, though.

__________________
My SEIV Code: L++++ GdY $ Fr+++ C-- S* T? Sf Tcp A%% M+++ MpT RV Pw+ Fq Nd- RP+ G++ Au+ Mm++(--)

Ursoids of the Galaxy, unite!
Reply With Quote
  #6  
Old March 16th, 2001, 12:40 AM
Alpha Kodiak's Avatar

Alpha Kodiak Alpha Kodiak is offline
Captain
 
Join Date: Jan 2001
Location: Chandler, AZ, USA
Posts: 921
Thanks: 0
Thanked 0 Times in 0 Posts
Alpha Kodiak is on a distinguished road
Default Re: One reason for strange AI attack behavior

quote:
Originally posted by Baron Munchausen:
Well, this makes an interesting problem. If you set the supply warning level higher for YOU, the human player, you get better warning that your ships are low on supply and are more able to avoid stranding ships. But then the AI gets confused and keeps recalling fleets before they can attack. If you set it low so the AI doesn't get schizoid you might lose track of your supply status and strand a ship or even a fleet beyond resupply range... Could we have seperate resupply warning levels for human and AI players?

[This message has been edited by Baron Munchausen (edited 15 March 2001).]




Even with seperate warning levels, you could run into problems with the AI because it might start stranding ships when it is not in a position to take over a system. Perhaps there needs to be a "Occupy System" command that would cause ships to not leave the system for resupply, and would cause a colonizer to be dispatched to a planet in the system after the enemy has been removed. Of course, there are probably all kinds of holes in that idea, as well.
__________________
My SEIV Code: L++++ GdY $ Fr+++ C-- S* T? Sf Tcp A%% M+++ MpT RV Pw+ Fq Nd- RP+ G++ Au+ Mm++(--)

Ursoids of the Galaxy, unite!
Reply With Quote
  #7  
Old March 16th, 2001, 01:08 AM
Dracus's Avatar

Dracus Dracus is offline
Captain
 
Join Date: Jan 2001
Location: Dallas, Texas
Posts: 817
Thanks: 0
Thanked 0 Times in 0 Posts
Dracus is on a distinguished road
Default Re: One reason for strange AI attack behavior

I have seen them pull back right before attacking my world's but I have also seen them park ships nose to nose with my ships to the point were they run out of supplies and then the ships seem to be stranded.
Reply With Quote
  #8  
Old March 16th, 2001, 01:45 AM

Marty Ward Marty Ward is offline
Second Lieutenant
 
Join Date: Jan 2001
Location: Eldersburg, Maryland, USA
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
Marty Ward is on a distinguished road
Default Re: One reason for strange AI attack behavior

Where do you adjust the supply level that the Minister look for?
Reply With Quote
  #9  
Old March 16th, 2001, 11:23 AM
Arralen's Avatar

Arralen Arralen is offline
Major General
 
Join Date: Nov 2000
Location: 500km from Ulm
Posts: 2,279
Thanks: 9
Thanked 18 Times in 12 Posts
Arralen is on a distinguished road
Default Re: One reason for strange AI attack behavior

quote:
I watched my race put together a fleet of 18 ships to attack another AI it was at war with. They moved through a couple of systems, got to the target system, and were within a couple of sectors of a key planet. Then the resupply minister kicked in and decided that all those ships needed to go back to the nearest resupply point.


I've seen this even with my own race (normal player race, not AI-takeover) .. I grouped some 4 Colony Ships with an Long-Range-Explorer (lots of panels for fuel), and send them out to an unoccupied system 5 or 6 "jumps" away .. they kept returning to my nearest res.point and never reached their destination.
Interesting about this is - I had "resupply minister" on, but none of these ships actually had it's minister control turned on.

Arralen
__________________
As for AI the most effective work around to this problem so far is to simply use an American instead, they tend to put up a bit more of a fight than your average Artificial Idiot.
... James McGuigan on rec.games.computer.stars somewhen back in 1998 ...
Reply With Quote
  #10  
Old March 16th, 2001, 11:30 AM

jc173 jc173 is offline
Sergeant
 
Join Date: Mar 2001
Posts: 249
Thanks: 0
Thanked 0 Times in 0 Posts
jc173 is on a distinguished road
Default Re: One reason for strange AI attack behavior

quote:
Originally posted by Arralen:

Interesting about this is - I had "resupply minister" on, but none of these ships actually had it's minister control turned on.
Arralen


Well according to the docs the resupply minister is a global one so you don't need to give the AI direct control of the vehicle for the resupply minister to issue orders. Seems that way in my experience too. I sent an attack fleet to hit a far away enemy planet with a resupply depot, with the plan of landing troops and securing it for myself, refueling, and continuing on. The AI of course decided to send the fleet home before it reached its target.
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 02:00 AM.


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