Wednesday, April 8, 2015

A.I.: Formations

We're working on some functions of the high-level AI (Artificial Intelligence) right now.
The backbone of the Soldier's AI are what we call Formations, that group soldiers into performing tasks to achieve set objectives.
Each formation spawned into the scene has a set of missions, that range from patrolling a number of waypoints, to escorting other units or defending an area against enemy attacks.
As in real life, these formations are physically arranged to best adjust to the current objective. For example, a group that is marching towards an objective along a road will use a column or staggered-column formation. A group that is expecting enemy contact ahead will use a wedge or line formation.
In this video, you can see an enemy group switching from staggered column to wedge formation as they march towards their objective. When the AC-130 attacks, the formation disbands as soldiers start running for their lives, while trying to stay relatively close to each other.

No comments:

Post a Comment