Jump to content

Iberian Invasion - Work in Progress


Recommended Posts

Here are a series of scripts I am working on to have the USA invade Portugal. I am testing it using a copy of the Fall Blau Scenario with all units in Russia and North Africa removed.

Basically;

1. USA Invades Portugal

2. Then USA Garrisons Lisbon

3. New Production Script is activated to build units for combat and Diplomacy Script is activate to counter rise in Spanish influence until Invasion force is ready to invade Spain.

3. Then USA reinforces with 2 scripts - one for 1 unit and 1 for 2 units. This ensures that all possible reinforcements are sent to Lisbon ASAP.

4. Then USA launches Offensive to Take Madrid with 7 units (Steal= 0), if 10 units are available it uses 10 units in the offensive (Steal= 3)

;

; USA prepares to attack Portugal:

{

#NAME= EF_PORTUGAL USA Build Up Amphibious - USA (Liberate Portugal)

#POPUP=

#FLAG= 1

#TYPE= 1

#COUNTRY_ID= 3

#TRIGGER= 100

#LEVEL= 0

#PLAN_ID= 2

#SIZE= 4

#LENGTH= 1

; Lisbon

#GOAL_POSITION= 51,26

#DATE= 1941/01/01

#STEAL= 0

; Set friendly positions:

; 1st Line - NYC

; 2nd Line - Washington D.C.

#FRIENDLY_POSITION= 5,22

#FRIENDLY_POSITION= 2,23

; Set variable conditions:

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

; 2nd Line - France politically aligned with Allies and surrendered

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

#VARIABLE_CONDITION= 2 [2] [100] [1]

; Set tactical conditions:

; 1st Line - Washington D.C. not tactically threatened (dummy condition)

#TACTICAL_CONDITION= 2,23 [1]

; Set activate position:

; 1st Line - 5 Allied units in USA

#ACTIVATE_POSITION= 5,22 [7,7] [5,5] [2]

; Canceled if Allied Unit in Portugal

#CANCEL_POSITION= 51,26 [0,0] [1,1] [2]

}

;

; USA Garrisons Portugal:

{

#NAME= EF_PORTUGAL USA Lisbon Garrison

#POPUP=

#FLAG= 1

#TYPE= 2

#COUNTRY_ID= 3

#TRIGGER= 100

#LEVEL= 0

#PLAN_ID= 0

#SIZE= 0

#LENGTH= 1

; Lisbon

#GOAL_POSITION= 51,26

#DATE= 1941/01/01

#STEAL= 0

; Set friendly positions:

; 1st Line - NYC

; 2nd Line - Washington D.C.

#FRIENDLY_POSITION= 51,26

#FRIENDLY_POSITION= 2,23

; Set variable conditions:

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

; 2nd Line - France politically aligned with Allies and surrendered

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

#VARIABLE_CONDITION= 2 [2] [100] [1]

; Set tactical conditions:

; 1st Line - Washington D.C. not tactically threatened (dummy condition)

#TACTICAL_CONDITION= 2,23 [1]

; Set activate position:

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

; Canceled

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

}

; USA Garrisons Bilbao

{

#NAME= EF_PORTUGAL USA Bilbao Garrison

#POPUP=

#FLAG= 1

#TYPE= 2

#COUNTRY_ID= 3

#TRIGGER= 100

#LEVEL= 0

#PLAN_ID= 0

#SIZE= 0

#LENGTH= 1

; Lisbon

#GOAL_POSITION= 58,23

#DATE= 1941/01/01

#STEAL= 0

; Set friendly positions:

; 1st Line - NYC

#FRIENDLY_POSITION= 51,26

#FRIENDLY_POSITION= 58,23

; Set variable conditions:

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

; 2nd Line - France politically aligned with Allies and surrendered

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

#VARIABLE_CONDITION= 2 [2] [100] [1]

; Set tactical conditions:

; 1st Line - Washington D.C. not tactically threatened (dummy condition)

#TACTICAL_CONDITION= 2,23 [1]

; Set activate position:

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

; Canceled

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

}

; USA Garrisons Valencia

{

#NAME= EF_PORTUGAL USA Valencia Garrison

#POPUP=

#FLAG= 1

#TYPE= 2

#COUNTRY_ID= 3

#TRIGGER= 100

#LEVEL= 0

#PLAN_ID= 0

#SIZE= 0

#LENGTH= 1

; Valencia

#GOAL_POSITION= 61,27

#DATE= 1941/01/01

#STEAL= 0

; Set friendly positions:

; 1st Line - Valencia

#FRIENDLY_POSITION= 61,27

; Set variable conditions:

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

; 2nd Line - France politically aligned with Allies and surrendered

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

#VARIABLE_CONDITION= 2 [2] [100] [1]

; Set tactical conditions:

; 1st Line - Washington D.C. not tactically threatened (dummy condition)

#TACTICAL_CONDITION= 2,23 [1]

; Set activate position:

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

; Canceled

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

}

