[gd_scene load_steps=8 format=3 uid="uid://ba17jrcaduowj"] [ext_resource type="Goal" uid="uid://b4i4e34046n44" path="res://AI/defeat_enemy_unit.tres" id="1_b1qo1"] [ext_resource type="AnimationLibrary" uid="uid://crkh5gahl2ci6" path="res://Animation/bean_characters.res" id="2_lrpu6"] [sub_resource type="SphereShape3D" id="SphereShape3D_5pqvg"] radius = 7.38627 [sub_resource type="SphereShape3D" id="SphereShape3D_drlm2"] radius = 1.0 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ss47r"] albedo_color = Color(1, 0.24, 0.24, 1) [sub_resource type="CapsuleMesh" id="CapsuleMesh_5r0b3"] material = SubResource("StandardMaterial3D_ss47r") [sub_resource type="BoxMesh" id="BoxMesh_p8wvo"] size = Vector3(0.2, 0.2, 0.5) [node name="Unit" type="Unit"] configure_team = 3 collision_layer = 6 collision_mask = 0 [node name="ActorWorldState" type="EnemyWorldState" parent="."] editor_available_goals = [ExtResource("1_b1qo1")] unique_name_in_owner = true [node name="Planner" type="Planner" parent="."] actions_inspector = [3, 2, 4] unique_name_in_owner = true [node name="EntityHealth" type="EntityHealth" parent="."] unique_name_in_owner = true [node name="NavigationAgent3D" type="NavigationAgent3D" parent="."] unique_name_in_owner = true path_height_offset = 0.5 [node name="AwarenessArea" type="Area3D" parent="."] unique_name_in_owner = true transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1216, 3.55442) collision_layer = 0 collision_mask = 2 input_ray_pickable = false [node name="CollisionShape3D" type="CollisionShape3D" parent="AwarenessArea"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2.36036) shape = SubResource("SphereShape3D_5pqvg") [node name="AnimationPlayer" type="AnimationPlayer" parent="."] unique_name_in_owner = true libraries = { "": ExtResource("2_lrpu6") } [node name="Eyes" type="Node3D" parent="."] unique_name_in_owner = true transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.4512, 0) [node name="VisionTarget" type="Node3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.31501, 0) [node name="CollisionShape3D" type="CollisionShape3D" parent="."] transform = Transform3D(1, 0, 0, 0, 0.999222, -0.0394342, 0, 0.0394342, 0.999222, 0, 1.01253, 0.443459) shape = SubResource("SphereShape3D_drlm2") [node name="MeshInstance3D" type="MeshInstance3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) mesh = SubResource("CapsuleMesh_5r0b3") [node name="MeshInstance3D2" type="MeshInstance3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.363891, 1.24027, 0.471381) mesh = SubResource("BoxMesh_p8wvo")