• Register
Post news RSS DevBlog 10 - Making A DogFight Behavior Tree

Using my c++ behavior tree system I created a dogfighting behavior tree!

Posted by on

Using the behavior tree system I created, I have created an AI brain that lets fighter ships dog fight one another. I've created several sub trees. there are subtrees to evade. subtrees to dogfight. I ran into some performance issues during rapid state transitions in the behavior tree. I was able to mitigate most of this by collapsing the complex logic into single nodes in the tree, rather than defining the entire logic based on tree structure.



below: a large number of ai ships dog fighting (debug lines on)
sa vid10 bigfight

below: an example of a tree, showing an evade tree
sa vid10 behaviortree

Comments
KodingNights
KodingNights

Impressive! I think I will steal some of these ideas for my game. :-)

Reply Good karma Bad karma+1 vote
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.