.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   ai not making ship designs (http://forum.shrapnelgames.com/showthread.php?t=10750)

spoon November 14th, 2003 08:32 PM

ai not making ship designs
 
I'm trying to track down why the ai isn't designing ships for a mod I'm working on. I notice that if I greatly increase the tonnage for, say, the escort, the ai won't make designs for it anymore. For example, I have this entry in VehicleSize.txt:

Name := Escort
Short Name := Escort
Description :=
Code := ES
Primary Bitmap Name := Escort
Alternate Bitmap Name := Escort
Vehicle Type := Ship
Tonnage := 2000
Cost Minerals := 1000
Cost Organics := 500
Cost Radioactives := 0
Engines Per Move := 1
Number of Tech Req := 1
Tech Area Req 1 := Ship Construction
Tech Level Req 1 := 1
Number of Abilities := 0
Requirement Must Have Bridge := True
Requirement Can Have Aux Con := True
Requirement Min Life Support := 0
Requirement Min Crew Quarters := 0
Requirement Uses Engines := True
Requirement Max Engines := 6
Requirement Pct Fighter Bays := 0
Requirement Pct Colony Mods := 0
Requirement Pct Cargo := 0

Now, if I change the Tonnage entry back to 150, then the ai makes the design as normal. At 2000, it doesn't make any designs. I'm using the abbidon for this, and I have these settings in abbidon_ai_designcreation.txt:

Name := Monkeys
Design Type := Attack Ship
Vehicle Type := Ship
Default Strategy := Optimal Firing Range
Size Minimum Tonnage := 10
Size Maximum Tonnage := 5000
Num Must Have At Least 1 Ability := 1
Must Have Ability 1 := Weapon
Minimum Speed := 4
Desired Speed := 6
Majority Weapon Family Pick 1 := 34
Majority Weapon Family Pick 2 := 1
Majority Weapon Family Pick 3 := 25
Majority Weapon Family Pick 4 := 0
Majority Weapon Family Pick 5 := 0
Secondary Weapon Family Pick 1 := 35
Secondary Weapon Family Pick 2 := 0
Secondary Weapon Family Pick 3 := 0
Secondary Weapon Family Pick 4 := 0
Secondary Weapon Family Pick 5 := 0
Shields Spaces Per One := 0
Armor Spaces Per One := 0
Majority Comp Spaces Per One := 10000
Majority Comp Ability := Weapon
Secondary Comp Spaces Per One := 10000
Secondary Comp Ability := Weapon
Num Misc Abilities := 0

Again, if the tonnage of the Escort is set back to 150, all is fine. Change it to 2000, and I get no designs. (that bit about monkeys in the Name field was to check to make sure I could change DefaultDesingTypes.txt -- which didn't cause any troubles...)

Any ideas what might be causing this?

[ November 14, 2003, 18:33: Message edited by: spoon ]

Rollo November 14th, 2003 10:36 PM

Re: ai not making ship designs
 
check the 'Max Ship Size Tonnage From Start 1 Amount' in ..._AI_Settings.txt file

spoon November 14th, 2003 10:48 PM

Re: ai not making ship designs
 
You rule, thanks!

spoon November 14th, 2003 11:06 PM

Re: ai not making ship designs
 
Curious, though, why would you want "Max Ship Size Tonnage ..." set to anything but 0?

[ November 14, 2003, 21:07: Message edited by: spoon ]

oleg November 15th, 2003 01:41 AM

Re: ai not making ship designs
 
Quote:

Originally posted by spoon:
Curious, though, why would you want "Max Ship Size Tonnage ..." set to anything but 0?
<font size="2" face="sans-serif, arial, verdana">It is usefull in max-out games - AI will build largest ships available from the start and get stuck if it is set to 0.

Rollo November 15th, 2003 01:41 AM

Re: ai not making ship designs
 
It can be a useful setting for full tech starts. So the AI builds a few smaller ships before it starts building DN, Basehips and stuff like that. Good not to overload the queues with expensive ships for initial scouting and colonization.

oleg November 15th, 2003 01:42 AM

Re: ai not making ship designs
 
I beat you to a millisecond http://forum.shrapnelgames.com/images/icons/tongue.gif http://forum.shrapnelgames.com/images/icons/icon7.gif

Rollo November 15th, 2003 01:42 AM

Re: ai not making ship designs
 
LOL, curse you Oleg http://forum.shrapnelgames.com/images/icons/icon10.gif

Rollo November 15th, 2003 01:43 AM

Re: ai not making ship designs
 
aaaargh, he did it again....


All times are GMT -4. The time now is 11:35 PM.

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