Anybody know the number for map orders?

Moderator: AlvaroSousa

Post Reply
User avatar
PanzerMike
Posts: 1218
Joined: Sun Apr 30, 2006 8:40 am

Anybody know the number for map orders?

Post by PanzerMike »

You can give AI map orders using the Editor. These are your options:
Image

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:
Image

For your convenience:
Image

I am dabbling in actually scripting orders and stuff now to take my mods to a new level [:D]
User avatar
AlvaroSousa
Posts: 12124
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Anybody know the number for map orders?

Post 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
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
AlvaroSousa
Posts: 12124
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Anybody know the number for map orders?

Post by AlvaroSousa »

And after typing this all up I realized it was in the modding manual... sigh
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
PanzerMike
Posts: 1218
Joined: Sun Apr 30, 2006 8:40 am

RE: Anybody know the number for map orders?

Post 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.
User avatar
Uxbridge
Posts: 1514
Joined: Sun Feb 08, 2004 6:16 pm
Location: Uppsala, Sweden

RE: Anybody know the number for map orders?

Post by Uxbridge »

Modding manual?!!

Is there such a thing? Where? [X(]
User avatar
PanzerMike
Posts: 1218
Joined: Sun Apr 30, 2006 8:40 am

RE: Anybody know the number for map orders?

Post 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
User avatar
Uxbridge
Posts: 1514
Joined: Sun Feb 08, 2004 6:16 pm
Location: Uppsala, Sweden

RE: Anybody know the number for map orders?

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

User avatar
Uxbridge
Posts: 1514
Joined: Sun Feb 08, 2004 6:16 pm
Location: Uppsala, Sweden

RE: Anybody know the number for map orders?

Post 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.
User avatar
PanzerMike
Posts: 1218
Joined: Sun Apr 30, 2006 8:40 am

RE: Anybody know the number for map orders?

Post by PanzerMike »

The manual is rather brief. So you will finish it quickly [:)]
User avatar
AlvaroSousa
Posts: 12124
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Anybody know the number for map orders?

Post 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.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
PanzerMike
Posts: 1218
Joined: Sun Apr 30, 2006 8:40 am

RE: Anybody know the number for map orders?

Post 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?
Post Reply

Return to “MODS and Scenarios”