Artificial Intelligence

5 02 2008

The core of the in-game A.I can be broken down into 3 smaller parts:

  1. Path-finding
  2. Triggers
  3. Combat
 
 

Path-finding

Path-finding is done by setting multiples waypoints on the level. Depending on the level of difficulty or the role of the character, the character may either move along a fixed waypoint or randomly travel from 1 waypoint to another.

 
 

Triggers

Triggers are like the senses of the AI character. The character will respond to the environment based on the triggers. The AI will have multiple triggers like proximity and visual triggers.

Proximity triggers act like ears for the character, when the player makes a noise when the character is close-by, the character will be alerted and move towards the source of the noise. Visual triggers are like the eyes of the character, when the player moves in the line of sight of the character, alert will be raised and a gun fight may break out.

 
 

Combat

Combat triggers are combat thoughts of the character. Once in combat, the character will find appropriate places to hide and shoot at the player.

Multiple AI characters will work together in combat to try to corner and pin down the player. These tactical moves are also part of the combat triggers.





Victory Condition Mechanics

5 02 2008

The final victory condition is to defeat Meganto. Its life regenerates very 15 minutes. There are multiple ways to defeat the creature. After defeating the creature, the player would have to seal the creature back into the relic or destroy the relic depending on the time taken to defeat Meganto.

Resealing Meganto back into the relic ends the game with a cinematic movie.

If the alternate path of destroying the relic is taken, the player would have to defeat the Meganto again. This time, Meganto is infected by virus and becomes even more powerful than before. Defeating it once more will bring about another cinematic ending.