Well I think I have finished my latest revisions to the combat system.
I believe this is the first major revision in about a year. So now I just need to test it out and figure out if it is working how I want!
So I want to try to give you more of a peek under the hood of the combat system. When a unit ZOC touches the footprint of an enemy unit, an engagement occurs.
http://dogsofwarvu.com/forum/index.php/topic,1263.msg5339.html#msg5339 (this link is a little dated but the concepts are basically unchanged).
This sets off a whole chain of events and evaluations. The footprint of the attacking unit and it's direction of movement defines the battlefield, which then identifies the opposing forces. Next the overall battlefield terrain is evaluated and categorized, plus the terrain each defending unit occupies is determined (e.g. the overall battlefield may be assessed as flat and open, but a small unit may occupy a small copse of trees). All the data from each unit (equipment present, leadership, fatigue, cohesion, etc) is evaluated to include posture <link> and is used to determine the first round of power ratio's. The following is a complete list of variables that are used in the combat computations-
Every participating ground unit will have the following evaluated:
Leadership
Experience Level
Cohesion
Morale
Fatigue
Ammo Level
Current posture
Equipment Available
How many engagements it is participating in (primarily for defenders)
Battlefield position (defenders only)
Terrain it occupies
Direction of attack (units that are flanked suffer a penalty)
Obstacles (attackers only, which primarily includes streams, rivers and beaches)
Special abilities (right now this is primarily engineers when attacking prepared or fortified positions)
Other variables:
Battlefield Terrain
Weather conditions
Time of Day
Air situation
Season
All of these factors are applied to forces on both sides. The attacking side then adds in any indirect field artillery to the equation as the final piece to determine the initial power ratio. Then defending artillery assets are evaluated and allocated based on lots of criteria which includes: national doctrine, availability, and need. This establishes the final ratio, and variables are applied to determine final results. Losses are assessed for each element and section participating, plus any cohesion/morale loss as well as any advance/fall back.
I would like to point out some of the above items are simple and straight forward to account for, but others are extremely complex processes like artillery allocation and battlefield terrain evaluations. For instance artillery will only respond IF it is 1) in range; 2) C2 is established throughout the chain; 3) is currently available for assignment; 4) has enough ammo; 5) and, last but not least, comes national doctrine. Then the actual allocation process needs to assess how much artillery is assigned to a particular in engagement based on need or other requests for fire support.
Terrain is basically broken down in to a topography component and a cover component. In basic terms there are 3 topo categories: flat, rolling, and steep. Cover categories include: open, mixed, bocage, and wooded. Swamp/marsh and built-up/urban are their own special categories.
Next I will talk a bit more about the dynamics of the battlefield, and why that matters.