bovido/scenes/enemy_behavior_tree.tscn
2023-07-01 13:26:45 +02:00

65 lines
3.1 KiB
Plaintext

[gd_scene load_steps=14 format=3 uid="uid://b51tdt5kunai"]
[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"]
[ext_resource type="Script" path="res://addons/beehave/nodes/composites/selector.gd" id="2_xkd41"]
[ext_resource type="Script" path="res://scripts/enemy/behavior_tree/can_wait_condition.gd" id="4_0jr1a"]
[ext_resource type="Script" path="res://addons/beehave/nodes/decorators/time_limiter.gd" id="5_012bh"]
[ext_resource type="Script" path="res://scripts/enemy/behavior_tree/wait_action.gd" id="6_eyknc"]
[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"]
[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"]
[ext_resource type="Script" path="res://scripts/enemy/behavior_tree/move_to_destination_action.gd" id="11_tjc85"]
[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"]
[node name="EnemyBehaviorTree" type="Node"]
script = ExtResource("1_b2pc4")
[node name="MainSelector" type="Node" parent="."]
script = ExtResource("2_xkd41")
[node name="WaitSequence" type="Node" parent="MainSelector"]
script = ExtResource("2_80fm4")
[node name="CanWait" type="Node" parent="MainSelector/WaitSequence"]
script = ExtResource("4_0jr1a")
[node name="TimeLimiterDecorator" type="Node" parent="MainSelector/WaitSequence"]
script = ExtResource("5_012bh")
wait_time = 1.0
[node name="Wait" type="Node" parent="MainSelector/WaitSequence/TimeLimiterDecorator"]
script = ExtResource("6_eyknc")
[node name="ThrowBallSequence" type="Node" parent="MainSelector"]
script = ExtResource("2_80fm4")
[node name="CanThrowBall" type="Node" parent="MainSelector/ThrowBallSequence"]
script = ExtResource("7_k5qlq")
[node name="ThrowBall" type="Node" parent="MainSelector/ThrowBallSequence"]
script = ExtResource("8_wytqf")
[node name="GoToBallSequence" type="Node" parent="MainSelector"]
script = ExtResource("2_80fm4")
[node name="CanGoToBall" type="Node" parent="MainSelector/GoToBallSequence"]
script = ExtResource("10_3puvl")
[node name="GetBallDestination" type="Node" parent="MainSelector/GoToBallSequence"]
script = ExtResource("11_bvy6m")
[node name="MoveToDestination" type="Node" parent="MainSelector/GoToBallSequence"]
script = ExtResource("11_tjc85")
[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")