hi everyone in this video we are going to tell you about the Artificial Intelligence in the Hello Neighbor game Few words about the game There is players house and the neighbor's one across the road the neighbor's house is full of secrets and mysteries But the strangest thing is the mysterious basement door The player's goal is to uncover all the secrets and find out what the neighbor is hiding behind his door. The neighbor's goal is to prevent him from doing that. This is how it looks in the game.
Let's see now how the neighbor looks like and what he does to puzzle the player. The neighbor has got three modes: - Idle - this is the rest mode - Hunt - the mode when he is looking for the player - and Attack mode - when the neighbor is chasing the player Idle mode is switched to Hunt by stimuli. Besides, there is also offline mode when the Neighbor is setting traps.
Let's talk about each mode in detail. In the idle mode the neighbor is living his ordinary life He sleeps, eats, swims, watches TV, waters flowers, cleans his house, does his morning exercise etc. In the hunt mode, the neighbor is searching for the player.
When the player is in the neighbor's house, he changes the interior scene. For instance, the player can move an item, or drop it in the back. The neighbor monitors such changes, analyzes them and comes to conclusion that there is someone in his house, and he switches to hunt mode.
Everything is like in real life, the shyer you behave in someone's house, the fewer chances you have to be napped. So, how does the neighbor behave in the hunt mode? It's very easy.
There are some important spots in the house, and the neighbor estimates probability of player's presence in these spots. Let's talk about this later. Crucially, the neighbor never knows exactly where the player is.
He just knows the most favorite places of the player in his house. It means, that if you once hide yourself in the wardrobe, the neighbor will nor probably find you there. But if you continue doing that, he'll start finding you there more and more often.
It will make the gameplay more interesting, as if you were hiding yourself from a human being. Now we are going to speak about the attack mode. In this mode, the neighbor is pursuing the player to catch him.
We are working on making the chasing more interesting. Maybe if the neighbor will understand where the player is running to, and will try to cut him off. Or, he may block all the doors, cutting the player's path, and will easily catch him.
At the current state, the neighbor is chasing the player and throws various items at him, trying to stop him. It's terrible, the player has almost no chances to overplay the neighbor in this mode. What he can do is just run back into his house and hide himself and chicken out under the blanket.
Let's move on to the offline mode. In this mode, the neighbor is setting traps. What he can do is hang the watching camera or a bucket of water above the door, set traps, prop up the door with a chair, panel up windows.
Later on, the player sees that the neighbor knows his most favorite places in the house and sets traps there. In case the player uses several routes in the house, the neighbor may just set traps almost everywhere. So you may have a question: how does he manage to determine your most probable path?
It's all about so-called key spots, the neighbor analyzes how often the player comes to a specific place in the house and figures out such key zones where the player might probably come. There are two types of key spots: those connected with objects, and those connected with the player's route. The first ones are used by the neighbor to analyze how often the player uses this or that door, or how often he hides himself in the wardrobe, for example.
These spots are connected with objects and never shifted. The second type of spots is connected with the player's route. They depend on the player's movement pattern.
Their amount and place vary all the time. When it comes to setting traps, the neighbor determines how often the player used to come to these spots and sets the traps there. For example, if this is the door, he will prop it up or or hang a bucket of water above it.
If the spot is not connected with an object, the neighbor can set a trap or observe it by watching a camera. This is how our artificial intelligence works. Thanks for watching!