AI for MWIF - Switzerland
Posted: Sun Sep 14, 2008 1:05 pm
Switzerland setup AI
Switzerland Forces
4-3 INF, 5-4 INF, 5-4 MTN, RES 4-2, RES 3-3 MIL 1940 6-3 INF, 1939 FTR2
Switzerland has four basic setups:
* Capital defence: Is just as the name suggests a setup where the Swiss
land units are setup to defend Berne.
* Zurich defence: Is just as the name suggests a setup where the Swiss
land units are setup to defend Zurich.
* City defence: Both Berne and Zurich is defended in this setup
* Mountain pass defence: All Swiss armies are setup between Berne and Zurich and north of the cites to cower all mountain passes
Switzerland has two extreme setups:
* Italian defence: In the event of attack from Italian soil only, are Swiss armies setup along the border to cover the advance to Zurich.
* Marauder defence: Is just as the name suggests a setup where the one of the Swiss units is set up to raise mayhem before Switzerland is beaten. The List of targets is: Milan, Turin, Lyon.
Declaration of war
Given a CW/FR declaration of war (with or without US) and GE control of Switzerland OR a GE/IT declaration of war with and FR/CW control of Switzerland the suggested reasoning for the AI could be as below.
Threats to guard against:
* Threat of paradrop on Berne
* Threat of paradrop on Zurich
* Threat of enemy land units bypassing Switzerland by mountain passes
* Threat of enemy land units entering Berne
* Threat of enemy land units entering Zurich
* Threat of enemy land units entering Switzerland only from Italy
Good hopes:
* Chance of intervention from controlling power
* Chance of intervention from none controlling power
* Chance to try to step on facedown allied unit(s)
* Chance to try to step on facedown axis unit(s)
* Chance to capture a Factory
Threat of paradrop on Berne:
IF the Weather is Storm or Blizzard the no risk of paradrop
IF any of the countries at war has a:
Organized ATR AND
it’s in supply or can be put in supply AND
the ATR has range to Berne or can be put in range of it by naval transport AND
there is a organized PARA AND
it’s in supply or can be put in supply AND
the PARA has range to ATR or can be put in range of it AND
the PARA and the ATR belongs to countries that can cooperate AND
the chance of a successful paradrop is > 20 %
THEN
Threat of paradrop on Berne
Threat of paradrop on Zurich:
Same as Threat of paradrop on Berne but the target is Zurich
Threat of enemy land units entering Switzerland only from Italy
IF any of the countries at war has
A organized LandUnit AND
it’s in France or Germany AND
it can reach a hex in Switzerland in one impulses AND
it’s not blocked by ZOC. then there is no Threat of enemy land units entering Switzerland only from Italy
IF any of the countries at war has
A organized LandUnit AND
It’s in Italy AND
it can reach a hex in Switzerland in one impulses
it’s not blocked by ZOC.
THEN
Threat of enemy land units entering Switzerland only from Italy
Threat of enemy land units entering Berne
IF any of the countries at war has
A organized LandUnit AND
it’s can reach Berne in one impulses AND
it’s not blocked by ZOC.
THEN
Threat of enemy land units entering Berne
Threat of enemy land units entering Zurich
Same as Threat of enemy land units entering Berne but the target is Zurich
Threat of enemy land units bypassing Switzerland by mountain passes
IF any of the countries at war has
A organized LandUnit AND
it’s can reach the hex SE of Berne in one impulses AND
it’s not blocked by ZOC.
THEN
Threat of enemy land units bypassing Switzerland by mountain passes
Chance of intervention in Switzerland from controlling power
IF Controlling major power has a unit in any of Italy, Germany and France AND
it’s in supply or can be put in supply AND
the unit can cooperate with Switzerland AND
the unit can move into Switzerland
ELSE IF Controlling major power can railmove a unit into Switzerland AND
the unit can cooperate with Switzerland
THEN
Chance of intervention in Switzerland from controlling power
Chance of intervention from none controlling power
IF none controlling major power has a HQ in any of Italy, Germany and France AND
it’s in supply or can be put in supply AND
the HQ can move into Switzerland AND
One of A or B
A)
IF none controlling major power has a unit in any of Italy, Germany and France AND
it’s in supply or can be put in supply AND
the unit can move into Switzerland
B)
ELSE IF none controlling major power can railmove a unit into Switzerland
When a setup is used
* Capital defence
Is consider to be used when A, B, C
A) Threat of paradrop on Berne OR Threat of enemy land units entering Berne
C) No Threat of enemy land units entering Zurich
D) War with the allies
* Zurich defence
Is consider to be used when A, B, C
A) Threat of paradrop on Zurich OR Threat of enemy land units entering Zurich
C) No Threat of enemy land units entering Berne
D) War with the axis
* City defence
Is consider to be used when A, B, C OR When the AI wants
A) Chance of intervention in Switzerland from controlling power
B) Threat of paradrop on Berne OR Threat of enemy land units entering Berne
C) Threat of paradrop on Zurich OR Threat of enemy land units entering Zurich
* Mountain passes defence
Is consider to be used when C and only one of A OR B
A) Threat of paradrop on Berne or Threat of enemy land units entering Berne
B) Threat of paradrop on Zurich or Threat of enemy land units entering Zurich
C) Threat of enemy land units bypassing Switzerland by mountain passes
* Italian defence
Is consider to be used when A and B
A) No Threat of paradrop on Berne or Threat of enemy land units entering Berne
B) Threat of enemy land units entering Switzerland only from Italy
* The Marauder defence
Is consider to be used when X and A, B, C and D
-- Lyon A
A) Lyon is controlled/conquered by the allies
B) There is no allied landunit in Lyon
C) The Switzerland 4-3 INF can reach Lyon in one impulse
D) The axis major power controlling Switzerland is at war France
X) The allies can’t directly rail/move or transport a unit to the hex that the axis want to reach and they can’t block the axis land units movement and the chance of a successful ground strike on the axis land unit it is less than 30%
-- Milan, Turin, Genoa, La Spezia B
A) Milan, Turin, Genoa or La Spezia is controlled/conquered by the axis
B) There is no axis landunit in the hex
C) The Switzerland 5-4 MTN can reach the hex in one impulse
D) The allied major power controlling Switzerland is at war IT
X) The axis can’t directly rail/move or transport a unit to the hex that the allies want to reach and they can’t block the allied land units movement and the chance of a successful ground strike on the allied land unit it is less than 30%
Plane setup
War with the Allies:
Zurich FTR2
War with the Axis:
Berne FTR2
Switzerland Forces
4-3 INF, 5-4 INF, 5-4 MTN, RES 4-2, RES 3-3 MIL 1940 6-3 INF, 1939 FTR2
Switzerland has four basic setups:
* Capital defence: Is just as the name suggests a setup where the Swiss
land units are setup to defend Berne.
* Zurich defence: Is just as the name suggests a setup where the Swiss
land units are setup to defend Zurich.
* City defence: Both Berne and Zurich is defended in this setup
* Mountain pass defence: All Swiss armies are setup between Berne and Zurich and north of the cites to cower all mountain passes
Switzerland has two extreme setups:
* Italian defence: In the event of attack from Italian soil only, are Swiss armies setup along the border to cover the advance to Zurich.
* Marauder defence: Is just as the name suggests a setup where the one of the Swiss units is set up to raise mayhem before Switzerland is beaten. The List of targets is: Milan, Turin, Lyon.
Declaration of war
Given a CW/FR declaration of war (with or without US) and GE control of Switzerland OR a GE/IT declaration of war with and FR/CW control of Switzerland the suggested reasoning for the AI could be as below.
Threats to guard against:
* Threat of paradrop on Berne
* Threat of paradrop on Zurich
* Threat of enemy land units bypassing Switzerland by mountain passes
* Threat of enemy land units entering Berne
* Threat of enemy land units entering Zurich
* Threat of enemy land units entering Switzerland only from Italy
Good hopes:
* Chance of intervention from controlling power
* Chance of intervention from none controlling power
* Chance to try to step on facedown allied unit(s)
* Chance to try to step on facedown axis unit(s)
* Chance to capture a Factory
Threat of paradrop on Berne:
IF the Weather is Storm or Blizzard the no risk of paradrop
IF any of the countries at war has a:
Organized ATR AND
it’s in supply or can be put in supply AND
the ATR has range to Berne or can be put in range of it by naval transport AND
there is a organized PARA AND
it’s in supply or can be put in supply AND
the PARA has range to ATR or can be put in range of it AND
the PARA and the ATR belongs to countries that can cooperate AND
the chance of a successful paradrop is > 20 %
THEN
Threat of paradrop on Berne
Threat of paradrop on Zurich:
Same as Threat of paradrop on Berne but the target is Zurich
Threat of enemy land units entering Switzerland only from Italy
IF any of the countries at war has
A organized LandUnit AND
it’s in France or Germany AND
it can reach a hex in Switzerland in one impulses AND
it’s not blocked by ZOC. then there is no Threat of enemy land units entering Switzerland only from Italy
IF any of the countries at war has
A organized LandUnit AND
It’s in Italy AND
it can reach a hex in Switzerland in one impulses
it’s not blocked by ZOC.
THEN
Threat of enemy land units entering Switzerland only from Italy
Threat of enemy land units entering Berne
IF any of the countries at war has
A organized LandUnit AND
it’s can reach Berne in one impulses AND
it’s not blocked by ZOC.
THEN
Threat of enemy land units entering Berne
Threat of enemy land units entering Zurich
Same as Threat of enemy land units entering Berne but the target is Zurich
Threat of enemy land units bypassing Switzerland by mountain passes
IF any of the countries at war has
A organized LandUnit AND
it’s can reach the hex SE of Berne in one impulses AND
it’s not blocked by ZOC.
THEN
Threat of enemy land units bypassing Switzerland by mountain passes
Chance of intervention in Switzerland from controlling power
IF Controlling major power has a unit in any of Italy, Germany and France AND
it’s in supply or can be put in supply AND
the unit can cooperate with Switzerland AND
the unit can move into Switzerland
ELSE IF Controlling major power can railmove a unit into Switzerland AND
the unit can cooperate with Switzerland
THEN
Chance of intervention in Switzerland from controlling power
Chance of intervention from none controlling power
IF none controlling major power has a HQ in any of Italy, Germany and France AND
it’s in supply or can be put in supply AND
the HQ can move into Switzerland AND
One of A or B
A)
IF none controlling major power has a unit in any of Italy, Germany and France AND
it’s in supply or can be put in supply AND
the unit can move into Switzerland
B)
ELSE IF none controlling major power can railmove a unit into Switzerland
When a setup is used
* Capital defence
Is consider to be used when A, B, C
A) Threat of paradrop on Berne OR Threat of enemy land units entering Berne
C) No Threat of enemy land units entering Zurich
D) War with the allies
* Zurich defence
Is consider to be used when A, B, C
A) Threat of paradrop on Zurich OR Threat of enemy land units entering Zurich
C) No Threat of enemy land units entering Berne
D) War with the axis
* City defence
Is consider to be used when A, B, C OR When the AI wants
A) Chance of intervention in Switzerland from controlling power
B) Threat of paradrop on Berne OR Threat of enemy land units entering Berne
C) Threat of paradrop on Zurich OR Threat of enemy land units entering Zurich
* Mountain passes defence
Is consider to be used when C and only one of A OR B
A) Threat of paradrop on Berne or Threat of enemy land units entering Berne
B) Threat of paradrop on Zurich or Threat of enemy land units entering Zurich
C) Threat of enemy land units bypassing Switzerland by mountain passes
* Italian defence
Is consider to be used when A and B
A) No Threat of paradrop on Berne or Threat of enemy land units entering Berne
B) Threat of enemy land units entering Switzerland only from Italy
* The Marauder defence
Is consider to be used when X and A, B, C and D
-- Lyon A
A) Lyon is controlled/conquered by the allies
B) There is no allied landunit in Lyon
C) The Switzerland 4-3 INF can reach Lyon in one impulse
D) The axis major power controlling Switzerland is at war France
X) The allies can’t directly rail/move or transport a unit to the hex that the axis want to reach and they can’t block the axis land units movement and the chance of a successful ground strike on the axis land unit it is less than 30%
-- Milan, Turin, Genoa, La Spezia B
A) Milan, Turin, Genoa or La Spezia is controlled/conquered by the axis
B) There is no axis landunit in the hex
C) The Switzerland 5-4 MTN can reach the hex in one impulse
D) The allied major power controlling Switzerland is at war IT
X) The axis can’t directly rail/move or transport a unit to the hex that the allies want to reach and they can’t block the allied land units movement and the chance of a successful ground strike on the allied land unit it is less than 30%
Plane setup
War with the Allies:
Zurich FTR2
War with the Axis:
Berne FTR2















