Commit Graph

38 Commits

Author SHA1 Message Date
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
Serhii Snitsaruk 8705241fa4 Add Probability decorator and reorganize 2022-08-28 22:58:30 +02:00
Serhii Snitsaruk cb46b5dff3 Add Cooldown 2022-08-28 22:24:33 +02:00
Serhii Snitsaruk 89b861d5f8 Add TimeLimit 2022-08-28 15:34:04 +02:00
Serhii Snitsaruk fbe9165d8e Add RunLimit 2022-08-28 15:24:01 +02:00
Serhii Snitsaruk 37ac75dc78 Add Repeat, RepeatUntilFailure and RepeatUntilSuccess 2022-08-28 14:49:02 +02:00
Serhii Snitsaruk b116d1fdcd Add Delay, Invert, AlwaysSucceed and AlwaysFail 2022-08-28 13:56:43 +02:00
Serhii Snitsaruk aac0acd51e Bind get_root() 2022-08-28 13:07:26 +02:00
Serhii Snitsaruk 1123ffdced Add first BT classes 2022-08-28 12:54:34 +02:00
Serhii Snitsaruk b1f6386e52 Initial commit 2022-08-28 12:54:16 +02:00