40 lines
1.8 KiB
Plaintext
40 lines
1.8 KiB
Plaintext
[gd_scene format=3 uid="uid://ct70bpbca8one"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bod6b3befmyt5" path="res://scenes/player/soldier_m.tscn" id="1_jd651"]
|
|
[ext_resource type="PackedScene" uid="uid://cl66unms2gim0" path="res://scenes/player/splorch.tscn" id="2_ywmwa"]
|
|
|
|
[sub_resource type="Environment" id="Environment_3nx84"]
|
|
glow_enabled = true
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_oh8vq"]
|
|
|
|
[node name="player" type="LocalPlayer" unique_id=863055906 node_paths=PackedStringArray("camera", "soldier_mesh", "collider", "splorch", "dead_cam_target")]
|
|
look_sensitivity = 1.5
|
|
camera = NodePath("camera_3d")
|
|
move_speed = 5.0
|
|
soldier_mesh = NodePath("soldier_m")
|
|
collider = NodePath("collision_shape_3d2")
|
|
splorch = NodePath("splorch")
|
|
dead_cam_target = NodePath("dead_camera_target")
|
|
health = 100
|
|
collision_mask = 4
|
|
|
|
[node name="camera_3d" type="Camera3D" parent="." unique_id=1773137418]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.8724979, -0.2644562)
|
|
environment = SubResource("Environment_3nx84")
|
|
current = true
|
|
fov = 90.0
|
|
|
|
[node name="soldier_m" parent="." unique_id=281995630 instance=ExtResource("1_jd651")]
|
|
transform = Transform3D(-0.5, 0, -4.371139e-08, 0, 0.5, 0, 4.371139e-08, 0, -0.5, 0.15878421, 0, 0.19227558)
|
|
|
|
[node name="collision_shape_3d2" type="CollisionShape3D" parent="." unique_id=442150782]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.0310049, 0)
|
|
shape = SubResource("CapsuleShape3D_oh8vq")
|
|
|
|
[node name="splorch" parent="." unique_id=986677517 instance=ExtResource("2_ywmwa")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.16157162, 1.4223524, 0)
|
|
|
|
[node name="dead_camera_target" type="Node3D" parent="." unique_id=559969559]
|
|
transform = Transform3D(1, 0, 0, 0, 0.9069022, 0.4213412, 0, -0.4213412, 0.9069022, 0, 2.3258846, 1.5254744)
|