226 lines
9.6 KiB
Plaintext
226 lines
9.6 KiB
Plaintext
[gd_scene load_steps=28 format=3 uid="uid://bidp3paljsym7"]
|
|
|
|
[ext_resource type="Script" uid="uid://ci02ru6m6uoic" path="res://escape_room_szene_room.gd" id="1_p85ca"]
|
|
[ext_resource type="PackedScene" uid="uid://clc5dre31iskm" path="res://addons/godot-xr-tools/xr/start_xr.tscn" id="2_risro"]
|
|
[ext_resource type="Script" uid="uid://bi3h4by7go604" path="res://addons/godot-xr-tools/xr/start_xr.gd" id="3_risro"]
|
|
[ext_resource type="PackedScene" uid="uid://btknduttnmoxf" path="res://addons/godot-xr-tools/misc/vr_common_shader_cache.tscn" id="3_snjn2"]
|
|
[ext_resource type="PackedScene" uid="uid://bl2nuu3qhlb5k" path="res://addons/godot-xr-tools/functions/movement_direct.tscn" id="4_ted65"]
|
|
[ext_resource type="PackedScene" uid="uid://njx823gyk04n" path="res://addons/godot-xr-tools/hands/scenes/highpoly/left_hand.tscn" id="5_i1fkd"]
|
|
[ext_resource type="PackedScene" uid="uid://b6bk2pj8vbj28" path="res://addons/godot-xr-tools/functions/movement_turn.tscn" id="6_8osd2"]
|
|
[ext_resource type="PackedScene" uid="uid://raeeicvvindd" path="res://addons/godot-xr-tools/hands/scenes/highpoly/right_hand.tscn" id="7_c5kf2"]
|
|
[ext_resource type="PackedScene" uid="uid://diyu06cw06syv" path="res://addons/godot-xr-tools/player/player_body.tscn" id="8_58sqr"]
|
|
[ext_resource type="PackedScene" uid="uid://bq74kq5duydfa" path="res://assets-lib/kenney_modular-dungeon-kit_1.0/Models/GLB format/room-wide.glb" id="9_68lv5"]
|
|
[ext_resource type="PackedScene" uid="uid://5m5q0sjhcoa4" path="res://assets-lib/kenney_modular-dungeon-kit_1.0/Models/GLB format/gate-door-window.glb" id="10_b0n2r"]
|
|
[ext_resource type="PackedScene" uid="uid://b3nrtkwdx53bp" path="res://assets-lib/kenney_modular-dungeon-kit_1.0/Models/GLB format/template-wall.glb" id="11_n3dbl"]
|
|
|
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_2xeer"]
|
|
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_58u38"]
|
|
sky_material = SubResource("ProceduralSkyMaterial_2xeer")
|
|
|
|
[sub_resource type="Environment" id="Environment_37qqm"]
|
|
background_mode = 2
|
|
sky = SubResource("Sky_58u38")
|
|
tonemap_mode = 2
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_i1fkd"]
|
|
transparency = 1
|
|
blend_mode = 3
|
|
cull_mode = 2
|
|
depth_draw_mode = 1
|
|
albedo_color = Color(0.53129226, 1.8916494, 1.8916494, 1)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_8osd2"]
|
|
size = Vector3(4, 3, 4)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ted65"]
|
|
albedo_color = Color(0.16470589, 0.18039216, 0, 1)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_i1fkd"]
|
|
size = Vector3(40, 0, 40)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_risro"]
|
|
albedo_color = Color(0, 0, 0, 1)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_ted65"]
|
|
size = Vector3(22, 1, 16)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_risro"]
|
|
size = Vector3(3, 3, 0.5)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_snjn2"]
|
|
size = Vector3(7, 3, 1.3)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_c5kf2"]
|
|
size = Vector3(7, 3, 1.3)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_58sqr"]
|
|
size = Vector3(1.5, 3, 12)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_68lv5"]
|
|
size = Vector3(1.5, 3, 12)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_b0n2r"]
|
|
size = Vector3(17, 3, 1.3)
|
|
|
|
[node name="Node3D" type="Node3D"]
|
|
script = ExtResource("1_p85ca")
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
environment = SubResource("Environment_37qqm")
|
|
|
|
[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)
|
|
layers = 4
|
|
shadow_enabled = true
|
|
|
|
[node name="StartXR" parent="." instance=ExtResource("2_risro")]
|
|
script = ExtResource("3_risro")
|
|
|
|
[node name="XROrigin3D" type="XROrigin3D" parent="."]
|
|
current = true
|
|
|
|
[node name="XRCamera3D" type="XRCamera3D" parent="XROrigin3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.8, 0)
|
|
|
|
[node name="VRCommonShaderCache" parent="XROrigin3D/XRCamera3D" instance=ExtResource("3_snjn2")]
|
|
|
|
[node name="XRController3D_Left" type="XRController3D" parent="XROrigin3D"]
|
|
tracker = &"left_hand"
|
|
pose = &"aim"
|
|
|
|
[node name="MovementDirect_Left" parent="XROrigin3D/XRController3D_Left" groups=["player_body"] instance=ExtResource("4_ted65")]
|
|
max_speed = 5.0
|
|
strafe = true
|
|
|
|
[node name="Skeleton3D" type="Skeleton3D" parent="XROrigin3D/XRController3D_Left"]
|
|
|
|
[node name="LeftHand" parent="XROrigin3D/XRController3D_Left/Skeleton3D" instance=ExtResource("5_i1fkd")]
|
|
|
|
[node name="XRController3D_Right" type="XRController3D" parent="XROrigin3D"]
|
|
tracker = &"right_hand"
|
|
pose = &"aim"
|
|
|
|
[node name="MovementTurn" parent="XROrigin3D/XRController3D_Right" instance=ExtResource("6_8osd2")]
|
|
step_turn_angle = 15.0
|
|
|
|
[node name="Skeleton3D" type="Skeleton3D" parent="XROrigin3D/XRController3D_Right"]
|
|
|
|
[node name="RightHand" parent="XROrigin3D/XRController3D_Right/Skeleton3D" instance=ExtResource("7_c5kf2")]
|
|
|
|
[node name="PlayerBody" parent="XROrigin3D" instance=ExtResource("8_58sqr")]
|
|
|
|
[node name="Interactions" type="Node3D" parent="."]
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="Interactions"]
|
|
|
|
[node name="CSGBox3D" type="CSGBox3D" parent="Interactions/StaticBody3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, -9)
|
|
material_override = SubResource("StandardMaterial3D_i1fkd")
|
|
size = Vector3(4, 3, 4)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Interactions/StaticBody3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, -9)
|
|
shape = SubResource("BoxShape3D_8osd2")
|
|
|
|
[node name="static_room" type="Node3D" parent="."]
|
|
|
|
[node name="ground" type="StaticBody3D" parent="static_room"]
|
|
disable_mode = 1
|
|
collision_mask = 8388607
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="CSGBox3D" type="CSGBox3D" parent="static_room/ground"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.1, 0)
|
|
size = Vector3(40, 0.05, 40)
|
|
material = SubResource("StandardMaterial3D_ted65")
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="static_room/ground"]
|
|
shape = SubResource("BoxShape3D_i1fkd")
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="room-wide2" parent="static_room/ground" instance=ExtResource("9_68lv5")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.1, 0)
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="roof" type="StaticBody3D" parent="static_room"]
|
|
|
|
[node name="CSGBox3D" type="CSGBox3D" parent="static_room/roof"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.8, 0)
|
|
material_override = SubResource("StandardMaterial3D_risro")
|
|
size = Vector3(22, 1, 16)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="static_room/roof"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.5, 0)
|
|
shape = SubResource("BoxShape3D_ted65")
|
|
|
|
[node name="collision_room" type="Node3D" parent="static_room"]
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="coll_door" type="StaticBody3D" parent="static_room/collision_room"]
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="static_room/collision_room/coll_door"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, -5.7)
|
|
shape = SubResource("BoxShape3D_risro")
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="coll_wall_doorright" type="StaticBody3D" parent="static_room/collision_room"]
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="static_room/collision_room/coll_wall_doorright"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.6, 1.5, -5.3)
|
|
shape = SubResource("BoxShape3D_snjn2")
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="coll_wall_doorleft" type="StaticBody3D" parent="static_room/collision_room"]
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="static_room/collision_room/coll_wall_doorleft"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.6, 1.5, -5.3)
|
|
shape = SubResource("BoxShape3D_c5kf2")
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="coll_wall_left" type="StaticBody3D" parent="static_room/collision_room"]
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="static_room/collision_room/coll_wall_left"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.5, 1.5, 0)
|
|
shape = SubResource("BoxShape3D_58sqr")
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="coll_wall_right" type="StaticBody3D" parent="static_room/collision_room"]
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="static_room/collision_room/coll_wall_right"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.5, 1.5, 0)
|
|
shape = SubResource("BoxShape3D_68lv5")
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="static_room/collision_room"]
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="static_room/collision_room/StaticBody3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 5.3)
|
|
shape = SubResource("BoxShape3D_b0n2r")
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="gate-door-window2" parent="." instance=ExtResource("10_b0n2r")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.1, -6.065)
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="template-wall2" parent="." instance=ExtResource("11_n3dbl")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.1, 6)
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="template-wall3" parent="." instance=ExtResource("11_n3dbl")]
|
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 10, -0.1, 0)
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="template-wall4" parent="." instance=ExtResource("11_n3dbl")]
|
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -10, -0.1, 0)
|
|
metadata/_edit_lock_ = true
|