Hello all, I am a senior in the Game Design and Programming major at Southern New Hampshire University, and I am working on a Proof of Concept for a stealth and detection system.
The asset to create is rather simple: The character must be able to sneak and sprint, and there needs to be an NPC that can search for the player, listen for the player's footsteps (louder if they are sprinting, very quiet if crouching), detect the player and chase the player. So far, I have a character that crouches by default and can sprint, but I'm about to start work on the rest of the asset, and I'm curious if anybody has any recommendations on how to accomplish this in an Unreal 5.3 C++ project. I know that I could simply place down a nav mesh and give the NPC a sight and listener component that comes built into Unreal, but I'd also like to accomplish this task via code if it makes any sense to do so. Thus, I come to you all with your vast experience and knowledge to seek aid. Any resources or tips would be welcome, Thank You!
-Jonathan Savastano