[gd_scene load_steps=12 format=3 uid="uid://yhtpoum3eek7"] [ext_resource type="Script" uid="uid://ixwikdguyhf0" path="res://scripts/Entity/Rosa.gd" id="1_r5ufg"] [ext_resource type="Script" uid="uid://dtjjqp2atjyhr" path="res://scripts/Entity/Entity.gd" id="1_rvn3n"] [ext_resource type="Script" uid="uid://jd50n00bo05y" path="res://scripts/Entity/RosaCamera.gd" id="2_tr66j"] [ext_resource type="Script" uid="uid://cjfcpi7sxentf" path="res://scripts/Entity/Component/EntityDirection.gd" id="2_vcxxc"] [ext_resource type="Shader" uid="uid://7h2axb2tsh17" path="res://shaders/NPC Shader.gdshader" id="3_j5vis"] [ext_resource type="Script" uid="uid://c5nfs0m6ua4eb" path="res://scripts/Entity/Component/EntityMovement.gd" id="4_7s3uq"] [ext_resource type="Texture2D" uid="uid://cofrgefp8e617" path="res://textures/human.png" id="4_rvn3n"] [ext_resource type="Script" uid="uid://dfh2rh8idx267" path="res://scripts/Entity/Component/EntityInteractor.gd" id="5_ug24t"] [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ls7r8"] radius = 0.437175 height = 0.945346 [sub_resource type="QuadMesh" id="QuadMesh_dyaax"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_fegux"] render_priority = 0 shader = ExtResource("3_j5vis") shader_parameter/npcTexture = ExtResource("4_rvn3n") shader_parameter/color = Color(1, 1, 1, 1) shader_parameter/frame = 0 shader_parameter/direction = 2 [node name="Rosa" type="CharacterBody3D"] collision_layer = 2 collision_mask = 258 script = ExtResource("1_r5ufg") metadata/_custom_type_script = "uid://ixwikdguyhf0" [node name="Entity" type="Node" parent="."] script = ExtResource("1_rvn3n") metadata/_custom_type_script = "uid://dtjjqp2atjyhr" [node name="EntityDirection" type="Node" parent="Entity" node_paths=PackedStringArray("meshInstance", "characterBody")] script = ExtResource("2_vcxxc") meshInstance = NodePath("../../MeshInstance3D") direction = 2 characterBody = NodePath("../..") metadata/_custom_type_script = "uid://cjfcpi7sxentf" [node name="EntityMoving" type="Node" parent="Entity" node_paths=PackedStringArray("characterBody", "entity", "entityDirection")] script = ExtResource("4_7s3uq") characterBody = NodePath("../..") entity = NodePath("..") entityDirection = NodePath("../EntityDirection") movementType = 0 [node name="EntityInteractor" type="Node" parent="Entity" node_paths=PackedStringArray("entityDirection", "characterBody", "entity")] script = ExtResource("5_ug24t") interactorType = 0 entityDirection = NodePath("../EntityDirection") characterBody = NodePath("../..") entity = NodePath("..") metadata/_custom_type_script = "uid://dfh2rh8idx267" [node name="Rosa Camera" type="Camera3D" parent="." node_paths=PackedStringArray("follow")] transform = Transform3D(1, 0, 0, 0, 0.130388, 0.991463, 0, -0.991463, 0.130388, 0, 3.14994, 0.404846) current = true fov = 30.0 script = ExtResource("2_tr66j") follow = NodePath("..") [node name="CollisionShape3D" type="CollisionShape3D" parent="."] shape = SubResource("CapsuleShape3D_ls7r8") [node name="MeshInstance3D" type="MeshInstance3D" parent="."] transform = Transform3D(1, 0, 0, 0, 0.173648, 0.984808, 0, -0.984808, 0.173648, 0, 0, 0) mesh = SubResource("QuadMesh_dyaax") surface_material_override/0 = SubResource("ShaderMaterial_fegux")