102 lines
6 KiB
Plaintext
102 lines
6 KiB
Plaintext
[gd_scene load_steps=11 format=3 uid="uid://c62s1jmtgajjk"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dsalxxq3xs842" path="res://rts_game_mode.tscn" id="1_4nchg"]
|
|
[ext_resource type="Environment" uid="uid://cnfk8yrvklysq" path="res://Environments/default_environment.tres" id="2_jq6bw"]
|
|
[ext_resource type="PackedScene" uid="uid://pme230qx1377" path="res://GameObjects/player_unit.tscn" id="3_wl7wm"]
|
|
[ext_resource type="PackedScene" uid="uid://ba17jrcaduowj" path="res://GameObjects/enemy_unit.tscn" id="4_0o33v"]
|
|
[ext_resource type="PackedScene" uid="uid://c82s8vpaethtv" path="res://GameObjects/nav_marker.tscn" id="5_ta2oq"]
|
|
|
|
[sub_resource type="NavigationMesh" id="NavigationMesh_8a2j6"]
|
|
vertices = PackedVector3Array(0, 0.4, -2, 1.75, 0.4, -3.25, 1.75, 0.4, -9.5, -0.75, 0.4, -0.25, 0, 0.4, -2, 1.75, 0.4, -9.5, -9.5, 0.4, -9.5, -9.5, 0.4, -0.25, 4.5, 0.4, -1.25, 4.5, 0.4, -0.5, 9.5, 0.4, -0.5, 3.25, 0.4, -2.5, 4.5, 0.4, -1.25, 9.5, 0.4, -0.5, 1.75, 0.4, -9.5, 1.75, 0.4, -3.25, 3.25, 0.4, -2.5, 9.5, 0.4, -0.5, 9.5, 0.4, -9.5, 1.75, 3.4, 1, 2.25, 3.4, 1, 3.5, 3.4, -0.5, 2.75, 3.4, -1.5, 1.5, 3.4, -2, 0.25, 3.4, -0.5, 3, 0.4, -0.5, 2.5, 0.4, -1.25, 1.5, 0.4, -1.5, 0.75, 0.4, -0.5, 1.75, 0.4, 0.5, 9.5, 0.4, -0.5, 4.5, 0.4, -0.5, 3.5, 0.4, 1.25, 9.5, 0.4, -0.5, 3.5, 0.4, 1.25, 2, 0.4, 2.25, 2, 0.4, 9.5, 9.5, 0.4, 9.5, 2, 0.4, 9.5, 2, 0.4, 2.25, 0, 0.4, 1, 0, 0.4, 1, -0.75, 0.4, -0.25, -9.5, 0.4, -0.25, -9.5, 0.4, 9.5, 2, 0.4, 9.5)
|
|
polygons = [PackedInt32Array(2, 1, 0), PackedInt32Array(4, 3, 5), PackedInt32Array(5, 3, 7), PackedInt32Array(5, 7, 6), PackedInt32Array(10, 9, 8), PackedInt32Array(13, 12, 11), PackedInt32Array(15, 14, 16), PackedInt32Array(16, 14, 18), PackedInt32Array(16, 18, 17), PackedInt32Array(20, 19, 21), PackedInt32Array(21, 19, 22), PackedInt32Array(22, 19, 23), PackedInt32Array(23, 19, 24), PackedInt32Array(26, 25, 27), PackedInt32Array(27, 25, 28), PackedInt32Array(28, 25, 29), PackedInt32Array(32, 31, 30), PackedInt32Array(34, 33, 35), PackedInt32Array(35, 33, 36), PackedInt32Array(36, 33, 37), PackedInt32Array(40, 39, 38), PackedInt32Array(42, 41, 43), PackedInt32Array(43, 41, 44), PackedInt32Array(44, 41, 45)]
|
|
geometry_parsed_geometry_type = 1
|
|
geometry_collision_mask = 4294967289
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_ubt1u"]
|
|
size = Vector3(20, 0.1, 20)
|
|
|
|
[sub_resource type="PlaneMesh" id="PlaneMesh_hohcb"]
|
|
size = Vector2(20, 20)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_nlgbx"]
|
|
size = Vector3(3, 3, 3)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_o000f"]
|
|
size = Vector3(3, 3, 3)
|
|
|
|
[node name="TestLevel" type="Level3D"]
|
|
game_mode_prototype = ExtResource("1_4nchg")
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
environment = ExtResource("2_jq6bw")
|
|
|
|
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="WorldEnvironment"]
|
|
navigation_mesh = SubResource("NavigationMesh_8a2j6")
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="WorldEnvironment/NavigationRegion3D"]
|
|
collision_layer = 5
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="WorldEnvironment/NavigationRegion3D/StaticBody3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.05, 0)
|
|
shape = SubResource("BoxShape3D_ubt1u")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="WorldEnvironment/NavigationRegion3D/StaticBody3D"]
|
|
mesh = SubResource("PlaneMesh_hohcb")
|
|
skeleton = NodePath("../../../..")
|
|
|
|
[node name="StaticBody3D2" type="StaticBody3D" parent="WorldEnvironment/NavigationRegion3D"]
|
|
transform = Transform3D(0.616308, 0, 0.787505, 0, 1, 0, -0.787505, 0, 0.616308, 1.88872, 1.48357, -0.533337)
|
|
collision_layer = 5
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="WorldEnvironment/NavigationRegion3D/StaticBody3D2"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.05, 0)
|
|
shape = SubResource("BoxShape3D_nlgbx")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="WorldEnvironment/NavigationRegion3D/StaticBody3D2"]
|
|
mesh = SubResource("BoxMesh_o000f")
|
|
skeleton = NodePath("../../../..")
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="WorldEnvironment"]
|
|
transform = Transform3D(-0.030678, -0.932282, 0.36043, 0, 0.360599, 0.932721, -0.999529, 0.028614, -0.0110625, 0, 1.28927, 0)
|
|
light_color = Color(1, 0.926667, 0.78, 1)
|
|
|
|
[node name="Unit" parent="." instance=ExtResource("3_wl7wm")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.7165, 1.8999e-07, 3.29106)
|
|
|
|
[node name="Unit2" parent="." instance=ExtResource("4_0o33v")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.57207, -7.63685e-07, -6.40453)
|
|
|
|
[node name="NavRoom" type="NavRoom" parent="."]
|
|
|
|
[node name="NavMarker" parent="NavRoom" instance=ExtResource("5_ta2oq")]
|
|
marker_type = 1
|
|
transform = Transform3D(0.80479, 0, -0.593559, 0, 1, 0, 0.593559, 0, 0.80479, 3.65141, 0.4, -2.09859)
|
|
|
|
[node name="NavMarker2" parent="NavRoom" instance=ExtResource("5_ta2oq")]
|
|
marker_type = 1
|
|
transform = Transform3D(0.794658, 0, -0.607057, 0, 1, 0, 0.607057, 0, 0.794658, 3.07483, 0.4, -2.58758)
|
|
|
|
[node name="NavMarker3" parent="NavRoom" instance=ExtResource("5_ta2oq")]
|
|
marker_type = 1
|
|
transform = Transform3D(-0.784766, 0, 0.619792, 0, 1, 0, -0.619792, 0, -0.784766, 0.723487, 0.4, 1.45218)
|
|
|
|
[node name="NavMarker4" parent="NavRoom" instance=ExtResource("5_ta2oq")]
|
|
marker_type = 1
|
|
transform = Transform3D(-0.628248, 0, -0.778013, 0, 1, 0, 0.778013, 0, -0.628248, 3.51616, 0.4, 1.22172)
|
|
|
|
[node name="NavMarker8" parent="NavRoom" instance=ExtResource("5_ta2oq")]
|
|
marker_type = 1
|
|
transform = Transform3D(-0.635135, 0, -0.772401, 0, 1, 0, 0.772401, 0, -0.635135, 3.91311, 0.4, 0.527064)
|
|
|
|
[node name="NavMarker5" parent="NavRoom" instance=ExtResource("5_ta2oq")]
|
|
marker_type = 1
|
|
transform = Transform3D(-0.762273, 0, 0.647256, 0, 1, 0, -0.647256, 0, -0.762273, 0.0761999, 0.4, 1.04762)
|
|
|
|
[node name="NavMarker6" parent="NavRoom" instance=ExtResource("5_ta2oq")]
|
|
marker_type = 1
|
|
transform = Transform3D(0.652363, 0, 0.757906, 0, 1, 0, -0.757906, 0, 0.652363, -0.132873, 0.4, -1.68996)
|
|
|
|
[node name="NavMarker7" parent="NavRoom" instance=ExtResource("5_ta2oq")]
|
|
marker_type = 1
|
|
transform = Transform3D(0.668508, 0, 0.743705, 0, 1, 0, -0.743705, 0, 0.668508, 0.277942, 0.4, -2.19853)
|