AIAnimals

AIAnimals
This document describes the animals in the background's AI. === ===

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

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



For a group of animals, there is a specified zone that they can exist within.
The animals have four states:
 * This zone should be adjustable and can be placed anywhere.
 * The amount of animals within this zone should be adjustable.


 * Standing
 * Sitting
 * Walking
 * 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

<p style="font-size:14px;">Walking:

<p style="font-size:14px;">They are moving to another spot, in as straight a line a possible.

<p style="font-size:14px;">The target spot should be within the AI zone.

<p style="font-size:14px;">They should not be able to hit other objects or each other when walking.

<p style="font-size:14px;">When done walking, they should switch back to a standing state.

<p style="font-size:14px;">Dead:

<p style="font-size:14px;">The dead animals are not moving. === ===

Sound
<p style="font-size:14px;">
 * Animals walking.
 * Animal sounds (howls, grunts, etc).

Aesthetics
<p style="font-size:14px;"> <p style="font-size:14px;">Animals look different depending on the animal. See gAnimals.

Animation
<p style="font-size:14px;">Animals:


 * Walking
 * Getting down / Getting up
 * Sitting
 * Standing (Idle)
 * Dead