|
|
|
|
@@ -1,83 +1,119 @@
|
|
|
|
|
[gd_scene load_steps=8 format=3 uid="uid://33ek675mfb5n"]
|
|
|
|
|
[gd_scene load_steps=11 format=3 uid="uid://33ek675mfb5n"]
|
|
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://src/game/Game.cs" id="1_ytcii"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://wg25dg65ksgg" path="res://src/map/dungeon/DungeonGenerator.tscn" id="2_cgboj"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cfecvvav8kkp6" path="res://src/player/Player.tscn" id="3_kk6ly"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dhpwwqow1ahrc" path="res://src/map/dungeon/rooms/Room1.tscn" id="4_56rmd"]
|
|
|
|
|
[ext_resource type="Script" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="5_5i8m5"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bn4gslp2gk8ds" path="res://src/map/dungeon/corridor/Corridor.tscn" id="6_5fcqc"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bbwgmqy3evhh2" path="res://src/map/dungeon/rooms/Room2.tscn" id="4_clpvl"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bn4gslp2gk8ds" path="res://src/map/dungeon/corridor/Corridor.tscn" id="6_aur0q"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bwbofurcvf3yh" path="res://src/minimap/Minimap.tscn" id="6_owlf4"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="Environment" id="Environment_fke5g"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="PlaneMesh" id="PlaneMesh_atd5i"]
|
|
|
|
|
size = Vector2(10, 10)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_s2hwi"]
|
|
|
|
|
size = Vector3(10, 1, 10)
|
|
|
|
|
|
|
|
|
|
[node name="Game" type="Node3D"]
|
|
|
|
|
process_mode = 3
|
|
|
|
|
script = ExtResource("1_ytcii")
|
|
|
|
|
|
|
|
|
|
[node name="DungeonGenerator3D" parent="." instance=ExtResource("2_cgboj")]
|
|
|
|
|
|
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="DungeonGenerator3D"]
|
|
|
|
|
environment = SubResource("Environment_fke5g")
|
|
|
|
|
|
|
|
|
|
[node name="Player" parent="DungeonGenerator3D" instance=ExtResource("3_kk6ly")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.55927, -4.70883, 25.1515)
|
|
|
|
|
room_scenes = Array[PackedScene]([ExtResource("4_56rmd"), ExtResource("4_clpvl")])
|
|
|
|
|
corridor_cost_multiplier = 1.0
|
|
|
|
|
room_cost_multiplier = 8.0
|
|
|
|
|
room_cost_at_end_for_required_doors = 1.0
|
|
|
|
|
|
|
|
|
|
[node name="RoomsContainer" type="Node3D" parent="DungeonGenerator3D"]
|
|
|
|
|
|
|
|
|
|
[node name="DungeonRoom3D_0" type="Node3D" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("4_56rmd")]
|
|
|
|
|
transform = Transform3D(1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, 5, 0, 15)
|
|
|
|
|
script = ExtResource("5_5i8m5")
|
|
|
|
|
[node name="DungeonRoom3D_0" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("4_56rmd")]
|
|
|
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 25, 0, -25)
|
|
|
|
|
|
|
|
|
|
[node name="DungeonRoom3D_1" type="Node3D" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("4_56rmd")]
|
|
|
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -25, 0, -25)
|
|
|
|
|
script = ExtResource("5_5i8m5")
|
|
|
|
|
[node name="DungeonRoom3D_1" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("4_clpvl")]
|
|
|
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 5, 0, 25)
|
|
|
|
|
|
|
|
|
|
[node name="Corridor_2" type="Node3D" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_5fcqc")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 0, 15)
|
|
|
|
|
script = ExtResource("5_5i8m5")
|
|
|
|
|
[node name="Corridor_2" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_aur0q")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 15, 0, -25)
|
|
|
|
|
|
|
|
|
|
[node name="Corridor_3" type="Node3D" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_5fcqc")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 0, 5)
|
|
|
|
|
script = ExtResource("5_5i8m5")
|
|
|
|
|
[node name="Corridor_3" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_aur0q")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 15, 0, -15)
|
|
|
|
|
|
|
|
|
|
[node name="Corridor_4" type="Node3D" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_5fcqc")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 0, -5)
|
|
|
|
|
script = ExtResource("5_5i8m5")
|
|
|
|
|
[node name="Corridor_4" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_aur0q")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 15, 0, -5)
|
|
|
|
|
|
|
|
|
|
[node name="Corridor_5" type="Node3D" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_5fcqc")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 0, -15)
|
|
|
|
|
script = ExtResource("5_5i8m5")
|
|
|
|
|
|
|
|
|
|
[node name="Corridor_6" type="Node3D" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_5fcqc")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -15, 0, -15)
|
|
|
|
|
script = ExtResource("5_5i8m5")
|
|
|
|
|
|
|
|
|
|
[node name="Corridor_7" type="Node3D" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_5fcqc")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -15, 0, -25)
|
|
|
|
|
script = ExtResource("5_5i8m5")
|
|
|
|
|
|
|
|
|
|
[node name="Corridor_8" type="Node3D" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_5fcqc")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 15, 0, 15)
|
|
|
|
|
script = ExtResource("5_5i8m5")
|
|
|
|
|
|
|
|
|
|
[node name="Corridor_9" type="Node3D" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_5fcqc")]
|
|
|
|
|
[node name="Corridor_5" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_aur0q")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 15, 0, 5)
|
|
|
|
|
script = ExtResource("5_5i8m5")
|
|
|
|
|
|
|
|
|
|
[node name="Corridor_10" type="Node3D" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_5fcqc")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 0, 5)
|
|
|
|
|
script = ExtResource("5_5i8m5")
|
|
|
|
|
[node name="Corridor_6" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_aur0q")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 15, 0, 15)
|
|
|
|
|
|
|
|
|
|
[node name="Corridor_11" type="Node3D" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_5fcqc")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -35, 0, -25)
|
|
|
|
|
script = ExtResource("5_5i8m5")
|
|
|
|
|
[node name="Corridor_7" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_aur0q")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 15, 0, 25)
|
|
|
|
|
|
|
|
|
|
[node name="Corridor_12" type="Node3D" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_5fcqc")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -35, 0, -15)
|
|
|
|
|
script = ExtResource("5_5i8m5")
|
|
|
|
|
[node name="Corridor_8" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_aur0q")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 35, 0, -25)
|
|
|
|
|
|
|
|
|
|
[node name="Corridor_13" type="Node3D" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_5fcqc")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -25, 0, -15)
|
|
|
|
|
script = ExtResource("5_5i8m5")
|
|
|
|
|
[node name="Corridor_9" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_aur0q")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 35, 0, -15)
|
|
|
|
|
|
|
|
|
|
[node name="Corridor_14" type="Node3D" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_5fcqc")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -15, 0, -5)
|
|
|
|
|
script = ExtResource("5_5i8m5")
|
|
|
|
|
[node name="Corridor_10" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_aur0q")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 35, 0, -5)
|
|
|
|
|
|
|
|
|
|
[node name="Corridor_11" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_aur0q")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 35, 0, 5)
|
|
|
|
|
|
|
|
|
|
[node name="Corridor_12" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_aur0q")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 35, 0, 15)
|
|
|
|
|
|
|
|
|
|
[node name="Corridor_13" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_aur0q")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 25, 0, 15)
|
|
|
|
|
|
|
|
|
|
[node name="Corridor_14" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_aur0q")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 25, 0, 25)
|
|
|
|
|
|
|
|
|
|
[node name="Corridor_15" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_aur0q")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 0, 25)
|
|
|
|
|
|
|
|
|
|
[node name="Corridor_16" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_aur0q")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 0, 15)
|
|
|
|
|
|
|
|
|
|
[node name="Corridor_17" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_aur0q")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 0, 5)
|
|
|
|
|
|
|
|
|
|
[node name="Corridor_18" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_aur0q")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 0, -5)
|
|
|
|
|
|
|
|
|
|
[node name="Corridor_19" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_aur0q")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 0, -15)
|
|
|
|
|
|
|
|
|
|
[node name="Corridor_20" parent="DungeonGenerator3D/RoomsContainer" instance=ExtResource("6_aur0q")]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 0, -15)
|
|
|
|
|
|
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
|
|
|
environment = SubResource("Environment_fke5g")
|
|
|
|
|
|
|
|
|
|
[node name="Player" parent="." instance=ExtResource("3_kk6ly")]
|
|
|
|
|
process_mode = 1
|
|
|
|
|
transform = Transform3D(0.0871905, 0, -0.996192, 0, 1, 0, 0.996192, 0, 0.0871905, -71.4241, -4.70883, -0.527107)
|
|
|
|
|
|
|
|
|
|
[node name="RigidBody3D" type="StaticBody3D" parent="."]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -69.9907, -4.96505, 0)
|
|
|
|
|
|
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="RigidBody3D"]
|
|
|
|
|
mesh = SubResource("PlaneMesh_atd5i")
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D"]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.498463, 0)
|
|
|
|
|
shape = SubResource("BoxShape3D_s2hwi")
|
|
|
|
|
|
|
|
|
|
[node name="MiniMap" parent="." instance=ExtResource("6_owlf4")]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
visible = false
|
|
|
|
|
|
|
|
|
|
[node name="OmniLight3D" type="OmniLight3D" parent="."]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 24.5244, 0)
|
|
|
|
|
layers = 3
|
|
|
|
|
omni_range = 163.618
|
|
|
|
|
omni_attenuation = -0.183
|
|
|
|
|
|