Need tips on making jumpscares / animations with Monster AI

I am currently working on a horror themed game in a abandoned restaurant, and I have currently implemented a monster AI that navigates / patrols the halls through already placed nodes in the workspace. Currently the monster simply gets close to a player and sets the players health to 0, but this isn’t quite the effect I want to achieve. I want the monster to possibly grab the player, and “jumpscare” them with a custom animation I plan on making. How would I utilize the camera to provide a close up of the monsters face / as well as if I wanted multi entity interactions (eg, the monster grabbing a player and slamming them to the ground, or interacting with a workplace object) how would I do this?

Please only provide tips or guidelines on how I would utilize the camera shake / cutscene effect as well as how I would approach the entity interactions.

2 Likes

Normally with cutscenes like this, it would be ideal to setup a room with the monster model infront of a camera part so when the player is caught by the monster, the player’s camera can be switched to the camera part and an animation played on the monster model, which should result in a sudden close up of the monster.

So I would just hide the room under the map or something, and when the player is “caught” they would be teleported in there? I would rather prefer the scene take place where the monster catches you, and the camera would zoom in automatically (like a first persons view of the character being attacked) but the player cant look around his surroundings, it would be fixed to look at the monsters face.

Not sure how I would approach what I mentioned earlier without it looking clunky - would i anchor the monster, and set the players walkspeed / jumpheight to 0? then weld the humanoidrootpart to the monsters hand or something?

Not teleported, you can just set the player’s camera to the camera part within the hidden room and then reset it once the player respawns.

1 Like

Anyone have any ideas on the behavior of the AI that I should implement?

I was planning on having a heat-based system, the more a player stays in a certain spot or interacts with a item, the more likely a entity will spot you.

Current enemies I plan on implementing (yes they are loosely based on certain characters)

  • Grimey the Sludge monster
  • Chuckles the Spider Clown
  • Giant Burger Monster
  • Giant bird / chicken entity
  • secret fry monster

You could have a part that is welded to the monster’s head and, when caught, has some motion and the players camera, wherever it is, lerps to the part welded in front of the head. This would avoid having to position the player in awkward places for the first bit of the cutscene. For the interactions you could weld them to the monsters hand as you said then just animate it. If the game is multiplayer, the player’s character could get in the way for the close up if the character is also being held, so either make sure the camera is always in font of the player, or as someone else suggested, have a monster in a hidden room with a camera in front of it to do the jumpscare cutscene.

1 Like