; USA Reinforces Lisbon Beachhead:

{

#NAME= EF_PORTUGAL USA Build Up Sea Transport Size 2

#POPUP=

#FLAG= 1

#TYPE= 2

#COUNTRY_ID= 3

#TRIGGER= 100

#LEVEL= 0

#PLAN_ID= 3

#SIZE= 2

#LENGTH= 1

; Lisbon Port

#GOAL_POSITION= 50,27

#DATE= 1941/01/01

#STEAL= 0

; Set friendly positions:

; 1st Line - NYC

#FRIENDLY_POSITION= 5,22

; Set variable conditions:

; 1st Line - Portugal politically aligned with Axis and surrendered

#VARIABLE_CONDITION= 34 [1] [100] [1]

; Set tactical conditions:

; 1st Line - London not tactically threatened (dummy condition)

#TACTICAL_CONDITION= 64,15 [3]

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

}

; USA Reinforces Lisbon Beachhead:

{

#NAME= EF_PORTUGAL USA Build Up Sea Transport Size 1

#POPUP=

#FLAG= 1

#TYPE= 2

#COUNTRY_ID= 3

#TRIGGER= 100

#LEVEL= 0

#PLAN_ID= 3

#SIZE= 1

#LENGTH= 1

; Lisbon Port

#GOAL_POSITION= 50,27

#DATE= 1941/01/01

#STEAL= 0

; Set friendly positions:

; 1st Line - NYC

#FRIENDLY_POSITION= 5,22

; Set variable conditions:

; 1st Line - Portugal politically aligned with Axis and surrendered

#VARIABLE_CONDITION= 34 [1] [100] [1]

; Set tactical conditions:

; 1st Line - London not tactically threatened (dummy condition)

#TACTICAL_CONDITION= 64,15 [3]

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

}

;

{

#NAME= EF_PORTUGAL USA Offensive - Madrid Large

#POPUP=

#FLAG= 1

#TYPE= 2

#COUNTRY_ID= 3

#TRIGGER= 100

#LEVEL= 0

#PLAN_ID= 1

#SIZE= 10

#LENGTH= 0

; Madrid

#GOAL_POSITION= 57,25

#DATE= 1941/01/01

#STEAL= 3

; Set friendly positions:

; 1st Line - Lisbon

#FRIENDLY_POSITION= 51,26

; Set variable conditions:

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

; 2nd Line - France politically aligned with Allies and surrendered AND

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

#VARIABLE_CONDITION= 2 [2] [100] [1]

; Set tactical conditions:

; 1st Line - Washington D.C. not tactically threatened (dummy condition)

#TACTICAL_CONDITION= 2,23 [1]

; Set activate position:

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

; Canceled if Allied Unit in Madrid

#CANCEL_POSITION= 57,25 [0,0] [1,1] [2]

}

{

#NAME= EF_PORTUGAL USA Offensive - Madrid

#POPUP=

#FLAG= 1

#TYPE= 2

#COUNTRY_ID= 3

#TRIGGER= 100

#LEVEL= 0

#PLAN_ID= 1

#SIZE= 7

#LENGTH= 0

; Madrid

#GOAL_POSITION= 57,25

#DATE= 1941/01/01

#STEAL= 0

; Set friendly positions:

; 1st Line - Lisbon

#FRIENDLY_POSITION= 51,26

; Set variable conditions:

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

; 2nd Line - France politically aligned with Allies and surrendered AND

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

#VARIABLE_CONDITION= 2 [2] [100] [1]

; Set tactical conditions:

; 1st Line - Washington D.C. not tactically threatened (dummy condition)

#TACTICAL_CONDITION= 2,23 [1]

; Set activate position:

; 1st Line - 5 Allied units in Portugal

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

; Canceled if Allied Unit in Madrid

#CANCEL_POSITION= 57,25 [0,0] [1,1] [2]

}

{

#NAME= EF_PORTUGAL USA Offensive - Valencia

#POPUP=

#FLAG= 1

#TYPE= 2

#COUNTRY_ID= 3

#TRIGGER= 100

#LEVEL= 0

#PLAN_ID= 1

#SIZE= 1

#LENGTH= 0

; Madrid

#GOAL_POSITION= 61,27

#DATE= 1941/01/01

#STEAL= 0

; Set friendly positions:

; 1st Line - Lisbon

#FRIENDLY_POSITION= 51,26

; Set variable conditions:

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

; 2nd Line - France politically aligned with Allies and surrendered AND

; 3rd Line - Spain aligne with Axis and Not Surrendered

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

#VARIABLE_CONDITION= 2 [2] [100] [1]

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

; Set tactical conditions:

; 1st Line - Washington D.C. not tactically threatened (dummy condition)

#TACTICAL_CONDITION= 2,23 [1]

; Set activate position:

; No Axis units in Valencia or surrounding tiles

#ACTIVATE_POSITION= 61,27 [1,1] [0,0] [1]

#ACTIVATE_POSITION= 61,27 [0,0] [0,0] [1]

; Canceled if Allied or Axis Unit in Valencia

#CANCEL_POSITION= 61,27 [0,0] [1,1] [2]

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

}

