Behavior tree implementation details
Posted
by
angryInsomniac
on Game Development
See other posts from Game Development
or by angryInsomniac
Published on 2013-07-21T23:36:50Z
Indexed on
2014/08/20
22:35 UTC
Read the original article
Hit count: 259
I have been looking around for implementation details of behavior trees, the best descriptions I found were by Alex Champarand and some of Damian Isla's talk about AI in Halo 2 (the video of which is locked up in the GDC vault sadly).
However, both descriptions fall short of helping one actually create a BT, one particular question has been bugging me for a while.
When is the tree in a behavior tree evaluated?
Furthermore:
If the tree is in the middle of executing a sequence of actions (patrolling waypoints) and a higher priority impulse comes in (distraction sound) , how to switch to that side of the tree seamlessly without resorting to a state machine like system and if it is decided that the impulse was irrelevant (the distraction is too far away to affect this guard), how to go back to the last thing that the guard was doing ?
I have quite a few questions like this and I don't wish to flood the board with separate queries so if you know of any resource where questions like these can be answered I would be very grateful.
© Game Development or respective owner