|
|
|
 |

December 13th, 2003, 06:19 PM
|
Corporal
|
|
Join Date: Jun 2003
Posts: 96
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Fighters and designtype
For the Planetary Assault mod it is necessary to create an anti-fighter fighter and an anti-ship fighter. The AI_designcreation and AI_construction files only have a single "fighter" as a design type. How do I get around this? I know you can sub in a less used type like 'boarding ship', but will this make the AI treat it as something different than a fighter? Am I missing something?
|

December 13th, 2003, 06:31 PM
|
 |
Brigadier General
|
|
Join Date: Apr 2002
Location: Kailua, Hawaii
Posts: 1,860
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Re: Fighters and designtype
You can assign different strategies to different designs.
Slick.
__________________
Slick.
|

December 13th, 2003, 06:43 PM
|
Corporal
|
|
Join Date: Jun 2003
Posts: 96
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Fighters and designtype
Yeah, but I want more control over the design itself. In the mod, weapons can target ships or target fighters, but not both. I need to control it so the AI will build fighters with only anti-ship and then build them at a certain rate.
|

December 13th, 2003, 07:27 PM
|
Corporal
|
|
Join Date: Jun 2003
Posts: 96
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Fighters and designtype
The problem I'm seeing is this: The AI construction file calls for a fighter. In the design files you have two fighter designs, one for anti-fighter, one for anti-ship. I don't think having mixed fighters would be very efficient, especially in small sizes. Anyway, the fighter designs are seperated by weapons only, the sizes and tech levels are the same. How does the AI pick?
|

December 14th, 2003, 05:56 AM
|
 |
Lieutenant General
|
|
Join Date: Jan 2001
Location: Oxford, UK
Posts: 2,592
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Fighters and designtype
Quote:
Originally posted by KnidVermicious:
For the Planetary Assault mod it is necessary to create an anti-fighter fighter and an anti-ship fighter. The AI_designcreation and AI_construction files only have a single "fighter" as a design type. How do I get around this? I know you can sub in a less used type like 'boarding ship', but will this make the AI treat it as something different than a fighter? Am I missing something?
|
Not true. You can use design names, not types in construction_vehichles file. Make separate designs for "bomber" and "fighter" and then use names. It does not work for construction_units file though Another thin point is the combained use of numbers for "must have" entry. That sometimes may be very tricky.
__________________
It is forbidden to kill; therefore all murderers are punished unless they kill in large numbers and to the sound of trumpets. - Voltaire
|

December 14th, 2003, 08:07 PM
|
Corporal
|
|
Join Date: Jun 2003
Posts: 96
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Fighters and designtype
Aha! It worked.
However, I did get a error from one of the new strategies I added. How do I correct this?
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|