Adding ships to AI scripts?

Please post here for questions and discussion about scenario design, art and sound modding and the game editor for WITP Admiral's Edition.

Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition

Post Reply
pad152
Posts: 2835
Joined: Sun Apr 23, 2000 8:00 am

Adding ships to AI scripts?

Post by pad152 »

How do you add ships (delayed date) to AI scripts?

Is there a way to read the AI scripts so I can find one where a delayed ships might fit in?

Andy Mac
Posts: 12578
Joined: Wed May 12, 2004 8:08 pm
Location: Alexandria, Scotland

RE: Adding ships to AI scripts?

Post by Andy Mac »

You dont add specific ships to scripts the AI tries to form TF's and uses any available ship of that type its one of the reason why ships are the easiest thing to mod and still have the AI work.
 
Basically the AI script says form ACTF of size z at min/normal/max size so it will look fo rthe available ships and try to form the TF.
 
If insufficnet ships are available it wont form,
 
One of the reasons why you sometimes see 1 DD/1CV TF's is because I will have specified form a Normal TF of at least minimum size sometimes you need to do this to ensure that at least some carrier air is available.
 
The AI will then form the TF is 1 CV and 1 DD is available.
 
Andy
pad152
Posts: 2835
Joined: Sun Apr 23, 2000 8:00 am

RE: Adding ships to AI scripts?

Post by pad152 »

Is there a way to read the existing AI scripts? I would like to modify some.
Andy Mac
Posts: 12578
Joined: Wed May 12, 2004 8:08 pm
Location: Alexandria, Scotland

RE: Adding ships to AI scripts?

Post by Andy Mac »

Yes via the editor there is a tab for Ai scripts next to scenario
Andy Mac
Posts: 12578
Joined: Wed May 12, 2004 8:08 pm
Location: Alexandria, Scotland

RE: Adding ships to AI scripts?

Post by Andy Mac »

p.s. you can only edit one at a time to edit the other 12 scripts you need to set them up as seperate scenarios
Post Reply

Return to “Scenario Design and Modding”