.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 March 18th, 2004, 01:30 AM

Kevin Arisa Kevin Arisa is offline
Sergeant
 
Join Date: Dec 2002
Location: Denver, CO USA
Posts: 329
Thanks: 0
Thanked 2 Times in 1 Post
Kevin Arisa is on a distinguished road
Default Stubborn AI

I have my AI's set to build 3 different sizes of ships using the AI_DesignCreation files. However they only want to build the first "attack ship" They seem to be completly ignoring the other ones. I checked in the AI_Settings files but i already had them set to use whatever size they want from the start. I need help! My AI's wont move past destroyer!
__________________
"Murder!? Who said anything about murder!? God save the Queen!"
ISA Command

A- Se GdY $- Fr! C- Css Sf+++ Ai Au M++ Mp* S++ Ss+++ RV Pw Fq Nd Rp+ MM+ G Bb L- Tcp+
Reply With Quote
  #2  
Old March 18th, 2004, 01:52 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: Stubborn AI

Quote:
Originally posted by Kevin Arisa:
I have my AI's set to build 3 different sizes of ships using the AI_DesignCreation files. However they only want to build the first "attack ship" They seem to be completly ignoring the other ones. I checked in the AI_Settings files but i already had them set to use whatever size they want from the start. I need help! My AI's wont move past destroyer!
IF you want to include different names, you need to do something like that:

Entry 2 Type := Attack1
Entry 2 Planet Per Item := 0
Entry 2 Must Have At Least := 3
Entry 3 Type := Attack2
Entry 3 Planet Per Item := 0
Entry 3 Must Have At Least := 6
Entry 4 Type := Attack3
Entry 4 Planet Per Item := 0
Entry 4 Must Have At Least := 9

Then, the AI will build 3 Attack1, 3 Attack2 and finally 3 Attack3.

You can do it using the PlanetPerItem too.
Reply With Quote
  #3  
Old March 18th, 2004, 02:34 AM
Atrocities's Avatar

Atrocities Atrocities is offline
Shrapnel Fanatic
 
Join Date: Dec 2000
Location: USA
Posts: 15,630
Thanks: 0
Thanked 30 Times in 18 Posts
Atrocities is on a distinguished road
Default Re: Stubborn AI

Boy I can see my work is cut our for me now. I need to do this very same thing.

Also Try setting up the ship designs in the designCreation file by tonnage size.

Escort = 200 so set it from Min 190 to Max 210 and see if the AI designs them.
__________________
Creator of the Star Trek Mod - AST Mod - 78 Ship Sets - Conquest Mod - Atrocities Star Wars Mod - Galaxy Reborn Mod - and Subterfuge Mod.
Reply With Quote
  #4  
Old March 18th, 2004, 09:28 AM

Kevin Arisa Kevin Arisa is offline
Sergeant
 
Join Date: Dec 2002
Location: Denver, CO USA
Posts: 329
Thanks: 0
Thanked 2 Times in 1 Post
Kevin Arisa is on a distinguished road
Default Re: Stubborn AI

Thank you, and yes, the AI designs ships no problem. in fact some of it's ships have been rolling mine downtown. Thanks Belisarius for the tip. I will try it now.
__________________
"Murder!? Who said anything about murder!? God save the Queen!"
ISA Command

A- Se GdY $- Fr! C- Css Sf+++ Ai Au M++ Mp* S++ Ss+++ RV Pw Fq Nd Rp+ MM+ G Bb L- Tcp+
Reply With Quote
  #5  
Old March 18th, 2004, 10:04 AM

Kevin Arisa Kevin Arisa is offline
Sergeant
 
Join Date: Dec 2002
Location: Denver, CO USA
Posts: 329
Thanks: 0
Thanked 2 Times in 1 Post
Kevin Arisa is on a distinguished road
Default Re: Stubborn AI

*sigh* it didn't work. here is an example of what my construction file looks like:

AI State := Prepare for Attack, Attack
Num Queue Entries := 9
Entry 1 Type := Attack Ship
Entry 1 Planet Per Item := 2
Entry 1 Must Have At Least := 3
Entry 2 Type := Medium Attack Ship
Entry 2 Planet Per Item := 2
Entry 2 Must Have At Least := 2
Entry 3 Type := Heavy Attack Ship
Entry 3 Planet Per Item := 2
Entry 3 Must Have At Least := 1
Entry 4 Type := Mine
Entry 4 Planet Per Item := 5
Entry 4 Must Have At Least := 2
Entry 5 Type := Fighter
Entry 5 Planet Per Item := 2
Entry 5 Must Have At Least := 20
Entry 6 Type := Weapon Platform
Entry 6 Planet Per Item := 5
Entry 6 Must Have At Least := 10
Entry 7 Type := Satellite
Entry 7 Planet Per Item := 5
Entry 7 Must Have At Least := 10
Entry 8 Type := Mine Layer
Entry 8 Planet Per Item := 0
Entry 8 Must Have At Least := 1
Entry 9 Type := Carrier
Entry 9 Planet Per Item := 30
Entry 9 Must Have At Least := 1

