Commit Graph

659 Commits

Author SHA1 Message Date
Serhii Snitsaruk 36ff3a724f Remove blackboard management from BTState 2022-10-19 23:41:56 +02:00
Serhii Snitsaruk bc0f0b61d1 Expose agent and blackboard 2022-10-19 23:39:27 +02:00
Serhii Snitsaruk c6a9ea5948 Add editor icon 2022-10-19 21:02:46 +02:00
Serhii Snitsaruk f4e3f162ec Implement basic BTState 2022-10-19 20:54:21 +02:00
Serhii Snitsaruk c43fac596c Handle NodePath vars 2022-10-19 16:01:16 +02:00
Serhii Snitsaruk 4f06bb5a3e Add ANYSTATE transitions 2022-10-12 14:02:39 +02:00
Serhii Snitsaruk 9937f2463b Fix export templates build errors 2022-09-30 00:17:32 +02:00
Serhii Snitsaruk eecf27fdf5 Implement guard func 2022-09-29 22:44:51 +02:00
Serhii Snitsaruk b7ea9145df Implement LimboHSM 2022-09-29 12:54:07 +02:00
Serhii Snitsaruk c62ecc9084 Add LimboState 2022-09-28 12:48:45 +02:00
Serhii Snitsaruk 3f47f2bf76 Add ForEach decorator 2022-09-22 13:09:49 +02:00
Serhii Snitsaruk 5d39130595 LimboUtility as singleton 2022-09-21 23:56:04 +02:00
Serhii Snitsaruk 7be7ca276d Add instancing to behavior tree 2022-09-21 16:13:17 +02:00
Serhii Snitsaruk 6cac198092 Fix Cooldown broken 2022-09-21 12:37:38 +02:00
Serhii Snitsaruk 8b1b0dd754 Fix decorator having no children crash 2022-09-21 12:37:19 +02:00
Serhii Snitsaruk a3cac93174 Add NewScope and refactor Subtree 2022-09-20 19:15:48 +02:00
Serhii Snitsaruk e4f92893a1 Add Blackboard class with support for scopes 2022-09-08 15:56:51 +02:00
Serhii Snitsaruk 3f04ff2eb4 Save/load editor config values
Only HSplitContainer split_offset is kept at the moment.
2022-09-06 13:28:25 +02:00
Serhii Snitsaruk 5a8442d5a0 Add BTConsolePrint task 2022-09-06 13:08:52 +02:00
Serhii Snitsaruk afbf095d1b Fix crash on Save pressed with no bt edited 2022-09-06 13:08:27 +02:00
Serhii Snitsaruk 507dc8d850 Edit bt via inspector and add usage panel 2022-09-05 21:57:24 +02:00
Serhii Snitsaruk 7eff8d5488 Refresh task panel on visibility change 2022-09-05 17:56:38 +02:00
Serhii Snitsaruk 026ff26ab3 Use single function to get task icon in the editor 2022-09-05 16:39:40 +02:00
Serhii Snitsaruk 8e45a4d38a Fix _generate_name fails without reporting an error if script is not a tool script 2022-09-05 16:31:48 +02:00
Serhii Snitsaruk 29dcabedf4 BTPlayer: Fix owner bug and export blackboard 2022-09-05 16:30:41 +02:00
Serhii Snitsaruk 18746dc7c2 Fix: sequence and selector working like dynamic 2022-09-05 15:08:35 +02:00
Serhii Snitsaruk 490a419f0e Add Create New Task action 2022-09-05 13:31:38 +02:00
Serhii Snitsaruk 3de4847a89 Add default dir for behavior trees 2022-09-05 13:11:47 +02:00
Serhii Snitsaruk ec9eec4120 Add BTSubtree action 2022-09-03 20:42:38 +02:00
Serhii Snitsaruk 1770c23553 Handle task_changed
Update task tree item when selected task resource is changed.
2022-09-03 17:13:15 +02:00
Serhii Snitsaruk aefa132290 Add drag and drop.
Rearrange tasks with drag and drop in editor.
2022-09-03 17:00:20 +02:00
Serhii Snitsaruk 29fab3a8d8 Fix: Quick tasks broken 2022-09-03 14:11:47 +02:00
Serhii Snitsaruk b42cfa4330 Fix: Duplicate should put new task after the prototype 2022-09-03 14:11:03 +02:00
Serhii Snitsaruk ffd0d943f1 Add auto-saving and dirty marking 2022-09-03 14:01:13 +02:00
Serhii Snitsaruk a2313d9a14 Show configuration warnings in editor 2022-09-03 13:11:50 +02:00
Serhii Snitsaruk 6e1f9ad4ac Keep user task directory prefs in project setting 2022-09-03 12:59:11 +02:00
Serhii Snitsaruk c9d92610a0 Prototype loading user tasks 2022-09-03 00:10:22 +02:00
Serhii Snitsaruk 552185dc07 Fix script being disowned 2022-09-03 00:08:10 +02:00
Serhii Snitsaruk 881b9118e4 Dynamic task sections 2022-09-02 19:30:32 +02:00
Serhii Snitsaruk 30f3df0649 Add history and navigation 2022-09-02 15:43:54 +02:00
Serhii Snitsaruk f00d4d0233 Add task panel 2022-09-02 14:25:03 +02:00
Serhii Snitsaruk 4c580c6b1d Add Editor functionality (rudimentary)
* Adding fav tasks
* Saving/loading
* Popup menu with a number of functions
* Header

Also:
* BTTask: Fix broken get_icon()
* BTTask: Initialize parent during set_children()
2022-09-02 00:20:37 +02:00
Serhii Snitsaruk d128bdf8f6 Bind signal - BTPlayer 2022-08-31 17:50:49 +02:00
Serhii Snitsaruk 3393ed24d7 Reorganize files 2022-08-31 17:05:25 +02:00
Serhii Snitsaruk a236aee22b Add BTPlayer and BehaviorTree classes, and fix leaking refs 2022-08-30 18:48:49 +02:00
Serhii Snitsaruk 6105c17f09 Update icons with proper colors this time 2022-08-29 17:47:49 +02:00
Serhii Snitsaruk 936bf749d3 Add Wait, WaitTicks and RandomWait 2022-08-29 14:06:48 +02:00
Serhii Snitsaruk 8bfd8e1bef Add Fail task and missing icons 2022-08-29 13:30:53 +02:00
Serhii Snitsaruk 8b1431f712 Add Random Sequence and Selector 2022-08-29 11:41:42 +02:00
Serhii Snitsaruk e9b3b9eb54 Add Dynamic versions of Selector and Sequence, plus icons 2022-08-28 23:36:21 +02:00