TinyAdventure/objects/player.tscn

64 lines
2.4 KiB
Plaintext

[gd_scene load_steps=8 format=3 uid="uid://ch0s3dxx3rpir"]
[ext_resource type="Script" path="res://objects/player.gd" id="1_qkf7c"]
[ext_resource type="PackedScene" uid="uid://dy8vjf760prhq" path="res://assets/characters/rogue.tscn" id="2_whuis"]
[ext_resource type="PackedScene" uid="uid://dmvl0igyslm80" path="res://assets/tools/Shovel.tscn" id="2_wyjbd"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jd31k"]
albedo_color = Color(1, 1, 0.698039, 1)
[sub_resource type="CapsuleMesh" id="CapsuleMesh_dwrtd"]
material = SubResource("StandardMaterial3D_jd31k")
radius = 0.12
height = 0.6
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_7kfad"]
radius = 0.24158
height = 0.952333
[sub_resource type="SphereShape3D" id="SphereShape3D_wrkyq"]
radius = 0.194932
[node name="Player" type="CharacterBody3D"]
script = ExtResource("1_qkf7c")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.3, 0)
visible = false
mesh = SubResource("CapsuleMesh_dwrtd")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.470516, 0)
shape = SubResource("CapsuleShape3D_7kfad")
[node name="RightHandBone" type="BoneAttachment3D" parent="."]
transform = Transform3D(-9.0716e-05, -0.060357, 0.39542, 0.399999, -0.000384705, 3.28702e-05, 0.000375464, 0.39542, 0.0603571, -0.196424, 0.255935, 0.0425928)
bone_name = "Knife"
bone_idx = 17
use_external_skeleton = true
external_skeleton = NodePath("../Geometry/Rogue/Rogue/Rig/Skeleton3D")
[node name="RightHandAttachement" type="Node3D" parent="RightHandBone"]
unique_name_in_owner = true
[node name="ShovelScene" parent="RightHandBone/RightHandAttachement" instance=ExtResource("2_wyjbd")]
[node name="Geometry" type="Node3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(0.4, 0, 0, 0, 0.4, 0, 0, 0, 0.4, 0, 0, 0)
[node name="Rogue" parent="Geometry" instance=ExtResource("2_whuis")]
[node name="ActionableDetector" type="Area3D" parent="Geometry"]
unique_name_in_owner = true
transform = Transform3D(2.5, 0, 0, 0, 2.5, 0, 0, 0, 2.5, 0, 0, 0.813277)
collision_layer = 0
collision_mask = 16
[node name="CollisionShape3D" type="CollisionShape3D" parent="Geometry/ActionableDetector"]
shape = SubResource("SphereShape3D_wrkyq")
[node name="BuildLocation" type="Node3D" parent="Geometry"]
unique_name_in_owner = true
transform = Transform3D(2.5, 0, 0, 0, 2.5, 0, 0, 0, 2.5, 0, 0, 2.4682)