54 lines
2.0 KiB
Plaintext
54 lines
2.0 KiB
Plaintext
[gd_scene format=3 uid="uid://bekuuw153mv03"]
|
|
|
|
[ext_resource type="Script" uid="uid://f5ptp3is4agf" path="res://player/player.gd" id="1_oul6g"]
|
|
[ext_resource type="SceneReplicationConfig" uid="uid://c4ubbxjfrrs47" path="res://player/player_sync.tres" id="2_rkbax"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_rkbax"]
|
|
radius = 0.4
|
|
height = 1.8
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_g1dw6"]
|
|
radius = 0.4
|
|
height = 1.8
|
|
radial_segments = 24
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_yw30f"]
|
|
albedo_color = Color(0.23137255, 0.50980395, 0.9647059, 1)
|
|
roughness = 0.6
|
|
|
|
[node name="Player" type="CharacterBody3D" unique_id=869687860]
|
|
script = ExtResource("1_oul6g")
|
|
|
|
[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.45, 0)
|
|
|
|
[node name="SpringArm" type="SpringArm3D" parent="CameraRig" unique_id=917938711]
|
|
transform = Transform3D(1, 0, 0, 0, 0.9659257, 0.25881964, 0, -0.25881964, 0.9659257, 0, 0, 0)
|
|
spring_length = 4.0
|
|
|
|
[node name="Camera" type="Camera3D" parent="CameraRig/SpringArm" unique_id=52294557]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 4)
|
|
fov = 82.2
|
|
|
|
[node name="Body" type="Node3D" parent="." unique_id=394283421]
|
|
|
|
[node name="Mesh" type="MeshInstance3D" parent="Body" unique_id=1230094944]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0)
|
|
mesh = SubResource("CapsuleMesh_g1dw6")
|
|
surface_material_override/0 = SubResource("StandardMaterial3D_yw30f")
|
|
|
|
[node name="Sync" type="MultiplayerSynchronizer" parent="." unique_id=1979575210]
|
|
replication_config = ExtResource("2_rkbax")
|
|
|
|
[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
|