Simplified behaviour trees.
parent
6008876da4
commit
5f004b07e9
|
@ -1,4 +1,4 @@
|
||||||
[gd_resource type="BehaviorTree" load_steps=19 format=3 uid="uid://ci1dpjqvsq0ax"]
|
[gd_resource type="BehaviorTree" load_steps=18 format=3 uid="uid://ci1dpjqvsq0ax"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://ai/tasks/find_target_by_name.gd" id="1_crjnn"]
|
[ext_resource type="Script" path="res://ai/tasks/find_target_by_name.gd" id="1_crjnn"]
|
||||||
[ext_resource type="Script" path="res://ai/tasks/get_target_location.gd" id="2_a4moq"]
|
[ext_resource type="Script" path="res://ai/tasks/get_target_location.gd" id="2_a4moq"]
|
||||||
|
@ -58,10 +58,6 @@ children = [SubResource("BTSequence_ytwco"), SubResource("BTSubtree_dnwew")]
|
||||||
[sub_resource type="BTSequence" id="BTSequence_yk8po"]
|
[sub_resource type="BTSequence" id="BTSequence_yk8po"]
|
||||||
children = [SubResource("BTAction_rgjhs"), SubResource("BTAction_2cqtn"), SubResource("BTAction_rp83o"), SubResource("BTSelector_cu7cu")]
|
children = [SubResource("BTAction_rgjhs"), SubResource("BTAction_2cqtn"), SubResource("BTAction_rp83o"), SubResource("BTSelector_cu7cu")]
|
||||||
|
|
||||||
[sub_resource type="BTRepeat" id="BTRepeat_713a6"]
|
|
||||||
forever = true
|
|
||||||
children = [SubResource("BTSequence_yk8po")]
|
|
||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
blackboard_plan = SubResource("BlackboardPlan_rxiwf")
|
blackboard_plan = SubResource("BlackboardPlan_rxiwf")
|
||||||
root_task = SubResource("BTRepeat_713a6")
|
root_task = SubResource("BTSequence_yk8po")
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_resource type="BehaviorTree" load_steps=6 format=3 uid="uid://blccr23qjixws"]
|
[gd_resource type="BehaviorTree" load_steps=5 format=3 uid="uid://blccr23qjixws"]
|
||||||
|
|
||||||
[ext_resource type="BehaviorTree" uid="uid://caxmpcyhpt6em" path="res://ai/trees/wander.tres" id="1_rsg0c"]
|
[ext_resource type="BehaviorTree" uid="uid://caxmpcyhpt6em" path="res://ai/trees/wander.tres" id="1_rsg0c"]
|
||||||
|
|
||||||
|
@ -10,10 +10,6 @@
|
||||||
subtree = ExtResource("1_rsg0c")
|
subtree = ExtResource("1_rsg0c")
|
||||||
blackboard_plan = SubResource("BlackboardPlan_x4gxn")
|
blackboard_plan = SubResource("BlackboardPlan_x4gxn")
|
||||||
|
|
||||||
[sub_resource type="BTRepeat" id="BTRepeat_i5p3p"]
|
|
||||||
forever = true
|
|
||||||
children = [SubResource("BTSubtree_krik0")]
|
|
||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
blackboard_plan = SubResource("BlackboardPlan_yg732")
|
blackboard_plan = SubResource("BlackboardPlan_yg732")
|
||||||
root_task = SubResource("BTRepeat_i5p3p")
|
root_task = SubResource("BTSubtree_krik0")
|
||||||
|
|
Loading…
Reference in New Issue