Joel Billings
Posts: 32265
Joined: 9/20/2000 From: Santa Rosa, CA Status: offline
|
Yes, there is a basic "campaign" AI that is generic. There are lists of objectives for each side and I think Gary has them set up by Axis Army and Soviet Front. There are a few decision points, for example deciding where the main strategic effort will be for the Axis in 1942. There are different AIs for the attacking and defending side (re how it tries to form and maintain lines, how/when it will attack, etc.), and I think there are some differences between the Axis and Soviet AIs. This generic AI applies to all scenarios. Some scenarios, mostly for expansion scenarios we're working on now, have some specific AI written for them. The editor allows a flag to be set indicating the specific scenario, and Gary uses this to hard code some specific AI code for that scenario. Sometimes he starts writing some specific code, and then if he likes out it is functioning, he'll add it to the generic AI. In that way, the expansion scenario work gives us the opportunity to improve the AI over time. This has happened since release as one of the scenarios being worked on involved the Caucasus offensive in 1942. Gary wrote some special code to handles parts of this, and then integrated some of the code into the generic AI. That's the extent of my knowledge of what Gary is doing.
_____________________________
All understanding comes after the fact. -- Soren Kierkegaard
|