Reader small image

You're reading from  Practical Game AI Programming

Product typeBook
Published inJun 2017
Reading LevelBeginner
PublisherPackt
ISBN-139781787122819
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Micael DaGraça
Micael DaGraça
author image
Micael DaGraça

Micael DaGraça is a professional game designer and interactive creator who works with independent video game studios and creates interactive apps focused on the health and pharmaceutical industries. He studied digital arts at the University of IESA Multimedia, Paris, and ESAD Matosinhos. He started his career as a project manager in a small studio and then gradually started working as a game developer by helping other studios to develop their games. More recently, he has been creating interactive content for the pharmaceutical industry.
Read more about Micael DaGraça

Right arrow

Probability maps


A probability map is a more complex and detailed version of a possibility map because it relies on probabilities in order to change the behavior of the character, rather than a simple on or off trigger. Its similarity with the possibility map is that it's also required for planning ahead the possible states for our character. This time, however, we add to it a percentage, using which the AI will calculate what behavior he will be using. Imagine the next example using the situation that we previously created for the possibility map our enemy AI could be more aggressive in the daytime than at night. For that, we create a statement that explains to our enemy that if it's night time, there is a lesser chance of seeing the player character, and for that reason it will choose a more defensive approach instead of an aggressive one. Or, simply, we could define that our enemy calculates the probability of killing the player simply based on the distance between the two characters...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Practical Game AI Programming
Published in: Jun 2017Publisher: PacktISBN-13: 9781787122819

Author (1)

author image
Micael DaGraça

Micael DaGraça is a professional game designer and interactive creator who works with independent video game studios and creates interactive apps focused on the health and pharmaceutical industries. He studied digital arts at the University of IESA Multimedia, Paris, and ESAD Matosinhos. He started his career as a project manager in a small studio and then gradually started working as a game developer by helping other studios to develop their games. More recently, he has been creating interactive content for the pharmaceutical industry.
Read more about Micael DaGraça