Giter VIP home page Giter VIP logo

legion's Introduction

Unreal Engine BT's changing based on states. Proof of concept

When to use:

  • When you want to create a lot of small generic BTs and combine them for AI characters
  • When you want to create AI characters with interaction based logic. Interactions could be used as states
  • When you want to have same behavior for some states for all AI characters (for example, Disabled/Stunned state)
  • When you want to try something new :)

Main concept:

  • AI character has specific controller
  • Controller has map with different behaviors based on states
  • Every state has own BT

States Behaviors

Test implementation:

  • Spawn legioner with "Space". State changes to Spawning. BT starts
  • After BT is end, it's waiting
  • Press "1" to change state to Attacking. Old BT is stopped and new one is running
  • BT is working until we press "2" to change state to Blocking. Old BT is stopped and new one is running

Demo

How to improve:

  • Buffer for queue of states to change
  • Change states conditions implementation

legion's People

Contributors

apokrif6 avatar

Stargazers

 avatar Przemysław Majcher avatar  avatar  avatar Vasilii Pupishev avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.