Commit Graph

17 Commits

Author SHA1 Message Date
Serhii Snitsaruk ef7480b054 Fix editor crash related to bt resource reloading 2022-12-19 10:29:46 +01:00
Serhii Snitsaruk d5088a9f20 Implement pascal case auto naming for tasks without _generate_name() 2022-12-17 21:18:11 +01:00
Serhii Snitsaruk 0ba36cb3dd Refactor BTTask class 2022-12-17 08:33:18 +01:00
Serhii Snitsaruk dbc9a7ad31 Add mostly minimal changes in order to compile and run with godot 4 2022-12-15 14:33:03 +01:00
Serhii Snitsaruk 5220c1c6e7 Fix _get_configuration_warning() is not called for scripts 2022-11-22 23:15:48 +01:00
Serhii Snitsaruk 08bb63ad26 Add documentation and improvements for BTTask
Fixed: BTTask chidren property, setter and getter are exposed in editor
2022-11-02 19:53:37 +01:00
Serhii Snitsaruk 40cb7891c7 Fix BTTask status property exposed 2022-10-30 14:15:29 +01:00
Serhii Snitsaruk 7ec38e0988 Add set_agent() 2022-10-25 00:47:22 +02:00
Serhii Snitsaruk d359f620e3 Make BBParam properties unique @clone() 2022-10-21 16:15:13 +02:00
Serhii Snitsaruk 7be7ca276d Add instancing to behavior tree 2022-09-21 16:13:17 +02:00
Serhii Snitsaruk e4f92893a1 Add Blackboard class with support for scopes 2022-09-08 15:56:51 +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 aefa132290 Add drag and drop.
Rearrange tasks with drag and drop in editor.
2022-09-03 17:00:20 +02:00
Serhii Snitsaruk 552185dc07 Fix script being disowned 2022-09-03 00:08:10 +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 3393ed24d7 Reorganize files 2022-08-31 17:05:25 +02:00
Renamed from limboai/bt/bt_task.cpp (Browse further)