2023-07-01 17:12:34 +02:00
|
|
|
[gd_scene load_steps=11 format=3 uid="uid://b51tdt5kunai"]
|
2023-06-12 16:48:35 +02:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://addons/beehave/nodes/beehave_tree.gd" id="1_b2pc4"]
|
|
|
|
[ext_resource type="Script" path="res://addons/beehave/nodes/composites/sequence.gd" id="2_80fm4"]
|
2023-06-12 17:58:06 +02:00
|
|
|
[ext_resource type="Script" path="res://addons/beehave/nodes/composites/selector.gd" id="2_xkd41"]
|
2023-06-13 21:36:01 +02:00
|
|
|
[ext_resource type="Script" path="res://scripts/enemy/behavior_tree/can_throw_ball_condition.gd" id="7_k5qlq"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/enemy/behavior_tree/throw_ball_action.gd" id="8_wytqf"]
|
2023-06-27 21:25:32 +02:00
|
|
|
[ext_resource type="Script" path="res://scripts/enemy/behavior_tree/can_go_to_ball_condition.gd" id="10_3puvl"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/enemy/behavior_tree/get_ball_destination_action.gd" id="11_bvy6m"]
|
2023-06-13 21:36:01 +02:00
|
|
|
[ext_resource type="Script" path="res://scripts/enemy/behavior_tree/move_to_destination_action.gd" id="11_tjc85"]
|
2023-06-27 21:25:32 +02:00
|
|
|
[ext_resource type="Script" path="res://scripts/enemy/behavior_tree/can_return_ball_condition.gd" id="13_lrd2w"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/enemy/behavior_tree/return_ball_action.gd" id="14_qbh47"]
|
2023-06-12 16:48:35 +02:00
|
|
|
|
|
|
|
[node name="EnemyBehaviorTree" type="Node"]
|
|
|
|
script = ExtResource("1_b2pc4")
|
|
|
|
|
2023-06-12 17:58:06 +02:00
|
|
|
[node name="MainSelector" type="Node" parent="."]
|
|
|
|
script = ExtResource("2_xkd41")
|
|
|
|
|
2023-06-12 22:06:48 +02:00
|
|
|
[node name="ThrowBallSequence" type="Node" parent="MainSelector"]
|
|
|
|
script = ExtResource("2_80fm4")
|
|
|
|
|
|
|
|
[node name="CanThrowBall" type="Node" parent="MainSelector/ThrowBallSequence"]
|
2023-06-13 21:36:01 +02:00
|
|
|
script = ExtResource("7_k5qlq")
|
2023-06-12 22:06:48 +02:00
|
|
|
|
|
|
|
[node name="ThrowBall" type="Node" parent="MainSelector/ThrowBallSequence"]
|
2023-06-13 21:36:01 +02:00
|
|
|
script = ExtResource("8_wytqf")
|
2023-06-12 22:06:48 +02:00
|
|
|
|
2023-06-27 21:25:32 +02:00
|
|
|
[node name="GoToBallSequence" type="Node" parent="MainSelector"]
|
2023-06-12 16:48:35 +02:00
|
|
|
script = ExtResource("2_80fm4")
|
|
|
|
|
2023-06-27 21:25:32 +02:00
|
|
|
[node name="CanGoToBall" type="Node" parent="MainSelector/GoToBallSequence"]
|
|
|
|
script = ExtResource("10_3puvl")
|
2023-06-12 16:48:35 +02:00
|
|
|
|
2023-06-27 21:25:32 +02:00
|
|
|
[node name="GetBallDestination" type="Node" parent="MainSelector/GoToBallSequence"]
|
|
|
|
script = ExtResource("11_bvy6m")
|
2023-06-12 16:48:35 +02:00
|
|
|
|
2023-06-27 21:25:32 +02:00
|
|
|
[node name="MoveToDestination" type="Node" parent="MainSelector/GoToBallSequence"]
|
2023-06-13 21:36:01 +02:00
|
|
|
script = ExtResource("11_tjc85")
|
2023-06-27 21:25:32 +02:00
|
|
|
|
|
|
|
[node name="SequenceComposite" type="Node" parent="MainSelector"]
|
|
|
|
script = ExtResource("2_80fm4")
|
|
|
|
|
|
|
|
[node name="CanReturnBall" type="Node" parent="MainSelector/SequenceComposite"]
|
|
|
|
script = ExtResource("13_lrd2w")
|
|
|
|
|
|
|
|
[node name="ReturnBall" type="Node" parent="MainSelector/SequenceComposite"]
|
|
|
|
script = ExtResource("14_qbh47")
|