NokiMo
Megan Fox
Megan Fox

patreon


Hierarchical FSM Code Dump

It's based on this writeup of how Halo 2's AI worked.

I'm never going to polish any of this up enough to be an Asset Store thing, but maybe it'll be of use to some of my backers regardless. What you've got here is the hierarchical FSM system I've built out for Spartan Fist, plus a reeaaally basic AI setup, so that you can kind of see how it's meant to be stitched together.

There is no additional documentation, and this won't compile since you're missing a ton of the base logic this relies on, BUT, all of the missing functons have obvious names like MoveTo, so presumably you can fill in the dots, if this is something that would actually help you out.

As usual, the code is also commented to within an inch of its life - I hate messy code - so it should be pretty easy to parse regardless.

Enjoy!


Related Creators