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

This Month's Specials

Air Assault Task Force- Save $8.00
World Supremacy- Save $10.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old April 9th, 2002, 03:33 PM

Val Val is offline
Major
 
Join Date: Oct 2001
Location: Lansdale, PA
Posts: 1,022
Thanks: 0
Thanked 0 Times in 0 Posts
Val is on a distinguished road
Default AI Questions

I am trying to work on the AI for the B5Mod, and have been running into a few issues and wanted to see if any of y'all might have some ideas on how to approach this:

1) Cargo Ships (Cargo, Troop and Pop Transports) - How can I get them to put fewer cargo pods on their ships? I have tried to lower the Cargo percentage requirements in the Vehicle.txt and up the Majority Comp Spaces Per One in the AI_DesignCreation.txt, neither seem to make any difference. The Cargo Pods are 75 kt and the ships follow standard sizes.

2) "Older" Tech - Can you make an AI choose an tech that is further up the list than a more advanced Version? For example, if I made cargo pods that were more expensive but held more cargo, but I preferred for the AI to choose the cheaper standard cargo pods, what could I do? WOuld I have to put the preferred one second down the list so the AI sees it as more 'recent', or just add a useless trait to the one and make that the requirement rather than Cargo Storage.


Thanks much for any help
Reply With Quote
  #2  
Old April 9th, 2002, 10:48 PM
Mephisto's Avatar

Mephisto Mephisto is offline
Brigadier General
 
Join Date: Sep 2000
Location: Frankfurt, Germany
Posts: 1,994
Thanks: 0
Thanked 0 Times in 0 Posts
Mephisto is on a distinguished road
Default Re: AI Questions

I can only say something to #1:

1.) Cargo transports: Don't. The AI doesn't use them.

2.) Troop Transports: Use normal ship hulls. If you don't the Ai tends to not include them into fleets. If not in fleets, they are just dead meat in an solo attack.

3.) Population Transports: Limit the size hull the AI will use (my races don't use any transports above 500kt) as the bigger transports mean depopulated worlds and massive loss of lives if shoot down. You cannot teach the AI to use less then 50% of the size on cargo. You could try to use a standard hull, too, but I don't know if the AI will use a standard hull ship as a population transport.
__________________
For, in the final analysis, our most basic common link is that we all inhabit this small planet. We all breathe the same air. We all cherish our children's futures. And we are all mortal. - JFK
Reply With Quote
  #3  
Old April 10th, 2002, 12:23 PM

Atraikius Atraikius is offline
Second Lieutenant
 
Join Date: Mar 2001
Location: Elk River, MN, USA
Posts: 472
Thanks: 0
Thanked 0 Times in 0 Posts
Atraikius is on a distinguished road
Default Re: AI Questions

Yes, the AI will use a pop. transport based on a standard hull.
Reply With Quote
  #4  
Old April 10th, 2002, 06:29 PM

Val Val is offline
Major
 
Join Date: Oct 2001
Location: Lansdale, PA
Posts: 1,022
Thanks: 0
Thanked 0 Times in 0 Posts
Val is on a distinguished road
Default Re: AI Questions

Thank you both. Didn't realize the AI wouldn't use the cargo ship.

How do you force the AI to use a standard hull rather than a "Cargo/Transport" Hull?
Reply With Quote
  #5  
Old April 10th, 2002, 11:08 PM
Mephisto's Avatar

Mephisto Mephisto is offline
Brigadier General
 
Join Date: Sep 2000
Location: Frankfurt, Germany
Posts: 1,994
Thanks: 0
Thanked 0 Times in 0 Posts
Mephisto is on a distinguished road
Default Re: AI Questions

Just don't use these lines:
Num Must Have At Least 1 Ability:= 1
Must Have Ability:= Cargo Storage

but instead something like:
Num Must Have At Least 1 Ability:= 1
Must Have Ability:= Weapon
__________________
For, in the final analysis, our most basic common link is that we all inhabit this small planet. We all breathe the same air. We all cherish our children's futures. And we are all mortal. - JFK
Reply With Quote
  #6  
Old April 10th, 2002, 11:56 PM
Rollo's Avatar

Rollo Rollo is offline
Brigadier General
 
Join Date: Jul 2001
Location: Kiel, Germany
Posts: 1,896
Thanks: 0
Thanked 0 Times in 0 Posts
Rollo is on a distinguished road
Default Re: AI Questions

quote:
Originally posted by [K126]Mephisto:
Just don't use these lines:
Num Must Have At Least 1 Ability:= 1
Must Have Ability:= Cargo Storage

but instead something like:
Num Must Have At Least 1 Ability:= 1
Must Have Ability:= Weapon



I think that is not correct. The "must have" abiltity does not determine the hull type that is used, but the majority component is. It goes like this:

majority component -> hull type used

colony -> colony ship
cargo storage -> transport hull
fighter launch -> carrier hull
anything else -> normal hull

So if you want to use normal hull for your transports, use weapon or point-defense, or medical bay (that is something good to put on pop transports, btw) or whatever for your majority component. You can add the cargo storage later as a misc. ability or seconday component.

Rollo
__________________
SE4
Devnull Mod Gold:
Version 1.80
Dungeon Odyssey:
Hack and Slash
Version 0.53e
Reply With Quote
  #7  
Old April 11th, 2002, 12:38 AM
Mephisto's Avatar

Mephisto Mephisto is offline
Brigadier General
 
Join Date: Sep 2000
Location: Frankfurt, Germany
Posts: 1,994
Thanks: 0
Thanked 0 Times in 0 Posts
Mephisto is on a distinguished road
Default Re: AI Questions

Rollo, you are right. Every day I learn something new about SE4.
__________________
For, in the final analysis, our most basic common link is that we all inhabit this small planet. We all breathe the same air. We all cherish our children's futures. And we are all mortal. - JFK
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 08:13 AM.


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