213 lines
8.4 KiB
Plaintext
213 lines
8.4 KiB
Plaintext
[gd_scene format=3 uid="uid://dg2g1nd82lyxm"]
|
|
|
|
[ext_resource type="Script" uid="uid://bh04b3iify0hd" path="res://scripts/main.gd" id="1_main"]
|
|
[ext_resource type="Script" uid="uid://1jimgt3d4bjj" path="res://scripts/player.gd" id="2_player"]
|
|
[ext_resource type="Script" path="res://scripts/ground_pick.gd" id="3_ground"]
|
|
[ext_resource type="Script" path="res://scripts/position_authority_client.gd" id="4_auth"]
|
|
[ext_resource type="Script" path="res://scripts/interaction_request_client.gd" id="5_ix"]
|
|
[ext_resource type="Script" path="res://scripts/interaction_radius_indicators.gd" id="6_rad"]
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_floor"]
|
|
size = Vector3(20, 0.2, 20)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_floor"]
|
|
size = Vector3(20, 0.2, 20)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_obstacle"]
|
|
size = Vector3(2, 2, 2)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_obstacle"]
|
|
size = Vector3(2, 2, 2)
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_player"]
|
|
radius = 0.4
|
|
height = 1.0
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_player"]
|
|
radius = 0.4
|
|
height = 1.0
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_terminal"]
|
|
size = Vector3(0.9, 1, 0.4)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="Mat_terminal"]
|
|
albedo_color = Color(0.28, 0.38, 0.45, 1)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_marker"]
|
|
size = Vector3(0.22, 0.35, 0.22)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="Mat_marker_base"]
|
|
albedo_color = Color(0.15, 0.4, 1, 1)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_ns19_bump_a"]
|
|
size = Vector3(1, 0.15, 1)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_ns19_bump_a"]
|
|
size = Vector3(1, 0.15, 1)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_ns19_bump_b"]
|
|
size = Vector3(0.85, 0.12, 0.85)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_ns19_bump_b"]
|
|
size = Vector3(0.85, 0.12, 0.85)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_ns19_pedestal"]
|
|
size = Vector3(1.5, 2.5, 1.5)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_ns19_pedestal"]
|
|
size = Vector3(1.5, 2.5, 1.5)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_ns19_farpad"]
|
|
size = Vector3(2.5, 0.12, 2.5)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_ns19_farpad"]
|
|
size = Vector3(2.5, 0.12, 2.5)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="Mat_ns19_bump"]
|
|
albedo_color = Color(0.22, 0.52, 0.32, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="Mat_ns19_pedestal"]
|
|
albedo_color = Color(0.92, 0.42, 0.12, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="Mat_ns19_farpad"]
|
|
albedo_color = Color(0.32, 0.38, 0.55, 1)
|
|
|
|
[node name="Main" type="Node3D" unique_id=1358372723]
|
|
script = ExtResource("1_main")
|
|
|
|
[node name="World" type="Node3D" parent="." unique_id=1042212190]
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="World" unique_id=201819776]
|
|
transform = Transform3D(0.866025, -0.353553, 0.353553, 0, 0.707107, 0.707107, -0.5, -0.612372, 0.612372, 0, 6, 0)
|
|
shadow_enabled = true
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="World" unique_id=1124088856]
|
|
transform = Transform3D(0.819152, -0.40558, 0.40558, 0, 0.707107, 0.707107, -0.573576, -0.579228, 0.579228, 12, 10, 12)
|
|
current = true
|
|
fov = 50.0
|
|
|
|
[node name="Floor" type="StaticBody3D" parent="World" unique_id=1800743112 groups=["walkable"]]
|
|
collision_layer = 1
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="World/Floor" unique_id=152652175]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.1, 0)
|
|
mesh = SubResource("BoxMesh_floor")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Floor" unique_id=409532142]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.1, 0)
|
|
shape = SubResource("BoxShape3D_floor")
|
|
|
|
[node name="PrototypeTerminal" type="StaticBody3D" parent="World" unique_id=1700001]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="World/PrototypeTerminal" unique_id=1700002]
|
|
mesh = SubResource("BoxMesh_terminal")
|
|
surface_material_override/0 = SubResource("Mat_terminal")
|
|
|
|
[node name="InteractionMarkers" type="Node3D" parent="World" unique_id=1700003]
|
|
script = ExtResource("6_rad")
|
|
|
|
[node name="MarkerA" type="MeshInstance3D" parent="World/InteractionMarkers" unique_id=1700004]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.1, 0.25, 0.9)
|
|
mesh = SubResource("BoxMesh_marker")
|
|
surface_material_override/0 = SubResource("Mat_marker_base")
|
|
|
|
[node name="MarkerB" type="MeshInstance3D" parent="World/InteractionMarkers" unique_id=1700005]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.95, 0.22, -1.05)
|
|
mesh = SubResource("BoxMesh_marker")
|
|
surface_material_override/0 = SubResource("Mat_marker_base")
|
|
|
|
[node name="NS19BumpA" type="StaticBody3D" parent="World" unique_id=1900001 groups=["walkable"]]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.4, 0.075, -2.6)
|
|
collision_layer = 1
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="World/NS19BumpA" unique_id=1900002]
|
|
mesh = SubResource("BoxMesh_ns19_bump_a")
|
|
surface_material_override/0 = SubResource("Mat_ns19_bump")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="World/NS19BumpA" unique_id=1900003]
|
|
shape = SubResource("BoxShape3D_ns19_bump_a")
|
|
|
|
[node name="NS19BumpB" type="StaticBody3D" parent="World" unique_id=1900011 groups=["walkable"]]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.85, 0.06, -4.1)
|
|
collision_layer = 1
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="World/NS19BumpB" unique_id=1900012]
|
|
mesh = SubResource("BoxMesh_ns19_bump_b")
|
|
surface_material_override/0 = SubResource("Mat_ns19_bump")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="World/NS19BumpB" unique_id=1900013]
|
|
shape = SubResource("BoxShape3D_ns19_bump_b")
|
|
|
|
[node name="NS19RejectPedestal" type="StaticBody3D" parent="World" unique_id=1900021 groups=["walkable"]]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.5, 0, -6.5)
|
|
collision_layer = 1
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="World/NS19RejectPedestal" unique_id=1900022]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.25, 0)
|
|
mesh = SubResource("BoxMesh_ns19_pedestal")
|
|
surface_material_override/0 = SubResource("Mat_ns19_pedestal")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="World/NS19RejectPedestal" unique_id=1900023]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.25, 0)
|
|
shape = SubResource("BoxShape3D_ns19_pedestal")
|
|
|
|
[node name="NS19FarPad" type="StaticBody3D" parent="World" unique_id=1900031 groups=["walkable"]]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9, 0.06, 9)
|
|
collision_layer = 1
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="World/NS19FarPad" unique_id=1900032]
|
|
mesh = SubResource("BoxMesh_ns19_farpad")
|
|
surface_material_override/0 = SubResource("Mat_ns19_farpad")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="World/NS19FarPad" unique_id=1900033]
|
|
shape = SubResource("BoxShape3D_ns19_farpad")
|
|
|
|
[node name="Obstacle" type="StaticBody3D" parent="World" unique_id=1638845763]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, 5)
|
|
collision_layer = 1
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="World/Obstacle" unique_id=750473628]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
mesh = SubResource("BoxMesh_obstacle")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Obstacle" unique_id=1344302688]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
shape = SubResource("BoxShape3D_obstacle")
|
|
|
|
[node name="Player" type="CharacterBody3D" parent="." unique_id=352931696]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 0.9, -5)
|
|
collision_layer = 2
|
|
collision_mask = 1
|
|
script = ExtResource("2_player")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Player" unique_id=1695755590]
|
|
shape = SubResource("CapsuleShape3D_player")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Player" unique_id=2027034386]
|
|
mesh = SubResource("CapsuleMesh_player")
|
|
|
|
[node name="GroundPick" type="Node3D" parent="." unique_id=2500001]
|
|
script = ExtResource("3_ground")
|
|
|
|
[node name="PositionAuthorityClient" type="Node" parent="." unique_id=2500002]
|
|
script = ExtResource("4_auth")
|
|
|
|
[node name="InteractionRequestClient" type="Node" parent="." unique_id=2500003]
|
|
script = ExtResource("5_ix")
|
|
|
|
[node name="UICanvas" type="CanvasLayer" parent="." unique_id=9000001]
|
|
|
|
[node name="MoveRejectLabel" type="Label" parent="UICanvas" unique_id=9000002]
|
|
anchors_preset = 12
|
|
anchor_left = 0.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 12.0
|
|
offset_top = -44.0
|
|
offset_right = -12.0
|
|
offset_bottom = -8.0
|
|
grow_horizontal = 2
|
|
autowrap_mode = 3
|