Translations for our friends around the world.

New URL: www.Schwerpunkt.Games



Click image to go to main site  www.Schwerpunkt.Games

Author Topic: (Resolved)How do you create a Computer Opponent Plan File?  (Read 8692 times)

0 Members and 1 Guest are viewing this topic.

Offline blond_knight

  • New member
  • *
  • Posts: 22
  • New member
(Resolved)How do you create a Computer Opponent Plan File?
« on: October 29, 2016, 03:04:34 PM »
I noticed that the CO/AI doesn't or cant make airborne drops or naval transport/landings.  So Im thinking I need to manually create an opponent plan file to do that?  How is that done? I dont see instructions in the manual or help file.
« Last Edit: October 31, 2016, 02:24:08 AM by blond_knight »
funny
0
informative
0
Thanks
0
No reactions
No reactions
No reactions

Offline blond_knight

  • New member
  • *
  • Posts: 22
  • New member
Re: How do you create a Computer Opponent Plan File?
« Reply #1 on: October 31, 2016, 02:23:26 AM »
Ron got me straight.  Apparently its in the AGW v1.2 patch notes.  Which I didnt think to check since mine was pre-patched to V1.2 at purchase.


5.  A capability has been added to allow the players to create a computer
opponent plan for a phase using any text editor, load the plan upon AGW
query, and AGW will execute the plan.  The text file format is one number per
line, and ends in 32000.  The following operations are four lines long, with
the first line being the number shown, followed by the unit number times 20
on the next line, followed by the destination hex x coordinate on the third
line, and followed by the destination y coordinate on the fourth line.  Note
all planned operations must follow the AGW rules, and are checked during execution.
There is one exception:  Script Move, No Checks allows a unit move without any
checking at all, and can be used if a valid unit move is not allowed by AGW.
Naval_Escort             32001
Naval_Search_and_Destroy 32002
Naval_Supply             32003
Naval_Fire_Support       32004
Naval_Landings           32005
Naval_Transport          32006
Naval_Move_to_Port       32007
Naval_Supply_Mulberry    32008
Air_Fighter_CAP          32010
Air_Search_and_Destroy   32011
Air_Ground_Support       32012
Air_Tactical_Bombing     32013
Air_Interdiction         32015
Air_Supply               32016
Airborne_Drop            32017
Air_Recon                32018
Air_Rebase               32019
Move_to_Attack           32030
Move_No_Attack           32031
Strategic_RR_Move        32033
Move_To_Exploit          32034
Script Move, No Checks   32047

The following operations are two lines long, with the first line being the number
shown, followed by the unit number times 20 on the next line.
Digin                    32037
Allocate_Reserve         32038
Set_Defend_Type_Hold     32039
Set_Defend_Type_Normal   32040
Set_Defend_Type_Give     32041
Allocate_Replacements    32050

Breakthrough (32044), Capture Hex (32045), and Holding (32046) combat operations
are 15 lines long.  An example Breakthrough combat is shown below.  All units numbers
are times 20.
32044
Defender_unit_number
Attacker_unit_number1
Attacker_unit_number2
Attacker_unit_number3
Attacker_unit_number4
Attacker_unit_number5
Attacker_unit_number6
Attacker_unit_number7
Attacker_unit_number8
Defender_unit_number
Pursuer_unit_number1
Pursuer_unit_number2
Pursuer_unit_number3
Defender_unit_number
funny
0
informative
0
Thanks
0
No reactions
No reactions
No reactions

Offline blond_knight

  • New member
  • *
  • Posts: 22
  • New member
Re: (Resolved)How do you create a Computer Opponent Plan File?
« Reply #2 on: November 03, 2016, 10:57:20 PM »
So as an example I created a quick Axis AI plan for scenario 7(Crete) to facilitate three airdrops on the first turn.

Here's the contents of plan7_1.txt
32017
1200
196
214
32017
1160
196
214
32017
1180
196
214
32000
funny
0
informative
0
Thanks
0
No reactions
No reactions
No reactions

Tags:
     

    Manuals/Help files/Ref cards

    Started by Asid

    Replies: 1
    Views: 8531
    Last post November 26, 2016, 05:18:46 PM
    by blond_knight
    Creating computer Allies plan for scenario 31

    Started by blond_knight

    Replies: 4
    Views: 8236
    Last post November 15, 2016, 02:45:46 AM
    by blond_knight