Git Product home page Git Product logo

re-bhvt-editor's Introduction

RE Engine Behavior Tree Editor

https://cursey.github.io/reframework-book/bhvt_editor/bhvt_editor.html

Saving/Loading of Trees at Runtime

✅ Supported Tree Objects

  • Actions (including custom Lua code)
  • Conditions (including custom Lua code)
  • Transition Events (including custom Lua code)

✅ Supported Fields/Properties

  • Most primitive types (ints/enums/floats/etc...)
  • System.Guid
  • via.vec2/3/4

❌ Not (yet) Supported Fields/Properties

  • Arrays/Lists (System.Array/System.Collections.Generic.List.*)
  • Pointers to other managed objects
  • Unknown ValueTypes

### 🕘 Coming Soon Added

  • Saving/loading of new nodes (enlarging/shrinking the node array)

Lua Driven Objects

These objects can be hooked to provide extended functionality that did not exist in the base game using Lua.

Optionally, dummy versions of them can be inserted to have completely unique functionality that is ran within Lua.

✅ Supported Tree/Node Objects

  • Actions
    • start
      • Ran every time the node is ran, once
    • update
      • Ran every frame that the node is active
    • end
      • Ran every time the node ends/transitions to another state, once
  • Conditions
    • evaluate
      • Ran every frame that the node is active, returning true causes the node to transition into the condition's associated state
  • Transition Events
    • execute
      • Ran for specific transitions into another state, once
      • Multiple transition events can run during a single transition

Examples

The UI

sdfgsdfh.mp4

Experimenting with recreating Vergil's Moveset in MHR

asdfasdfa.mp4

Using Lua driven condition evaluators to run on-hit effects for all child nodes

charge.mp4

Using Lua driven condition evaluators to dynamically adjust the game speed on hit and play on hit effects

slowdown.mp4

Adding custom actions/effects to specific nodes

action.adding.mp4

Thanks

To the imnodes developers for creating the library for rendering the nodes & graph.

re-bhvt-editor's People

Contributors

praydog avatar chenrenault avatar youwereeatenbyalid 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.