130 lines
12 KiB
Plaintext
130 lines
12 KiB
Plaintext
[gd_scene load_steps=20 format=3 uid="uid://cdimbpmocwsjm"]
|
|
|
|
[ext_resource type="Script" uid="uid://177gygw2xqqu" path="res://addons/godot-xr-tools/staging/scene_base.gd" id="1_lofbc"]
|
|
[ext_resource type="PackedScene" uid="uid://75kv05shtyyi" path="res://assets/Starting_room/Room.tscn" id="2_5f4kr"]
|
|
[ext_resource type="PackedScene" uid="uid://clujaf3u776a3" path="res://addons/godot-xr-tools/objects/viewport_2d_in_3d.tscn" id="3_ylcu0"]
|
|
[ext_resource type="PackedScene" uid="uid://vu7cky22rcvr" path="res://assets/Starting_room/ui_login.tscn" id="4_lofbc"]
|
|
[ext_resource type="PackedScene" uid="uid://cqhw276realc" path="res://addons/godot-xr-tools/functions/function_pointer.tscn" id="5_32i4m"]
|
|
[ext_resource type="PackedScene" uid="uid://bl2nuu3qhlb5k" path="res://addons/godot-xr-tools/functions/movement_direct.tscn" id="6_0uwqa"]
|
|
[ext_resource type="PackedScene" uid="uid://b4ysuy43poobf" path="res://addons/godot-xr-tools/functions/function_pickup.tscn" id="7_lb7k6"]
|
|
[ext_resource type="PackedScene" uid="uid://njx823gyk04n" path="res://addons/godot-xr-tools/hands/scenes/highpoly/left_hand.tscn" id="8_fuh7u"]
|
|
[ext_resource type="PackedScene" uid="uid://b6bk2pj8vbj28" path="res://addons/godot-xr-tools/functions/movement_turn.tscn" id="9_syiep"]
|
|
[ext_resource type="PackedScene" uid="uid://fiul51tsyoop" path="res://addons/godot-xr-tools/functions/function_teleport.tscn" id="10_sc0lm"]
|
|
[ext_resource type="PackedScene" uid="uid://raeeicvvindd" path="res://addons/godot-xr-tools/hands/scenes/highpoly/right_hand.tscn" id="11_q6npw"]
|
|
[ext_resource type="PackedScene" uid="uid://diyu06cw06syv" path="res://addons/godot-xr-tools/player/player_body.tscn" id="12_unn20"]
|
|
|
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_lofbc"]
|
|
sky_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1)
|
|
ground_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1)
|
|
|
|
[sub_resource type="Sky" id="Sky_ufptt"]
|
|
sky_material = SubResource("ProceduralSkyMaterial_lofbc")
|
|
|
|
[sub_resource type="Environment" id="Environment_04645"]
|
|
background_mode = 2
|
|
sky = SubResource("Sky_ufptt")
|
|
tonemap_mode = 2
|
|
|
|
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_4f5iy"]
|
|
data = PackedVector3Array(-5, -0.15, -5, -4.9, -0.1453402, -5, -5, -0.1453402, -5, -5, -0.15, -5, -5, -0.1453402, -5, -5, -0.1453402, 5, -5, -0.15, -5, 5, -0.15, -5, -4.9, -0.1453402, -5, -5, -0.15, -5, -5, -0.15, 5, 5, -0.15, -5, -4.9, 0.15, -4.8, 5, 0.15, -4.7999997, -4.9, 0.15, 4.7999997, -5, -0.15, -5, -5, -0.1453402, 5, -5, -0.15, 5, -5, -0.15, 5, -5, -0.1453402, 5, -4.9, -0.1453402, 5, -5, -0.15, 5, -4.9, -0.1453402, 5, 5, -0.1453402, 5, 5, -0.15, -5, 5, -0.1453402, -5, -4.9, -0.1453402, -5, 5, -0.15, -5, 5, -0.15, 5, 5, -0.1453402, -5, -5, -0.15, 5, 5, -0.15, 5, 5, -0.15, -5, 5, 0.15, -4.7999997, 5, 0.15, 4.8, -4.9, 0.15, 4.7999997, -5, -0.15, 5, 5, -0.1453402, 5, 5, -0.15, 5, 5, -0.15, 5, 5, -0.1453402, 5, 5, -0.1453402, -5, 5.1, -0.1453402, -5, 5, -0.1453402, -5, 5, -0.1453402, 5, 5.1, -0.1453402, -5, 5, -0.1453402, 5, 5.2, -0.1453402, -5, 5.1, -0.1453402, -5, 5.2, -0.1453402, -5, 5.1, 2.8546598, -5, 5, 2.8546598, -4.7999997, 5, 0.15, 4.8, 5, 0.15, -4.7999997, 5.2, -0.1453402, -5, 5, -0.1453402, 5, 5.1, -0.1453402, 5, 5.2, -0.1453402, -5, 5.1, -0.1453402, 5, 5.2, -0.1453402, 5, 5.2, -0.1453402, -5, 5.2, -0.1453402, 5, 5.2, 2.8546598, 5, 5.1, -0.1453402, 5, 5.2, 2.8546598, 5, 5.2, -0.1453402, 5, 5.2, -0.1453402, -5, 5.2, 2.8546598, -5, 5.1, 2.8546598, -5, 5.2, -0.1453402, -5, 5.2, 2.8546598, 5, 5.2, 2.8546598, -5, 5, 2.8546598, -5, 5.1, 2.8546598, -5, 5.2, 2.8546598, 5, 5, 2.8546598, -5, 5.2, 2.8546598, 5, 5, 2.8546598, -4.7999997, 5.1, 2.8546598, -5, 5.2, 2.8546598, -5, 5.2, 2.8546598, 5, 5, 2.8546598, -4.7999997, 5, 2.8546598, 4.8, 5, 0.15, 4.8, 5.1, -0.1453402, 5, 5.1, 2.8546598, 5, 5.2, 2.8546598, 5, 5, 2.8546598, -4.7999997, 5.2, 2.8546598, 5, 5, 2.8546598, 4.8, 5, 2.8546598, 4.8, 5.1, 2.8546598, 5, 5, 2.8546598, 5, 5, 2.8546598, 4.8, 5.2, 2.8546598, 5, 5.1, 2.8546598, 5, -5.1, -0.1453402, -5, -5, -0.1453402, 5, -5, -0.1453402, -5, -5.1, -0.1453402, -5, -5, -0.1453402, -5, -5.1, 2.8546598, -5, -5.1, 2.8546598, -5, -5, -0.1453402, -5, -4.9, -0.1453402, -5, -5.1, -0.1453402, -5, -5.1, 2.8546598, -5, -5.1, -0.1453402, 5, -5.1, -0.1453402, -5, -5.1, -0.1453402, 5, -5, -0.1453402, 5, -4.9, 2.8546598, 4.7999997, -4.9, 0.15, -4.8, -4.9, 0.15, 4.7999997, -5.1, -0.1453402, 5, -4.9, 2.8546598, 5, -5, -0.1453402, 5, -5, -0.1453402, 5, -4.9, 2.8546598, 5, -4.9, -0.1453402, 5, -4.9, -0.1453402, -5, -4.9, 2.8546598, -5, -5.1, 2.8546598, -5, -4.9, 2.8546598, -4.8, -4.9, 0.15, -4.8, -4.9, 2.8546598, 4.7999997, -5.1, 2.8546598, -5, -4.9, 2.8546598, -5, -4.9, 2.8546598, -4.8, -5.1, 2.8546598, -5, -4.9, 2.8546598, -4.8, -4.9, 2.8546598, 4.7999997, -5.1, -0.1453402, 5, -5.1, 2.8546598, -5, -5.1, 2.8546598, 5, -5.1, -0.1453402, 5, -5.1, 2.8546598, 5, -4.9, 2.8546598, 5, -5.1, 2.8546598, -5, -4.9, 2.8546598, 5, -5.1, 2.8546598, 5, -5.1, 2.8546598, -5, -4.9, 2.8546598, 4.7999997, -4.9, 2.8546598, 5, -4.9, -0.1453402, -5.0000005, -4.9, 2.8546598, -5.0000005, -4.9, -0.1453402, -5, -4.9, -0.1453402, -5.0000005, -4.9, -0.1453402, -5, 5, -0.1453402, -5, -4.9, 2.8546598, -4.8, 5, 0.15, -4.7999997, -4.9, 0.15, -4.8, -4.9, -0.1453402, -5, -4.9, 2.8546598, -5.0000005, -4.9, 2.8546598, -5, -4.9, -0.1453402, -5.0000005, 5, 2.8546598, -5, -4.9, 2.8546598, -5.0000005, -4.9, 2.8546598, -5.0000005, 5, 2.8546598, -5, -4.9, 2.8546598, -5, -4.9, 2.8546598, -5, 5, 2.8546598, -4.7999997, -4.9, 2.8546598, -4.8, -4.9, -0.1453402, -5.0000005, 5, -0.1453402, -5, 5.1, 2.8546598, -5, 5, -0.1453402, -5, 5.1, -0.1453402, -5, 5.1, 2.8546598, -5, -4.9, -0.1453402, -5.0000005, 5.1, 2.8546598, -5, 5, 2.8546598, -5, -4.9, 2.8546598, -4.8, 5, 2.8546598, -4.7999997, 5, 0.15, -4.7999997, -4.9, 2.8546598, -5, 5, 2.8546598, -5, 5, 2.8546598, -4.7999997, -4.9, -0.1453402, 5, -4.9, 2.8546598, 5, 5.1, -0.1453402, 5.0000005, -4.9, 2.8546598, 4.7999997, -4.9, 0.15, 4.7999997, 5, 2.8546598, 4.8, -4.9, 2.8546598, 4.7999997, 5, 2.8546598, 5, -4.9, 2.8546598, 5, -4.9, -0.1453402, 5, 5.1, -0.1453402, 5.0000005, 5, -0.1453402, 5, 5, 2.8546598, 4.8, -4.9, 0.15, 4.7999997, 5, 0.15, 4.8, 5, -0.1453402, 5, 5.1, -0.1453402, 5.0000005, 5.1, -0.1453402, 5, 5.1, -0.1453402, 5.0000005, 5.1, 2.8546598, 5.0000005, 5.1, -0.1453402, 5, -4.9, 2.8546598, 5, 5.1, 2.8546598, 5.0000005, 5.1, -0.1453402, 5.0000005, -4.9, 2.8546598, 4.7999997, 5, 2.8546598, 4.8, 5, 2.8546598, 5, -4.9, 2.8546598, 5, 5, 2.8546598, 5, 5.1, 2.8546598, 5.0000005, 5.1, -0.1453402, 5, 5.1, 2.8546598, 5.0000005, 5.1, 2.8546598, 5, 5, 2.8546598, 5, 5.1, 2.8546598, 5, 5.1, 2.8546598, 5.0000005)
|
|
|
|
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_ufptt"]
|
|
data = PackedVector3Array(-1.0339355, -0.6748657, 0.37939453, -1.0339355, -0.6748657, -0.37939453, -1.0339355, 0.6748657, -0.37939453, 1.0339355, -0.6748657, -0.37939453, -1.0339355, -0.6748657, -0.37939453, -1.0339355, -0.6748657, 0.37939453, -1.0339355, 0.6748657, -0.37939453, -1.0339355, -0.6748657, -0.37939453, 1.0339355, -0.6748657, -0.37939453, -1.0339355, 0.6748657, -0.37939453, -1.0339355, 0.6748657, 0.37939453, -1.0339355, -0.6748657, 0.37939453, -1.0339355, -0.6748657, 0.37939453, -1.0339355, 0.6748657, 0.37939453, 1.0339355, 0.6748657, 0.37939453, 1.0339355, 0.6748657, 0.37939453, -1.0339355, 0.6748657, 0.37939453, -1.0339355, 0.6748657, -0.37939453, -1.0339355, -0.6748657, 0.37939453, 1.0339355, -0.6748657, 0.37939453, 1.0339355, -0.6748657, -0.37939453, 1.0339355, 0.6748657, 0.37939453, 1.0339355, -0.6748657, 0.37939453, -1.0339355, -0.6748657, 0.37939453, 1.0339355, -0.6748657, -0.37939453, 1.0339355, -0.6748657, 0.37939453, 1.0339355, 0.6748657, 0.37939453, 1.0339355, -0.6748657, -0.37939453, 1.0339355, 0.6748657, -0.37939453, -1.0339355, 0.6748657, -0.37939453, -1.0339355, 0.6748657, -0.37939453, 1.0339355, 0.6748657, -0.37939453, 1.0339355, 0.6748657, 0.37939453, 1.0339355, 0.6748657, 0.37939453, 1.0339355, 0.6748657, -0.37939453, 1.0339355, -0.6748657, -0.37939453)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_a7g7a"]
|
|
albedo_color = Color(0, 0.16470589, 1, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_yqk38"]
|
|
albedo_color = Color(0, 0.16470589, 1, 1)
|
|
|
|
[node name="InduvidualRoom" type="Node3D"]
|
|
script = ExtResource("1_lofbc")
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
|
transform = Transform3D(-0.8660254, -0.43301278, 0.25, 0, 0.49999997, 0.86602545, -0.50000006, 0.75, -0.43301266, 0, 0, 0)
|
|
shadow_enabled = true
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
environment = SubResource("Environment_04645")
|
|
|
|
[node name="Room" type="StaticBody3D" parent="."]
|
|
|
|
[node name="CSGCombiner3D" parent="Room" instance=ExtResource("2_5f4kr")]
|
|
|
|
[node name="CSGBakedCollisionShape3D" type="CollisionShape3D" parent="Room"]
|
|
shape = SubResource("ConcavePolygonShape3D_4f5iy")
|
|
|
|
[node name="Viewport2Din3D" parent="." instance=ExtResource("3_ylcu0")]
|
|
transform = Transform3D(0.001, 0, 0, 0, 0.001, 0, 0, 0, 0.001, 0, 2.087539, -0.13751149)
|
|
screen_size = Vector2(1280, 720)
|
|
scene = ExtResource("4_lofbc")
|
|
viewport_size = Vector2(640, 360)
|
|
transparent = 1
|
|
scene_properties_keys = PackedStringArray("ui_login.gd", "midevel_scene", "space_scene", "button_p1", "button_p2", "button_play")
|
|
midevel_scene = "uid://dtcuaadd2wrys"
|
|
space_scene = "uid://bcvysxds78qa2"
|
|
|
|
[node name="Terminal" type="StaticBody3D" parent="."]
|
|
|
|
[node name="CSGBox3D" type="CSGBox3D" parent="Terminal"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.039852858, 0.75959444, -0.12060547)
|
|
size = Vector3(2.067871, 1.3497314, 0.75878906)
|
|
|
|
[node name="CSGBakedCollisionShape3D" type="CollisionShape3D" parent="Terminal"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.039852858, 0.75959444, -0.12060547)
|
|
shape = SubResource("ConcavePolygonShape3D_ufptt")
|
|
|
|
[node name="XROrigin3D" type="XROrigin3D" parent="."]
|
|
transform = Transform3D(0.99998224, 0, 0.0059690163, 0, 1, 0, -0.0059690163, 0, 0.99998224, -0.015249252, 0, 3.3794332)
|
|
|
|
[node name="XRCamera3D" type="XRCamera3D" parent="XROrigin3D"]
|
|
far = 300.0
|
|
|
|
[node name="LeftHand" type="XRController3D" parent="XROrigin3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 1, -0.5)
|
|
tracker = &"left_hand"
|
|
pose = &"aim"
|
|
|
|
[node name="FunctionPointer" parent="XROrigin3D/LeftHand" instance=ExtResource("5_32i4m")]
|
|
distance = 2.0
|
|
laser_length = 1
|
|
laser_material = SubResource("StandardMaterial3D_a7g7a")
|
|
|
|
[node name="MovementDirect" parent="XROrigin3D/LeftHand" groups=["player_body"] instance=ExtResource("6_0uwqa")]
|
|
strafe = true
|
|
|
|
[node name="FunctionPickup" parent="XROrigin3D/LeftHand" instance=ExtResource("7_lb7k6")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.02, -0.05, 0.1)
|
|
action_button_action = "grip_click"
|
|
|
|
[node name="Skeleton3D" type="Skeleton3D" parent="XROrigin3D/LeftHand"]
|
|
|
|
[node name="LeftHand" parent="XROrigin3D/LeftHand/Skeleton3D" instance=ExtResource("8_fuh7u")]
|
|
transform = Transform3D(1, 0, 4.656613e-10, 0, 1, 0, -4.656613e-10, 0, 1, -0.0038374662, 0, 0.64288616)
|
|
|
|
[node name="RightHand" type="XRController3D" parent="XROrigin3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 1, -0.5)
|
|
tracker = &"right_hand"
|
|
pose = &"aim"
|
|
|
|
[node name="FunctionPointer" parent="XROrigin3D/RightHand" instance=ExtResource("5_32i4m")]
|
|
distance = 2.0
|
|
laser_length = 1
|
|
laser_material = SubResource("StandardMaterial3D_yqk38")
|
|
|
|
[node name="MovementTurn" parent="XROrigin3D/RightHand" instance=ExtResource("9_syiep")]
|
|
|
|
[node name="FunctionTeleport" parent="XROrigin3D/RightHand" instance=ExtResource("10_sc0lm")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.02, -0.05, 0)
|
|
teleport_button_action = "by_button"
|
|
|
|
[node name="FunctionPickup" parent="XROrigin3D/RightHand" instance=ExtResource("7_lb7k6")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.02, -0.05, 0.1)
|
|
action_button_action = "grip_click"
|
|
|
|
[node name="Skeleton3D" type="Skeleton3D" parent="XROrigin3D/RightHand"]
|
|
|
|
[node name="RightHand" parent="XROrigin3D/RightHand/Skeleton3D" instance=ExtResource("11_q6npw")]
|
|
|
|
[node name="PlayerBody" parent="XROrigin3D" instance=ExtResource("12_unn20")]
|