top of page

Internship - Week 8 - AI

Hey there,

It is time to start programming AI for ProDnD. The goal is to have different types of creatures walking around on your map whilst they are interacting with each other and the events that are placed on the map. This will range from small creatures like mice or cockroaches to large creatures like ogre's and trolls. Each type of creature has a different way of interacting with its environment.

Mice and cockroaches might completely ignore each other but an orc could see the mice as a good source of protein, all the while the ogre's and trolls might hate one another and try to smack each other's heads in at any given time.

They could also have different ways of interacting with events. Mice for example, will completely ignore treasure while an orc might be interested in the treasure but he will be wary for traps. The ogre might not even think about traps and will try to take the treasure without thinking about it.

These are just some of the ways that the creatures could interact with the world they are given and the other creatures that live inside it. This week we spend a lot of time designing and conceptualizing the creatures that we want to add into ProDnD. for the implementation of the AI we will be using behavior trees. each tree has multiple behaviors that are implemented as modules, these are not directly connected and can easily be exchanged for other modules, this makes behavior trees very easy and quick to use. You can copy a tree and swap out any number of modules to create a whole new creature with different behavior.

We are going to start very simple. Next week we will be working on the AI for a cockroach.

Figure 1: behavior tree design for a cockroach.


Featured Posts
Recent Posts
Archive
Search By Tags
No tags yet.
Follow Us
  • Facebook Basic Square
  • Twitter Basic Square
  • Google+ Basic Square

Lars Temmink

Game Programmming Portfolio

bottom of page