68 lines
2.9 KiB
Plaintext
68 lines
2.9 KiB
Plaintext
[gd_scene load_steps=10 format=3 uid="uid://2lcnu3dy54lx"]
|
|
|
|
[ext_resource type="Script" path="res://player/Player.gd" id="1_8gebs"]
|
|
[ext_resource type="PackedScene" uid="uid://dnr3o1rbkqpgu" path="res://assets/female/Female.blend" id="2_8nah6"]
|
|
[ext_resource type="PackedScene" uid="uid://2bbycjulf00g" path="res://character/health/HealthComponent.tscn" id="2_np5ag"]
|
|
[ext_resource type="PackedScene" uid="uid://dlhdudao4ondv" path="res://assets/sword/Sword.blend" id="3_c4wr7"]
|
|
[ext_resource type="PackedScene" uid="uid://cgqbkj8wbcatv" path="res://assets/hair/PonyTail.blend" id="3_umw6q"]
|
|
[ext_resource type="FontFile" uid="uid://b7mov13kwi8u8" path="res://assets/font/ubuntu_nf_regular.ttf" id="4_76ehj"]
|
|
[ext_resource type="Script" path="res://player/AnimationController.gd" id="4_i2ybk"]
|
|
[ext_resource type="AnimationLibrary" uid="uid://c355hn01ye2hd" path="res://assets/animations/human.blend" id="6_fl6or"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_2f50n"]
|
|
radius = 0.25
|
|
height = 1.6
|
|
|
|
[node name="Player" type="CharacterBody3D" node_paths=PackedStringArray("model") groups=["player"]]
|
|
script = ExtResource("1_8gebs")
|
|
model = NodePath("Model")
|
|
|
|
[node name="Model" type="Node3D" parent="."]
|
|
|
|
[node name="Female" parent="Model" instance=ExtResource("2_8nah6")]
|
|
|
|
[node name="BoneAttachment3D" type="BoneAttachment3D" parent="Model/Female/Armature/GeneralSkeleton" index="2"]
|
|
transform = Transform3D(0, -1, 0, 0, 0, -1, 1, 0, 0, -0.609469, 1.26691, -0.0234125)
|
|
bone_name = "RightMiddleProximal"
|
|
bone_idx = 44
|
|
|
|
[node name="Sword" parent="Model/Female/Armature/GeneralSkeleton/BoneAttachment3D" instance=ExtResource("3_c4wr7")]
|
|
|
|
[node name="BoneAttachment3D2" type="BoneAttachment3D" parent="Model/Female/Armature/GeneralSkeleton" index="3"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.57651e-10, 1.37156, -0.0247111)
|
|
bone_name = "Head"
|
|
bone_idx = 12
|
|
|
|
[node name="PonyTail" parent="Model/Female/Armature/GeneralSkeleton/BoneAttachment3D2" instance=ExtResource("3_umw6q")]
|
|
|
|
[node name="Collision" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
|
|
shape = SubResource("CapsuleShape3D_2f50n")
|
|
|
|
[node name="Label" type="Label3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
|
|
pixel_size = 0.001
|
|
billboard = 1
|
|
render_priority = 1
|
|
outline_modulate = Color(0, 0.498039, 1, 0.498039)
|
|
text = "Player"
|
|
font = ExtResource("4_76ehj")
|
|
font_size = 128
|
|
outline_size = 6
|
|
|
|
[node name="Animation" type="Node" parent="." node_paths=PackedStringArray("character", "animation_player")]
|
|
script = ExtResource("4_i2ybk")
|
|
character = NodePath("..")
|
|
animation_player = NodePath("../AnimationPlayer")
|
|
|
|
[node name="Health" parent="." instance=ExtResource("2_np5ag")]
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
root_node = NodePath("../Model/Female")
|
|
libraries = {
|
|
"human": ExtResource("6_fl6or")
|
|
}
|
|
playback_default_blend_time = 0.2
|
|
|
|
[editable path="Model/Female"]
|