--------------------------------------

HERE UK Presses Spain if USA occupies Portugal and Spain is at least 60% Pro-Axis

{

#NAME= UK Presses Spain if US occupies Portugal (1940 - )

#POPUP=

#FLAG= 1

#TYPE= 2

#COUNTRY_ID= 1

#TRIGGER= 100

#LEVEL= 0

#DIPLOMATIC_ID= 38

#DATE= 1940/01/01

; Set friendly positions:

; 1st Line - London

#FRIENDLY_POSITION= 64,15

; Set variable conditions:

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

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

; 3rd Line - Portugal aligned with Axis and surrendered

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

#VARIABLE_CONDITION= 38 [1] [60] [0]

#VARIABLE_CONDITION= 34 [1] [100] [1]

; Set tactical conditions:

; 1st Line - London not tactically threatened (dummy condition)

#TACTICAL_CONDITION= 64,15 [3]

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

}

--------------------------------------

{

#NAME= USA Presses Spain if Portugal Surrendered(1940 - )

#POPUP=

#FLAG= 1

#TYPE= 2

#COUNTRY_ID= 3

#TRIGGER= 50

#LEVEL= 0

#DIPLOMATIC_ID= 38

#DATE= 1940/01/01

; Set friendly positions:

; 1st Line - London

#FRIENDLY_POSITION= 64,15

; Set variable conditions:

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

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

; 3rd Line - Portugal aligned with Axis and surrendered

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

#VARIABLE_CONDITION= 38 [1] [60] [0]

#VARIABLE_CONDITION= 34 [1] [100] [1]

; Set tactical conditions:

; 1st Line - London not tactically threatened (dummy condition)

#TACTICAL_CONDITION= 64,15 [3]

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

}

[ June 12, 2006, 11:28 PM: Message edited by: Edwin P. ]

Link to comment
Share on other sites

If the USA invasion of Portugal is successful then the USA changes its Production plan, to prepare for an Invasion of Spain.

{

#NAME= USA (1939 - 1943) (Post-Entry, Conquered Portugal)

#POPUP=

#FLAG= 1

#TYPE= 2

#COUNTRY_ID= 3

#TRIGGER= 100

#LEVEL= 0

#HQ= 10 [1]

#CORPS= 25 [1]

#ARMY= 25 [3]

#ENGINEERS= 0 [0]

#PARATROOPS= 0 [0]

#ROCKETS= 0 [0]

#TANK_GROUP= 10 [1]

#AIR_FLEET= 10 [2]

#BOMBERS= 10 [1]

#BATTLESHIP= 0 [0]

#CRUISER= 0 [0]

#CARRIER= 0 [0]

#SUB= 0 [0]

#DATE= 1939/09/03

; Set friendly positions:

; 1st Line - Washington D.C.

#FRIENDLY_POSITION= 2,23

#FRIENDLY_POSITION= 51,26

; Set variable conditions:

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

; 2nd Line - Portugal aligned with Axis and surrendered

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

#VARIABLE_CONDITION= 34 [1] [100] [1]

; Set tactical conditions:

; 1st Line - Washington D.C. not tactically threatened (dummy condition)

#TACTICAL_CONDITION= 2,23 [3]

; 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

Good idea, I will send you my Iberia script full set tomorrow (after I test it some more). I am still having a problem with the Initial invasion and as the Human player I can defeat a size 7 Invasion Force Against Spain simpbly by Reinforcing Spanish units, but this drains my resources on the Western Front, as the AI does not focus on destroying one unit at a time.

Yet, my backup script with a Size 10 force tends to work a lot better. As it is now the AI starts with a size 7 attack force and when 3 additional units are available it throws them into the battle (thats why the Size 7 has Steal= 0 and the Size 10 script has Steal= 3)

I also added a script to seize Valencia if the Axis leave it unguarded to defend Madrid. Devious, aren't I.

NOTE: I still have not figured out how to transfer USA Air units to Portugal/Spain. Any ideas, there are no Operate Air Units scripts that I can see.

Link to comment
Share on other sites

Will do,

Note: I added scripts for transporting 4 and 3 USA units to Lisbon to maximize the Buildup in Lisbon and remove a problem I ran into when there were 3 units, Effectively the 1 script would activate and then the simultanous acitivation of the 2 script would cancel it.

Now I have 4 scripts with Steal= 0, Length= 1, and Script Order: Size=4, Size=3, Size=2, Size= 1. This ensures that if 3 units are in USA they will all be transported to Lisbon ASAP, as the first Transport script will grab all available units leaving none for the following scripts.

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