diff --git a/game/modules/buildings/CryptEntrance.tres b/game/modules/buildings/CryptEntrance.tres new file mode 100644 index 00000000..9bc22910 --- /dev/null +++ b/game/modules/buildings/CryptEntrance.tres @@ -0,0 +1,169 @@ +[gd_resource type="PropData" load_steps=39 format=2] + +[ext_resource path="res://modules/planets/test_planet/voxel_library/textures/stone_dungeon_1_albedo.png" type="Texture" id=1] +[ext_resource path="res://modules/core_models/wall_xp.gltf" type="MeshDataResource" id=2] +[ext_resource path="res://modules/core_models/wall_xn.gltf" type="MeshDataResource" id=3] +[ext_resource path="res://modules/core_models/wall_zn.gltf" type="MeshDataResource" id=4] +[ext_resource path="res://modules/core_models/wall_zp.gltf" type="MeshDataResource" id=5] +[ext_resource path="res://modules/core_models/floor.gltf" type="MeshDataResource" id=6] + +[sub_resource type="PropDataMeshData" id=1] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -3 ) +mesh = ExtResource( 4 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=2] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, -3 ) +mesh = ExtResource( 4 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=3] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -3 ) +mesh = ExtResource( 4 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=4] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 1, -3 ) +mesh = ExtResource( 4 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=5] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, -3 ) +mesh = ExtResource( 4 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=6] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -3 ) +mesh = ExtResource( 4 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=7] +mesh = ExtResource( 5 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=8] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0 ) +mesh = ExtResource( 5 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=9] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0 ) +mesh = ExtResource( 5 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=10] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 1, 0 ) +mesh = ExtResource( 5 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=11] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0 ) +mesh = ExtResource( 5 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=12] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 ) +mesh = ExtResource( 5 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=13] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0 ) +mesh = ExtResource( 6 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=14] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 2, 0 ) +mesh = ExtResource( 6 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=15] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 2, 0 ) +mesh = ExtResource( 6 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=16] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 2, -1 ) +mesh = ExtResource( 6 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=17] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 2, -1 ) +mesh = ExtResource( 6 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=18] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, -1 ) +mesh = ExtResource( 6 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=19] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, -2 ) +mesh = ExtResource( 6 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=20] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 2, -2 ) +mesh = ExtResource( 6 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=21] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 2, -2 ) +mesh = ExtResource( 6 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=22] +mesh = ExtResource( 3 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=23] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2 ) +mesh = ExtResource( 3 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=24] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -2 ) +mesh = ExtResource( 3 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=25] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -1 ) +mesh = ExtResource( 3 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=26] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 ) +mesh = ExtResource( 3 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=27] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 0 ) +mesh = ExtResource( 2 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=28] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, -1 ) +mesh = ExtResource( 2 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=29] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, -2 ) +mesh = ExtResource( 2 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=30] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 1, -2 ) +mesh = ExtResource( 2 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=31] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 1, -1 ) +mesh = ExtResource( 2 ) +texture = ExtResource( 1 ) + +[sub_resource type="PropDataMeshData" id=32] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 1, 0 ) +mesh = ExtResource( 2 ) +texture = ExtResource( 1 ) + +[resource] +props = [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ), SubResource( 7 ), SubResource( 8 ), SubResource( 9 ), SubResource( 10 ), SubResource( 11 ), SubResource( 12 ), SubResource( 13 ), SubResource( 14 ), SubResource( 15 ), SubResource( 16 ), SubResource( 17 ), SubResource( 18 ), SubResource( 19 ), SubResource( 20 ), SubResource( 21 ), SubResource( 22 ), SubResource( 23 ), SubResource( 24 ), SubResource( 25 ), SubResource( 26 ), SubResource( 27 ), SubResource( 28 ), SubResource( 29 ), SubResource( 30 ), SubResource( 31 ), SubResource( 32 ) ] diff --git a/game/modules/buildings/CryptEntrance.tscn b/game/modules/buildings/CryptEntrance.tscn new file mode 100644 index 00000000..e1704cda --- /dev/null +++ b/game/modules/buildings/CryptEntrance.tscn @@ -0,0 +1,363 @@ +[gd_scene load_steps=18 format=2] + +[ext_resource path="res://modules/core_models/wall_xp.gltf" type="MeshDataResource" id=1] +[ext_resource path="res://modules/core_models/wall_xn.gltf" type="MeshDataResource" id=2] +[ext_resource path="res://modules/core_models/floor.gltf" type="MeshDataResource" id=3] +[ext_resource path="res://modules/core_models/wall_zn.gltf" type="MeshDataResource" id=4] +[ext_resource path="res://modules/core_models/wall_zp.gltf" type="MeshDataResource" id=5] +[ext_resource path="res://modules/planets/test_planet/voxel_library/textures/stone_dungeon_1_albedo.png" type="Texture" id=6] +[ext_resource path="res://modules/buildings/CryptEntranceDoor.tscn" type="PackedScene" id=7] + +[sub_resource type="SpatialMaterial" id=7] +albedo_texture = ExtResource( 6 ) + +[sub_resource type="ArrayMesh" id=9] +surfaces/0 = { +"aabb": AABB( 1.49012e-07, 0, -4.37114e-08, 1.00001, 1.00001, 1.00874e-05 ), +"array_data": PoolByteArray( 254, 255, 127, 63, 0, 0, 128, 63, 46, 189, 59, 51, 0, 0, 129, 0, 130, 0, 0, 127, 0, 0, 0, 0, 254, 255, 127, 63, 0, 0, 0, 0, 46, 189, 59, 179, 0, 0, 129, 0, 129, 0, 0, 127, 0, 0, 0, 60, 0, 0, 32, 52, 0, 0, 0, 0, 46, 189, 59, 179, 0, 0, 129, 0, 130, 0, 0, 127, 0, 60, 0, 60, 0, 0, 32, 52, 0, 0, 128, 63, 46, 189, 59, 51, 0, 0, 129, 0, 129, 0, 0, 127, 0, 60, 0, 0 ), +"array_index_data": PoolByteArray( 0, 0, 2, 0, 1, 0, 0, 0, 3, 0, 2, 0 ), +"blend_shape_data": [ ], +"format": 97559, +"index_count": 6, +"material": SubResource( 7 ), +"primitive": 4, +"skeleton_aabb": [ ], +"vertex_count": 4 +} + +[sub_resource type="SpatialMaterial" id=8] +albedo_texture = ExtResource( 6 ) + +[sub_resource type="ArrayMesh" id=10] +surfaces/0 = { +"aabb": AABB( 1.49012e-07, 0, 0, 1, 1.00001, 1e-05 ), +"array_data": PoolByteArray( 0, 0, 32, 52, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 127, 0, 130, 0, 0, 127, 0, 60, 0, 60, 0, 0, 32, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 127, 0, 129, 0, 0, 127, 0, 60, 0, 0, 254, 255, 127, 63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 127, 0, 130, 0, 0, 127, 0, 0, 0, 0, 254, 255, 127, 63, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 127, 0, 129, 0, 0, 127, 0, 0, 0, 60 ), +"array_index_data": PoolByteArray( 0, 0, 2, 0, 1, 0, 0, 0, 3, 0, 2, 0 ), +"blend_shape_data": [ ], +"format": 97559, +"index_count": 6, +"material": SubResource( 8 ), +"primitive": 4, +"skeleton_aabb": [ ], +"vertex_count": 4 +} + +[sub_resource type="SpatialMaterial" id=1] +albedo_texture = ExtResource( 6 ) + +[sub_resource type="ArrayMesh" id=2] +surfaces/0 = { +"aabb": AABB( 1.19209e-07, 0, -1, 1.00001, 1e-05, 1.00001 ), +"array_data": PoolByteArray( 254, 255, 127, 63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 127, 0, 0, 130, 0, 0, 127, 0, 0, 0, 0, 254, 255, 127, 63, 0, 0, 0, 0, 0, 0, 128, 191, 0, 127, 0, 0, 129, 0, 0, 127, 0, 0, 0, 60, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 128, 191, 0, 127, 0, 0, 130, 0, 0, 127, 0, 60, 0, 60, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 127, 0, 0, 129, 0, 0, 127, 0, 60, 0, 0 ), +"array_index_data": PoolByteArray( 0, 0, 2, 0, 1, 0, 0, 0, 3, 0, 2, 0 ), +"blend_shape_data": [ ], +"format": 97559, +"index_count": 6, +"material": SubResource( 1 ), +"primitive": 4, +"skeleton_aabb": [ ], +"vertex_count": 4 +} + +[sub_resource type="SpatialMaterial" id=4] +albedo_texture = ExtResource( 6 ) + +[sub_resource type="ArrayMesh" id=3] +surfaces/0 = { +"aabb": AABB( -5.96046e-08, 0, -1, 1.00894e-05, 1.00001, 1 ), +"array_data": PoolByteArray( 0, 0, 0, 51, 0, 0, 128, 63, 254, 255, 127, 191, 129, 0, 0, 0, 0, 0, 126, 127, 0, 0, 0, 0, 0, 0, 128, 179, 0, 0, 0, 0, 254, 255, 127, 191, 129, 0, 0, 0, 0, 0, 127, 127, 0, 0, 0, 60, 0, 0, 0, 179, 0, 0, 0, 0, 0, 0, 32, 180, 129, 0, 0, 0, 0, 0, 126, 127, 0, 60, 0, 60, 0, 0, 128, 51, 0, 0, 128, 63, 0, 0, 32, 180, 129, 0, 0, 0, 0, 0, 127, 127, 0, 60, 0, 0 ), +"array_index_data": PoolByteArray( 0, 0, 2, 0, 1, 0, 0, 0, 3, 0, 2, 0 ), +"blend_shape_data": [ ], +"format": 97559, +"index_count": 6, +"material": SubResource( 4 ), +"primitive": 4, +"skeleton_aabb": [ ], +"vertex_count": 4 +} + +[sub_resource type="SpatialMaterial" id=6] +albedo_texture = ExtResource( 6 ) + +[sub_resource type="ArrayMesh" id=5] +surfaces/0 = { +"aabb": AABB( -1.19209e-07, 8.9407e-08, -1, 1.0149e-05, 1.00001, 1.00001 ), +"array_data": PoolByteArray( 0, 0, 0, 51, 254, 255, 127, 63, 0, 0, 32, 180, 127, 0, 0, 0, 0, 0, 129, 127, 0, 0, 0, 0, 0, 0, 0, 52, 0, 0, 192, 51, 0, 0, 32, 180, 127, 0, 0, 0, 0, 0, 129, 127, 0, 0, 0, 60, 0, 0, 0, 179, 0, 0, 192, 51, 254, 255, 127, 191, 127, 0, 0, 0, 0, 0, 129, 127, 0, 60, 0, 60, 0, 0, 0, 180, 254, 255, 127, 63, 254, 255, 127, 191, 127, 0, 0, 0, 0, 0, 129, 127, 0, 60, 0, 0 ), +"array_index_data": PoolByteArray( 0, 0, 2, 0, 1, 0, 0, 0, 3, 0, 2, 0 ), +"blend_shape_data": [ ], +"format": 97559, +"index_count": 6, +"material": SubResource( 6 ), +"primitive": 4, +"skeleton_aabb": [ ], +"vertex_count": 4 +} + +[node name="CryptEntrance" type="Spatial"] + +[node name="WallZN" type="Spatial" parent="."] + +[node name="WallZN" type="MeshDataInstance" parent="WallZN"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -3 ) +mesh = SubResource( 9 ) +material/0 = null +mesh_data = ExtResource( 4 ) +texture = ExtResource( 6 ) +material = SubResource( 7 ) + +[node name="WallZN2" type="MeshDataInstance" parent="WallZN"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, -3 ) +mesh = SubResource( 9 ) +material/0 = null +mesh_data = ExtResource( 4 ) +texture = ExtResource( 6 ) +material = SubResource( 7 ) + +[node name="WallZN3" type="MeshDataInstance" parent="WallZN"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -3 ) +mesh = SubResource( 9 ) +material/0 = null +mesh_data = ExtResource( 4 ) +texture = ExtResource( 6 ) +material = SubResource( 7 ) + +[node name="WallZN4" type="MeshDataInstance" parent="WallZN"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 1, -3 ) +mesh = SubResource( 9 ) +material/0 = null +mesh_data = ExtResource( 4 ) +texture = ExtResource( 6 ) +material = SubResource( 7 ) + +[node name="WallZN5" type="MeshDataInstance" parent="WallZN"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, -3 ) +mesh = SubResource( 9 ) +material/0 = null +mesh_data = ExtResource( 4 ) +texture = ExtResource( 6 ) +material = SubResource( 7 ) + +[node name="WallZN6" type="MeshDataInstance" parent="WallZN"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -3 ) +mesh = SubResource( 9 ) +material/0 = null +mesh_data = ExtResource( 4 ) +texture = ExtResource( 6 ) +material = SubResource( 7 ) + +[node name="WallZP" type="Spatial" parent="."] + +[node name="WallZP" type="MeshDataInstance" parent="WallZP"] +mesh = SubResource( 10 ) +material/0 = null +mesh_data = ExtResource( 5 ) +texture = ExtResource( 6 ) +material = SubResource( 8 ) + +[node name="WallZP2" type="MeshDataInstance" parent="WallZP"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0 ) +mesh = SubResource( 10 ) +material/0 = null +mesh_data = ExtResource( 5 ) +texture = ExtResource( 6 ) +material = SubResource( 8 ) + +[node name="WallZP3" type="MeshDataInstance" parent="WallZP"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0 ) +mesh = SubResource( 10 ) +material/0 = null +mesh_data = ExtResource( 5 ) +texture = ExtResource( 6 ) +material = SubResource( 8 ) + +[node name="WallZP4" type="MeshDataInstance" parent="WallZP"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 1, 0 ) +mesh = SubResource( 10 ) +material/0 = null +mesh_data = ExtResource( 5 ) +texture = ExtResource( 6 ) +material = SubResource( 8 ) + +[node name="WallZP5" type="MeshDataInstance" parent="WallZP"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0 ) +mesh = SubResource( 10 ) +material/0 = null +mesh_data = ExtResource( 5 ) +texture = ExtResource( 6 ) +material = SubResource( 8 ) + +[node name="WallZP6" type="MeshDataInstance" parent="WallZP"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 ) +mesh = SubResource( 10 ) +material/0 = null +mesh_data = ExtResource( 5 ) +texture = ExtResource( 6 ) +material = SubResource( 8 ) + +[node name="DungeonTeleporter" parent="." instance=ExtResource( 7 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2 ) + +[node name="Ceiling" type="Spatial" parent="."] + +[node name="Floor" type="MeshDataInstance" parent="Ceiling"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0 ) +mesh = SubResource( 2 ) +material/0 = null +mesh_data = ExtResource( 3 ) +texture = ExtResource( 6 ) +material = SubResource( 1 ) + +[node name="Floor2" type="MeshDataInstance" parent="Ceiling"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 2, 0 ) +mesh = SubResource( 2 ) +material/0 = null +mesh_data = ExtResource( 3 ) +texture = ExtResource( 6 ) +material = SubResource( 1 ) + +[node name="Floor3" type="MeshDataInstance" parent="Ceiling"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 2, 0 ) +mesh = SubResource( 2 ) +material/0 = null +mesh_data = ExtResource( 3 ) +texture = ExtResource( 6 ) +material = SubResource( 1 ) + +[node name="Floor4" type="MeshDataInstance" parent="Ceiling"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 2, -1 ) +mesh = SubResource( 2 ) +material/0 = null +mesh_data = ExtResource( 3 ) +texture = ExtResource( 6 ) +material = SubResource( 1 ) + +[node name="Floor5" type="MeshDataInstance" parent="Ceiling"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 2, -1 ) +mesh = SubResource( 2 ) +material/0 = null +mesh_data = ExtResource( 3 ) +texture = ExtResource( 6 ) +material = SubResource( 1 ) + +[node name="Floor6" type="MeshDataInstance" parent="Ceiling"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, -1 ) +mesh = SubResource( 2 ) +material/0 = null +mesh_data = ExtResource( 3 ) +texture = ExtResource( 6 ) +material = SubResource( 1 ) + +[node name="Floor7" type="MeshDataInstance" parent="Ceiling"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, -2 ) +mesh = SubResource( 2 ) +material/0 = null +mesh_data = ExtResource( 3 ) +texture = ExtResource( 6 ) +material = SubResource( 1 ) + +[node name="Floor8" type="MeshDataInstance" parent="Ceiling"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 2, -2 ) +mesh = SubResource( 2 ) +material/0 = null +mesh_data = ExtResource( 3 ) +texture = ExtResource( 6 ) +material = SubResource( 1 ) + +[node name="Floor9" type="MeshDataInstance" parent="Ceiling"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 2, -2 ) +mesh = SubResource( 2 ) +material/0 = null +mesh_data = ExtResource( 3 ) +texture = ExtResource( 6 ) +material = SubResource( 1 ) + +[node name="WallXN" type="Spatial" parent="."] + +[node name="WallXN" type="MeshDataInstance" parent="WallXN"] +mesh = SubResource( 3 ) +material/0 = null +mesh_data = ExtResource( 2 ) +texture = ExtResource( 6 ) +material = SubResource( 4 ) + +[node name="WallXN3" type="MeshDataInstance" parent="WallXN"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2 ) +mesh = SubResource( 3 ) +material/0 = null +mesh_data = ExtResource( 2 ) +texture = ExtResource( 6 ) +material = SubResource( 4 ) + +[node name="WallXN4" type="MeshDataInstance" parent="WallXN"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -2 ) +mesh = SubResource( 3 ) +material/0 = null +mesh_data = ExtResource( 2 ) +texture = ExtResource( 6 ) +material = SubResource( 4 ) + +[node name="WallXN5" type="MeshDataInstance" parent="WallXN"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -1 ) +mesh = SubResource( 3 ) +material/0 = null +mesh_data = ExtResource( 2 ) +texture = ExtResource( 6 ) +material = SubResource( 4 ) + +[node name="WallXN6" type="MeshDataInstance" parent="WallXN"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 ) +mesh = SubResource( 3 ) +material/0 = null +mesh_data = ExtResource( 2 ) +texture = ExtResource( 6 ) +material = SubResource( 4 ) + +[node name="WallXP" type="Spatial" parent="."] + +[node name="WallXP" type="MeshDataInstance" parent="WallXP"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 0 ) +mesh = SubResource( 5 ) +material/0 = null +mesh_data = ExtResource( 1 ) +texture = ExtResource( 6 ) +material = SubResource( 6 ) + +[node name="WallXP2" type="MeshDataInstance" parent="WallXP"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, -1 ) +mesh = SubResource( 5 ) +material/0 = null +mesh_data = ExtResource( 1 ) +texture = ExtResource( 6 ) +material = SubResource( 6 ) + +[node name="WallXP3" type="MeshDataInstance" parent="WallXP"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, -2 ) +mesh = SubResource( 5 ) +material/0 = null +mesh_data = ExtResource( 1 ) +texture = ExtResource( 6 ) +material = SubResource( 6 ) + +[node name="WallXP4" type="MeshDataInstance" parent="WallXP"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 1, -2 ) +mesh = SubResource( 5 ) +material/0 = null +mesh_data = ExtResource( 1 ) +texture = ExtResource( 6 ) +material = SubResource( 6 ) + +[node name="WallXP5" type="MeshDataInstance" parent="WallXP"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 1, -1 ) +mesh = SubResource( 5 ) +material/0 = null +mesh_data = ExtResource( 1 ) +texture = ExtResource( 6 ) +material = SubResource( 6 ) + +[node name="WallXP6" type="MeshDataInstance" parent="WallXP"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 1, 0 ) +mesh = SubResource( 5 ) +material/0 = null +mesh_data = ExtResource( 1 ) +texture = ExtResource( 6 ) +material = SubResource( 6 ) diff --git a/game/modules/buildings/CryptEntranceDoor.tscn b/game/modules/buildings/CryptEntranceDoor.tscn new file mode 100644 index 00000000..170901e1 --- /dev/null +++ b/game/modules/buildings/CryptEntranceDoor.tscn @@ -0,0 +1,28 @@ +[gd_scene load_steps=6 format=2] + +[ext_resource path="res://modules/planets/test_planet/dungeons/dung_teleporter.gd" type="Script" id=1] +[ext_resource path="res://modules/planets/test_planet/voxel_library/textures/test_brick_albedo.png" type="Texture" id=2] + +[sub_resource type="CubeMesh" id=1] +size = Vector3( 1, 1, 1 ) + +[sub_resource type="SpatialMaterial" id=2] +flags_vertex_lighting = true +albedo_color = Color( 0.494118, 0.494118, 0.494118, 1 ) +albedo_texture = ExtResource( 2 ) + +[sub_resource type="BoxShape" id=3] +extents = Vector3( 0.5, 0.5, 0.5 ) + +[node name="DungeonTeleporter" type="StaticBody"] +script = ExtResource( 1 ) +default_albedo = Color( 0.521569, 0.521569, 0.521569, 1 ) + +[node name="MeshInstance" type="MeshInstance" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 0.5, 0.5 ) +mesh = SubResource( 1 ) +material/0 = SubResource( 2 ) + +[node name="CollisionShape" type="CollisionShape" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 0.5, 0.5 ) +shape = SubResource( 3 ) diff --git a/game/modules/core_models/ceiling.blend b/game/modules/core_models/ceiling.blend new file mode 100644 index 00000000..db8cadc7 Binary files /dev/null and b/game/modules/core_models/ceiling.blend differ diff --git a/game/modules/core_models/ceiling.gltf b/game/modules/core_models/ceiling.gltf new file mode 100644 index 00000000..21e860bc --- /dev/null +++ b/game/modules/core_models/ceiling.gltf @@ -0,0 +1,100 @@ +{ + "asset" : { + "generator" : "Khronos glTF Blender I/O v1.2.75", + "version" : "2.0" + }, + "scene" : 0, + "scenes" : [ + { + "name" : "Scene", + "nodes" : [ + 0 + ] + } + ], + "nodes" : [ + { + "mesh" : 0, + "name" : "Plane" + } + ], + "meshes" : [ + { + "name" : "Plane", + "primitives" : [ + { + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2 + }, + "indices" : 3 + } + ] + } + ], + "accessors" : [ + { + "bufferView" : 0, + "componentType" : 5126, + "count" : 4, + "max" : [ + 0.9999998807907104, + 1.4702739292715705e-07, + 0.9999998211860657 + ], + "min" : [ + 8.940696716308594e-08, + -1.4702739292715705e-07, + 1.7881393432617188e-07 + ], + "type" : "VEC3" + }, + { + "bufferView" : 1, + "componentType" : 5126, + "count" : 4, + "type" : "VEC3" + }, + { + "bufferView" : 2, + "componentType" : 5126, + "count" : 4, + "type" : "VEC2" + }, + { + "bufferView" : 3, + "componentType" : 5123, + "count" : 6, + "type" : "SCALAR" + } + ], + "bufferViews" : [ + { + "buffer" : 0, + "byteLength" : 48, + "byteOffset" : 0 + }, + { + "buffer" : 0, + "byteLength" : 48, + "byteOffset" : 48 + }, + { + "buffer" : 0, + "byteLength" : 32, + "byteOffset" : 96 + }, + { + "buffer" : 0, + "byteLength" : 12, + "byteOffset" : 128 + } + ], + "buffers" : [ + { + "byteLength" : 140, + "uri" : "data:application/octet-stream;base64,AAAANP7/vzP9/38/AADAM5XeHbQAAEA0/v9/P/7/v7MAAEA0/v9/P5XeHTT9/38/Wnp3MwAAgL+a3n00Wnp3MwAAgL+a3n00Wnp3MwAAgL+a3n00Wnp3MwAAgL+a3n00AACAPwAAAAAAAAAAAAAAAAAAAAAAAIA/AACAPwAAgD8AAAEAAgAAAAIAAwA=" + } + ] +} diff --git a/game/modules/core_models/ceiling.gltf.import b/game/modules/core_models/ceiling.gltf.import new file mode 100644 index 00000000..2121332a --- /dev/null +++ b/game/modules/core_models/ceiling.gltf.import @@ -0,0 +1,17 @@ +[remap] + +importer="gltf_mdr" +type="MeshDataResource" +path="res://.import/ceiling.gltf-31931818101359c78d30eea12b4d98c6.res" + +[deps] + +source_file="res://modules/core_models/ceiling.gltf" +dest_files=[ "res://.import/ceiling.gltf-31931818101359c78d30eea12b4d98c6.res" ] + +[params] + +collider_type=0 +offset=Vector3( 0, 0, 0 ) +rotation=Vector3( 0, 0, 0 ) +scale=Vector3( 1, 1, 1 ) diff --git a/game/modules/core_models/floor.blend b/game/modules/core_models/floor.blend new file mode 100644 index 00000000..1afba79b Binary files /dev/null and b/game/modules/core_models/floor.blend differ diff --git a/game/modules/core_models/floor.gltf b/game/modules/core_models/floor.gltf new file mode 100644 index 00000000..de818d9d --- /dev/null +++ b/game/modules/core_models/floor.gltf @@ -0,0 +1,100 @@ +{ + "asset" : { + "generator" : "Khronos glTF Blender I/O v1.2.75", + "version" : "2.0" + }, + "scene" : 0, + "scenes" : [ + { + "name" : "Scene", + "nodes" : [ + 0 + ] + } + ], + "nodes" : [ + { + "mesh" : 0, + "name" : "Plane" + } + ], + "meshes" : [ + { + "name" : "Plane", + "primitives" : [ + { + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2 + }, + "indices" : 3 + } + ] + } + ], + "accessors" : [ + { + "bufferView" : 0, + "componentType" : 5126, + "count" : 4, + "max" : [ + 0.9999998807907104, + 0, + 0 + ], + "min" : [ + 1.1920928955078125e-07, + 0, + -1 + ], + "type" : "VEC3" + }, + { + "bufferView" : 1, + "componentType" : 5126, + "count" : 4, + "type" : "VEC3" + }, + { + "bufferView" : 2, + "componentType" : 5126, + "count" : 4, + "type" : "VEC2" + }, + { + "bufferView" : 3, + "componentType" : 5123, + "count" : 6, + "type" : "SCALAR" + } + ], + "bufferViews" : [ + { + "buffer" : 0, + "byteLength" : 48, + "byteOffset" : 0 + }, + { + "buffer" : 0, + "byteLength" : 48, + "byteOffset" : 48 + }, + { + "buffer" : 0, + "byteLength" : 32, + "byteOffset" : 96 + }, + { + "buffer" : 0, + "byteLength" : 12, + "byteOffset" : 128 + } + ], + "buffers" : [ + { + "byteLength" : 140, + "uri" : "data:application/octet-stream;base64,/v9/PwAAAAAAAACA/v9/PwAAAAAAAIC/AAAANAAAAAAAAIC/AAAANAAAAAAAAACAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAAAAAAAAAAAAAAACAPwAAgD8AAIA/AACAPwAAAAAAAAEAAgAAAAIAAwA=" + } + ] +} diff --git a/game/modules/core_models/floor.gltf.import b/game/modules/core_models/floor.gltf.import new file mode 100644 index 00000000..3e25a009 --- /dev/null +++ b/game/modules/core_models/floor.gltf.import @@ -0,0 +1,17 @@ +[remap] + +importer="gltf_mdr" +type="MeshDataResource" +path="res://.import/floor.gltf-c87d2b449be23a2fbf8be35d435399f4.res" + +[deps] + +source_file="res://modules/core_models/floor.gltf" +dest_files=[ "res://.import/floor.gltf-c87d2b449be23a2fbf8be35d435399f4.res" ] + +[params] + +collider_type=0 +offset=Vector3( 0, 0, 0 ) +rotation=Vector3( 0, 0, 0 ) +scale=Vector3( 1, 1, 1 ) diff --git a/game/modules/core_models/wall_xn.blend b/game/modules/core_models/wall_xn.blend new file mode 100644 index 00000000..ea2a99ee Binary files /dev/null and b/game/modules/core_models/wall_xn.blend differ diff --git a/game/modules/core_models/wall_xn.gltf b/game/modules/core_models/wall_xn.gltf new file mode 100644 index 00000000..20582e38 --- /dev/null +++ b/game/modules/core_models/wall_xn.gltf @@ -0,0 +1,100 @@ +{ + "asset" : { + "generator" : "Khronos glTF Blender I/O v1.2.75", + "version" : "2.0" + }, + "scene" : 0, + "scenes" : [ + { + "name" : "Scene", + "nodes" : [ + 0 + ] + } + ], + "nodes" : [ + { + "mesh" : 0, + "name" : "Plane" + } + ], + "meshes" : [ + { + "name" : "Plane", + "primitives" : [ + { + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2 + }, + "indices" : 3 + } + ] + } + ], + "accessors" : [ + { + "bufferView" : 0, + "componentType" : 5126, + "count" : 4, + "max" : [ + 5.960464477539063e-08, + 1, + -1.4901161193847656e-07 + ], + "min" : [ + -5.960464477539063e-08, + 0, + -0.9999998807907104 + ], + "type" : "VEC3" + }, + { + "bufferView" : 1, + "componentType" : 5126, + "count" : 4, + "type" : "VEC3" + }, + { + "bufferView" : 2, + "componentType" : 5126, + "count" : 4, + "type" : "VEC2" + }, + { + "bufferView" : 3, + "componentType" : 5123, + "count" : 6, + "type" : "SCALAR" + } + ], + "bufferViews" : [ + { + "buffer" : 0, + "byteLength" : 48, + "byteOffset" : 0 + }, + { + "buffer" : 0, + "byteLength" : 48, + "byteOffset" : 48 + }, + { + "buffer" : 0, + "byteLength" : 32, + "byteOffset" : 96 + }, + { + "buffer" : 0, + "byteLength" : 12, + "byteOffset" : 128 + } + ], + "buffers" : [ + { + "byteLength" : 140, + "uri" : "data:application/octet-stream;base64,AAAAMwAAgD/+/3+/AACAswAAAAD+/3+/AAAAswAAAAAAACC0AACAMwAAgD8AACC0AACAvwAAwDMCAAAzAACAvwAAwDMCAAAzAACAvwAAwDMCAAAzAACAvwAAwDMCAAAzAAAAAAAAAAAAAAAAAACAPwAAgD8AAIA/AACAPwAAAAAAAAEAAgAAAAIAAwA=" + } + ] +} diff --git a/game/modules/core_models/wall_xn.gltf.import b/game/modules/core_models/wall_xn.gltf.import new file mode 100644 index 00000000..dd170fc9 --- /dev/null +++ b/game/modules/core_models/wall_xn.gltf.import @@ -0,0 +1,17 @@ +[remap] + +importer="gltf_mdr" +type="MeshDataResource" +path="res://.import/wall_xn.gltf-fb5dd2da9017722351efa0181f866a6e.res" + +[deps] + +source_file="res://modules/core_models/wall_xn.gltf" +dest_files=[ "res://.import/wall_xn.gltf-fb5dd2da9017722351efa0181f866a6e.res" ] + +[params] + +collider_type=0 +offset=Vector3( 0, 0, 0 ) +rotation=Vector3( 0, 0, 0 ) +scale=Vector3( 1, 1, 1 ) diff --git a/game/modules/core_models/wall_xp.blend b/game/modules/core_models/wall_xp.blend new file mode 100644 index 00000000..b38594c9 Binary files /dev/null and b/game/modules/core_models/wall_xp.blend differ diff --git a/game/modules/core_models/wall_xp.gltf b/game/modules/core_models/wall_xp.gltf new file mode 100644 index 00000000..4a86d5b0 --- /dev/null +++ b/game/modules/core_models/wall_xp.gltf @@ -0,0 +1,100 @@ +{ + "asset" : { + "generator" : "Khronos glTF Blender I/O v1.2.75", + "version" : "2.0" + }, + "scene" : 0, + "scenes" : [ + { + "name" : "Scene", + "nodes" : [ + 0 + ] + } + ], + "nodes" : [ + { + "mesh" : 0, + "name" : "Plane" + } + ], + "meshes" : [ + { + "name" : "Plane", + "primitives" : [ + { + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2 + }, + "indices" : 3 + } + ] + } + ], + "accessors" : [ + { + "bufferView" : 0, + "componentType" : 5126, + "count" : 4, + "max" : [ + 1.1920928955078125e-07, + 0.9999998807907104, + -1.4901161193847656e-07 + ], + "min" : [ + -1.1920928955078125e-07, + 8.940696716308594e-08, + -0.9999998807907104 + ], + "type" : "VEC3" + }, + { + "bufferView" : 1, + "componentType" : 5126, + "count" : 4, + "type" : "VEC3" + }, + { + "bufferView" : 2, + "componentType" : 5126, + "count" : 4, + "type" : "VEC2" + }, + { + "bufferView" : 3, + "componentType" : 5123, + "count" : 6, + "type" : "SCALAR" + } + ], + "bufferViews" : [ + { + "buffer" : 0, + "byteLength" : 48, + "byteOffset" : 0 + }, + { + "buffer" : 0, + "byteLength" : 48, + "byteOffset" : 48 + }, + { + "buffer" : 0, + "byteLength" : 32, + "byteOffset" : 96 + }, + { + "buffer" : 0, + "byteLength" : 12, + "byteOffset" : 128 + } + ], + "buffers" : [ + { + "byteLength" : 140, + "uri" : "data:application/octet-stream;base64,AAAAM/7/fz8AACC0AAAANAAAwDMAACC0AAAAswAAwDP+/3+/AAAAtP7/fz/+/3+/AACAPwMAwDMDACC0AACAPwMAwDMDACC0AACAPwMAwDMDACC0AACAPwMAwDMDACC0AAAAAAAAAAAAAAAAAACAPwAAgD8AAIA/AACAPwAAAAAAAAEAAgAAAAIAAwA=" + } + ] +} diff --git a/game/modules/core_models/wall_xp.gltf.import b/game/modules/core_models/wall_xp.gltf.import new file mode 100644 index 00000000..25a10646 --- /dev/null +++ b/game/modules/core_models/wall_xp.gltf.import @@ -0,0 +1,17 @@ +[remap] + +importer="gltf_mdr" +type="MeshDataResource" +path="res://.import/wall_xp.gltf-a08b64506fd911056171688cd8aaff18.res" + +[deps] + +source_file="res://modules/core_models/wall_xp.gltf" +dest_files=[ "res://.import/wall_xp.gltf-a08b64506fd911056171688cd8aaff18.res" ] + +[params] + +collider_type=0 +offset=Vector3( 0, 0, 0 ) +rotation=Vector3( 0, 0, 0 ) +scale=Vector3( 1, 1, 1 ) diff --git a/game/modules/core_models/wall_zn.blend b/game/modules/core_models/wall_zn.blend new file mode 100644 index 00000000..f6a630c3 Binary files /dev/null and b/game/modules/core_models/wall_zn.blend differ diff --git a/game/modules/core_models/wall_zn.gltf b/game/modules/core_models/wall_zn.gltf new file mode 100644 index 00000000..00ed894f --- /dev/null +++ b/game/modules/core_models/wall_zn.gltf @@ -0,0 +1,100 @@ +{ + "asset" : { + "generator" : "Khronos glTF Blender I/O v1.2.75", + "version" : "2.0" + }, + "scene" : 0, + "scenes" : [ + { + "name" : "Scene", + "nodes" : [ + 0 + ] + } + ], + "nodes" : [ + { + "mesh" : 0, + "name" : "Plane" + } + ], + "meshes" : [ + { + "name" : "Plane", + "primitives" : [ + { + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2 + }, + "indices" : 3 + } + ] + } + ], + "accessors" : [ + { + "bufferView" : 0, + "componentType" : 5126, + "count" : 4, + "max" : [ + 0.9999998807907104, + 1, + 4.371138828673793e-08 + ], + "min" : [ + 1.4901161193847656e-07, + 0, + -4.371138828673793e-08 + ], + "type" : "VEC3" + }, + { + "bufferView" : 1, + "componentType" : 5126, + "count" : 4, + "type" : "VEC3" + }, + { + "bufferView" : 2, + "componentType" : 5126, + "count" : 4, + "type" : "VEC2" + }, + { + "bufferView" : 3, + "componentType" : 5123, + "count" : 6, + "type" : "SCALAR" + } + ], + "bufferViews" : [ + { + "buffer" : 0, + "byteLength" : 48, + "byteOffset" : 0 + }, + { + "buffer" : 0, + "byteLength" : 48, + "byteOffset" : 48 + }, + { + "buffer" : 0, + "byteLength" : 32, + "byteOffset" : 96 + }, + { + "buffer" : 0, + "byteLength" : 12, + "byteOffset" : 128 + } + ], + "buffers" : [ + { + "byteLength" : 140, + "uri" : "data:application/octet-stream;base64,/v9/PwAAgD8uvTsz/v9/PwAAAAAuvTuzAAAgNAAAAAAuvTuzAAAgNAAAgD8uvTszAAAAAC69uzMAAIC/AAAAAC69uzMAAIC/AAAAAC69uzMAAIC/AAAAAC69uzMAAIC/AAAAAAAAAAAAAAAAAACAPwAAgD8AAIA/AACAPwAAAAAAAAEAAgAAAAIAAwA=" + } + ] +} diff --git a/game/modules/core_models/wall_zn.gltf.import b/game/modules/core_models/wall_zn.gltf.import new file mode 100644 index 00000000..febf6e01 --- /dev/null +++ b/game/modules/core_models/wall_zn.gltf.import @@ -0,0 +1,17 @@ +[remap] + +importer="gltf_mdr" +type="MeshDataResource" +path="res://.import/wall_zn.gltf-08602f55eaf79f19f3aed3d2b3757b33.res" + +[deps] + +source_file="res://modules/core_models/wall_zn.gltf" +dest_files=[ "res://.import/wall_zn.gltf-08602f55eaf79f19f3aed3d2b3757b33.res" ] + +[params] + +collider_type=0 +offset=Vector3( 0, 0, 0 ) +rotation=Vector3( 0, 0, 0 ) +scale=Vector3( 1, 1, 1 ) diff --git a/game/modules/core_models/wall_zp.blend b/game/modules/core_models/wall_zp.blend new file mode 100644 index 00000000..2a871cb2 Binary files /dev/null and b/game/modules/core_models/wall_zp.blend differ diff --git a/game/modules/core_models/wall_zp.gltf b/game/modules/core_models/wall_zp.gltf new file mode 100644 index 00000000..b11673bc --- /dev/null +++ b/game/modules/core_models/wall_zp.gltf @@ -0,0 +1,100 @@ +{ + "asset" : { + "generator" : "Khronos glTF Blender I/O v1.2.75", + "version" : "2.0" + }, + "scene" : 0, + "scenes" : [ + { + "name" : "Scene", + "nodes" : [ + 0 + ] + } + ], + "nodes" : [ + { + "mesh" : 0, + "name" : "Plane" + } + ], + "meshes" : [ + { + "name" : "Plane", + "primitives" : [ + { + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2 + }, + "indices" : 3 + } + ] + } + ], + "accessors" : [ + { + "bufferView" : 0, + "componentType" : 5126, + "count" : 4, + "max" : [ + 0.9999998807907104, + 1, + 0 + ], + "min" : [ + 1.4901161193847656e-07, + 0, + 0 + ], + "type" : "VEC3" + }, + { + "bufferView" : 1, + "componentType" : 5126, + "count" : 4, + "type" : "VEC3" + }, + { + "bufferView" : 2, + "componentType" : 5126, + "count" : 4, + "type" : "VEC2" + }, + { + "bufferView" : 3, + "componentType" : 5123, + "count" : 6, + "type" : "SCALAR" + } + ], + "bufferViews" : [ + { + "buffer" : 0, + "byteLength" : 48, + "byteOffset" : 0 + }, + { + "buffer" : 0, + "byteLength" : 48, + "byteOffset" : 48 + }, + { + "buffer" : 0, + "byteLength" : 32, + "byteOffset" : 96 + }, + { + "buffer" : 0, + "byteLength" : 12, + "byteOffset" : 128 + } + ], + "buffers" : [ + { + "byteLength" : 140, + "uri" : "data:application/octet-stream;base64,AAAgNAAAgD8AAACAAAAgNAAAAAAAAACA/v9/PwAAAAAAAACA/v9/PwAAgD8AAACAAAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AACAPwAAgD8AAIA/AAAAAAAAAAAAAAAAAAAAAAAAgD8AAAEAAgAAAAIAAwA=" + } + ] +} diff --git a/game/modules/core_models/wall_zp.gltf.import b/game/modules/core_models/wall_zp.gltf.import new file mode 100644 index 00000000..3f316710 --- /dev/null +++ b/game/modules/core_models/wall_zp.gltf.import @@ -0,0 +1,17 @@ +[remap] + +importer="gltf_mdr" +type="MeshDataResource" +path="res://.import/wall_zp.gltf-abe4ff43d2ed09dbbdf1f9ddde6279bb.res" + +[deps] + +source_file="res://modules/core_models/wall_zp.gltf" +dest_files=[ "res://.import/wall_zp.gltf-abe4ff43d2ed09dbbdf1f9ddde6279bb.res" ] + +[params] + +collider_type=0 +offset=Vector3( 0, 0, 0 ) +rotation=Vector3( 0, 0, 0 ) +scale=Vector3( 1, 1, 1 )