TreeSharp and data driven behavior trees menu

User Tag List

Results 1 to 5 of 5
  1. #1
    GliderPro's Avatar Member
    Reputation
    -1
    Join Date
    Mar 2009
    Posts
    93
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    TreeSharp and data driven behavior trees

    I've been experimenting with TreeSharp lately and reading up on behavior trees. There are several articles recently which talk about these new data driven behavior trees. Is anyone here working with them? Are there any new AI methods out there that you are working with in your projects?

    TreeSharp and data driven behavior trees
  2. #2
    streppel's Avatar Active Member
    Reputation
    78
    Join Date
    Mar 2007
    Posts
    196
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm using apocs behavior tree implementation in my bot. The honorbuddy wiki is a nice resource for getting started in it. If you have any questions, just ask and I'll try to answer, and the others will do so for sure.
    NON-OBJECTIVE HYPOTHETICAL PSEUDO PROCESSOR SPEED.
    https://memegenerator.net/cache/instances/400x/9/10044/10285683.jpg

  3. #3
    Bananenbrot's Avatar Contributor
    Reputation
    153
    Join Date
    Nov 2009
    Posts
    384
    Thanks G/R
    1/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    IMHO, a behavior tree for single agent AI is overkill. See Game AI Forums for my details. 'data-driven' seems worthy, but turnaround times are extremely short when working with a proper AppDomain loader/unloader in C#, which defeats the 'not scriptable' part of choosing a BT over regular driven-out interfaces.

  4. #4
    GliderPro's Avatar Member
    Reputation
    -1
    Join Date
    Mar 2009
    Posts
    93
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Bananenbrot, Can you explain a little bit about what you mean by coroutines? All of my bot logic has been done with state machines so far. I'm looking for a method which makes bot logic easier to maintain/edit.

  5. #5
    Bananenbrot's Avatar Contributor
    Reputation
    153
    Join Date
    Nov 2009
    Posts
    384
    Thanks G/R
    1/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    By coroutines, I just mean a way to stop execution and continue at a later point (see Coroutine - Wikipedia, the free encyclopedia). That's essentially the RunStatus.Running return value, which should be realized (if ever used) with a custom enumerator, e.g. a method which uses yield return RunStatus.Running;. You almost never need it, because in a single agent AI there will never be a moment where you need that extra tiny bit of performance and it eliminates the benefit of automatic selection of the right child node (because that specific node does not know if there are any nodes with a igher priority).
    Most people have their logic in 2 or 3 big files, which make direct references to custom classes etc. They forget about pulling out coherent interfaces, so they can switch out behavior at runtime if needed. Combined with unit test, I can pretty much verify every tiny bit of behavior on its own and then make some (unfortunately manual) regression test while looking at how smoothly the bot runs.
    Last edited by Bananenbrot; 05-19-2012 at 02:53 AM.

Similar Threads

  1. [OSX/Mac Bot] Updated 3.1.3 Pocket Gnome + 1-80 Routes and Feral Druid behavior!
    By phreak9i6 in forum World of Warcraft Bots and Programs
    Replies: 84
    Last Post: 06-18-2010, 03:21 AM
  2. Behavior tree designer tool problem
    By !@^^@! in forum WoW Memory Editing
    Replies: 14
    Last Post: 06-15-2010, 09:37 AM
  3. [Request and a question!] About tree of life.
    By Minivillain in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 01-03-2008, 11:22 PM
All times are GMT -5. The time now is 11:17 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search