From dd8ef49694c02351e013d49a6d7c72ebea01ef57 Mon Sep 17 00:00:00 2001 From: Leon Palluch Date: Mon, 27 Jan 2020 17:52:40 +0100 Subject: [PATCH] walls walls walls --- Level/InFactory.tscn | 108 ++++++++++++++++++++++++++++++++++--------- 1 file changed, 87 insertions(+), 21 deletions(-) diff --git a/Level/InFactory.tscn b/Level/InFactory.tscn index 6e9f866..b0fe6c8 100644 --- a/Level/InFactory.tscn +++ b/Level/InFactory.tscn @@ -228,6 +228,7 @@ shape = SubResource( 5 ) transform = Transform( -1, 0, -8.74228e-008, 0, 1, 0, 8.74228e-008, 0, -1, 8, 1.5, -33.8 ) [node name="Door" parent="Architecture/FactoryRoomWalls/BackWallTrue" instance=ExtResource( 5 )] +editor/display_folded = true collision_layer = 3 collision_mask = 3 invert_open = true @@ -235,6 +236,7 @@ card_door = true door_lvl = 1 [node name="DoorMesh" parent="Architecture/FactoryRoomWalls/BackWallTrue/Door" index="0"] +editor/display_folded = true layers = 2 [node name="Outline" parent="Architecture/FactoryRoomWalls/BackWallTrue/Door/DoorMesh" index="0"] @@ -281,87 +283,151 @@ shape = SubResource( 5 ) [node name="Statue" parent="Architecture/FactoryRoomInterior" instance=ExtResource( 7 )] transform = Transform( -7.86805e-008, 0, -2.5, 0, 1.8, 0, 1.8, 0, -1.09278e-007, 9.5, 0.5, -25.8 ) -[node name="Hallway" type="Spatial" parent="Architecture"] +[node name="OfficeSpace" type="Spatial" parent="Architecture"] -[node name="Wall" type="StaticBody" parent="Architecture/Hallway"] +[node name="Wall" type="StaticBody" parent="Architecture/OfficeSpace"] editor/display_folded = true -transform = Transform( 11, 0, 0, 0, 2, 0, 0, 0, 0.2, 4, 2, -36.8 ) +transform = Transform( 23, 0, 0, 0, 2, 0, 0, 0, 0.2, 16, 2, -36.8 ) collision_layer = 3 -[node name="MeshInstance" type="MeshInstance" parent="Architecture/Hallway/Wall"] +[node name="MeshInstance" type="MeshInstance" parent="Architecture/OfficeSpace/Wall"] layers = 3 mesh = SubResource( 4 ) material/0 = null -[node name="CollisionShape" type="CollisionShape" parent="Architecture/Hallway/Wall"] +[node name="CollisionShape" type="CollisionShape" parent="Architecture/OfficeSpace/Wall"] shape = SubResource( 5 ) -[node name="Wall2" type="StaticBody" parent="Architecture/Hallway"] +[node name="Wall2" type="StaticBody" parent="Architecture/OfficeSpace"] editor/display_folded = true transform = Transform( 0.2, 0, 0, 0, 2, 0, 0, 0, 3, -10.3, 2, -36.8 ) collision_layer = 3 -[node name="MeshInstance" type="MeshInstance" parent="Architecture/Hallway/Wall2"] +[node name="MeshInstance" type="MeshInstance" parent="Architecture/OfficeSpace/Wall2"] layers = 3 mesh = SubResource( 4 ) material/0 = null -[node name="CollisionShape" type="CollisionShape" parent="Architecture/Hallway/Wall2"] +[node name="CollisionShape" type="CollisionShape" parent="Architecture/OfficeSpace/Wall2"] shape = SubResource( 5 ) -[node name="Wall3" type="StaticBody" parent="Architecture/Hallway"] +[node name="Wall3" type="StaticBody" parent="Architecture/OfficeSpace"] editor/display_folded = true transform = Transform( 0.2, 0, 0, 0, 2, 0, 0, 0, 1.5, -6.8, 2, -38.2 ) collision_layer = 3 -[node name="MeshInstance" type="MeshInstance" parent="Architecture/Hallway/Wall3"] +[node name="MeshInstance" type="MeshInstance" parent="Architecture/OfficeSpace/Wall3"] layers = 3 mesh = SubResource( 4 ) material/0 = null -[node name="CollisionShape" type="CollisionShape" parent="Architecture/Hallway/Wall3"] +[node name="CollisionShape" type="CollisionShape" parent="Architecture/OfficeSpace/Wall3"] shape = SubResource( 5 ) -[node name="Wall4" type="StaticBody" parent="Architecture/Hallway"] +[node name="Wall4" type="StaticBody" parent="Architecture/OfficeSpace"] editor/display_folded = true transform = Transform( 0.3, 0, 0, 0, 2, 0, 0, 0, 0.2, -7.25, 2, -39.4 ) collision_layer = 3 -[node name="MeshInstance" type="MeshInstance" parent="Architecture/Hallway/Wall4"] +[node name="MeshInstance" type="MeshInstance" parent="Architecture/OfficeSpace/Wall4"] layers = 3 mesh = SubResource( 4 ) material/0 = null -[node name="CollisionShape" type="CollisionShape" parent="Architecture/Hallway/Wall4"] +[node name="CollisionShape" type="CollisionShape" parent="Architecture/OfficeSpace/Wall4"] shape = SubResource( 5 ) -[node name="Wall5" type="StaticBody" parent="Architecture/Hallway"] +[node name="Wall5" type="StaticBody" parent="Architecture/OfficeSpace"] editor/display_folded = true transform = Transform( 0.3, 0, 0, 0, 2, 0, 0, 0, 0.2, -9.85, 2, -39.4 ) collision_layer = 3 -[node name="MeshInstance" type="MeshInstance" parent="Architecture/Hallway/Wall5"] +[node name="MeshInstance" type="MeshInstance" parent="Architecture/OfficeSpace/Wall5"] layers = 3 mesh = SubResource( 4 ) material/0 = null -[node name="CollisionShape" type="CollisionShape" parent="Architecture/Hallway/Wall5"] +[node name="CollisionShape" type="CollisionShape" parent="Architecture/OfficeSpace/Wall5"] shape = SubResource( 5 ) -[node name="Wall6" type="StaticBody" parent="Architecture/Hallway"] +[node name="Wall6" type="StaticBody" parent="Architecture/OfficeSpace"] editor/display_folded = true transform = Transform( 1, 0, 0, 0, 0.5, 0, 0, 0, 0.2, -8.55, 3.5, -39.4 ) collision_layer = 3 -[node name="MeshInstance" type="MeshInstance" parent="Architecture/Hallway/Wall6"] +[node name="MeshInstance" type="MeshInstance" parent="Architecture/OfficeSpace/Wall6"] layers = 3 mesh = SubResource( 4 ) material/0 = null -[node name="CollisionShape" type="CollisionShape" parent="Architecture/Hallway/Wall6"] +[node name="CollisionShape" type="CollisionShape" parent="Architecture/OfficeSpace/Wall6"] shape = SubResource( 5 ) -[node name="Door" parent="Architecture/Hallway" instance=ExtResource( 5 )] +[node name="Wall7" type="StaticBody" parent="Architecture/OfficeSpace"] +editor/display_folded = true +transform = Transform( 4, 0, 0, 0, 2, 0, 0, 0, 0.2, 16, 2, -33.8 ) +collision_layer = 3 + +[node name="MeshInstance" type="MeshInstance" parent="Architecture/OfficeSpace/Wall7"] +layers = 3 +mesh = SubResource( 4 ) +material/0 = null + +[node name="CollisionShape" type="CollisionShape" parent="Architecture/OfficeSpace/Wall7"] +shape = SubResource( 5 ) + +[node name="Wall8" type="StaticBody" parent="Architecture/OfficeSpace"] +editor/display_folded = true +transform = Transform( 0.2, 0, 0, 0, 2, 0, 0, 0, 16.5, 38.8, 2, -20.5 ) +collision_layer = 3 + +[node name="MeshInstance" type="MeshInstance" parent="Architecture/OfficeSpace/Wall8"] +layers = 3 +mesh = SubResource( 4 ) +material/0 = null + +[node name="CollisionShape" type="CollisionShape" parent="Architecture/OfficeSpace/Wall8"] +shape = SubResource( 5 ) + +[node name="Wall9" type="StaticBody" parent="Architecture/OfficeSpace"] +editor/display_folded = true +transform = Transform( 0.2, 0, 0, 0, 2, 0, 0, 0, 6.8, 11.8, 2, -10.8 ) +collision_layer = 3 + +[node name="MeshInstance" type="MeshInstance" parent="Architecture/OfficeSpace/Wall9"] +layers = 3 +mesh = SubResource( 4 ) +material/0 = null + +[node name="CollisionShape" type="CollisionShape" parent="Architecture/OfficeSpace/Wall9"] +shape = SubResource( 5 ) + +[node name="Wall10" type="StaticBody" parent="Architecture/OfficeSpace"] +transform = Transform( 13.5, 0, 0, 0, 2, 0, 0, 0, 0.2, 25.2, 2, -4.2 ) +collision_layer = 3 + +[node name="MeshInstance" type="MeshInstance" parent="Architecture/OfficeSpace/Wall10"] +layers = 3 +mesh = SubResource( 4 ) +material/0 = null + +[node name="CollisionShape" type="CollisionShape" parent="Architecture/OfficeSpace/Wall10"] +shape = SubResource( 5 ) + +[node name="Ceiling" type="StaticBody" parent="Architecture/OfficeSpace"] +editor/display_folded = true +transform = Transform( 15.2, 0, 0, 0, 0.2, 0, 0, 0, 3, 4.8, 3.8, -36.8 ) +collision_layer = 3 + +[node name="MeshInstance" type="MeshInstance" parent="Architecture/OfficeSpace/Ceiling"] +layers = 3 +mesh = SubResource( 4 ) +material/0 = null + +[node name="CollisionShape" type="CollisionShape" parent="Architecture/OfficeSpace/Ceiling"] +shape = SubResource( 5 ) + +[node name="Door" parent="Architecture/OfficeSpace" instance=ExtResource( 5 )] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -9.55, 1.5, -39.5 ) invert_open = true card_door = true