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 ]
|