Jump to content

Amphib operations AI script


Recommended Posts

I started looking over the AI scripts to plop them into my game and in the 1st file I came across this. The UK has 3 scripts to attack Italy, ok I understand if they cant get 3 units they try 2, if they cant get 2 they try 1 but here dont understand why Denmark is listed as the country ?!?!?! This is the 4th and 5th script in amphibious.txt

Al

; UK prepares to attack Italy:

{

#NAME= UK Minor Build Up Amphibious - Bari (North Africa) (1)

#POPUP=

#FLAG= 1

#TYPE= 0

#COUNTRY_ID= 17 <----------Denmark???????

#TRIGGER= 100

#GV= 1[1,100]

#LINK= 0[0]

#LEVEL= 0

#SIZE= 2

#BUILD_LENGTH= 2

#LENGTH= 15

; Bari

#GOAL_POSITION= 121,29

#COASTAL_POSITION= 117,30

; Date set to post arrival of US HQ/Navy via P/Q

#DATE= 1942/06/14

#STEAL= 3

; Set friendly positions:

; 1st Line - Tunis

; 2nd Line - Tripoli

; 3rd Line - Algiers

#FRIENDLY_POSITION= 109,35

#FRIENDLY_POSITION= 114,39

#FRIENDLY_POSITION= 100,35

; Set variable conditions:

; 1st Line - USA politically aligned with Allies and not surrendered AND

; 2nd Line - Italy politically aligned with Axis and not surrendered

#VARIABLE_CONDITION= 3 [2] [100] [0]

#VARIABLE_CONDITION= 6 [1] [100] [0]

; Set tactical conditions:

; 1st Line - Tripoli not tactically threatened

#TACTICAL_CONDITION= 114,39 [1]

; Set dummy activate position (no units at position 0,0)

#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]

; Set dummy cancel position (single neutral unit at position 0,0). This is not possible as no

; unit can occupy tile 0,0 so event will not be cancelled due to #CONDITION_POSITION

#CANCEL_POSITION= 0,0 [0,0] [1,1] [0]

Link to comment
Share on other sites

Im using your Storm of Steel scripts for my european theatre. But I am adding a contingency if the Axis control Spain and Gibralter for the Allies to attack there.

Now I am curious with both theatres running and only one operation being done at once how to make the US attack in the pacific and europe.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...