2021-08-20 23:53:09 +02:00
|
|
|
[gd_scene load_steps=5 format=2]
|
2021-08-12 20:53:13 +02:00
|
|
|
|
2022-02-13 17:57:29 +01:00
|
|
|
[ext_resource path="res://textures/world/stone/stone_dungeon_1_albedo.png" type="Texture" id=4]
|
2022-02-12 18:38:01 +01:00
|
|
|
[ext_resource path="res://models/core_models/wall_zn.tres" type="MeshDataResource" id=5]
|
2022-02-12 18:47:23 +01:00
|
|
|
[ext_resource path="res://tests/test_rooms/test2_tiledwalldata.tres" type="TiledWallData" id=10]
|
2021-08-12 20:53:13 +02:00
|
|
|
|
|
|
|
[sub_resource type="SpatialMaterial" id=3]
|
|
|
|
albedo_texture = ExtResource( 4 )
|
|
|
|
|
|
|
|
[node name="Room" type="Room"]
|
2021-08-18 17:54:43 +02:00
|
|
|
points = PoolVector3Array( 5.01, -0.01, -6.01, 5.01, -0.01, 0.00999975, 5.01, 3.01, 0.00999975, 5.01, 3.01, -6.01, -0.0100001, -0.01, -6.01, -0.0100001, 3.01, -6.01, -0.0100001, -0.01, 0.00999975, -0.0100001, 0.745, 0.00999975, -0.0100001, 3.01, 0.00999975, 0.826667, 3.01, 0.00999975, 0.826667, 0.745, 0.00999975 )
|
2021-08-12 20:53:13 +02:00
|
|
|
|
|
|
|
[node name="Portal" type="Portal" parent="."]
|
|
|
|
transform = Transform( -1, 0, -9.61651e-07, 0, 1, 0, 9.61651e-07, 0, -1, 2, 1, 0 )
|
|
|
|
points = PoolVector2Array( -1, 1, -1, -1, 0, -1, 0, 1 )
|
|
|
|
|
2021-08-18 17:54:43 +02:00
|
|
|
[node name="WallXP" type="TiledWall" parent="."]
|
|
|
|
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 5, 0, 0 )
|
|
|
|
width = 6
|
2022-12-23 23:43:28 +01:00
|
|
|
height = 3
|
2021-08-18 17:54:43 +02:00
|
|
|
data = ExtResource( 10 )
|
|
|
|
|
|
|
|
[node name="WallXN" type="TiledWall" parent="."]
|
|
|
|
transform = Transform( 1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, 0, 0, -6 )
|
|
|
|
width = 6
|
2022-12-23 23:43:28 +01:00
|
|
|
height = 3
|
2021-08-18 17:54:43 +02:00
|
|
|
data = ExtResource( 10 )
|
|
|
|
|
|
|
|
[node name="WallZN" type="TiledWall" parent="."]
|
|
|
|
transform = Transform( -1, 0, 3.17865e-08, 0, 1, 0, -3.17865e-08, 0, -1, 5, 0, -6 )
|
|
|
|
width = 5
|
2022-12-23 23:43:28 +01:00
|
|
|
height = 3
|
2021-08-18 17:54:43 +02:00
|
|
|
data = ExtResource( 10 )
|
|
|
|
|
|
|
|
[node name="Floor" type="TiledWall" parent="."]
|
|
|
|
transform = Transform( -1, 0, 3.17865e-08, -3.17865e-08, -5.96046e-08, -1, 2.66454e-15, -1, 5.96046e-08, 5, 0, 0 )
|
|
|
|
width = 5
|
2022-12-23 23:43:28 +01:00
|
|
|
height = 6
|
2021-08-18 17:54:43 +02:00
|
|
|
data = ExtResource( 10 )
|
|
|
|
|
|
|
|
[node name="Ceiling" type="TiledWall" parent="."]
|
|
|
|
transform = Transform( -1, 0, 3.17865e-08, 3.17865e-08, 5.96046e-08, 1, -1.77636e-15, 1, -5.96046e-08, 5, 3, -6 )
|
|
|
|
width = 5
|
2022-12-23 23:43:28 +01:00
|
|
|
height = 6
|
2021-08-18 17:54:43 +02:00
|
|
|
data = ExtResource( 10 )
|
2021-08-27 23:07:58 +02:00
|
|
|
collision = false
|
2021-08-12 20:53:13 +02:00
|
|
|
|
|
|
|
[node name="wallzp" type="Spatial" parent="."]
|
|
|
|
|
2021-08-18 17:54:43 +02:00
|
|
|
[node name="WallZN2" type="TiledWall" parent="wallzp"]
|
|
|
|
transform = Transform( 1, 0, 5.56363e-08, 0, 1, 0, -5.56363e-08, 0, 1, 0, 0, 0 )
|
|
|
|
width = 2
|
2022-12-23 23:43:28 +01:00
|
|
|
height = 3
|
2021-08-18 17:54:43 +02:00
|
|
|
data = ExtResource( 10 )
|
2021-08-12 20:53:13 +02:00
|
|
|
|
2021-08-18 17:54:43 +02:00
|
|
|
[node name="WallZN3" type="TiledWall" parent="wallzp"]
|
|
|
|
transform = Transform( 1, 0, 5.56363e-08, 0, 1, 0, -5.56363e-08, 0, 1, 3, 0, 0 )
|
|
|
|
width = 2
|
2022-12-23 23:43:28 +01:00
|
|
|
height = 3
|
2021-08-18 17:54:43 +02:00
|
|
|
data = ExtResource( 10 )
|
2021-08-12 20:53:13 +02:00
|
|
|
|
|
|
|
[node name="wallsegment3" type="Spatial" parent="wallzp"]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0 )
|
|
|
|
|
|
|
|
[node name="MeshDataInstance3" type="MeshDataInstance" parent="wallzp/wallsegment3"]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0 )
|
|
|
|
mesh_data = ExtResource( 5 )
|
|
|
|
texture = ExtResource( 4 )
|
|
|
|
material = SubResource( 3 )
|