Wednesday, December 19, 2007

Visibility System

The player can now only see enemies which are visible to friendly units. All other enemy units are hidden. I've also added a new eye button to enable and disable the soldier "sight lines". The video shows the button and the visibility system in action. The jittering in the video only happens when recording, i still have to find out why.

 

All soldiers now also have a hearing distance, so if enemies come from behind and get too close they will be heard. I also improved the training system and the soldier collision code.