Page 1 of 1
Anybody know the number for map orders?
Posted: Fri Apr 17, 2020 8:00 am
by PanzerMike
You can give AI map orders using the Editor. These are your options:
You can however, also give script orders (the script orders will be combined with map orders by some kind of magic).
The script orders have numbers rather than names. However, I can not find these numbers anywhere.
This is from the manual:
$ChangeOrder
actionCountry=number― Determines if this order if for the Axis or Allies. Select an active Axis country for the Axis and an active Allied country for the Allies.
xyArea=x,y,number ― location of map order change and the
order number.
xyArea=x,y,trueAxis ― Turn on Axis objective at x, y location.
xyArea=x,y,falseAxis ― Turn off Axis objective at x, y location.
xyArea=x,y,trueAllies ― Turn on Allies objective at x, y location.
xyArea=x,y,falseAllies ― Turn off Axis objective at x, y location.
Please help me out.
Update: I figured it out, the Editor sometimes mystifies me. But here it is:
For your convenience:
I am dabbling in actually scripting orders and stuff now to take my mods to a new level [:D]
RE: Anybody know the number for map orders?
Posted: Fri Apr 17, 2020 11:16 am
by AlvaroSousa
Prepare to have your hair ripped out.
### Defense lines land units will pick by priority D1, then D2, then defensible terrain + supply based on a formula as last resort
D2 - secondary defensive line selection pick
D1 - primary defensive line selection pick
### Air garrisons in which planes will choose before supporting front lines to hold this position unless threatened in which they will leave.
FtrGar - air superiority garrison
IntGar - air superiority garrison if the area is strategically bombed
BmbGar - bomber garrison
### Offensive sets units to go to the icon hexes to perform the function noted. They are aware of enemy aircraft in the area and don't go if they will be constantly attacked
Air Attack - Sets the A.I. to commit a non-stop air offensive within the strategic range (10 hexes) of the icon vs enemies
Submarine Raid Supply - Subs are sent to the hex the icon is on in raider mode to stop port supply
Submarine Merchant Raid - Subs are sent to the hex the icon is on in raider mode to attack convoy lanes
Invade - invasion landing site on water tiles that are not oceans
### Garrison
Large - A.I. units designated "defend" or "garrison/defend"
Armor - A.I. units designated "attack"
Small - A.I. units designated "garrison" or "garrison/defend". "Garrison" units are selected before "defend" units
### Operational Order
Retreat - Run away within command range from the area to the best defensive line with supply.
### Patrols
Small Patrol - 1-3 naval groups will go to the hex in fleet mode
Medium Patrol - 4-6 naval groups will go to the hex in fleet mode
Large Patrol - 7-9 naval groups will go to the hex in fleet mode
### Garrison and Holds
HQ - Garrison for HQ but will retreat in the face of threat
Large Hold - Units designated as "defend" holds the hex at all costs regardless of situation
Attack Hold - Units designated as "attack" holds the hex at all costs regardless of situation
Small Hold - Units designated as "defend" or "garrison" holds the hex at all costs regardless of situation. "Garrison" units are selected before "defend" units
### Ports
Battle group port - Surface naval groups will base at this location as their closest pick
Carrier group port - Carrier naval groups will base at this location as their closest pick (fleets with 1 carrier + their support groups)
Submarine group port - Submarine naval groups will base at this location as their closest pick.
### Offensive holds assigned holds that will take priority over scripted land gathers. Green garrison map orders have priority over offensive map orders
Large Offensive Hold - units designated as "defend" will move here and hold position till icon is removed through scripting.
Attack Offensive Hold - units designated as "attack" will move here and hold position till icon is removed through scripting.
### Other
Ignore - All hexes with command range of the icon (5 hexes) will be ignored for internal A.I. movement and attack
RE: Anybody know the number for map orders?
Posted: Fri Apr 17, 2020 11:17 am
by AlvaroSousa
And after typing this all up I realized it was in the modding manual... sigh
RE: Anybody know the number for map orders?
Posted: Fri Apr 17, 2020 1:54 pm
by PanzerMike
Actually....no.
Example: the ignore order, all hexes with command range of the icon (5 hexes) will be ignored for internal A.I. movement and attack.
Nowhere in the Modding manual does it say that the ignore applies to the command range of 5 hexes, nor that it applies to internal AI movement and attack only..
Both the editor and its manual could use some tender loving care.
RE: Anybody know the number for map orders?
Posted: Fri Apr 17, 2020 3:33 pm
by Uxbridge
Modding manual?!!
Is there such a thing? Where? [X(]
RE: Anybody know the number for map orders?
Posted: Fri Apr 17, 2020 3:35 pm
by PanzerMike
Game Manuals -
https://drive.google.com/open?id=1A5HYr ... uIUtTxaFCT
Location - Default game location folder which is usually.... C:\Program Files (x86)\Matrix\WarPlan\Manuals
RE: Anybody know the number for map orders?
Posted: Fri Apr 17, 2020 3:36 pm
by Uxbridge
Oh, never mind, I found it. I had moved the game manual to a "WarPlan place", and, apparently, were totally oblivious to the other PDF at the time.
RE: Anybody know the number for map orders?
Posted: Fri Apr 17, 2020 3:37 pm
by Uxbridge
Hi again. If only I had known this before. But better late than never. I will now have some interesting reading to do.
RE: Anybody know the number for map orders?
Posted: Fri Apr 17, 2020 3:58 pm
by PanzerMike
The manual is rather brief. So you will finish it quickly [:)]
RE: Anybody know the number for map orders?
Posted: Fri Apr 17, 2020 4:38 pm
by AlvaroSousa
ORIGINAL: PanzerMike
Actually....no.
Example: the ignore order, all hexes with command range of the icon (5 hexes) will be ignored for internal A.I. movement and attack.
Nowhere in the Modding manual does it say that the ignore applies to the command range of 5 hexes, nor that it applies to internal AI movement and attack only..
Both the editor and its manual could use some tender loving care.
It's in the modding manual. I'm looking right at it.
The editor comes later for updating. Game comes first. Way more players than modders.
RE: Anybody know the number for map orders?
Posted: Fri Apr 17, 2020 5:17 pm
by PanzerMike
I am reading Scenario Modding and Creation.pdf (last modified 12 february). On the ignore map order:
Ignore – The A.I. will not set map orders for this area. It can only be changed via script.
No mention of this applying to a radius of 5. Are we reading the same document?