2024-02-04 00:03:25 +01:00

50 lines
1.9 KiB
Plaintext

[gd_scene load_steps=8 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="FontFile" uid="uid://b7mov13kwi8u8" path="res://assets/font/ubuntu_nf_regular.ttf" id="4_76ehj"]
[ext_resource type="Script" path="res://player/Animation.gd" id="5_d4uw4"]
[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="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("5_d4uw4")
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