|
| 1 | +[gd_scene load_steps=15 format=3 uid="uid://bu2bnqb7jbvdv"] |
| 2 | + |
| 3 | +[ext_resource type="Script" uid="uid://dxnt5r5m5t1hs" path="res://scripts/Levels/LevelScript_Flow_Field.gd" id="1_o5lst"] |
| 4 | +[ext_resource type="Script" uid="uid://basfttxylkrle" path="res://scripts/SteeringBehaviors/FlowField.gd" id="2_70utq"] |
| 5 | +[ext_resource type="Script" uid="uid://bydjrl4wumi6y" path="res://scripts/Spawners/Spawning.gd" id="2_o5lst"] |
| 6 | +[ext_resource type="PackedScene" uid="uid://d37wo3mvlcmia" path="res://spawner/AgentSpawner.tscn" id="3_70utq"] |
| 7 | +[ext_resource type="Texture2D" uid="uid://l0ib77o0wncj" path="res://assets/textures/Prototype/Dark/texture_08.png" id="4_sf0pg"] |
| 8 | + |
| 9 | +[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_qstfa"] |
| 10 | +sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1) |
| 11 | +ground_horizon_color = Color(0.64625, 0.65575, 0.67075, 1) |
| 12 | + |
| 13 | +[sub_resource type="Sky" id="Sky_irks6"] |
| 14 | +sky_material = SubResource("ProceduralSkyMaterial_qstfa") |
| 15 | + |
| 16 | +[sub_resource type="Environment" id="Environment_heqyn"] |
| 17 | +background_mode = 2 |
| 18 | +sky = SubResource("Sky_irks6") |
| 19 | +tonemap_mode = 2 |
| 20 | +glow_enabled = true |
| 21 | + |
| 22 | +[sub_resource type="QuadMesh" id="QuadMesh_706t6"] |
| 23 | +size = Vector2(200, 200) |
| 24 | +orientation = 1 |
| 25 | + |
| 26 | +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_5wmcq"] |
| 27 | +albedo_texture = ExtResource("4_sf0pg") |
| 28 | + |
| 29 | +[sub_resource type="BoxShape3D" id="BoxShape3D_6wtjj"] |
| 30 | +size = Vector3(200, 1, 200) |
| 31 | + |
| 32 | +[sub_resource type="BoxMesh" id="BoxMesh_31y8d"] |
| 33 | +size = Vector3(6, 6, 6) |
| 34 | + |
| 35 | +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_brjmj"] |
| 36 | +albedo_color = Color(0.345098, 0.517647, 0.65098, 1) |
| 37 | + |
| 38 | +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_ukqwy"] |
| 39 | +data = PackedVector3Array(-3, 3, 3, 3, 3, 3, -3, -3, 3, 3, 3, 3, 3, -3, 3, -3, -3, 3, 3, 3, -3, -3, 3, -3, 3, -3, -3, -3, 3, -3, -3, -3, -3, 3, -3, -3, 3, 3, 3, 3, 3, -3, 3, -3, 3, 3, 3, -3, 3, -3, -3, 3, -3, 3, -3, 3, -3, -3, 3, 3, -3, -3, -3, -3, 3, 3, -3, -3, 3, -3, -3, -3, 3, 3, 3, -3, 3, 3, 3, 3, -3, -3, 3, 3, -3, 3, -3, 3, 3, -3, -3, -3, 3, 3, -3, 3, -3, -3, -3, 3, -3, 3, 3, -3, -3, -3, -3, -3) |
| 40 | + |
| 41 | +[node name="TestLevel" type="Node3D"] |
| 42 | +script = ExtResource("1_o5lst") |
| 43 | + |
| 44 | +[node name="FlowField" type="FlowField" parent="."] |
| 45 | +script = ExtResource("2_70utq") |
| 46 | + |
| 47 | +[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."] |
| 48 | +transform = Transform3D(-0.866023, -0.433016, 0.250001, 0, 0.499998, 0.866027, -0.500003, 0.749999, -0.43301, 0, 0, 0) |
| 49 | +shadow_enabled = true |
| 50 | + |
| 51 | +[node name="WorldEnvironment" type="WorldEnvironment" parent="."] |
| 52 | +environment = SubResource("Environment_heqyn") |
| 53 | + |
| 54 | +[node name="Spawning" type="Node3D" parent="."] |
| 55 | +script = ExtResource("2_o5lst") |
| 56 | + |
| 57 | +[node name="PlayerSpawner" type="MultiplayerSpawner" parent="Spawning"] |
| 58 | +_spawnable_scenes = PackedStringArray("uid://6s5rk0xolkxi") |
| 59 | +spawn_path = NodePath("../SpawnedPlayers") |
| 60 | + |
| 61 | +[node name="PlayerSpawnPoints" type="Node3D" parent="Spawning"] |
| 62 | + |
| 63 | +[node name="Marker3D" type="Marker3D" parent="Spawning/PlayerSpawnPoints"] |
| 64 | +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.220346, -6.96668) |
| 65 | + |
| 66 | +[node name="Marker3D2" type="Marker3D" parent="Spawning/PlayerSpawnPoints"] |
| 67 | +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.220346, 7.19992) |
| 68 | + |
| 69 | +[node name="Marker3D3" type="Marker3D" parent="Spawning/PlayerSpawnPoints"] |
| 70 | +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.22954, 0.220346, -0.233832) |
| 71 | + |
| 72 | +[node name="Marker3D4" type="Marker3D" parent="Spawning/PlayerSpawnPoints"] |
| 73 | +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.39961, 0.220346, -0.233832) |
| 74 | + |
| 75 | +[node name="SpawnedPlayers" type="Node3D" parent="Spawning"] |
| 76 | + |
| 77 | +[node name="AgentSpawner" type="MultiplayerSpawner" parent="Spawning"] |
| 78 | +_spawnable_scenes = PackedStringArray("uid://b5ea1ooccdfrs") |
| 79 | +spawn_path = NodePath("../SpawnedAgents") |
| 80 | + |
| 81 | +[node name="AgentSpawners" type="Node3D" parent="Spawning"] |
| 82 | + |
| 83 | +[node name="AgentSpawner" parent="Spawning/AgentSpawners" instance=ExtResource("3_70utq")] |
| 84 | +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 15.2856, 81.8714) |
| 85 | + |
| 86 | +[node name="SpawnedAgents" type="Node3D" parent="Spawning"] |
| 87 | + |
| 88 | +[node name="Ground" type="StaticBody3D" parent="." groups=["Ground"]] |
| 89 | + |
| 90 | +[node name="MeshInstance3D" type="MeshInstance3D" parent="Ground"] |
| 91 | +mesh = SubResource("QuadMesh_706t6") |
| 92 | +surface_material_override/0 = SubResource("StandardMaterial3D_5wmcq") |
| 93 | + |
| 94 | +[node name="CollisionShape3D" type="CollisionShape3D" parent="Ground"] |
| 95 | +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.49, 0) |
| 96 | +shape = SubResource("BoxShape3D_6wtjj") |
| 97 | + |
| 98 | +[node name="Obstacles" type="Node3D" parent="."] |
| 99 | + |
| 100 | +[node name="MeshInstance3D" type="MeshInstance3D" parent="Obstacles"] |
| 101 | +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -48.3205, 2.93985, 0) |
| 102 | +mesh = SubResource("BoxMesh_31y8d") |
| 103 | +skeleton = NodePath("") |
| 104 | +surface_material_override/0 = SubResource("StandardMaterial3D_brjmj") |
| 105 | + |
| 106 | +[node name="StaticBody3D" type="StaticBody3D" parent="Obstacles/MeshInstance3D"] |
| 107 | + |
| 108 | +[node name="CollisionShape3D" type="CollisionShape3D" parent="Obstacles/MeshInstance3D/StaticBody3D"] |
| 109 | +shape = SubResource("ConcavePolygonShape3D_ukqwy") |
| 110 | + |
| 111 | +[node name="MeshInstance3D2" type="MeshInstance3D" parent="Obstacles"] |
| 112 | +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 38.5944, 2.93985, 0) |
| 113 | +mesh = SubResource("BoxMesh_31y8d") |
| 114 | +skeleton = NodePath("") |
| 115 | +surface_material_override/0 = SubResource("StandardMaterial3D_brjmj") |
| 116 | + |
| 117 | +[node name="StaticBody3D" type="StaticBody3D" parent="Obstacles/MeshInstance3D2"] |
| 118 | + |
| 119 | +[node name="CollisionShape3D" type="CollisionShape3D" parent="Obstacles/MeshInstance3D2/StaticBody3D"] |
| 120 | +shape = SubResource("ConcavePolygonShape3D_ukqwy") |
| 121 | + |
| 122 | +[node name="MeshInstance3D3" type="MeshInstance3D" parent="Obstacles"] |
| 123 | +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -21.78, 2.93985, -44.8711) |
| 124 | +mesh = SubResource("BoxMesh_31y8d") |
| 125 | +skeleton = NodePath("") |
| 126 | +surface_material_override/0 = SubResource("StandardMaterial3D_brjmj") |
| 127 | + |
| 128 | +[node name="StaticBody3D" type="StaticBody3D" parent="Obstacles/MeshInstance3D3"] |
| 129 | + |
| 130 | +[node name="CollisionShape3D" type="CollisionShape3D" parent="Obstacles/MeshInstance3D3/StaticBody3D"] |
| 131 | +shape = SubResource("ConcavePolygonShape3D_ukqwy") |
| 132 | + |
| 133 | +[node name="MeshInstance3D4" type="MeshInstance3D" parent="Obstacles"] |
| 134 | +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -21.78, 2.93985, 40.8336) |
| 135 | +mesh = SubResource("BoxMesh_31y8d") |
| 136 | +skeleton = NodePath("") |
| 137 | +surface_material_override/0 = SubResource("StandardMaterial3D_brjmj") |
| 138 | + |
| 139 | +[node name="StaticBody3D" type="StaticBody3D" parent="Obstacles/MeshInstance3D4"] |
| 140 | + |
| 141 | +[node name="CollisionShape3D" type="CollisionShape3D" parent="Obstacles/MeshInstance3D4/StaticBody3D"] |
| 142 | +shape = SubResource("ConcavePolygonShape3D_ukqwy") |
0 commit comments