TowerGame/tiles.tscn

120 lines
5.9 KiB
Plaintext

[gd_scene load_steps=17 format=3 uid="uid://bexxobgiojrfa"]
[ext_resource type="ArrayMesh" uid="uid://bs13eo8off8ee" path="res://assets/models/Ramp Corner Inner.obj" id="1_k6t24"]
[ext_resource type="ArrayMesh" uid="uid://ca1wobe3qgakn" path="res://assets/models/Ramp Corner Inner Nav.obj" id="2_d6bvg"]
[ext_resource type="ArrayMesh" uid="uid://1ud15exgl668" path="res://assets/models/Ramp Corner Outer.obj" id="3_7ivye"]
[ext_resource type="ArrayMesh" uid="uid://bai5bvubpu4ec" path="res://assets/models/Ramp Corner Outer Nav.obj" id="4_vra4g"]
[sub_resource type="BoxMesh" id="BoxMesh_qra7f"]
size = Vector3(2, 1, 2)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_7h0kd"]
data = PackedVector3Array(-1, 0.5, 1, 1, 0.5, 1, -1, -0.5, 1, 1, 0.5, 1, 1, -0.5, 1, -1, -0.5, 1, 1, 0.5, -1, -1, 0.5, -1, 1, -0.5, -1, -1, 0.5, -1, -1, -0.5, -1, 1, -0.5, -1, 1, 0.5, 1, 1, 0.5, -1, 1, -0.5, 1, 1, 0.5, -1, 1, -0.5, -1, 1, -0.5, 1, -1, 0.5, -1, -1, 0.5, 1, -1, -0.5, -1, -1, 0.5, 1, -1, -0.5, 1, -1, -0.5, -1, 1, 0.5, 1, -1, 0.5, 1, 1, 0.5, -1, -1, 0.5, 1, -1, 0.5, -1, 1, 0.5, -1, -1, -0.5, 1, 1, -0.5, 1, -1, -0.5, -1, 1, -0.5, 1, 1, -0.5, -1, -1, -0.5, -1)
[sub_resource type="NavigationMesh" id="NavigationMesh_qra7f"]
vertices = PackedVector3Array(-0.75, 1, -0.75, -0.75, 1, 0.75, 0.75, 1, 0.75, 0.75, 1, -0.75)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1)]
sample_partition_type = 2
agent_radius = 0.2
region_min_size = 1.0
filter_walkable_low_height_spans = true
[sub_resource type="QuadMesh" id="QuadMesh_7h0kd"]
size = Vector2(2, 2)
center_offset = Vector3(0, 0.5, 0)
orientation = 1
[sub_resource type="PrismMesh" id="PrismMesh_qra7f"]
left_to_right = 0.0
size = Vector3(2, 1, 2)
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_qra7f"]
points = PackedVector3Array(-1, -0.5, -1, -1, 0.5, -1, 1, -0.5, -1, -1, -0.5, 1, -1, 0.5, 1, 1, -0.5, 1)
[sub_resource type="NavigationMesh" id="NavigationMesh_7h0kd"]
vertices = PackedVector3Array(-0.735052, 0.760437, -0.75, -0.735052, 0.760437, 0.75, 0.764948, 0.010437, 0.75, 0.764948, 0.010437, -0.75)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1)]
agent_radius = 0.2
[sub_resource type="QuadMesh" id="QuadMesh_k6t24"]
size = Vector2(2.2, 2)
orientation = 1
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_7ivye"]
data = PackedVector3Array(-1, 0.5, -1, -1, -0.5, 1, -1, -0.5, -1, 1, 0.5, -1, 1, -0.5, -1, 1, 0.5, 1, 1, 0.5, 1, 1, -0.5, -1, 1, -0.5, 1, 1, 0.5, 1, 1, -0.5, 1, -1, -0.5, 1, 1, -0.5, -1, -1, -0.5, -1, 1, -0.5, 1, 1, -0.5, 1, -1, -0.5, -1, -1, -0.5, 1, -1, 0.5, -1, -1, -0.5, -1, 1, 0.5, -1, 1, 0.5, -1, -1, -0.5, -1, 1, -0.5, -1, -1, 0.5, -1, 1, 0.5, -1, -1, -0.5, 1, 1, 0.5, -1, 1, 0.5, 1, -1, -0.5, 1)
[sub_resource type="NavigationMesh" id="NavigationMesh_vra4g"]
vertices = PackedVector3Array(-0.75, 0.75, -0.75, -0.75, 0, 0.75, 0.75, 0.75, 0.75, 0.75, 0.75, -0.75)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1)]
agent_radius = 0.2
[sub_resource type="NavigationMesh" id="NavigationMesh_341ea"]
vertices = PackedVector3Array(-1, 0, -1, -1, 0, 1, 1, 0.75, 1, 1, 0, -1)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1)]
agent_radius = 0.0
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_7ivye"]
points = PackedVector3Array(-1, -0.5, -1, 1, -0.5, -1, -1, -0.5, 1, 1, 0.5, 1, 1, -0.5, 1)
[node name="Tiles" type="Node3D"]
[node name="Cube" type="MeshInstance3D" parent="."]
mesh = SubResource("BoxMesh_qra7f")
[node name="StaticBody3D" type="StaticBody3D" parent="Cube"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Cube/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_7h0kd")
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="Cube"]
navigation_mesh = SubResource("NavigationMesh_qra7f")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Cube/NavigationRegion3D"]
mesh = SubResource("QuadMesh_7h0kd")
[node name="Ramp" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.99928, -0.00256312, 0.000191689)
mesh = SubResource("PrismMesh_qra7f")
[node name="StaticBody3D" type="StaticBody3D" parent="Ramp"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ramp/StaticBody3D"]
shape = SubResource("ConvexPolygonShape3D_qra7f")
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="Ramp"]
navigation_mesh = SubResource("NavigationMesh_7h0kd")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Ramp/NavigationRegion3D"]
transform = Transform3D(0.895502, 0.445057, 0, -0.445057, 0.895502, 0, 0, 0, 1, 0, 0, 0)
mesh = SubResource("QuadMesh_k6t24")
[node name="Ramp Inner Corner" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, 0)
mesh = ExtResource("1_k6t24")
[node name="StaticBody3D" type="StaticBody3D" parent="Ramp Inner Corner"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ramp Inner Corner/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_7ivye")
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="Ramp Inner Corner"]
navigation_mesh = SubResource("NavigationMesh_vra4g")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Ramp Inner Corner/NavigationRegion3D"]
mesh = ExtResource("2_d6bvg")
[node name="Ramp Outer Corner" type="MeshInstance3D" parent="."]
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 2, 0, 2)
mesh = ExtResource("3_7ivye")
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="Ramp Outer Corner"]
navigation_mesh = SubResource("NavigationMesh_341ea")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Ramp Outer Corner/NavigationRegion3D"]
mesh = ExtResource("4_vra4g")
[node name="StaticBody3D" type="StaticBody3D" parent="Ramp Outer Corner"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ramp Outer Corner/StaticBody3D"]
shape = SubResource("ConvexPolygonShape3D_7ivye")