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

This Month's Specials

Raging Tiger- Save $9.00
The Star and the Crescent- Save $9.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
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
  #2  
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
  #3  
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
  #4  
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
  #5  
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
  #6  
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
  #7  
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
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 05:46 PM.


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