AI Insurrection Corps

Empires in Arms is the computer version of Australian Design Group classic board game. Empires in Arms is a seven player game of grand strategy set during the Napoleonic period of 1805-1815. The unit scale is corps level with full diplomatic options

Moderator: MOD_EIA

Post Reply
pzgndr
Posts: 3773
Joined: Thu Mar 18, 2004 12:51 am
Location: Delaware

AI Insurrection Corps

Post by pzgndr »

I have made progress on an AI improvement for Austria to set insurrection areas and to place insurrection corps when triggered. There was code for setting areas, but the part for identifying specific areas adjacent to enemy areas was flawed. The random area selection worked but that wasn't great. For placements, I noted there was no code for insurrection corps so I added that. After wrestling with various issues over the past couple of days, I've resolved this to my satisfaction. Screenshot shows France entering Tyrol where the AI had set insurrection areas. Once triggered, the AI placed an insurrection corps in Vienna. I may revise this at some point to place the insurrection corps adjacent to an enemy invader but that may be too reckless for the AI. If anyone has some suggestions for placement logic, I can work that in.

While playtesting this issue, it provided a good chance to watch AI Austria respond to me playing as France. Some good and some not so good, so I've made several AI tweaks along the way for retreats and advances. This continues to be a work in progress, but I am making some progress.

Image
Attachments
InsurrectionCorps.jpg
InsurrectionCorps.jpg (338.05 KiB) Viewed 352 times
Bill Macon
Empires in Arms Developer
Strategic Command Developer
Post Reply

Return to “Empires in Arms the Napoleonic Wars of 1805 - 1815”