Enemy AI

Like almost all games that include enemies Bloodfest is no exeption.

You may heard of the myth that When you're the last player alive you see bullets being shot through maps (LARGE ones). You may think that those bullets are there to assist the player but wrong, the bullets are there to attract enemies throught the game. When any enemy spawns in it has 3 things; 1 health value, 2 Player detection, 3 Area count. SInce this is a page about enemy AI let's go through and discuss number 2 Player detection.

See Enemies of all type need to hunt down players to make the game fun well in the games code each enemy that spawns in a map has a secret thing called 'Player Radius.' The Player Radius sees if there is any players in the map, in order for the game to resume at least 1 player has to be alive. When the enemy sees more like detects the closest player on the map the enemy will go to the player until it's health value reaches below 0.

Bullet shots Also attract the enemy to the player who shot them. If another player is close to the enemy the enemy will cry for more groups to come. If the player dies then the enemy will target the player who shot or is closest.

Jumpscare enemies. You may of heard that enemies sometimes stand still until a player is close to the enemie moves or a bullet is shot and either harms or doesn't harm the enemy. Well this is because the Player Radius fails and the game can't figure out if the enemy can detect players.