metro-rts/godot/GameObjects/player_unit.tscn

72 lines
2.2 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://pme230qx1377"]
[ext_resource type="AnimationLibrary" uid="uid://crkh5gahl2ci6" path="res://Animation/bean_characters.res" id="1_70627"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_q7mxo"]
radius = 0.586696
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_n4q15"]
specular_mode = 1
albedo_color = Color(0.407843, 1, 0.447059, 1)
roughness = 0.0
[sub_resource type="CapsuleMesh" id="CapsuleMesh_5r0b3"]
material = SubResource("StandardMaterial3D_n4q15")
radial_segments = 8
rings = 3
[sub_resource type="BoxMesh" id="BoxMesh_p8wvo"]
size = Vector3(0.2, 0.2, 0.5)
[node name="Player" type="Unit"]
configure_team = 1
collision_layer = 6
collision_mask = 0
[node name="ActorWorldState" type="UnitWorldState" parent="."]
unique_name_in_owner = true
[node name="Planner" type="Planner" parent="."]
actions_inspector = [0, 1, 2]
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_desired_distance = 0.2
target_desired_distance = 0.5
path_height_offset = 0.5
avoidance_enabled = true
radius = 0.75
time_horizon_agents = 4.0
time_horizon_obstacles = 4.0
debug_enabled = true
debug_path_custom_point_size = 7.0
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
unique_name_in_owner = true
libraries = {
"": ExtResource("1_70627")
}
[node name="Eyes" type="Node3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.49429, 0)
[node name="VisionTarget" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.39151, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("CapsuleShape3D_q7mxo")
[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")