Fear of the Hunt (2020)

A first-person hunting simulator with horror elements and set in the Alaskan wilderness.

Noteable Features• Large, open mapHostile and prey animalsRealistic ai behaviour• FOV and sound-based stealth systemManual rifle reloading
Project DifficultiesOne of the most difficult parts of developing a hunting sim is the animals and their behavior. Initially, I used a set waypoint system but this didn't feel dynamic enough so I went back to the drawing board.
My SolutionI rewrote their ai so that it finds a random position on the navmesh, checks if it's reachable and within the wander radius, and if it is, that position is set as the ai's destination. Once reached, an idle animation is played and this process is repeated (see video for demonstration).
Strongest AspectWorking along with the ai, the hunting mechanics are quite advanced here.
For this game, I wrote my most advanced stealth system. Ordinarily, my npcs use a raycast-based FOV system to be alerted to the players position but this ai can also 'hear', everything from footsteps to gunshots.
Combined with a rifle that requires player input to reload after ever shot and Fear of the Hunt makes for a realistic hunting experience.