.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 May 8th, 2002, 11:26 PM
Gandalph's Avatar

Gandalph Gandalph is offline
Captain
 
Join Date: Mar 2002
Location: Santa Cruz, CA
Posts: 947
Thanks: 0
Thanked 0 Times in 0 Posts
Gandalph is on a distinguished road
Default Comments (bugs) with _AI_Construction_Vehicles.txt

OK. I have now tested this frustrating file and found that, regardless of the design name, the AI will build the first design type listed in order in the _AI_DesignCreation.txt. My understanding about adding the design name line to the file, was to get the AI to build different ships of the same type.

Am I wrong here?

If I am not wrong, then it needs to be fixed. If I get the AI to build different designs of the same type of ship, it opens up a whole new level of play for the solo games. It will be much harder to anticipate (and therefor defend against) if you don't know what the enemy is going to bring at you next. It also completely opens a whole new level of modding.
__________________
All that is gold does not glitter,
Not all those who wander are lost;
The old that is strong does not wither,
Deep roots are not reached by the frost.

Reply With Quote
  #2  
Old May 8th, 2002, 11: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 Re: Comments (bugs) with _AI_Construction_Vehicles.txt

In my experience in making the B5 Mod AI_DesignCreation file, I found that as long as I changed the "Name:=" and left the "Design Type:=" standard SE IV, the AI would pick various ships. I also changed the size ranges a bit so the AI would build a mix of small-large ships as they become available.

I can post the file if you like.
Reply With Quote
  #3  
Old May 8th, 2002, 11:43 PM
PvK's Avatar

PvK PvK is offline
National Security Advisor
 
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
PvK is on a distinguished road
Default Re: Comments (bugs) with _AI_Construction_Vehicles.txt

Actually, Gandalf, it does allow multiple types to be built. The AI doesn't just pick the first in the list, although it does seem to built more of some designs (not sure if it's the first, or the smallest, or what).

So for instance if you have two ship designs name "Attack Ape" and "Attack Pig" that are both of the type "Attack Ship", then if in AI_Construction_Vehicles you list to build three Attack Ships, you might get either Attack Pigs, Attack Apes, or some mix. Or if/when you know you want Attack Pigs, you can ask for Attack Pigs by name, instead of just any Attack Ship.

PvK
Reply With Quote
  #4  
Old May 8th, 2002, 11:45 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: Comments (bugs) with _AI_Construction_Vehicles.txt

Oink...
Reply With Quote
  #5  
Old May 8th, 2002, 11:50 PM
Gandalph's Avatar

Gandalph Gandalph is offline
Captain
 
Join Date: Mar 2002
Location: Santa Cruz, CA
Posts: 947
Thanks: 0
Thanked 0 Times in 0 Posts
Gandalph is on a distinguished road
Default Re: Comments (bugs) with _AI_Construction_Vehicles.txt

I am using this "Entry 1 Name := Assault" for the first line in the construction file. Is this what's wrong? The AI is building "Attack" not "Assault" and when I manually put "Assault" (complete) to the top of the list in design, it ia the one that gets built. The patch history file only stated that you could add the name designation not in what format, so I assumed. (I know, I know)
__________________
All that is gold does not glitter,
Not all those who wander are lost;
The old that is strong does not wither,
Deep roots are not reached by the frost.

Reply With Quote
  #6  
Old May 8th, 2002, 11:55 PM
Gandalph's Avatar

Gandalph Gandalph is offline
Captain
 
Join Date: Mar 2002
Location: Santa Cruz, CA
Posts: 947
Thanks: 0
Thanked 0 Times in 0 Posts
Gandalph is on a distinguished road
Default Re: Comments (bugs) with _AI_Construction_Vehicles.txt

quote:
Originally posted by Val:
<snip>I can post the file if you like.


Please do as I have Bab5v3 and don't see different names.
__________________
All that is gold does not glitter,
Not all those who wander are lost;
The old that is strong does not wither,
Deep roots are not reached by the frost.

Reply With Quote
  #7  
Old May 10th, 2002, 01:57 AM
Gandalph's Avatar

Gandalph Gandalph is offline
Captain
 
Join Date: Mar 2002
Location: Santa Cruz, CA
Posts: 947
Thanks: 0
Thanked 0 Times in 0 Posts
Gandalph is on a distinguished road
Default Re: Comments (bugs) with _AI_Construction_Vehicles.txt

Val, How 'bout that file. I still can't get this to work right.
__________________
All that is gold does not glitter,
Not all those who wander are lost;
The old that is strong does not wither,
Deep roots are not reached by the frost.

Reply With Quote
  #8  
Old May 10th, 2002, 02:12 AM
PvK's Avatar

PvK PvK is offline
National Security Advisor
 
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
PvK is on a distinguished road
Default Re: Comments (bugs) with _AI_Construction_Vehicles.txt

Quote:
Originally posted by Gandalph:
I am using this "Entry 1 Name := Assault" for the first line in the construction file. Is this what's wrong? The AI is building "Attack" not "Assault" and when I manually put "Assault" (complete) to the top of the list in design, it ia the one that gets built. The patch history file only stated that you could add the name designation not in what format, so I assumed. (I know, I know)
Hmm that sounds correct to me, but it would depend on what your design name definition looks like, and also on the AI's current mode, and if you modified all of the modes' construction lists, or just one.

The design should look like:

Name := Assault
Design Type := Attack Ship
...

Then in your construction file, you need to make sure you either mod all of the AI State lists, or that you are sure what state your AI is in. It might just be in a different mode from the one you modded, unless you modded them all.

PvK
Reply With Quote
  #9  
Old May 10th, 2002, 03:35 AM
Gandalph's Avatar

Gandalph Gandalph is offline
Captain
 
Join Date: Mar 2002
Location: Santa Cruz, CA
Posts: 947
Thanks: 0
Thanked 0 Times in 0 Posts
Gandalph is on a distinguished road
Default Re: Comments (bugs) with _AI_Construction_Vehicles.txt

Quote:
Originally posted by PvK:
[QBIt might just be in a different mode from the one you modded, unless you modded them all.

PvK[/QB]
Actually, for testing purposes, I changed the first one, then copy/pasted all others except not connected. I am now at turn #147 and the first supply ship has been built (I already have the quantum reactor). Perhaps a better explanation of AI state would help so I could mod accordingly.
__________________
All that is gold does not glitter,
Not all those who wander are lost;
The old that is strong does not wither,
Deep roots are not reached by the frost.

Reply With Quote
  #10  
Old May 14th, 2002, 03:47 AM

Athena Athena is offline
Private
 
Join Date: May 2002
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Athena is on a distinguished road
Default Re: Comments (bugs) with _AI_Construction_Vehicles.txt

1-I'm lost too in this file, especially the explanations for the 'must have at least' and 'X planet per item' are explained (for me) in a confusing way. Can someone explain it better? Which parameter supercede the other also?

2-I have found that the main problem of a boosted AI is that it sit on a pile of minerals and dont build many thing, so if I want to increase the overall number of attack ships possessed by an empire, what to do ?

Thanks you in advances, this file get me confused...

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


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