2024-09-27 11:46:31 +02:00
|
|
|
[gd_scene load_steps=8 format=3 uid="uid://ch0s3dxx3rpir"]
|
2024-09-03 18:44:55 +02:00
|
|
|
|
2024-09-08 16:57:39 +02:00
|
|
|
[ext_resource type="Script" path="res://objects/player.gd" id="1_qkf7c"]
|
2024-09-03 18:44:55 +02:00
|
|
|
[ext_resource type="PackedScene" uid="uid://dy8vjf760prhq" path="res://assets/characters/rogue.tscn" id="2_whuis"]
|
2024-09-27 11:46:31 +02:00
|
|
|
[ext_resource type="PackedScene" uid="uid://dmvl0igyslm80" path="res://assets/tools/Shovel.tscn" id="2_wyjbd"]
|
2024-09-03 18:44:55 +02:00
|
|
|
|
|
|
|
[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"]
|
2024-10-04 17:25:17 +02:00
|
|
|
radius = 0.187322
|
|
|
|
height = 0.844669
|
2024-09-03 18:44:55 +02:00
|
|
|
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_wrkyq"]
|
|
|
|
radius = 0.194932
|
|
|
|
|
|
|
|
[node name="Player" type="CharacterBody3D"]
|
2024-09-08 16:57:39 +02:00
|
|
|
script = ExtResource("1_qkf7c")
|
2024-09-03 18:44:55 +02:00
|
|
|
|
|
|
|
[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="."]
|
2024-10-04 17:25:17 +02:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.399047, 0)
|
2024-09-03 18:44:55 +02:00
|
|
|
shape = SubResource("CapsuleShape3D_7kfad")
|
|
|
|
|
2024-09-27 11:46:31 +02:00
|
|
|
[node name="RightHandBone" type="BoneAttachment3D" parent="."]
|
2024-10-11 23:50:17 +02:00
|
|
|
transform = Transform3D(-0.000468063, -0.0620062, 0.395164, 0.399995, -0.00197388, 0.000163928, 0.00192478, 0.39516, 0.0620078, -0.19623, 0.253622, 0.04305)
|
2024-09-27 11:46:31 +02:00
|
|
|
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")]
|
|
|
|
|
2024-09-03 18:44:55 +02:00
|
|
|
[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")]
|
|
|
|
|
2024-09-08 16:57:39 +02:00
|
|
|
[node name="ActionableDetector" type="Area3D" parent="Geometry"]
|
2024-09-03 18:44:55 +02:00
|
|
|
unique_name_in_owner = true
|
2024-09-08 16:57:39 +02:00
|
|
|
transform = Transform3D(2.5, 0, 0, 0, 2.5, 0, 0, 0, 2.5, 0, 0, 0.813277)
|
2024-09-03 18:44:55 +02:00
|
|
|
collision_layer = 0
|
|
|
|
collision_mask = 16
|
|
|
|
|
2024-09-08 16:57:39 +02:00
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Geometry/ActionableDetector"]
|
2024-09-03 18:44:55 +02:00
|
|
|
shape = SubResource("SphereShape3D_wrkyq")
|
|
|
|
|
2024-09-10 22:26:26 +02:00
|
|
|
[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)
|