{"repo":"EllAyling/AI-Companion","free":true,"listed":false,"github":"https://github.com/EllAyling/AI-Companion","clone":"git clone https://github.com/EllAyling/AI-Companion.git","description":"Created in Unity 5 for the purposes of learning AI techniques. Features behaviour trees and A* pathfinding.","language":"C#","stars":22,"topics":["gamedev","unity3d","unity","behaviour-trees","gameai","pathfinding","astar-pathfinding"],"license":null,"category":"game-templates","readme_excerpt":"AI-Companion This is a project I created in 2016 for a university project for the purposes of using AI behaviour trees. If you check under Assets/Scripts/AI/Behaviour Tree, you can find all the scripts relating to how to create the tree. AIBrain is the root of the tree, and contains the blackboard for the tree. Blackboard is essentially a 'catch-all' dictionary for any type of data the AI needs to store. It isn't type specific, so make sure your string is spelt correcttly. Under Nodes you can find the plethora of nodes to create the trees. These all come back to three main types: Composite Decorator Action You can find much more detail here on what these mean: https://www.gamasutra.com/blogs/ChrisSimpson/20140717/221339/Behavior trees for AI How they work.php This was a good resource for me when creating the project. If you click \"Display Grid\" which can be found in the inspector, under Grid Script, for the GameController. When you hit play, you can look in the scene window to see the pathfinding grid be generated, as well as AI path finding, including the companion AI determining its position behind the player- which is based on Ellie's AI from The Last of Us. If you look at one of the simple enemy type scrips in Assets/Scripts/AI/EnemyGuard.cs you can see how this all comes together into a single tree. I've tried to format it as clear as possible by using indents to indicate which nodes are children of other nodes. But essentially all this tree does is: NodeSequencer root =","default_branch":null,"files":null,"tree":[],"storefront":"/r/EllAyling","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/EllAyling/AI-Companion/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}