Robert24
Posts: 176
Joined: 7/26/2013 Status: offline
|
Hi The script AI folder is at this path… C:\ (the location on your computer where you have saved the game, or the default is Matrix Games\) Strategic Command WWII - World at War\Campaigns\_1939 World at War\Scripts\AI Open the file labeled amphibious.txt. Create a script to invade the USA from subjugated England. The instructions are at the top. Here is an example: ; Germany prepares to attack USA: ; I assume all of the British isles have been invaded and conquered with Sir Churchill missing, but last seen blasting away at German paratroopers with his Tommy gun { #NAME= Germany Build Up Amphibious - USA #POPUP= #FLAG= 1 ; the invasion attempt will repeat time and again #TYPE= 2 #COUNTRY_ID= 45 #TRIGGER= 100 #GV= 1[1,100] #LINK= 0[0] #LEVEL= 0 #SIZE= 6,8 #BUILD_LENGTH= 2 #LENGTH= 10 #RANGE= 15 #LONG_RANGE= 1 ; Boston ; Sorry Boston #GOAL_POSITION= 24,50 #COASTAL_POSITION= 26,49 #DATE= 1940/01/01 #STEAL= 3 ; Set friendly positions: ; 1st Line - Brussels ; 2nd Line - Berlin ; 3rd Line - Paris ; 4th Line - Brest ; 5th Line - Bordeaux ; 6th Line - Rome ; 7th Line - Bari ; 8th Line – Palermo ; 9th Line – London ; 10th Line – Manchester ; 11th Line - Glasgow #FRIENDLY_POSITION= 87,39 #FRIENDLY_POSITION= 95,36 #FRIENDLY_POSITION= 84,43 #FRIENDLY_POSITION= 80,49 #FRIENDLY_POSITION= 75,43 #FRIENDLY_POSITION= 95,53 #FRIENDLY_POSITION= 99,54 #FRIENDLY_POSITION= 95,58 #FRIENDLY_POSITION= 81,37 #FRIENDLY_POSITION= 79,33 #FRIENDLY_POSITION= 77,79 ; Set variable conditions: ; Really, all they need from the Italians is their Navy ; 1st Line - Italy politically aligned with Axis and not surrendered #VARIABLE_CONDITION= 59 [1] [100] [0] ; Set tactical conditions: ; 1st Line - Berlin not tactically threatened AND ; 2nd Line - Rome not tactically threatened AND ; 3rd Line - Paris not tactically threatened #TACTICAL_CONDITION= 95,36 [1] #TACTICAL_CONDITION= 95,53 [1] #TACTICAL_CONDITION= 80,49 [1] ; Set dummy activate position (no units at position 0,0) as I assume you will have 8 or more German units placed in England at the start of the game #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] } You will also need Transport and Fleet scripts, each found in the path above having their own .txt files: - A Transport script to carry German units from continental Europe to England so any follow on Amphibious script has the units to execute. - Another Transport script to reinforce the invasion troops the USA. A port will have to be conquered, that is why I selected Boston above. - A Fleet script to protect the invasion and follow-on troop transports. Good luck!
< Message edited by Robert24 -- 1/26/2019 6:13:36 PM >
|