.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 April 30th, 2001, 05:31 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 Idea for MM to improve AI\'s strategy

Some people have brought up the issue of the AI not being able to attack unless it considers a system to be contested. I was thinking of some ways to change this, and wanted to know what people thought about this. Most of this would have to be patched in to the exe file, but should require a large amount of coding though.

In addition to considering planets in contested systems as attack locations the AI should try to get reconaissance data on all systems within 2 or 3 warps of its border belonging to the enemy empire. Once it has the recon data it shouldn't be hard to run a recursive search of worlds with in range of its border.

Basically I think MM could add a new field in the AI_settings.txt file that would specify a point threshold, call it attack threshold for now, for a planet behind enemy lines to be considered for attack/capture. We could use a similar one for the AI to decide whether or it should try to capture a planet instead of just destroying it. Also in this settings file there would be several fields that specify what point value a particular characteristic would add to the attack and capture thresholds. People could mod the attack and capture point thresholds for each race to taste and they could also modify the points for each characteristic if they wanted to.

Things the AI should look at when calculating the attack and capture thresholds, MM could probably code this in terms of abilities and looking up certain settings from planet_size and the settings files in case people mode any of those settings. Also by refering to facilities in terms of abilities should allow AI's to consider destroying or capturing some of the race specific facilities that may be important to the other guy.

Presence of a resupply depots, big bonus to attack and capture points.

Presence of a space port , moderate bonus to attack and capture.

Presence of a space yard, big bonus to attack and capture.

Large population (maybe 80% of max pop for a large planet) plus small bonus to attack, moderate bonus to capture.

High resource value plus moderate bonus to attack and capture.

Presence of significant orbital defenses (large number of sattelites and or space stations) small penatly to attack.

Large number of resource extraction facilities moderate bonus to attack, large bonus to capture.

Large number of research or intelligence facilities: small bonus to attack, moderate bonus to capture.

Planet is a homeworld large bonus to attack and capture.

Also to support the Civil war idea if MM decides to implement that at a later date the characteristic of being regional capital or whatever could also be added in.

Just a few ideas, let me know what you all think.


Reply With Quote
  #2  
Old May 1st, 2001, 01:40 AM
dogscoff's Avatar

dogscoff dogscoff is offline
General
 
Join Date: Mar 2001
Location: UK
Posts: 4,245
Thanks: 0
Thanked 0 Times in 0 Posts
dogscoff is on a distinguished road
Default Re: Idea for MM to improve AI\'s strategy

Nice idea. Assigning a preference for attack / capture would go a long way to giving each AI a distinct "personality".

You're right though, I think it would need a major code change. Mind you I don't see why that should stop us suggesting it. All my favourite suggestions require hard code changes=-)

------------------
"Pinky, are you pondering what I'm pondering?"
"Uh, I think so, Brain, but we'll never get a monkey to use dental floss!"
Reply With Quote
  #3  
Old April 30th, 2001, 05:16 PM

Barnacle Bill Barnacle Bill is offline
Sergeant
 
Join Date: Nov 2000
Location: Somewhere on the wine-dark sea...
Posts: 236
Thanks: 0
Thanked 0 Times in 0 Posts
Barnacle Bill is on a distinguished road
Default Re: Idea for MM to improve AI\'s strategy

Good idea!

While they are at it, though, they need to fix the "piecemeal attack" method the AI uses. Example - in my most recent game I played a very non-expansive method concentrating on internal development rather than exploration/expansion. The Sallega found me pretty early and keep sending single ships to attack planets heavily defended by weapon platforms. They started out with sending single escorts to my homeworld. They worked up through the sizes to sending light cruisers. When I started building orbital stuff at the homeworld and colonizing other planets in system, they switched targets to the colonies w/o any ships & bases. However, I've been landing WP's on the turn of colonization So far, every ship they send has been swatted without causing any damage. Had they every waited 10-20 turns and collected the ships into a single fleet, instead of sending one ship every 2-3 turns, it would have been a different story.

In the MOO games, when the AI decided to attack a system, it would assemble what it thought was a good-sized strike fleet in a nearby system before launching the attack. Sure, you could disrupt it by a pre-emptive strike on the assembly site, but it was still a lot more effective than SE4. I'd like to see the SE4 AI select targets as prosed in this thread, but then assemble a reasonable strike fleet based on its recon of the target before launching the attack.
Reply With Quote
  #4  
Old April 30th, 2001, 05:29 PM
Q's Avatar

Q Q is offline
Colonel
 
Join Date: Jan 2001
Posts: 1,661
Thanks: 0
Thanked 0 Times in 0 Posts
Q is on a distinguished road
Default Re: Idea for MM to improve AI\'s strategy

jc173 I support your ideas especially the proposal that the Ai should attack also systems of the enemy that are not marked as contested.
BarnacleBill check the Sallega AI settings file:
Turns to Wait until next attack := 6
If this value is increased it should correct the premature attack.

Reply With Quote
  #5  
Old April 30th, 2001, 06:38 PM
Taqwus's Avatar

Taqwus Taqwus is offline
Major General
 
Join Date: Aug 2000
Location: Mountain View, CA
Posts: 2,162
Thanks: 2
Thanked 4 Times in 4 Posts
Taqwus is on a distinguished road
Default Re: Idea for MM to improve AI\'s strategy

Curiously, in my present game (255-system cluster galaxy, 1.35 + ModPack... and a race w/o any advanced traits, heh), I've seen both behaviors. Rage normally uses fleets approaching 20 ships in size, while the Ukra-Tal tend to send in singletons and pairs, or occasionally 4 at a time. It might be just that Rage has a larger production base than the Ukra-Tal (when we were allies shortly before I became Mega-Evil, they were in second place and the UTs were fourth), but their behavior does seem a bit different.

------------------
-- The thing that goes bump in the night
__________________
Are we insane yet? Are we insane yet? Aiiieeeeee...
Reply With Quote
  #6  
Old April 30th, 2001, 07:25 PM

Barnacle Bill Barnacle Bill is offline
Sergeant
 
Join Date: Nov 2000
Location: Somewhere on the wine-dark sea...
Posts: 236
Thanks: 0
Thanked 0 Times in 0 Posts
Barnacle Bill is on a distinguished road
Default Re: Idea for MM to improve AI\'s strategy

Q:

Does the "turns to wait for next attack" make them assemble a fleet, or just control how often they will send in a lone ship?

I'd like to see the AI take what it knows (i.e. has already seen about the target's defenses) and assemble a fleet that can take them, and not come back until they have that big of a fleet. Otherwise, they are just wasting ships. If I hit an enemy planet, and it was defended by several WP's, I certainly wouldn't go back there without a fleet that could take those defenses. Of course, the defender could further beef up the defense while I'm gone, but it is assuredly not very likely to weaken them. I'd use single ships to probe for recon, then assemble a sufficient force to take the defenses I detected before I launched an actual attack. If I sent a single ship in to an enemy planet and found it too heavily defended by immobile forces (WP's, satellites, bases), I'd just sit outside their weapon range and click "end turn" 30 times, then go home & get some friends It should be a simple set of rules to make the AI do likewise.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 07:02 AM.


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