72 lines
3.6 KiB
Plaintext
72 lines
3.6 KiB
Plaintext
[gd_scene format=3 uid="uid://bekuuw153mv03"]
|
|
|
|
[ext_resource type="Script" uid="uid://f5ptp3is4agf" path="res://character/player/player.gd" id="1_gtsfv"]
|
|
[ext_resource type="PackedScene" uid="uid://css1vk3u8gt7o" path="res://character/player/assets/mouse.glb" id="2_wu8e1"]
|
|
[ext_resource type="Script" uid="uid://roaqmma0vjon" path="res://character/player/player_animator.gd" id="3_g20gq"]
|
|
[ext_resource type="SceneReplicationConfig" uid="uid://c4ubbxjfrrs47" path="res://character/player/player_sync.tres" id="3_wu8e1"]
|
|
[ext_resource type="AnimationLibrary" uid="uid://stsads1ivf5g" path="res://character/player/assets/animations/crouch.glb" id="4_g20gq"]
|
|
[ext_resource type="AnimationLibrary" uid="uid://ddnmtmswkjx6g" path="res://character/player/assets/animations/fall.glb" id="4_hr31g"]
|
|
[ext_resource type="AnimationLibrary" uid="uid://ddkl5cqdd5usx" path="res://character/player/assets/animations/idle.glb" id="5_lqp71"]
|
|
[ext_resource type="AnimationLibrary" uid="uid://esw60hwb2cty" path="res://character/player/assets/animations/jump.glb" id="6_vuhga"]
|
|
[ext_resource type="AnimationLibrary" uid="uid://rqhclfyiingo" path="res://character/player/assets/animations/run.glb" id="7_muf2e"]
|
|
[ext_resource type="AnimationLibrary" uid="uid://dy8a178vlbsof" path="res://character/player/assets/animations/sneak.glb" id="8_jo6ux"]
|
|
[ext_resource type="AnimationLibrary" uid="uid://db83440o2cyr7" path="res://character/player/assets/animations/walk.glb" id="9_fkbv7"]
|
|
[ext_resource type="Script" uid="uid://c6l2fl5jgvr1h" path="res://character/player/face/face_rig.gd" id="12_lqp71"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_rkbax"]
|
|
radius = 0.4
|
|
height = 1.8
|
|
|
|
[node name="Player" type="CharacterBody3D" unique_id=869687860]
|
|
script = ExtResource("1_gtsfv")
|
|
|
|
[node name="Collision" type="CollisionShape3D" parent="." unique_id=215132582]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0)
|
|
shape = SubResource("CapsuleShape3D_rkbax")
|
|
|
|
[node name="CameraRig" type="Node3D" parent="." unique_id=1774966304]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6, 0)
|
|
|
|
[node name="Camera" type="Camera3D" parent="CameraRig" unique_id=52294557]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.6066488, -0.11179829)
|
|
|
|
[node name="Body" type="Node3D" parent="." unique_id=394283421]
|
|
|
|
[node name="mouse" parent="Body" unique_id=1995806863 instance=ExtResource("2_wu8e1")]
|
|
transform = Transform3D(-0.18240134, 0, -1.5946032e-08, 0, 0.18240134, 0, 1.5946032e-08, 0, -0.18240134, 0, 0.8705118, 0)
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="Body" unique_id=1656879850]
|
|
root_node = NodePath("../mouse")
|
|
libraries/crouch = ExtResource("4_g20gq")
|
|
libraries/fall = ExtResource("4_hr31g")
|
|
libraries/idle = ExtResource("5_lqp71")
|
|
libraries/jump = ExtResource("6_vuhga")
|
|
libraries/run = ExtResource("7_muf2e")
|
|
libraries/sneak = ExtResource("8_jo6ux")
|
|
libraries/walk = ExtResource("9_fkbv7")
|
|
script = ExtResource("3_g20gq")
|
|
|
|
[node name="Sync" type="MultiplayerSynchronizer" parent="." unique_id=1979575210]
|
|
replication_config = ExtResource("3_wu8e1")
|
|
|
|
[node name="HealthLabel" type="Label3D" parent="." unique_id=300336561]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.05, 0)
|
|
billboard = 1
|
|
no_depth_test = true
|
|
text = "HP 100 / 100"
|
|
font_size = 64
|
|
outline_size = 8
|
|
|
|
[node name="InteractHint" type="Label3D" parent="." unique_id=1718788495]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.75, 0)
|
|
visible = false
|
|
billboard = 1
|
|
no_depth_test = true
|
|
modulate = Color(1, 0.95, 0.6, 1)
|
|
text = "按 E 挂上滑索"
|
|
font_size = 48
|
|
outline_size = 8
|
|
|
|
[node name="FaceRig" type="Node" parent="." unique_id=792293233]
|
|
script = ExtResource("12_lqp71")
|