[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="Script" uid="uid://baid7qspg2mla" path="res://ui/crosshair.gd" id="2_vuhga"] [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="Texture2D" uid="uid://bkq6ya350cae8" path="res://character/assets/grab_hover.png" id="3_i6sc0"] [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="Texture2D" uid="uid://c67qe66m2aft4" path="res://character/assets/grab.png" id="4_ywhvj"] [ext_resource type="AnimationLibrary" uid="uid://ddkl5cqdd5usx" path="res://character/player/assets/animations/idle.glb" id="5_lqp71"] [ext_resource type="Script" uid="uid://d2rmc8p4g4dt6" path="res://ui/debug_panel.gd" id="5_ywhvj"] [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"] [ext_resource type="Script" uid="uid://bo1hob2whrlu0" path="res://character/player/player_look.gd" id="13_look"] [ext_resource type="Script" uid="uid://xta8h2snalsd" path="res://character/player/player_motor.gd" id="14_motor"] [ext_resource type="Script" uid="uid://b3ko4cfjf0vgu" path="res://character/player/player_pickup.gd" id="15_pickup"] [ext_resource type="Script" uid="uid://cgjaw5xbg7gdj" path="res://character/player/hsm/player_hsm.gd" id="20_7gte1"] [ext_resource type="Script" uid="uid://2bnkxlycmqqu" path="res://character/player/hsm/grounded.gd" id="21_k6mlu"] [ext_resource type="Script" uid="uid://2isemrs6ov3" path="res://character/player/hsm/idle.gd" id="22_r212m"] [ext_resource type="Script" uid="uid://6pa3038100o4" path="res://character/player/hsm/walk.gd" id="23_8bmvw"] [ext_resource type="Script" uid="uid://bb8dvx7nwuiwo" path="res://character/player/hsm/crouch.gd" id="24_2pong"] [ext_resource type="Script" uid="uid://b4okw70vrah42" path="res://character/player/hsm/sneak.gd" id="25_tkl2s"] [ext_resource type="Script" uid="uid://cklw8uq6xahe" path="res://character/player/hsm/sprint.gd" id="26_vhygx"] [ext_resource type="Script" uid="uid://43psuo6pb4wq" path="res://character/player/hsm/airborne.gd" id="27_s2r15"] [ext_resource type="Script" uid="uid://cvfcvo7k1i5jr" path="res://character/player/hsm/jump.gd" id="28_ed2qs"] [ext_resource type="Script" uid="uid://yadts2ydgfs6" path="res://character/player/hsm/fall.gd" id="29_u55fa"] [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_rkbax"] radius = 0.54541016 height = 1.4063476 [node name="Player" type="CharacterBody3D" unique_id=869687860] transform = Transform3D(0.096096, 0, 0, 0, 0.096096, 0, 0, 0, 0.096096, 0, 0, 0) 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.7031738, 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(10.4062605, 0, 0, 0, 10.4062605, 0, 0, 0, 10.4062605, 0, -0.43902993, -0.111798294) near = 0.01 [node name="InteractionRay" type="RayCast3D" parent="CameraRig/Camera" unique_id=388601766] transform = Transform3D(1, 0, 0, 0, -4.371139e-08, 1, 0, -1, -4.371139e-08, 0, 0, 0) target_position = Vector3(0, 0.25, 0) [node name="InteractionPos" type="Marker3D" parent="CameraRig/Camera" unique_id=816323614] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.2425185) [node name="HUD" type="CanvasLayer" parent="CameraRig" unique_id=2008353247] [node name="Crosshair" type="Control" parent="CameraRig/HUD" unique_id=1606201608] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 4 size_flags_vertical = 4 mouse_filter = 2 script = ExtResource("2_vuhga") hover_texture = ExtResource("3_i6sc0") hold_texture = ExtResource("4_ywhvj") [node name="DebugPanel" type="Control" parent="CameraRig/HUD" unique_id=1328176640] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("5_ywhvj") [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="Sync" type="MultiplayerSynchronizer" parent="." unique_id=1979575210] replication_config = ExtResource("3_wu8e1") [node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1656879850] root_node = NodePath("../Body/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="FaceRig" type="Node" parent="." unique_id=792293233] script = ExtResource("12_lqp71") [node name="Look" type="Node" parent="." unique_id=1738452096] script = ExtResource("13_look") [node name="Motor" type="Node" parent="." unique_id=1043927815] script = ExtResource("14_motor") [node name="Pickup" type="Node" parent="." unique_id=1587230140] script = ExtResource("15_pickup") [node name="HSM" type="LimboHSM" parent="." unique_id=100369043] update_mode = 2 script = ExtResource("20_7gte1") [node name="Grounded" type="LimboHSM" parent="HSM" unique_id=159625644] script = ExtResource("21_k6mlu") [node name="Idle" type="LimboState" parent="HSM/Grounded" unique_id=1876145612] script = ExtResource("22_r212m") [node name="Walk" type="LimboState" parent="HSM/Grounded" unique_id=689938768] script = ExtResource("23_8bmvw") [node name="Crouch" type="LimboState" parent="HSM/Grounded" unique_id=1470963204] script = ExtResource("24_2pong") [node name="Sneak" type="LimboState" parent="HSM/Grounded" unique_id=988596449] script = ExtResource("25_tkl2s") [node name="Sprint" type="LimboState" parent="HSM/Grounded" unique_id=674736640] script = ExtResource("26_vhygx") [node name="Airborne" type="LimboHSM" parent="HSM" unique_id=1349311867] script = ExtResource("27_s2r15") [node name="Jump" type="LimboState" parent="HSM/Airborne" unique_id=2079971118] script = ExtResource("28_ed2qs") [node name="Fall" type="LimboState" parent="HSM/Airborne" unique_id=233377038] script = ExtResource("29_u55fa")