Working on Hunter AI for Prophunt


Working on a hunter AI
Thought it was gonna be easy since I already had everything setup for myself when I created wingman but nah
Turns out even the basic stuff like AI Focus and Move to weren't working
Here, I remade the follow player and shoot behavior

So far, modules like free roaming, chasing after player, searching nearby last known location work individually but when using them all together, the AI starts to bug out.



Update on the hunter AI:

Some problems here & there
but the overall AI is coming together pretty well

The problem shown in the clip has been fixed



Hunter AI is complete now


The basic search, investigate and shoot functions work.

I'll make it better over time, adding newer search methods, checking if the player switches props etc

Right now, the AI has 3 phases

Checking all the Props

The AI will go to the nearest prop (this includes the player) and shoot it a couple of times before moving on to the next.

If the AI can't reach the prop but has a line of sight, it will shoot from that position.

If all the props have been investigated, the AI will now chase after the player (wherever they are).

Investigating Noise

A timer has been set to reveal the player's location every 50 seconds. This will report a noise event to the AI. The AI will abandon the check for props and immediately go to the location where the noise was reported from.

AI Caught the player moving

Some modification needed here as it's only checking for speed and not intentional input.

If the player happens to move in the peripheral vision of the AI, it will abandon everything and chase after the player.



it will be added in the v0.2.4 update

Get PropHunt

Leave a comment

Log in with itch.io to leave a comment.