AI Programming

Idle head turning

I am starting to look at making the characters more life-like. To begin with, I have been working on getting Eddie to look around. This was accomplished by rotating Eddie’s head bone over time. It sets a random direction to turn and a random amount of pause time after each movement. This is just a

Eddie hears footsteps

I have added hearing to Eddie. Every time you take a step it makes a sound. The faster you move the louder your footsteps make a sound. A white bar at the lower left of the screen is a sound meter. If this line turns red, Eddie has heard you. Moving while crouching creates very