Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Games Bot Behavior Tree for JetPack Cap the Flag Multi/Single player

Discussion in 'Projects In Progress' started by MBrown42, Jan 1, 2023.

  1. MBrown42

    MBrown42

    Joined:
    Jan 23, 2018
    Posts:
    86
    Hope everyone is doing OK! Just sharing progress here on AI bot behaviors for a single and multi player remake of the original #StarSiegeTribes. Thanks to Mina Pêcheux's excellent article for providing solid examples of how to implement selectors, sequences, and a basic example in Unity for C#.



    Can be read as "if the base needs repairing, go repair everything. Otherwise if the base needs turrets deployed, go get them and deploy. Otherwise if there is an enemy around, go attack them. Otherwise, patrol the base." Different variations can be created with different priorities and assigned to different bots so they don't all do the same thing at the same time. Up next is the attack tree, which is similar, but includes projectile jetting calculations to get bots to the enemy base more like real players.

    www.LifeStampGames.com

    #StarSiegeTribes #AI
     
    impheris likes this.