peskpesk
Posts: 2347
Joined: 7/17/2003 From: Stockholm, Sweden Status: offline
|
Spain setup AI Spain Forces 3-3 RES MIL. 2-3 RES MIL, 1-3 INF DIV, 2-5 CAV, 3-1 GAR, 3-3 INF, 4-1 GAR, 4-3 INF, 5-3 INF, 6-3 INF wp, 5-4 MOT, 5-2-3 HQI, 1 FTR2, 1941 6-5 MEC, 1943 7-6 ARM, 7 CA, 1 TRS Spain has one basic setup strategy: * Region defence (Normal defence): Spain is divided into regions and each region is given units to face the threat to it, depending on the size of the threat and the priority of the region Spain has four special setup strategies: * Capital defence: Is just as the name suggests a setup where the Spain land units are setup to defend Madrid. - Primary Region: Madrid * Hero city Barcelona defence: When faced with a mighty enemy the chance of holding the border is slim, but the mountain region around Barcelona could stop any attacker. The Spanish land units are setup around Barcelona. - Primary Region: Barcelona * Hero city Barcelona and Bilbao defence: When faced with a mighty enemy the chance of holding the border is slim, but the mountain region around Barcelona and Bilbo could stop any attacker. The Spanish land units are setup around Barcelona and Bilbo - Primary Region: Barcelona and Bilbao * El-Rif (Spanish Morocco) defence: Escaping certain doom and saving the Rock (Gibraltar) is possible by setting up the a significant force of Spanish Forces in Spanish El-Rif (Spanish Morocco), where they can fight on after Spain is incompletely conquered. - Primary Region: El-Rif (Spanish Morocco) Spain has five extreme strategies: * Attack Portugal: An attacking force of units, not needed in defence against the current threat or factory defence, are placed near Portugal to attack it if the chance is given. - Primary Region: Portugal Border * Attack France: An attacking force of units, not needed in defence against the current threat or factory defence, are placed near France to attack it if the chance is given. Normally used after the Axis captures Gibraltar and activates Spain while Mainland France is still not in Axis hands. - Primary Region: France Border * Attack Morocco: An attacking force of units, not needed in defence against the current threat or factory defence, are placed near Morocco to attack it if the chance is given - Primary Region: El-Rif (Spanish Morocco) * Attack Algeria: An attacking force of units, not needed in defence against the current threat or factory defence, are placed near Algeria to attack it if the chance is given - Primary Region: El-Rif (Spanish Morocco) * Attack Gibraltar: An attacking force of units, not needed in defence against the current threat or factory defence, are placed near Gibraltar to attack it if the chance is given - Primary Region: South border, El-Rif (Spanish Morocco) Declaration of war Given a GE/IT declaration of war and Western allies control of Spain OR an alignment by the GE/IT OR USSR/Western allies declaration of war and GE/IT control of Spain. The suggested reasoning for the AI could be as below. Threats to guard against: * Threat of enemy land units entering Spain from France * Threat of enemy land units entering Spain from Portugal * Threat of enemy land units entering Spain from Gibraltar * Threat of enemy land units entering Spain from Vichey France * Threat of enemy land units entering El-Rif (Spanish Morocco) from Algeria * Threat of enemy land units entering El-Rif (Spanish Morocco) from Marroco * Threat of enemy land units entering El-Rif (Spanish Morocco) from Gibraltar * Threat of paradrop on/close to Madrid * Threat of paradrop on/close to Barcelona * Threat of paradrop on/close to Bilbao * Threat of invasion from Bay of Biscay * Threat of invasion from Western Mediterranean sea * Threat of invasion from Cape St Vincent * Threat of invasion from Western Mediterranean sea against El-Rif (Spanish Morocco) * Threat of invasion from Cape St Vincent sea against El-Rif (Spanish Morocco) * Threat of having the land unit disrupted Good hopes: * Chance of intervention from controlling power * Chance to try to capture Gibraltar * Chance to try to conquer Portugal * Chance to try to conquer Morocco * Chance to try to conquer Algeria * Chance to try to attack France * Chance to try to step on facedown allied/axis unit(s) Simplified data for the setup script: Threat Levels * Small: 1-3 DIV or 1-2 CORP/ARMY + or 1 CORP/ARMY + 1-2 DIV * Medium: More that Small and less than Large * Large: 5+ CORP/ARMY OR 8+ DIV Spanish Forces groups: 1939 * Poor: 1-3 INF DIV, 2-5 CAV, 3-1 GAR * Fair: 3-3 INF, 4-1 GAR, 4-3 INF * Good: 5-3 INF, 6-3 INF wp, 5-4 MOT * HQ: 5-2-3 HQI 1941 * Poor: 1-3 INF DIV, 2-5 CAV, 3-1 GAR * Fair: 3-3 INF, 4-1 GAR, 4-3 INF * Good: 5-3 INF, 6-3 INF wp, 5-4 MOT, 6-5 MEC * HQ: 5-2-3 HQI 1943 * Poor: 1-3 INF DIV, 2-5 CAV, 3-1 GAR * Fair: 3-3 INF, 4-1 GAR, 4-3 INF * Good: 5-3 INF, 6-3 INF wp, 5-4 MOT, 6-5 MEC, 7-6 ARM * HQ: 5-2-3 HQI Spanish Regions Bilbao Hexes = Biblao + 1 // 1 hex around Priority = 1 //1 highest, 5 lowest Barcelona Hexes = Barcelona + 1 // 1 hex around Priority = 1 Madrid Hexes = Madrid + 1 // 1 hex around Priority = 2 North coast Hexes = InvadableCoast(Spain, Bay of Biscay) + 1 // 1 hex inland from the coast Priority = 4 South coast Hexes = InvadableCoast Coast(Spain, Cape St Vincent) + 1 // 1 hex inland from the coast East coast Hexes = InvadableCoast(Spain, Western Mediterranean sea) + 1 // 1 hex inland from the coast Priority = 3 South border Hexes = Border(Spain, Gibraltar) + 1 // 1 hex inland from border Priority = 3 Portugal border Hexes = Border(Spain, Portugal) + 1 // 1 hex inland from the border Priority = 3 France border Hexes = Border(Spain, France) + 1 // 1 hex inland from the border Priority = 3 El-Rif (Spanish Morocco) Hexes = Governed Region El-Rif (Spanish Morocco) // All hexes within the El-Rif (Spanish Morocco) territory Priority = 5 Simplified logic of the primary rule of the setup script 1 Set the threat level for all Spanish regions 2 Calculate the number of units needed to meet the given threats for all Spanish regions 3 Calculate whether there are extra or too few units to handle all threats 4 Consider using a special defense 5 For all Spanish regions decide how many units each it is assigned. - 5a If a Normal defence is chosen, modify allocation of defending units to each Spanish region depending on whether there are extra or too few units.
- 5b If a Special defense is chosen, the defence has coded how many of the available units the primary region(s) is assigned. The rest of the units are assigned like by Normal defence.
6 Sort all Spanish regions according to their threat level and priority 7 For all Spanish regions pick which units it is assigned. - 7a Assign 1 poor unit to each region with a Small threat level, until there are no more poor units, or no more regions with a Small threat level. The
purpose behind doing this is to limit the number of good or fair units given to regions with a Small threat level. Note that this does not apply to regions with a No threat level that have 1 unit allocated (e.g., regions with a priority of 1 or 2). - 7b Assign 1 good unit to each region with a Large threat level, until there are
no more good units, or no more regions with a Large threat level - 7c Distribute any remaining units
8 The exact placement of units in each region is decided by a special AIO routine.
Attachment (1)
_____________________________
"'Malta - The Thorn in Rommel's Side"
|