I'm not sure what is wrong. It only builds attack ships. nothing higher. Is this file directly tied to hard coded design types? If not do I need to add some by editing the default design types?
__________________
"Murder!? Who said anything about murder!? God save the Queen!"
ISA Command

A- Se GdY $- Fr! C- Css Sf+++ Ai Au M++ Mp* S++ Ss+++ RV Pw Fq Nd Rp+ MM+ G Bb L- Tcp+
Reply With Quote
  #6  
Old March 18th, 2004, 10:09 AM
Atrocities's Avatar

Atrocities Atrocities is offline
Shrapnel Fanatic
 
Join Date: Dec 2000
Location: USA
Posts: 15,630
Thanks: 0
Thanked 30 Times in 18 Posts
Atrocities is on a distinguished road
Default Re: Stubborn AI

The problem is the AI only recognizes four types of ships.

Attack Ship
Defense Ship
Carrier
and one other.

Look at the modding tutorial at www.spaceempires.net

That should help out a lot.
__________________
Creator of the Star Trek Mod - AST Mod - 78 Ship Sets - Conquest Mod - Atrocities Star Wars Mod - Galaxy Reborn Mod - and Subterfuge Mod.
Reply With Quote
  #7  
Old March 18th, 2004, 10:28 AM

TNZ TNZ is offline
Sergeant
 
Join Date: Jul 2003
Location: New Zealand
Posts: 252
Thanks: 0
Thanked 0 Times in 0 Posts
TNZ is on a distinguished road
Default Re: Stubborn AI

Try using Attack Base, Boarding Ship and Kamikaze Attack Ship these design types act similarly to the Attack Ship design type.
Reply With Quote
  #8  
Old March 19th, 2004, 02:52 AM
oleg's Avatar

oleg oleg is offline
Lieutenant General
 
Join Date: Jan 2001
Location: Oxford, UK
Posts: 2,592
Thanks: 0
Thanked 0 Times in 0 Posts
oleg is on a distinguished road
Default Re: Stubborn AI

Quote:
Originally posted by Kevin Arisa:
*sigh* it didn't work. here is an example of what my construction file looks like:

AI State := Prepare for Attack, Attack
Num Queue Entries := 9
Entry 1 Type := Attack Ship
Entry 1 Planet Per Item := 2
Entry 1 Must Have At Least := 3
Entry 2 Type := Medium Attack Ship
Entry 2 Planet Per Item := 2
Entry 2 Must Have At Least := 2
Entry 3 Type := Heavy Attack Ship
Entry 3 Planet Per Item := 2
Entry 3 Must Have At Least := 1
Entry 4 Type := Mine
Entry 4 Planet Per Item := 5
Entry 4 Must Have At Least := 2
Entry 5 Type := Fighter
Entry 5 Planet Per Item := 2
Entry 5 Must Have At Least := 20
Entry 6 Type := Weapon Platform
Entry 6 Planet Per Item := 5
Entry 6 Must Have At Least := 10
Entry 7 Type := Satellite
Entry 7 Planet Per Item := 5
Entry 7 Must Have At Least := 10
Entry 8 Type := Mine Layer
Entry 8 Planet Per Item := 0
Entry 8 Must Have At Least := 1
Entry 9 Type := Carrier
Entry 9 Planet Per Item := 30
Entry 9 Must Have At Least := 1

I'm not sure what is wrong. It only builds attack ships. nothing higher. Is this file directly tied to hard coded design types? If not do I need to add some by editing the default design types?
Take a closer look on PvK' post. SEIV use cumulative numbers for ship types. Thus, iin your example if all ships are of generic "attack ship" type but with different names, SEIV will build ships only from first entry. When it looks on the second entry, it "thinks" it alresy has enough "attack ships" and does not build new.

Mofify your file like this:

Entry 1 Type := Attack Ship
Entry 1 Planet Per Item := 2
Entry 1 Must Have At Least := 3
Entry 2 Type := Medium Attack Ship
Entry 2 Planet Per Item := 2
Entry 2 Must Have At Least := 5
Entry 3 Type := Heavy Attack Ship
Entry 3 Planet Per Item := 2
Entry 3 Must Have At Least := 6

Now it will build 3 As, 5-3=2 Mas and 6-5=1 Has !

You also must play a bit with planet per item numbers to get stable ship production.
__________________
It is forbidden to kill; therefore all murderers are punished unless they kill in large numbers and to the sound of trumpets. - Voltaire
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:41 PM.


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