$ChangeOrder

Warplan is a World War 2 simulation engine. It is a balance of realism and playability incorporating the best from 50 years of World War 2 board wargaming.

Moderator: AlvaroSousa

Post Reply
Isoko
Posts: 84
Joined: Fri May 19, 2017 1:43 pm

$ChangeOrder

Post by Isoko »

I dont understanding $ChangeOrder.

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.

Example 1
1939 Europe _changeOrder.txt
$ChangeOrder
if_Date=1/1/1939
if_Country=42
if_Surrender=true
actionCountry=6
lifespan=tillTrigger
xyArea=173,67,11
xyArea=171,59,11
xyArea=172,60,11
xyArea=167,56,11
xyArea=172,54,11
xyArea=175,55,11
//removes air garrisons
xyArea=171,58,0
xyArea=172,58,0
//adds Danish air garrisons
xyArea=155,65,6
xyArea=158,65,6
$End

Example 2
//Germany - With Poland conquered add all the polish objectives back
$ChangeOrder
if_Date=9/1/1939
if_Country=42
if_Surrender=true
actionCountry=6
lifespan=tillTrigger
xyArea=175,55,trueAxis
xyArea=176,64,trueAxis
xyArea=177,59,trueAxis
xyArea=178,53,trueAxis
xyArea=178,57,trueAxis
xyArea=179,62,trueAxis
xyArea=180,67,trueAxis
$End

I think Exmple 1 is executed when Poland surrenders.
I dont understanding number,Axis objective and Allies objective.

Example 1
What do 11,0 and 6 mean?
What happens at 173,67 location?

Example 2
What are Axis objective and Allies objective?
What will turn on or off?
What happens at 175,55 location?
User avatar
AlvaroSousa
Posts: 12107
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: $ChangeOrder

Post by AlvaroSousa »

xyArea=x,y,number ¯ location of map order change and the order number.

This refers to the A.I. order number - Editor -> A.I. Strat -> look at bottom of screen on the left you will see "ORDER ID# ?" click on any of the orders below. That number changes. So in case of the 1st set of $ChangeOrder 11 refers to a "GarL" order = garrison large land unit. The ZERO removes the air garrison orders which I think were order 6. The Danish air garrison order now adds order 6 which is a bomber garrison to help stop the UK run into Denmark and help for Noway.

##########

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.

This changes if a location is an objective for the A.I. Axis or Allied side or both.

In the A.I. Strat section again you have Orders, Set Both Obj, Set Axis Obj, Set Allied Obj
You can do this 2 ways. Either via script or by clicking on the map.

Select set both obj and click any hex. You will see 2 flags. Hover over and hit DELETE removes the objectives.

So the xyArea above adds or removes objectives via script.
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
Isoko
Posts: 84
Joined: Fri May 19, 2017 1:43 pm

RE: $ChangeOrder

Post by Isoko »

Thank you very much, Alvaro.

Editor A.I. Strat
FtrGar=Air Superiority Garrison
IntStr=Air Superiority Interceptor Defense
Are these correct?
User avatar
AlvaroSousa
Posts: 12107
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: $ChangeOrder

Post by AlvaroSousa »

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

Return to “WarPlan”