Posts

Showing posts from May, 2019

Project Evaluation

Image
The goal of my project was to investigate the use of behaviour trees (BT) in a stealth based environment.  I do believe that I have achieved this by researching into various different aspects of artificial intelligence (AI) used within games, the various AI used by different games, especially the BTs used within Alien: Isolation and Halo 2.  At the end of my deadline I have implemented a BT that my agents use in a stealth based environment where the player will need to get from the start location to the objective.  If the player is spotted the AI will converge on their location, once close enough the AI will kill the player forcing them to try again from the start location. I believe that the project has been a success and I have made good progress despite having various personal issues that restricted my availability to work on the project, as well as having commitments to other modules.  I was able to complete all my milestones and create a few extra simple behaviours, such as th

CCTV Implementation

Image
As stated in my project proposal I have worked on implementing CCTV into the scene.  The cameras have a trigger attached that works like a frustum, once the player is within this trigger, the camera notifies the global blackboard that the player has been spotted, the global blackboard then alerts the guards of the player's last known location and sets them into the alerted state. The camera is able to check if the player is in view of the camera by sending out a raycast and returning the item that has been hit.  This is similar to the line of sight (LoS) method that the guards use.  This stops the camera from spotting players through walls.  The cameras perform a sweeping animation as shown in the video below. I have also created a user interface (UI) that prints out the guards states, this helps the user see what the guards are up to and shows the transition between states when reacting to the player.