AIPeople

AIPeople
This document describes the people in the background's AI.

Description
The people in the background will generally walk around and do idle stuff, without interfering with the player.

Dimensions
People can be in every biome on the timeline within a defined box.

Functionality
For a group of people, there is a specified zone that they can exist within.
 * This zone should be adjustable and can be placed anywhere.
 * The amount of people within this zone should be adjustable.

The people have five states:
 * Standing
 * Sitting
 * Walking
 * Shooting
 * Dead



Standing: They are standing still in spot, and not moving

When standing, they can either switch to walking or sitting (or shooting).

Sitting: 

They are sitting still in spot, not moving

Walking:

They are moving to another spot, in as straight a line a possible.

The target spot should be within the AI zone.

They should not be able to hit other objects or each other when walking.

When done walking, they should switch back to a standing state.

Shoot:

Not part of a normal AI person, but a special state used for military etc.

If they are shooting, they will always be shooting.

Dead:

The dead people are not moving.

Sound

 * Person walking.


 * People talking.
 * Gunfire

Aesthetics
The people in the background should look fairly generic, without many facial features or remarkable clothing.

Animation
Person:
 * Walking
 * Getting down / Getting up
 * Sitting
 * Standing (Idle)
 * Shooting
 * Dead