[gd_scene load_steps=24 format=3 uid="uid://dhxxyprqflotq"] [ext_resource type="Script" uid="uid://bha8uf40p3sa0" path="res://player/npc/NpcVisual.gd" id="1_ixfoq"] [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_d844k"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_d844k"] albedo_color = Color(0.46, 0.58, 0.33, 1) roughness = 0.82 [sub_resource type="CylinderMesh" id="CylinderMesh_body"] material = SubResource("StandardMaterial3D_d844k") top_radius = 0.28 bottom_radius = 0.42 height = 0.9 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_skin"] albedo_color = Color(0.84, 0.61, 0.39, 1) roughness = 0.88 [sub_resource type="SphereMesh" id="SphereMesh_head"] material = SubResource("StandardMaterial3D_skin") radius = 0.29 height = 0.56 [sub_resource type="CylinderMesh" id="CylinderMesh_hair"] top_radius = 0.24 bottom_radius = 0.29 height = 0.18 [sub_resource type="CylinderMesh" id="CylinderMesh_arm"] material = SubResource("StandardMaterial3D_d844k") top_radius = 0.095 bottom_radius = 0.11 height = 0.58 [sub_resource type="SphereMesh" id="SphereMesh_hand"] material = SubResource("StandardMaterial3D_skin") radius = 0.12 height = 0.22 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_pants"] albedo_color = Color(0.16, 0.22, 0.25, 1) roughness = 0.9 [sub_resource type="CapsuleMesh" id="CapsuleMesh_leg"] material = SubResource("StandardMaterial3D_pants") radius = 0.115 height = 0.62 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_boot"] albedo_color = Color(0.13, 0.075, 0.04, 1) roughness = 0.95 [sub_resource type="BoxMesh" id="BoxMesh_foot"] material = SubResource("StandardMaterial3D_boot") size = Vector3(0.23, 0.15, 0.36) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_eye"] albedo_color = Color(0.06, 0.045, 0.035, 1) roughness = 0.8 [sub_resource type="SphereMesh" id="SphereMesh_eye"] material = SubResource("StandardMaterial3D_eye") radius = 0.035 height = 0.06 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_food"] albedo_color = Color(0.38, 0.22, 0.08, 1) roughness = 0.9 [sub_resource type="SphereMesh" id="SphereMesh_food"] material = SubResource("StandardMaterial3D_food") radius = 0.28 height = 0.48 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wood"] albedo_color = Color(0.34, 0.17, 0.065, 1) roughness = 0.96 [sub_resource type="CylinderMesh" id="CylinderMesh_wood"] material = SubResource("StandardMaterial3D_wood") top_radius = 0.09 bottom_radius = 0.11 height = 0.62 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_trust_reaction"] transparency = 1 shading_mode = 0 albedo_color = Color(1, 0.67, 0.24, 0.9) emission_enabled = true emission = Color(1, 0.52, 0.16, 1) emission_energy_multiplier = 0.45 [sub_resource type="TorusMesh" id="TorusMesh_trust_reaction"] material = SubResource("StandardMaterial3D_trust_reaction") inner_radius = 0.17 outer_radius = 0.26 rings = 16 ring_segments = 8 [sub_resource type="SphereMesh" id="SphereMesh_trust_reaction"] material = SubResource("StandardMaterial3D_trust_reaction") radius = 0.075 height = 0.14 radial_segments = 8 rings = 4 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_concern"] transparency = 1 shading_mode = 0 albedo_color = Color(0.74, 0.42, 0.3, 0.82) emission_enabled = true emission = Color(0.66, 0.24, 0.18, 1) emission_energy_multiplier = 0.28 [sub_resource type="TorusMesh" id="TorusMesh_concern"] material = SubResource("StandardMaterial3D_concern") inner_radius = 0.13 outer_radius = 0.22 rings = 14 ring_segments = 8 [sub_resource type="SphereMesh" id="SphereMesh_concern"] material = SubResource("StandardMaterial3D_concern") radius = 0.06 height = 0.12 radial_segments = 8 rings = 4 [node name="NpcVisual" type="CharacterBody3D"] collision_layer = 2 collision_mask = 1 script = ExtResource("1_ixfoq") [node name="CollisionShape3D" type="CollisionShape3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.85, 0) shape = SubResource("CapsuleShape3D_d844k") [node name="MeshInstance3D" type="MeshInstance3D" parent="."] position = Vector3(0, 1.05, 0) mesh = SubResource("CylinderMesh_body") [node name="Head" type="MeshInstance3D" parent="."] position = Vector3(0, 1.68, 0) mesh = SubResource("SphereMesh_head") [node name="Hair" type="MeshInstance3D" parent="."] position = Vector3(0, 1.9, -0.015) mesh = SubResource("CylinderMesh_hair") [node name="EyeLeft" type="MeshInstance3D" parent="."] position = Vector3(-0.095, 1.72, 0.274) mesh = SubResource("SphereMesh_eye") [node name="EyeRight" type="MeshInstance3D" parent="."] position = Vector3(0.095, 1.72, 0.274) mesh = SubResource("SphereMesh_eye") [node name="ArmLeft" type="MeshInstance3D" parent="."] position = Vector3(-0.39, 1.08, 0) rotation = Vector3(0, 0, -0.139626) mesh = SubResource("CylinderMesh_arm") [node name="Hand" type="MeshInstance3D" parent="ArmLeft"] position = Vector3(0, -0.35, 0) mesh = SubResource("SphereMesh_hand") [node name="ArmRight" type="MeshInstance3D" parent="."] position = Vector3(0.39, 1.08, 0) rotation = Vector3(0, 0, 0.139626) mesh = SubResource("CylinderMesh_arm") [node name="Hand" type="MeshInstance3D" parent="ArmRight"] position = Vector3(0, -0.35, 0) mesh = SubResource("SphereMesh_hand") [node name="LegLeft" type="MeshInstance3D" parent="."] position = Vector3(-0.18, 0.43, 0) mesh = SubResource("CapsuleMesh_leg") [node name="Foot" type="MeshInstance3D" parent="LegLeft"] position = Vector3(0, -0.28, 0.09) mesh = SubResource("BoxMesh_foot") [node name="LegRight" type="MeshInstance3D" parent="."] position = Vector3(0.18, 0.43, 0) mesh = SubResource("CapsuleMesh_leg") [node name="Foot" type="MeshInstance3D" parent="LegRight"] position = Vector3(0, -0.28, 0.09) mesh = SubResource("BoxMesh_foot") [node name="ProfessionProp" type="MeshInstance3D" parent="."] [node name="ProfessionLabel" type="Label3D" parent="."] position = Vector3(0, 2.05, 0) billboard = 1 no_depth_test = true text = "Villager" font_size = 24 outline_size = 6 modulate = Color(1, 0.96, 0.82, 1) pixel_size = 0.007 [node name="CarriedFood" type="MeshInstance3D" parent="."] visible = false transform = Transform3D(0.75, 0, 0, 0, 0.75, 0, 0, 0, 0.75, 0.48, 0.7, 0) mesh = SubResource("SphereMesh_food") [node name="CarriedWood" type="Node3D" parent="."] visible = false position = Vector3(-0.48, 0.88, -0.04) rotation = Vector3(0, 0, 1.5708) [node name="LogA" type="MeshInstance3D" parent="CarriedWood"] position = Vector3(0, -0.11, -0.08) mesh = SubResource("CylinderMesh_wood") [node name="LogB" type="MeshInstance3D" parent="CarriedWood"] position = Vector3(0, 0.11, 0.08) mesh = SubResource("CylinderMesh_wood") [node name="TaskGlyphRoot" type="Node3D" parent="."] visible = false position = Vector3(0, 2.35, 0) [node name="TaskGlyph" type="MeshInstance3D" parent="TaskGlyphRoot"] [node name="OpportunityConcernRoot" type="Node3D" parent="."] visible = false position = Vector3(-0.4, 2.72, 0) [node name="EmptyBowl" type="MeshInstance3D" parent="OpportunityConcernRoot"] rotation_degrees = Vector3(72, 0, 0) scale = Vector3(1.15, 0.72, 1.15) mesh = SubResource("TorusMesh_concern") [node name="BreathLeft" type="MeshInstance3D" parent="OpportunityConcernRoot"] position = Vector3(-0.14, 0.18, 0) rotation_degrees = Vector3(0, 0, -24) scale = Vector3(0.7, 1.3, 0.7) mesh = SubResource("SphereMesh_concern") [node name="BreathRight" type="MeshInstance3D" parent="OpportunityConcernRoot"] position = Vector3(0.08, 0.26, 0) rotation_degrees = Vector3(0, 0, 18) scale = Vector3(0.55, 1.05, 0.55) mesh = SubResource("SphereMesh_concern") [node name="TrustReactionRoot" type="Node3D" parent="."] visible = false position = Vector3(0, 2.72, 0) scale = Vector3(0.24, 0.24, 0.24) [node name="Halo" type="MeshInstance3D" parent="TrustReactionRoot"] mesh = SubResource("TorusMesh_trust_reaction") [node name="MoteLeft" type="MeshInstance3D" parent="TrustReactionRoot"] position = Vector3(-0.22, 0.08, 0) rotation = Vector3(0, 0, -0.436332) scale = Vector3(0.72, 1.25, 0.72) mesh = SubResource("SphereMesh_trust_reaction") [node name="MoteCenter" type="MeshInstance3D" parent="TrustReactionRoot"] position = Vector3(0, 0.19, 0) scale = Vector3(0.8, 1.35, 0.8) mesh = SubResource("SphereMesh_trust_reaction") [node name="MoteRight" type="MeshInstance3D" parent="TrustReactionRoot"] position = Vector3(0.22, 0.08, 0) rotation = Vector3(0, 0, 0.436332) scale = Vector3(0.72, 1.25, 0.72) mesh = SubResource("SphereMesh_trust_reaction") [node name="NavigationAgent3D" type="NavigationAgent3D" parent="."] path_desired_distance = 0.3 target_desired_distance = 0.5 height = 1.7 radius = 0.4