Quantum
cf3a29d7c3
Added doors Fixed holding force distance Inmcreased interaction ray length Fixed player not walking when looking up/down Added placeholder crosshair Added group trigger Made monitor rigid body Fixed lighting Added sound emitters for kreb
45 lines
1.4 KiB
Text
45 lines
1.4 KiB
Text
[gd_scene load_steps=4 format=3 uid="uid://cy86jyiy6skvk"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/player.gd" id="1_ocinr"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ljkaw"]
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_muavk"]
|
|
|
|
[node name="Player" type="CharacterBody3D" groups=["players"]]
|
|
script = ExtResource("1_ocinr")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
shape = SubResource("CapsuleShape3D_ljkaw")
|
|
|
|
[node name="CSGMesh3D" type="CSGMesh3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
mesh = SubResource("CapsuleMesh_muavk")
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="CSGMesh3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
fov = 90.0
|
|
|
|
[node name="Ball" type="CSGSphere3D" parent="."]
|
|
visible = false
|
|
radius = 0.1
|
|
|
|
[node name="Flashlight" type="SpotLight3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 0.990268, 0.139173, 0, -0.139173, 0.990268, 0, 1.5, -0.4)
|
|
light_color = Color(1, 1, 0.768627, 1)
|
|
shadow_enabled = true
|
|
distance_fade_enabled = true
|
|
spot_range = 23.178
|
|
spot_angle = 40.14
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="."]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="CenterContainer"]
|
|
custom_minimum_size = Vector2(10, 10)
|
|
layout_mode = 2
|