95 lines
3 KiB
Plaintext
95 lines
3 KiB
Plaintext
[gd_scene load_steps=9 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="Goal" id="Goal_1c3rq"]
|
|
requirements_dict = {
|
|
"has_target": false
|
|
}
|
|
desired_state_dict = {
|
|
"is_health_safe": true
|
|
}
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_5pqvg"]
|
|
radius = 15.6018
|
|
|
|
[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")
|
|
radial_segments = 8
|
|
rings = 3
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_p8wvo"]
|
|
size = Vector3(0.2, 0.2, 0.5)
|
|
|
|
[node name="Tank" type="Unit"]
|
|
configure_team = 3
|
|
collision_layer = 6
|
|
collision_mask = 0
|
|
|
|
[node name="ActorWorldState" type="EnemyWorldState" parent="."]
|
|
editor_available_goals = [ExtResource("1_b1qo1"), SubResource("Goal_1c3rq")]
|
|
unique_name_in_owner = true
|
|
|
|
[node name="Planner" type="Planner" parent="."]
|
|
actions_inspector = [3, 2, 4, 5, 6]
|
|
unique_name_in_owner = true
|
|
|
|
[node name="EntityHealth" type="EntityHealth" parent="."]
|
|
injury_max = 20
|
|
wounds_max = 20
|
|
unique_name_in_owner = true
|
|
|
|
[node name="NavigationAgent3D" type="NavigationAgent3D" parent="."]
|
|
unique_name_in_owner = true
|
|
path_desired_distance = 0.5
|
|
target_desired_distance = 0.2
|
|
path_height_offset = 0.5
|
|
avoidance_enabled = true
|
|
radius = 0.75
|
|
time_horizon_agents = 4.0
|
|
time_horizon_obstacles = 4.0
|
|
|
|
[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
|
|
monitorable = false
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="AwarenessArea"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.735143)
|
|
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.013, 0)
|
|
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")
|