From 43a0fd1b2033066b7a3625373a9003726e414402 Mon Sep 17 00:00:00 2001 From: Rendo Date: Sun, 14 Dec 2025 19:57:48 +0500 Subject: [PATCH] new plant for map --- levels/prototype.tscn | 197 ++++++++++++++++++++++++++++++++++++++---- 1 file changed, 181 insertions(+), 16 deletions(-) diff --git a/levels/prototype.tscn b/levels/prototype.tscn index bd4c94d..48940b9 100644 --- a/levels/prototype.tscn +++ b/levels/prototype.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=28 format=3 uid="uid://cqrh2cc7m2i7f"] +[gd_scene load_steps=30 format=3 uid="uid://cqrh2cc7m2i7f"] [ext_resource type="Environment" uid="uid://d0cfgtx2yxw13" path="res://environments/prototype_environment.tres" id="1_i6jab"] [ext_resource type="Material" uid="uid://bx3f5vx71ynh5" path="res://materials/Graymat.tres" id="4_y6i55"] @@ -35,6 +35,14 @@ size = Vector3(58.51023, 17.060364, 33.813843) [sub_resource type="BoxShape3D" id="BoxShape3D_5uqia"] size = Vector3(9.06966, 8.172485, 25.951996) +[sub_resource type="CylinderShape3D" id="CylinderShape3D_ii5jc"] +height = 3.4906921 +radius = 11.610352 + +[sub_resource type="CylinderShape3D" id="CylinderShape3D_cxhvj"] +height = 46.084213 +radius = 63.351563 + [sub_resource type="LabelSettings" id="LabelSettings_gcyg7"] font_size = 70 outline_size = 20 @@ -62,11 +70,11 @@ use_collision = true collision_mask = 9 [node name="CSGBox3D" type="CSGBox3D" parent="CSGCombiner3D"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.774414, -16.123535, 1.8908081) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.3369141, -16.123535, 35.91803) layers = 5 material_override = ExtResource("5_bno23") use_collision = true -size = Vector3(126.25586, 33.24707, 100.838135) +size = Vector3(131.13086, 33.24707, 168.89258) material = ExtResource("4_y6i55") [node name="CSGBox3D18" type="CSGBox3D" parent="CSGCombiner3D"] @@ -135,9 +143,9 @@ size = Vector3(3.9233856, 10.980286, 10.570801) material = ExtResource("5_bno23") [node name="CSGBox3D27" type="CSGBox3D" parent="CSGCombiner3D"] -transform = Transform3D(0.9261539, 0, 0.37714583, 0, 1, 0, -0.37714583, 0, 0.9261539, 26.334145, 5.907801, 23.006517) +transform = Transform3D(0.9261539, 0, 0.37714583, 0, 1, 0, -0.37714583, 0, 0.9261539, 26.823162, 5.907801, 24.207394) layers = 5 -size = Vector3(3.9233856, 10.980286, 33.98561) +size = Vector3(3.9233856, 10.980286, 36.578865) material = ExtResource("5_bno23") [node name="CSGBox3D28" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D27"] @@ -148,23 +156,16 @@ size = Vector3(7.4409294, 5.561432, 8.996315) material = ExtResource("5_bno23") [node name="CSGBox3D10" type="CSGBox3D" parent="CSGCombiner3D"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.8908911, 11.176111, -1.6231918) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.8908911, 11.176111, 31.922394) layers = 5 -size = Vector3(101.37683, 21.516907, 87.89482) +size = Vector3(101.37683, 21.516907, 154.986) material = ExtResource("6_8bje3") [node name="CSGBox3D11" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D10"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.527359, -3.7662811, 0.11615372) layers = 5 operation = 2 -size = Vector3(92.75583, 29.049469, 78.20011) -material = ExtResource("6_8bje3") - -[node name="CSGBox3D12" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D10"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30.466297, 8.756718, 19.084272) -layers = 5 -operation = 2 -size = Vector3(53.52636, 29.049469, 61.62032) +size = Vector3(92.75583, 29.049469, 146.10254) material = ExtResource("6_8bje3") [node name="CSGBox3D16" type="CSGBox3D" parent="CSGCombiner3D"] @@ -269,12 +270,139 @@ operation = 2 size = Vector3(20.339264, 4.566284, 3.4625244) material = ExtResource("7_8bje3") +[node name="CSGBox3D3" type="CSGBox3D" parent="CSGCombiner3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16.253977, 7.9394913, 45.965237) +size = Vector3(72.566986, 15.021851, 12.546082) +material = ExtResource("5_bno23") + +[node name="CSGBox3D11" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D3"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -34.52341, -5.4464264, -3.5506287) +operation = 2 +size = Vector3(3.5201645, 4.128998, 3.0277462) +material = ExtResource("5_bno23") + +[node name="CSGBox3D12" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D3"] +transform = Transform3D(0.8660254, -0.5, 0, 0.5, 0.8660254, 0, 0, 0, 1, -27.733185, -2.2804193, -3.5518532) +operation = 2 +size = Vector3(22.82395, 4.128998, 3.0252914) +material = ExtResource("5_bno23") + +[node name="CSGBox3D9" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D3"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 27.828585, -3.925583, 0) +operation = 2 +size = Vector3(16.909813, 7.170685, 12.546082) +material = ExtResource("5_bno23") + +[node name="CSGBox3D17" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D3"] +transform = Transform3D(1.0000001, 0, 0, 0, 1, 0, 0, 0, 1.0000001, -6.7949753, 3.1695995, 0.4335251) +operation = 2 +size = Vector3(8.935547, 4.305731, 20.150663) +material = ExtResource("5_bno23") + +[node name="CSGBox3D18" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D3"] +transform = Transform3D(1.0000001, 0, 0, 0, 1, 0, 0, 0, 1.0000001, -6.7949753, -5.6093836, -0.44220734) +operation = 2 +size = Vector3(8.935547, 4.305731, 18.399199) +material = ExtResource("5_bno23") + +[node name="CSGBox3D7" type="CSGBox3D" parent="CSGCombiner3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -31.210667, 7.939493, 89.44373) +size = Vector3(33.113983, 15.021851, 31.80539) +material = ExtResource("5_bno23") + +[node name="CSGBox3D8" type="CSGBox3D" parent="CSGCombiner3D"] +transform = Transform3D(0.9659258, 0, -0.25881904, 0, 1, 0, 0.25881904, 0, 0.9659258, -17.710346, 9.026343, 63.727997) +size = Vector3(12.023918, 1.3624382, 27.318222) +material = ExtResource("5_bno23") + +[node name="CSGBox3D9" type="CSGBox3D" parent="CSGCombiner3D"] +transform = Transform3D(0.9659258, 0, -0.25881904, 0, 1, 0, 0.25881904, 0, 0.9659258, -16.326788, 11.738397, 58.28928) +operation = 2 +size = Vector3(8.935547, 5.5643425, 33.482162) +material = ExtResource("5_bno23") + +[node name="CSGBox3D13" type="CSGBox3D" parent="CSGCombiner3D"] +transform = Transform3D(-4.3711392e-08, 0, 1.0000001, 0, 1, 0, -1.0000001, 0, -4.3711392e-08, -17.820408, 11.738397, 102.17261) +operation = 2 +size = Vector3(3.3706055, 5.5643425, 8.1321945) +material = ExtResource("5_bno23") + +[node name="CSGBox3D15" type="CSGBox3D" parent="CSGCombiner3D"] +transform = Transform3D(-4.3711392e-08, 0, 1.0000001, 0, 1, 0, -1.0000001, 0, -4.3711392e-08, -17.820408, 13.011054, 89.86497) +operation = 2 +size = Vector3(3.3706055, 3.0190291, 8.1321945) +material = ExtResource("5_bno23") + +[node name="CSGBox3D12" type="CSGBox3D" parent="CSGCombiner3D"] +transform = Transform3D(0.99999994, 0, 0, 0, 1, 0, 0, 0, 0.99999994, -20.285269, 11.738397, 89.42426) +operation = 2 +size = Vector3(8.935547, 5.5643425, 32.2556) +material = ExtResource("5_bno23") + +[node name="CSGBox3D11" type="CSGBox3D" parent="CSGCombiner3D"] +transform = Transform3D(0.99999994, 0, 0, 0, 1, 0, 0, 0, 0.99999994, -3.0113783, 11.738397, 44.21144) +operation = 2 +size = Vector3(33.852737, 5.5643425, 6.54034) +material = ExtResource("5_bno23") + +[node name="CSGBox3D17" type="CSGBox3D" parent="CSGCombiner3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 41.557037, 5.4422264, 79.12084) +size = Vector3(16.117172, 11.88446, 54.072815) +material = ExtResource("5_bno23") + +[node name="CSGBox3D20" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D17"] +transform = Transform3D(1, 0, 0, 0, 0.8660253, 0.49999997, 0, -0.49999997, 0.8660253, 1.0720177, 0.8440113, -25.297806) +operation = 2 +size = Vector3(13.973137, 8.352661, 20.768448) +material = ExtResource("5_bno23") + +[node name="CSGBox3D21" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D17"] +transform = Transform3D(1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994, 1.0720177, 6.592371, -2.357605) +operation = 2 +size = Vector3(13.973137, 8.352661, 57.54166) +material = ExtResource("5_bno23") + +[node name="CSGBox3D22" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D17"] +transform = Transform3D(1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994, -1.4942703, 6.592371, 24.130348) +operation = 2 +size = Vector3(19.10571, 8.352661, 4.565752) +material = ExtResource("5_bno23") + +[node name="CSGBox3D23" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D17"] +transform = Transform3D(1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994, -1.4942703, 6.9014835, 13.855293) +operation = 2 +size = Vector3(19.10571, 7.734436, 4.565752) +material = ExtResource("5_bno23") + +[node name="CSGBox3D24" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D17"] +transform = Transform3D(1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994, -1.4942703, 6.9014835, 5.9160995) +operation = 2 +size = Vector3(19.10571, 7.734436, 4.565752) +material = ExtResource("5_bno23") + +[node name="CSGBox3D25" type="CSGBox3D" parent="CSGCombiner3D/CSGBox3D17"] +transform = Transform3D(1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994, -1.4942703, 6.9014835, -3.8514633) +operation = 2 +size = Vector3(19.10571, 7.734436, 4.565752) +material = ExtResource("5_bno23") + +[node name="CSGBox3D19" type="CSGBox3D" parent="CSGCombiner3D"] +transform = Transform3D(-4.3699842e-08, 0.02298396, -0.99973583, 1.0046608e-09, 0.99973583, 0.02298396, 1, 0, -4.371139e-08, 11.475539, 3.821096, 102.65042) +size = Vector3(5.1586266, 9.294983, 54.072815) +material = ExtResource("5_bno23") + +[node name="CSGBox3D20" type="CSGCylinder3D" parent="CSGCombiner3D"] +transform = Transform3D(-4.3699842e-08, 0.02298396, -0.99973583, 1.0046608e-09, 0.99973583, 0.02298396, 1, 0, -4.371139e-08, 11.633311, 10.683723, 79.82308) +radius = 7.570801 +height = 23.248901 +material = ExtResource("6_foctg") + [node name="PlayersContainer" type="Node3D" parent="." node_paths=PackedStringArray("exlusion_list")] script = ExtResource("11_02ic3") exlusion_list = [NodePath("DefenceSpawn"), NodePath("AttackSpawn"), NodePath("SpectatorSpawn"), NodePath("MultiplayerSpawner")] [node name="DefenceSpawn" type="Marker3D" parent="PlayersContainer"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 37.170197, 0.5, -11.271502) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 37.170197, 0.5, 5.714304) script = ExtResource("10_02ic3") spawn_radius = 10.0 @@ -356,6 +484,43 @@ shape = SubResource("BoxShape3D_1wlgq") transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.8295212, -7.2330484, 31.342033) shape = SubResource("BoxShape3D_5uqia") +[node name="PlantB" type="Area3D" parent="."] +transform = Transform3D(1, 0, 3.5527137e-15, 0, 1, 0, 0, 0, 1, 11.389079, 0.060324788, 79.82308) +collision_layer = 0 +collision_mask = 16 +script = ExtResource("8_oujx2") + +[node name="CollisionShape3D" type="CollisionShape3D" parent="PlantB"] +transform = Transform3D(1, -5.9604645e-08, 0, 2.9802322e-08, 0.9999997, 0, 0, 4.0233135e-07, 1, 0, 1.8665612, 0) +shape = SubResource("CylinderShape3D_ii5jc") +debug_color = Color(0.98, 0, 0.42466673, 1) + +[node name="CSGBox3D22" type="CSGCylinder3D" parent="."] +transform = Transform3D(-4.3699842e-08, 0.02298396, -0.99973583, 1.0046608e-09, 0.99973583, 0.02298396, 1, 0, -4.371139e-08, 11.389079, 0.060324788, 79.82308) +radius = 11.918457 +height = 1.9964905 +sides = 32 +material = ExtResource("9_ysk2e") + +[node name="CSGBox3D23" type="CSGCylinder3D" parent="CSGBox3D22"] +transform = Transform3D(1, -3.330669e-15, 1.0658141e-13, 0, 1, -4.8529275e-24, 0, 1.4073525e-22, 1, 0, 0, 0) +operation = 2 +radius = 11.456543 +height = 1.9964905 +sides = 32 +material = ExtResource("9_ysk2e") + +[node name="PlantBDeadzone" type="Area3D" parent="." node_paths=PackedStringArray("bound_plant")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12.011532, 0.33464527, 78.261925) +collision_layer = 0 +collision_mask = 2 +script = ExtResource("9_1wlgq") +bound_plant = NodePath("../PlantB") + +[node name="CollisionShape3D" type="CollisionShape3D" parent="PlantBDeadzone"] +transform = Transform3D(1, -5.9604645e-08, 0, 2.9802322e-08, 0.9999997, 0, 0, 4.0233135e-07, 1, -9.536743e-07, 23.163315, 7.6293945e-06) +shape = SubResource("CylinderShape3D_cxhvj") + [node name="DefaultCamera" type="Camera3D" parent="."] transform = Transform3D(0.6629243, -0.44385082, 0.60293275, 0.022305315, 0.81667197, 0.57667094, -0.7483541, -0.36884052, 0.5512919, 17.194904, 16.47376, -9.509804)