Made an apartment test map
This commit is contained in:
102
Assets/Levels/Apartment.tscn
Normal file
102
Assets/Levels/Apartment.tscn
Normal file
@ -0,0 +1,102 @@
|
|||||||
|
[gd_scene load_steps=11 format=3 uid="uid://b2knd58e85mif"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bs8f2kul2wfl8" path="res://Assets/textures/seamless_carpet_dark_by_hhh316_d30v2ul-pre.jpg" id="1_14xk4"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://w6n5hrrsto8v" path="res://Assets/textures/Seamless wall white paint plaster stucco texture 02.jpg" id="2_a55s0"]
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_af2kh"]
|
||||||
|
albedo_texture = ExtResource("1_14xk4")
|
||||||
|
uv1_triplanar = true
|
||||||
|
|
||||||
|
[sub_resource type="BoxMesh" id="BoxMesh_lt1m4"]
|
||||||
|
material = SubResource("StandardMaterial3D_af2kh")
|
||||||
|
size = Vector3(20, 0.2, 20)
|
||||||
|
|
||||||
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_tpmpe"]
|
||||||
|
points = PackedVector3Array(-10, -0.1, -10, -10, 0.1, -10, 10, -0.1, -10, -10, -0.1, 10, -10, 0.1, 10, 10, 0.1, -10, 10, -0.1, 10, 10, 0.1, 10)
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_muos2"]
|
||||||
|
albedo_texture = ExtResource("2_a55s0")
|
||||||
|
uv1_triplanar = true
|
||||||
|
|
||||||
|
[sub_resource type="BoxMesh" id="BoxMesh_hnns2"]
|
||||||
|
material = SubResource("StandardMaterial3D_muos2")
|
||||||
|
size = Vector3(20, 0.2, 20)
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rquxp"]
|
||||||
|
albedo_color = Color(0.73036, 0.656134, 0.593796, 1)
|
||||||
|
albedo_texture = ExtResource("2_a55s0")
|
||||||
|
uv1_triplanar = true
|
||||||
|
|
||||||
|
[sub_resource type="BoxMesh" id="BoxMesh_no7dv"]
|
||||||
|
material = SubResource("StandardMaterial3D_rquxp")
|
||||||
|
size = Vector3(20, 3, 0.2)
|
||||||
|
|
||||||
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_4i3sv"]
|
||||||
|
points = PackedVector3Array(10, 1.25, 0.1, 10, 1.25, -0.1, -10, 1.25, 0.1, 10, -1.25, 0.1, 10, -1.25, -0.1, -10, 1.25, -0.1, -10, -1.25, 0.1, -10, -1.25, -0.1)
|
||||||
|
|
||||||
|
[node name="Apartment" type="Node3D"]
|
||||||
|
|
||||||
|
[node name="Floor" type="StaticBody3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.2, 0)
|
||||||
|
|
||||||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Floor"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.113233, 0)
|
||||||
|
mesh = SubResource("BoxMesh_lt1m4")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Floor"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.113233, 0)
|
||||||
|
shape = SubResource("ConvexPolygonShape3D_tpmpe")
|
||||||
|
|
||||||
|
[node name="Floor2" type="StaticBody3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.1, 0)
|
||||||
|
|
||||||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Floor2"]
|
||||||
|
mesh = SubResource("BoxMesh_hnns2")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Floor2"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.113233, 0)
|
||||||
|
shape = SubResource("ConvexPolygonShape3D_tpmpe")
|
||||||
|
|
||||||
|
[node name="Wall" type="StaticBody3D" parent="."]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 10, 0, 0)
|
||||||
|
|
||||||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Wall"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
|
||||||
|
mesh = SubResource("BoxMesh_no7dv")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Wall"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.268, 0)
|
||||||
|
shape = SubResource("ConvexPolygonShape3D_4i3sv")
|
||||||
|
|
||||||
|
[node name="Wall2" type="StaticBody3D" parent="."]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -10, 0, 0)
|
||||||
|
|
||||||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Wall2"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
|
||||||
|
mesh = SubResource("BoxMesh_no7dv")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Wall2"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.268, 0)
|
||||||
|
shape = SubResource("ConvexPolygonShape3D_4i3sv")
|
||||||
|
|
||||||
|
[node name="Wall3" type="StaticBody3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -10)
|
||||||
|
|
||||||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Wall3"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
|
||||||
|
mesh = SubResource("BoxMesh_no7dv")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Wall3"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.268, 0)
|
||||||
|
shape = SubResource("ConvexPolygonShape3D_4i3sv")
|
||||||
|
|
||||||
|
[node name="Wall4" type="StaticBody3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 10)
|
||||||
|
|
||||||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Wall4"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
|
||||||
|
mesh = SubResource("BoxMesh_no7dv")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Wall4"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.268, 0)
|
||||||
|
shape = SubResource("ConvexPolygonShape3D_4i3sv")
|
||||||
Reference in New Issue
Block a user