289 lines
14 KiB
Plaintext
289 lines
14 KiB
Plaintext
[gd_scene format=3 uid="uid://c8m7scveejd0j"]
|
|
|
|
[ext_resource type="Script" uid="uid://o07ow17lw045" path="res://scripts/camera_controller.gd" id="1_0xm2m"]
|
|
[ext_resource type="PackedScene" uid="uid://uddluepcjf2t" path="res://Models/Chacacter_Geo_Geovanni.fbx" id="1_ig7tw"]
|
|
[ext_resource type="PackedScene" uid="uid://bl26u8g8shm66" path="res://Models/map01.blend" id="2_0xm2m"]
|
|
[ext_resource type="Script" uid="uid://csgeq0gmnr2fd" path="res://scripts/clickable.gd" id="3_1bvp3"]
|
|
[ext_resource type="Texture2D" uid="uid://dxn7oo6gxbm76" path="res://addons/kenney_prototype_textures/orange/texture_01.png" id="3_272bh"]
|
|
[ext_resource type="Texture2D" uid="uid://e6kx6aci4fgl" path="res://addons/kenney_prototype_textures/light/texture_01.png" id="4_5vw27"]
|
|
[ext_resource type="Script" uid="uid://csxn4d2cgn4vv" path="res://scripts/actions/click_action.gd" id="4_lquwl"]
|
|
[ext_resource type="PackedScene" uid="uid://bp4llwrnro8vu" path="res://Models/bookcaseClosedWide.glb" id="5_efxa6"]
|
|
[ext_resource type="PackedScene" uid="uid://hwqhvb0qkpxs" path="res://Models/tableCloth.glb" id="6_82xsv"]
|
|
[ext_resource type="Script" uid="uid://bxo70v3k38pf" path="res://scripts/actions/action_move_camera.gd" id="8_kek77"]
|
|
[ext_resource type="PackedScene" uid="uid://dq5i521lfilon" path="res://Models/bookcaseOpen.glb" id="10_4c57u"]
|
|
[ext_resource type="PackedScene" uid="uid://bdt5uon0xewb8" path="res://Models/key.blend" id="10_efxa6"]
|
|
[ext_resource type="Script" uid="uid://vim075gwnpvv" path="res://scripts/actions/action_pickup.gd" id="11_dg77c"]
|
|
[ext_resource type="PackedScene" uid="uid://bgogs7udw4y0d" path="res://Models/cabinetTelevisionDoors.glb" id="13_vivmo"]
|
|
[ext_resource type="Script" uid="uid://ccm5q76xwkbj7" path="res://scripts/back_ui.gd" id="13_ycdy4"]
|
|
[ext_resource type="PackedScene" uid="uid://bujushr06no0v" path="res://Models/televisionModern.glb" id="16_2cqfq"]
|
|
[ext_resource type="PackedScene" uid="uid://y8lggjlflatt" path="res://Models/loungeChairRelax.glb" id="17_074og"]
|
|
[ext_resource type="PackedScene" uid="uid://d0avtrjo5y12c" path="res://Models/loungeSofa.glb" id="18_cegan"]
|
|
[ext_resource type="PackedScene" uid="uid://4avyqtry2o2p" path="res://Models/wallWindowSlide.glb" id="19_cegan"]
|
|
[ext_resource type="PackedScene" uid="uid://in8cajvw6w1d" path="res://Models/doorwayOpen.glb" id="21_getpj"]
|
|
|
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_ig7tw"]
|
|
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_0xm2m"]
|
|
sky_material = SubResource("ProceduralSkyMaterial_ig7tw")
|
|
|
|
[sub_resource type="Environment" id="Environment_h2yge"]
|
|
background_mode = 2
|
|
sky = SubResource("Sky_0xm2m")
|
|
tonemap_mode = 2
|
|
glow_enabled = true
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_kek77"]
|
|
albedo_texture = ExtResource("3_272bh")
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_4c57u"]
|
|
albedo_texture = ExtResource("4_5vw27")
|
|
|
|
[sub_resource type="Resource" id="Resource_kek77"]
|
|
script = ExtResource("8_kek77")
|
|
target_node = NodePath("../Marker3D")
|
|
metadata/_custom_type_script = "uid://bxo70v3k38pf"
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_272bh"]
|
|
size = Vector3(0.555, 2.1112695, 1.9775391)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_4c57u"]
|
|
size = Vector3(3.0306396, 2.1052856, 0.36183167)
|
|
|
|
[sub_resource type="Resource" id="Resource_efxa6"]
|
|
script = ExtResource("8_kek77")
|
|
target_node = NodePath("..")
|
|
metadata/_custom_type_script = "uid://bxo70v3k38pf"
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_ycdy4"]
|
|
size = Vector3(3.0306396, 2.1052856, 0.36183167)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_efxa6"]
|
|
size = Vector3(0.22763062, 2.1052856, 0.904789)
|
|
|
|
[sub_resource type="Resource" id="Resource_4c57u"]
|
|
script = ExtResource("8_kek77")
|
|
target_node = NodePath("../Marker3D")
|
|
metadata/_custom_type_script = "uid://bxo70v3k38pf"
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_dg77c"]
|
|
albedo_color = Color(1, 1, 0, 1)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_dg77c"]
|
|
size = Vector3(0.13040161, 0.05657959, 0.25634766)
|
|
|
|
[sub_resource type="Resource" id="Resource_ycdy4"]
|
|
script = ExtResource("11_dg77c")
|
|
item_id = "key"
|
|
destroy_path = NodePath("..")
|
|
metadata/_custom_type_script = "uid://vim075gwnpvv"
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_w48qg"]
|
|
size = Vector3(1.4600525, 2.389557, 0.28784943)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_82xsv"]
|
|
size = Vector3(2.0272217, 1.5040283, 0.85266113)
|
|
|
|
[sub_resource type="Resource" id="Resource_82xsv"]
|
|
script = ExtResource("8_kek77")
|
|
target_node = NodePath("../Marker3D")
|
|
metadata/_custom_type_script = "uid://bxo70v3k38pf"
|
|
|
|
[node name="Main" type="Node3D" unique_id=689442296]
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1418843668]
|
|
environment = SubResource("Environment_h2yge")
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=915702173]
|
|
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="Camera3D" type="Camera3D" parent="." unique_id=857352890]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.004229188, 1.5, 1.6525013)
|
|
script = ExtResource("1_0xm2m")
|
|
|
|
[node name="map01" parent="." unique_id=871676625 instance=ExtResource("2_0xm2m")]
|
|
|
|
[node name="Cube" parent="map01" index="0" unique_id=1306143527]
|
|
transform = Transform3D(1.5094131, 0, 0, 0, 1.5094131, 0, 0, 0, 1.5094131, 0.00021344423, 0.0011372566, -0.99250007)
|
|
surface_material_override/0 = SubResource("StandardMaterial3D_kek77")
|
|
surface_material_override/1 = SubResource("StandardMaterial3D_4c57u")
|
|
surface_material_override/2 = SubResource("StandardMaterial3D_kek77")
|
|
|
|
[node name="doorwayOpen(Clone)" parent="map01" index="1" unique_id=1907323362]
|
|
transform = Transform3D(6.2783295e-07, 0, -2.092, 0, 2.092, 0, 2, 0, 6.5671327e-07, -1.5255156, 0, -3.5094976)
|
|
|
|
[node name="bookcaseClosedWide" parent="map01" unique_id=2124881519 instance=ExtResource("5_efxa6")]
|
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -1.0152552, 0, -4.5820107)
|
|
|
|
[node name="tableCloth" parent="map01" unique_id=1632846548 instance=ExtResource("6_82xsv")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.555168, 0, -10.145407)
|
|
|
|
[node name="Door" type="StaticBody3D" parent="." unique_id=299423901]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.6771421, 0.9638972, -4.8728313)
|
|
|
|
[node name="Clickable" type="Node" parent="Door" unique_id=1790289375]
|
|
script = ExtResource("3_1bvp3")
|
|
actions = Array[ExtResource("4_lquwl")]([SubResource("Resource_kek77")])
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Door" unique_id=2128088889]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.12207949, 0)
|
|
shape = SubResource("BoxShape3D_272bh")
|
|
|
|
[node name="Marker3D" type="Marker3D" parent="Door" unique_id=1573659191]
|
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0.87801194, 0, 2.9927385e-08)
|
|
|
|
[node name="MoveHallway1" type="StaticBody3D" parent="." unique_id=1960450015]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.2785363, -1.6842856)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="MoveHallway1" unique_id=946103331]
|
|
shape = SubResource("BoxShape3D_4c57u")
|
|
debug_color = Color(0, 0.6, 0.69803923, 1)
|
|
|
|
[node name="Clickable" type="Node" parent="MoveHallway1" unique_id=980118121]
|
|
script = ExtResource("3_1bvp3")
|
|
actions = Array[ExtResource("4_lquwl")]([SubResource("Resource_efxa6")])
|
|
cursor_hint = "move"
|
|
metadata/_custom_type_script = "uid://csgeq0gmnr2fd"
|
|
|
|
[node name="MoveHallway2" type="StaticBody3D" parent="." unique_id=1541155023]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.2785363, -6.5292716)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="MoveHallway2" unique_id=264741189]
|
|
shape = SubResource("BoxShape3D_ycdy4")
|
|
debug_color = Color(0, 0.6, 0.69803923, 1)
|
|
|
|
[node name="Clickable" type="Node" parent="MoveHallway2" unique_id=545098486]
|
|
script = ExtResource("3_1bvp3")
|
|
actions = Array[ExtResource("4_lquwl")]([SubResource("Resource_efxa6")])
|
|
cursor_hint = "move"
|
|
metadata/_custom_type_script = "uid://csgeq0gmnr2fd"
|
|
|
|
[node name="MoveCloset" type="StaticBody3D" parent="." unique_id=1424320277]
|
|
transform = Transform3D(-1, 0, 8.742278e-08, 0, 1, 0, -8.742278e-08, 0, -1, -1.4708288, 1.2785364, -3.4532518)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="MoveCloset" unique_id=739191825]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.02604556, -0.2456969, 0.0551579)
|
|
shape = SubResource("BoxShape3D_efxa6")
|
|
debug_color = Color(0.94143647, 8.567274e-06, 0.60839736, 1)
|
|
|
|
[node name="Clickable" type="Node" parent="MoveCloset" unique_id=1394154734]
|
|
script = ExtResource("3_1bvp3")
|
|
actions = Array[ExtResource("4_lquwl")]([SubResource("Resource_4c57u")])
|
|
cursor_hint = "move"
|
|
metadata/_custom_type_script = "uid://csgeq0gmnr2fd"
|
|
|
|
[node name="Marker3D" type="Marker3D" parent="MoveCloset" unique_id=1934220293]
|
|
transform = Transform3D(-4.371139e-08, 0.22921738, -0.97337526, 0, 0.97337526, 0.22921738, 1, 1.0019411e-08, -4.2547583e-08, 0.34246945, 0, 0)
|
|
|
|
[node name="Node3D" type="StaticBody3D" parent="." unique_id=98331325]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.212367, 1.2227346, -3.4563398)
|
|
|
|
[node name="key" parent="Node3D" unique_id=325987175 instance=ExtResource("10_efxa6")]
|
|
|
|
[node name="Torus" parent="Node3D/key" index="0" unique_id=1208109962]
|
|
material_override = SubResource("StandardMaterial3D_dg77c")
|
|
|
|
[node name="StaticBody3D" type="CollisionShape3D" parent="Node3D" unique_id=1035059025]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0021209717, 0.011627197, -0.06518555)
|
|
shape = SubResource("BoxShape3D_dg77c")
|
|
debug_color = Color(0, 11.708403, 13.469126, 1)
|
|
|
|
[node name="Clickable" type="Node" parent="Node3D" unique_id=82149731]
|
|
script = ExtResource("3_1bvp3")
|
|
actions = Array[ExtResource("4_lquwl")]([SubResource("Resource_ycdy4")])
|
|
metadata/_custom_type_script = "uid://csgeq0gmnr2fd"
|
|
|
|
[node name="bookcaseOpen" parent="." unique_id=1176068972 instance=ExtResource("10_4c57u")]
|
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -3.4753237, -0.0069634914, -3.930798)
|
|
|
|
[node name="Chacacter_Geo_Geovanni" parent="." unique_id=1534704895 instance=ExtResource("1_ig7tw")]
|
|
transform = Transform3D(-0.8096321, 0, 0.58693767, 0, 1, 0, -0.58693767, 0, -0.8096321, -8.738217, -0.3212484, -9.084844)
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=474253522]
|
|
script = ExtResource("13_ycdy4")
|
|
|
|
[node name="Button" type="Button" parent="CanvasLayer" unique_id=1438126596]
|
|
anchors_preset = 12
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = -8.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
text = "BACK"
|
|
|
|
[node name="Button2" type="Button" parent="CanvasLayer" unique_id=1472331724]
|
|
custom_minimum_size = Vector2(100, 100)
|
|
offset_right = 8.0
|
|
offset_bottom = 8.0
|
|
text = "BACK"
|
|
|
|
[node name="living_room" type="Node" parent="." unique_id=2059811199]
|
|
|
|
[node name="MoveLivingDoor" type="StaticBody3D" parent="living_room" unique_id=1558028024]
|
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -1.5499408, 1.2785363, -8.581601)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="living_room/MoveLivingDoor" unique_id=806494411]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.011764526, -0.14213562, -0.03699112)
|
|
shape = SubResource("BoxShape3D_w48qg")
|
|
debug_color = Color(0, 0.6, 0.69803923, 1)
|
|
|
|
[node name="Clickable" type="Node" parent="living_room/MoveLivingDoor" unique_id=1509482377]
|
|
script = ExtResource("3_1bvp3")
|
|
actions = Array[ExtResource("4_lquwl")]([SubResource("Resource_efxa6")])
|
|
cursor_hint = "move"
|
|
metadata/_custom_type_script = "uid://csgeq0gmnr2fd"
|
|
|
|
[node name="cabinetTelevisionDoors" parent="living_room" unique_id=1386030507 instance=ExtResource("13_vivmo")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.8722553, 0, -12.360164)
|
|
|
|
[node name="televisionModern" parent="living_room" unique_id=390543763 instance=ExtResource("16_2cqfq")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.8283844, 0.78513265, -12.625662)
|
|
|
|
[node name="loungeChairRelax" parent="living_room" unique_id=606722997 instance=ExtResource("17_074og")]
|
|
transform = Transform3D(-0.8297299, 0, 0.5581652, 0, 1, 0, -0.5581652, 0, -0.8297299, -7.8273687, 0, -9.579002)
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="living_room" unique_id=944921598]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.444839, 0, -9.393608)
|
|
|
|
[node name="loungeSofa" parent="living_room/StaticBody3D" unique_id=52450982 instance=ExtResource("18_cegan")]
|
|
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 0, 0, 0)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="living_room/StaticBody3D" unique_id=227486985]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.9467163, 0.25201416, 0.4121704)
|
|
shape = SubResource("BoxShape3D_82xsv")
|
|
debug_color = Color(0, 11.708403, 13.469126, 1)
|
|
|
|
[node name="Clickable" type="Node" parent="living_room/StaticBody3D" unique_id=911234994]
|
|
script = ExtResource("3_1bvp3")
|
|
actions = Array[ExtResource("4_lquwl")]([SubResource("Resource_82xsv")])
|
|
metadata/_custom_type_script = "uid://csgeq0gmnr2fd"
|
|
|
|
[node name="Marker3D" type="Marker3D" parent="living_room/StaticBody3D" unique_id=2109583689]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.8868046, 0.9898667, 0.3714552)
|
|
|
|
[node name="wallWindowSlide" parent="living_room" unique_id=1318599423 instance=ExtResource("19_cegan")]
|
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -10.284006, 0, -8.26844)
|
|
|
|
[node name="wallWindowSlide2" parent="living_room" unique_id=578620453 instance=ExtResource("19_cegan")]
|
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -10.284006, 0, -12.930054)
|
|
|
|
[node name="wallWindowSlide3" parent="living_room" unique_id=342211192 instance=ExtResource("19_cegan")]
|
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -10.284006, 0, -10.617952)
|
|
|
|
[node name="doorwayOpen" parent="living_room" unique_id=70051300 instance=ExtResource("21_getpj")]
|
|
transform = Transform3D(3.9687646e-07, 0, 2.0816693, 0, 2.0816696, 0, -3.0264919, 0, 2.7297796e-07, -1.4430073, -0.045925736, -7.8579698)
|
|
|
|
[node name="Label3D" type="Label3D" parent="." unique_id=469795343]
|
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 6.497331, 1.6243935, -4.4643493)
|
|
text = "This room has no purpose"
|
|
font_size = 78
|
|
|
|
[connection signal="pressed" from="CanvasLayer/Button" to="CanvasLayer" method="_on_button_pressed"]
|
|
[connection signal="pressed" from="CanvasLayer/Button2" to="CanvasLayer" method="_on_button_2_pressed"]
|
|
|
|
[editable path="map01"]
|
|
[editable path="Node3D/key"]
|