vrp-gruppe-sechs/escape-room/old_skripte/alternative.tscn

196 lines
9.2 KiB
Plaintext

[gd_scene load_steps=24 format=3 uid="uid://c1a3r7sd8s0o4"]
[ext_resource type="Script" uid="uid://ci02ru6m6uoic" path="res://escape_room_szene_room.gd" id="1_ojnyx"]
[ext_resource type="PackedScene" uid="uid://clc5dre31iskm" path="res://addons/godot-xr-tools/xr/start_xr.tscn" id="2_gsg1w"]
[ext_resource type="PackedScene" uid="uid://btknduttnmoxf" path="res://addons/godot-xr-tools/misc/vr_common_shader_cache.tscn" id="3_3y4cs"]
[ext_resource type="PackedScene" uid="uid://bl2nuu3qhlb5k" path="res://addons/godot-xr-tools/functions/movement_direct.tscn" id="4_r7k4s"]
[ext_resource type="PackedScene" uid="uid://dhaqth6q5yw4n" path="res://addons/godot-xr-tools/hands/model/hand_l.gltf" id="5_kgxnu"]
[ext_resource type="PackedScene" uid="uid://b6bk2pj8vbj28" path="res://addons/godot-xr-tools/functions/movement_turn.tscn" id="6_v4pl8"]
[ext_resource type="PackedScene" uid="uid://ds1t8vc0kxoeo" path="res://addons/godot-xr-tools/hands/model/hand_r.gltf" id="7_8x7v5"]
[ext_resource type="PackedScene" uid="uid://diyu06cw06syv" path="res://addons/godot-xr-tools/player/player_body.tscn" id="8_ox4mf"]
[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_7hnwg"]
[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_fyb7v"]
[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_qxyu7"]
[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 = 1
depth_draw_mode = 1
albedo_color = Color(0.53129226, 0.9147971, 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.1, 40)
[sub_resource type="BoxShape3D" id="BoxShape3D_ted65"]
size = Vector3(22, 1, 16)
[sub_resource type="BoxShape3D" id="BoxShape3D_wh3cu"]
size = Vector3(12, 3, 0.5)
[sub_resource type="BoxShape3D" id="BoxShape3D_jtili"]
size = Vector3(0.5, 3, 6)
[sub_resource type="BoxShape3D" id="BoxShape3D_qplvl"]
size = Vector3(0.5, 3, 6)
[sub_resource type="HeightMapShape3D" id="HeightMapShape3D_slatm"]
resource_local_to_scene = true
map_width = 19
map_depth = 10
map_data = PackedFloat32Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
[node name="Node3D" type="Node3D"]
script = ExtResource("1_ojnyx")
[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_gsg1w")]
[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_3y4cs")]
[node name="XRController3D_Left" type="XRController3D" parent="XROrigin3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 1.2, -0.5)
tracker = &"left_hand"
pose = &"aim"
[node name="MovementDirect_Left" parent="XROrigin3D/XRController3D_Left" groups=["player_body"] instance=ExtResource("4_r7k4s")]
max_speed = 5.0
strafe = true
[node name="hand_l" parent="XROrigin3D/XRController3D_Left" instance=ExtResource("5_kgxnu")]
[node name="XRController3D_Right" type="XRController3D" parent="XROrigin3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 1.2, -0.5)
tracker = &"right_hand"
pose = &"aim"
[node name="MovementTurn" parent="XROrigin3D/XRController3D_Right" instance=ExtResource("6_v4pl8")]
step_turn_angle = 15.0
[node name="MovementDirect_Right" parent="XROrigin3D/XRController3D_Right" groups=["player_body"] instance=ExtResource("4_r7k4s")]
max_speed = 5.0
strafe = true
[node name="hand_r" parent="XROrigin3D/XRController3D_Right" instance=ExtResource("7_8x7v5")]
[node name="PlayerBody" parent="XROrigin3D" instance=ExtResource("8_ox4mf")]
[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
[node name="CSGBox3D" type="CSGBox3D" parent="static_room/ground"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.05, 0)
size = Vector3(40, 0.1, 40)
material = SubResource("StandardMaterial3D_ted65")
[node name="CollisionShape3D" type="CollisionShape3D" parent="static_room/ground"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.1, 0)
shape = SubResource("BoxShape3D_i1fkd")
[node name="room-wide2" parent="static_room/ground" instance=ExtResource("9_7hnwg")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.05, 0)
[node name="roof" type="StaticBody3D" parent="static_room"]
visible = false
[node name="CSGBox3D" type="CSGBox3D" parent="static_room/roof"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.8, 0)
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.8, 0)
shape = SubResource("BoxShape3D_ted65")
[node name="collision-walls" type="Node3D" parent="static_room"]
[node name="collision-wall-behind" type="StaticBody3D" parent="static_room/collision-walls"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="static_room/collision-walls/collision-wall-behind"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 5.7)
shape = SubResource("BoxShape3D_wh3cu")
[node name="collision-wall-door" type="StaticBody3D" parent="static_room/collision-walls"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="static_room/collision-walls/collision-wall-door"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, -5.7)
shape = SubResource("BoxShape3D_wh3cu")
[node name="collision-wall-right" type="StaticBody3D" parent="static_room/collision-walls"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="static_room/collision-walls/collision-wall-right"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.7, 1.5, 0)
shape = SubResource("BoxShape3D_jtili")
[node name="collision-wall-left" type="StaticBody3D" parent="static_room/collision-walls"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="static_room/collision-walls/collision-wall-left"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.7, 1.5, 0)
shape = SubResource("BoxShape3D_qplvl")
[node name="collision-edges" type="Node3D" parent="static_room/collision-walls"]
[node name="edge1" type="StaticBody3D" parent="static_room/collision-walls/collision-edges"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="static_room/collision-walls/collision-edges/edge1"]
shape = SubResource("HeightMapShape3D_slatm")
debug_color = Color(0.8666503, 0.17081183, 0.7628957, 0.41960785)
[node name="gate-door-window2" parent="." instance=ExtResource("10_fyb7v")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -6.06482)
[node name="template-wall2" parent="." instance=ExtResource("11_qxyu7")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.05, 6)
[node name="template-wall3" parent="." instance=ExtResource("11_qxyu7")]
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 10, -0.05, 0)
[node name="template-wall4" parent="." instance=ExtResource("11_qxyu7")]
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -10, -0.05, 0)