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

This Month's Specials

Air Command 3.0- Save $12.00
War Plan Pacific- Save $7.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old March 19th, 2003, 03:12 PM

trooper trooper is offline
First Lieutenant
 
Join Date: Sep 2002
Location: Cannes, France
Posts: 698
Thanks: 0
Thanked 0 Times in 0 Posts
trooper is on a distinguished road
Default Re: design pb : boarding ships and multiple fighters

I try to move the lines dealing with boarding ships at the top of AI states list. I'll see if it works.

Another question, which is about fighters.

I have two fighter designs in designcreation.txt file, as folows :

Name := Missile Interceptor
Design Type := Fighter
Vehicle Type := Fighter
Default Strategy := Fighter Attack
Size Minimum Tonnage := 10
Size Maximum Tonnage := 5000
Num Must Have At Least 1 Ability := 1
Must Have Ability 1 := Weapon
Minimum Speed := 2
Desired Speed := 6
Majority Weapon Family Pick 1 := 108
Majority Weapon Family Pick 2 := 0
Majority Weapon Family Pick 3 := 0
Majority Weapon Family Pick 4 := 0
Majority Weapon Family Pick 5 := 0
Secondary Weapon Family Pick 1 := 0
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 := 12
Armor Spaces Per One := 0
Majority Comp Spaces Per One := 10
Majority Comp Ability := Weapon
Secondary Comp Spaces Per One := 0
Secondary Comp Ability :=
Num Misc Abilities := 3
Misc Ability 1 Name := Standard Ship Movement
Misc Ability 1 Spaces Per One := 20
Misc Ability 2 Name := Combat To Hit Defense Plus
Misc Ability 2 Spaces Per One := 10000
Misc Ability 3 Name := Combat To Hit Offense Plus
Misc Ability 3 Spaces Per One := 10000

Name := DUC Interceptor
Design Type := Fighter
Vehicle Type := Fighter
Default Strategy := Fighter Attack
Size Minimum Tonnage := 10
Size Maximum Tonnage := 5000
Num Must Have At Least 1 Ability := 0
Minimum Speed := 6
Desired Speed := 6
Majority Weapon Family Pick 1 := 101
Majority Weapon Family Pick 2 := 0
Majority Weapon Family Pick 3 := 0
Majority Weapon Family Pick 4 := 0
Majority Weapon Family Pick 5 := 0
Secondary Weapon Family Pick 1 := 0
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 := 12
Armor Spaces Per One := 0
Majority Comp Spaces Per One := 10
Majority Comp Ability := Weapon
Secondary Comp Spaces Per One := 0
Secondary Comp Ability :=
Num Misc Abilities := 3
Misc Ability 1 Name := Standard Ship Movement
Misc Ability 1 Spaces Per One := 20
Misc Ability 2 Name := Combat To Hit Defense Plus
Misc Ability 2 Spaces Per One := 10000
Misc Ability 3 Name := Combat To Hit Offense Plus
Misc Ability 3 Spaces Per One := 10000

It seems that the AI only built one design (the Last one). Is there a way to prevent that ? (duplicate fighter line in construction_units.txt ?)

[ March 19, 2003, 13:12: Message edited by: trooper ]
Reply With Quote
  #2  
Old March 19th, 2003, 03:44 PM
Krsqk's Avatar

Krsqk Krsqk is offline
Lieutenant Colonel
 
Join Date: Jul 2001
Location: Orlando, FL
Posts: 1,259
Thanks: 0
Thanked 0 Times in 0 Posts
Krsqk is on a distinguished road
Default Re: design pb : boarding ships and multiple fighters

You could call for both designs by name in the file. You could also put them in the UnitConstruction (or whatever the name is) file, but they won't be built until the queue in VehicleConstruction is completed.

Are the designs in your DesignCreation.txt file in that order? I thought the AI always built the first design it found which it had sufficient tech to build. I have been wrong before, though.
__________________
The Unpronounceable Krsqk

"Well, sir, at the moment my left processor doesn't know what my right is doing." - Freefall
Reply With Quote
  #3  
Old March 19th, 2003, 04:39 PM

Rexxx Rexxx is offline
Corporal
 
Join Date: Jun 2002
Location: Hannover, Germany
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
Rexxx is on a distinguished road
Default Re: design pb : boarding ships and multiple fighters

Quote:
Originally posted by trooper:
It seems that the AI only built one design (the Last one). Is there a way to prevent that ? (duplicate fighter line in construction_units.txt ?)
Did the AI design both types?
If not (I'm just guessing) have you researched smaller weapons as well? Small rocket pods need this additional tech, small DUCs don't.

[ March 19, 2003, 14:43: Message edited by: Rexxx ]
__________________
homo homini lupus est
Reply With Quote
  #4  
Old March 19th, 2003, 05:19 PM
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: design pb : boarding ships and multiple fighters

Yes, AI build only the first design listed in design_creation file. I'm too very curios why trooper reports the otherwise. To make AI build both fighters, use design names in construction.txt file. Just one catch: SE tracks the cummulative number for design types, not separate numbers for design names !
As an example, if you want 10 duc fighters and 10 missile fighters, do this:

Entry 1 Type := DUC Interceptor
Entry 1 Planet Per Item := 30
Entry 1 Must Have At Least := 10

Entry 2 Type := Missile Interceptor
Entry 2 Planet Per Item := 20
Entry 2 Must Have At Least := 20

(planet per item might be different in real file, but they should also reflect the way SE works)
__________________
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
  #5  
Old March 19th, 2003, 05:23 PM
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: design pb : boarding ships and multiple fighters

Does anybody know if design names can be used in construction_units.txt file ? It seems like it is restricted to design types only
__________________
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
  #6  
Old March 19th, 2003, 05:59 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: design pb : boarding ships and multiple fighters

Quote:
Originally posted by oleg:
Does anybody know if design names can be used in construction_units.txt file ? It seems like it is restricted to design types only
One of my races uses 2 different WP's and calls for them by name in the construction_units.txt file. The race definately builds both designs, but I cannot tell you whether calling for them by name is the reason.
__________________
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 March 19th, 2003, 10:40 PM

trooper trooper is offline
First Lieutenant
 
Join Date: Sep 2002
Location: Cannes, France
Posts: 698
Thanks: 0
Thanked 0 Times in 0 Posts
trooper is on a distinguished road
Default Re: design pb : boarding ships and multiple fighters

I was wrong, the first item was constructed, not the second.

Thanks for your answers, it's gonna be a terrific AI...
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 12:17 PM.


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