Wednesday, 20 March 2013

Week 7: Day 4


Path-Finding AI

·         Some Enemy Soldiers can communicate with each other via radios if they spot the player, as long as they are safe for a few seconds, such as not taking fire, or if they withdraw to a previous area. Using the radio would alert other enemies within a certain section of the map to whichever area the player was spotted in.

·         Enemy Soldiers would investigate an area where they may have heard a sound. Perhaps there could be a % chance of actually hearing the player, higher % the closer the player is, as opposed to automatically hearing the player straight away when they get close enough.

·         If enemy soldiers with a transceiver hear gunfire, and do not have a visual on the player, they would immediately call it on the radio to set the other soldiers into an alerted phase, where enemies move much quicker and possibly a larger view distance.

·         Cover could be designated around the map. The enemy soldiers would move to cover if they see the player looking directly at them; preferably cover that isn't in the player’s field of view. If the player is not looking at them, the enemy would start firing immediately.
 (BONUS) If you are able to holster a weapon, perhaps the enemy would not fire immediately, and instead move closer in an attempt to arrest, giving you a chance to move behind cover, or equip your weapon to fire.

These were some of the ideas I had for the path finding AI.

No comments:

Post a Comment