Files
GameJamDungeon/Zennysoft.Game.Ma/src/map/dungeon/rooms/Set B/27. Water Room B.tscn
T

443 lines
17 KiB
Plaintext

[gd_scene load_steps=32 format=3 uid="uid://cypdcaqeylnwl"]
[ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="1_h7qp4"]
[ext_resource type="PackedScene" uid="uid://bhp13lryklool" path="res://src/map/dungeon/models/Area 2/Waterroom/A2 Water Room.glb" id="2_d5u83"]
[ext_resource type="Shader" uid="uid://dj3ut2w0lnwq2" path="res://src/map/map shaders/Overworld God Rays.gdshader" id="4_41mai"]
[ext_resource type="AudioStream" uid="uid://cdweiwl17xnn6" path="res://src/audio/amb/amb_water_lapping1.ogg" id="5_18wua"]
[ext_resource type="Texture2D" uid="uid://dw50ys561j8no" path="res://src/map/assets/DUST_1.png" id="5_d0ika"]
[sub_resource type="BoxShape3D" id="BoxShape3D_14xap"]
size = Vector3(19.1196, 14.8376, 11.1152)
[sub_resource type="BoxShape3D" id="BoxShape3D_41mai"]
size = Vector3(36.5441, 14.8376, 0.001)
[sub_resource type="BoxShape3D" id="BoxShape3D_d0ika"]
size = Vector3(8.0704, 14.838, 1)
[sub_resource type="BoxShape3D" id="BoxShape3D_18wua"]
size = Vector3(6.90156, 14.838, 1)
[sub_resource type="BoxShape3D" id="BoxShape3D_d5u83"]
size = Vector3(16.1607, 14.8376, 0.001)
[sub_resource type="BoxShape3D" id="BoxShape3D_kc65f"]
size = Vector3(16.0669, 14.8376, 0.001)
[sub_resource type="BoxShape3D" id="BoxShape3D_gd85l"]
size = Vector3(16.0534, 14.8376, 0.001)
[sub_resource type="BoxShape3D" id="BoxShape3D_7j570"]
size = Vector3(11.9317, 14.8376, 0.001)
[sub_resource type="BoxShape3D" id="BoxShape3D_uumy4"]
size = Vector3(24.0521, 14.8376, 0.001)
[sub_resource type="BoxShape3D" id="BoxShape3D_m16sa"]
size = Vector3(11.8639, 14.8376, 0.001)
[sub_resource type="CylinderShape3D" id="CylinderShape3D_qhnsn"]
height = 10.689
radius = 3.05566
[sub_resource type="CylinderShape3D" id="CylinderShape3D_w2jsu"]
height = 4.7168
radius = 0.452637
[sub_resource type="BoxShape3D" id="BoxShape3D_14qkr"]
size = Vector3(36.3961, 1, 56.2708)
[sub_resource type="BoxShape3D" id="BoxShape3D_73kf5"]
size = Vector3(28, 6, 48)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_14xap"]
albedo_color = Color(0, 0, 0, 1)
[sub_resource type="PlaneMesh" id="PlaneMesh_41mai"]
material = SubResource("StandardMaterial3D_14xap")
size = Vector2(37, 57)
[sub_resource type="Curve" id="Curve_18wua"]
_limits = [-2.0, 2.0, 0.0, 1.0]
_data = [Vector2(0.00358423, 0.230769), 0.0, 0.0, 0, 0, Vector2(0.982079, -1.03846), 0.0, 0.0, 0, 0]
point_count = 2
[sub_resource type="CurveTexture" id="CurveTexture_l2o7d"]
curve = SubResource("Curve_18wua")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_d5u83"]
lifetime_randomness = 0.05
emission_shape = 3
emission_box_extents = Vector3(22.2, 22.505, 22)
angle_min = -245.3
angle_max = 417.9
orbit_velocity_min = -0.0269999
orbit_velocity_max = 0.0400001
orbit_velocity_curve = SubResource("CurveTexture_l2o7d")
gravity = Vector3(0, -0.07, 0)
scale_min = 0.0
scale_max = 0.0
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_xwvac"]
transparency = 1
cull_mode = 2
shading_mode = 0
albedo_color = Color(1, 1, 1, 0.0862745)
albedo_texture = ExtResource("5_d0ika")
billboard_mode = 2
[sub_resource type="QuadMesh" id="QuadMesh_kc65f"]
material = SubResource("StandardMaterial3D_xwvac")
size = Vector2(0.1, 0.1)
subdivide_width = 1
subdivide_depth = 1
[sub_resource type="Gradient" id="Gradient_d0ika"]
[sub_resource type="GradientTexture2D" id="GradientTexture2D_wbbo3"]
gradient = SubResource("Gradient_d0ika")
[sub_resource type="FastNoiseLite" id="FastNoiseLite_18wua"]
noise_type = 3
frequency = 0.0769
domain_warp_enabled = true
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_d1qcb"]
noise = SubResource("FastNoiseLite_18wua")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_d5u83"]
render_priority = 0
shader = ExtResource("4_41mai")
shader_parameter/alpha = 0.424
shader_parameter/rim_power = 3.873
shader_parameter/texture_emission = SubResource("NoiseTexture2D_d1qcb")
shader_parameter/gradient = SubResource("GradientTexture2D_wbbo3")
shader_parameter/emission = Color(1, 1, 1, 1)
shader_parameter/emission_energy = 0.58
shader_parameter/uv1_scale = Vector3(5, 0, 0)
shader_parameter/uv1_offset = Vector3(0, 1, 0)
[node name="Water Room B" type="Node3D"]
script = ExtResource("1_h7qp4")
[node name="Model" type="Node3D" parent="."]
[node name="A2 Water Room" parent="Model" instance=ExtResource("2_d5u83")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -36.5834, 0, 0.430862)
[node name="Collision" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.800812, -1.97879, 0.426766)
[node name="StaticBody3D" type="StaticBody3D" parent="Collision"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0382576, 6.91879, -11.4595)
shape = SubResource("BoxShape3D_14xap")
[node name="CollisionShape3D2" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0382576, 6.91879, 10.6719)
shape = SubResource("BoxShape3D_14xap")
[node name="CollisionShape3D3" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.138073, 6.91879, -27.9776)
shape = SubResource("BoxShape3D_41mai")
[node name="CollisionShape3D12" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.97484, 6.91879, -27.8323)
shape = SubResource("BoxShape3D_d0ika")
[node name="CollisionShape3D18" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -18.0343, 6.91879, -0.556886)
shape = SubResource("BoxShape3D_18wua")
[node name="CollisionShape3D13" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 18.0687, 6.91879, -0.00398219)
shape = SubResource("BoxShape3D_d0ika")
[node name="CollisionShape3D4" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10.0536, 6.91879, 27.9582)
shape = SubResource("BoxShape3D_d5u83")
[node name="CollisionShape3D5" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10.0809, 6.91879, 27.9582)
shape = SubResource("BoxShape3D_d5u83")
[node name="CollisionShape3D6" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 17.9819, 6.91879, -19.9784)
shape = SubResource("BoxShape3D_kc65f")
[node name="CollisionShape3D7" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 17.9819, 6.91879, 0.0164213)
shape = SubResource("BoxShape3D_gd85l")
[node name="CollisionShape3D8" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 17.9819, 6.91879, 20.0044)
shape = SubResource("BoxShape3D_gd85l")
[node name="CollisionShape3D9" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -17.9973, 6.91879, -22.0796)
shape = SubResource("BoxShape3D_7j570")
[node name="CollisionShape3D10" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -17.9973, 6.91879, -0.0288277)
shape = SubResource("BoxShape3D_uumy4")
[node name="CollisionShape3D11" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -17.9772, 6.91879, 21.8806)
shape = SubResource("BoxShape3D_m16sa")
[node name="CollisionShape3D14" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -16.2915, 4.34448, 26.1873)
shape = SubResource("CylinderShape3D_qhnsn")
[node name="CollisionShape3D15" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16.3079, 4.34448, 26.1873)
shape = SubResource("CylinderShape3D_qhnsn")
[node name="CollisionShape3D16" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16.3079, 4.34448, -26.2228)
shape = SubResource("CylinderShape3D_qhnsn")
[node name="CollisionShape3D17" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -16.3445, 4.34448, -26.2228)
shape = SubResource("CylinderShape3D_qhnsn")
[node name="CollisionShape3D20" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 17.5325, 1.83023, 12.6272)
shape = SubResource("CylinderShape3D_w2jsu")
[node name="CollisionShape3D21" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 17.5325, 1.83023, 7.36076)
shape = SubResource("CylinderShape3D_w2jsu")
[node name="CollisionShape3D22" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 17.5325, 1.83023, -7.44349)
shape = SubResource("CylinderShape3D_w2jsu")
[node name="CollisionShape3D23" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 17.5325, 1.83023, -12.6368)
shape = SubResource("CylinderShape3D_w2jsu")
[node name="CollisionShape3D24" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -17.4435, 1.83023, -11.4191)
shape = SubResource("CylinderShape3D_w2jsu")
[node name="CollisionShape3D25" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -17.4435, 1.83023, -16.625)
shape = SubResource("CylinderShape3D_w2jsu")
[node name="CollisionShape3D26" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -17.4435, 1.83023, 16.6984)
shape = SubResource("CylinderShape3D_w2jsu")
[node name="CollisionShape3D27" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -17.4435, 1.83023, 11.4925)
shape = SubResource("CylinderShape3D_w2jsu")
[node name="CollisionShape3D28" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.64097, 1.86793, 27.5263)
shape = SubResource("CylinderShape3D_w2jsu")
[node name="CollisionShape3D29" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.62243, 1.83023, 27.5164)
shape = SubResource("CylinderShape3D_w2jsu")
[node name="CollisionShape3D19" type="CollisionShape3D" parent="Collision/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0162659, -0.480738, -0.0164795)
shape = SubResource("BoxShape3D_14qkr")
[node name="Spawn Points" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0234127, 1.22904, 0)
[node name="PlayerSpawn" type="Marker3D" parent="Spawn Points"]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.336617, -1.37707, 0.928175)
[node name="ItemSpawnPoints" type="Node3D" parent="Spawn Points"]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -25.114, 0.496096, 10.8555)
[node name="ItemSpawnPoint" type="Marker3D" parent="Spawn Points/ItemSpawnPoints"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 20.4261, -1.87126, -14.9165)
[node name="ItemSpawnPoint3" type="Marker3D" parent="Spawn Points/ItemSpawnPoints"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 28.37, -1.58527, -14.1998)
[node name="EnemySpawnPoints" type="Node3D" parent="Spawn Points"]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -25.114, 0.496096, 10.8555)
[node name="EnemySpawn1" type="Marker3D" parent="Spawn Points/EnemySpawnPoints"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 23.9514, -2.12568, -13.2894)
[node name="Room" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0234127, 1.69409, 0)
[node name="Room" type="Area3D" parent="Room"]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 11.8436, 0)
collision_layer = 0
collision_mask = 10
[node name="CollisionShape3D" type="CollisionShape3D" parent="Room/Room"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.04566, -10.6408, -1.19209e-07)
shape = SubResource("BoxShape3D_73kf5")
[node name="MinimapShadow" type="Node3D" parent="Room"]
unique_name_in_owner = true
[node name="MeshInstance3D" type="MeshInstance3D" parent="Room/MinimapShadow"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.708975, -4.93226, 0.485024)
layers = 2
sorting_offset = 100.0
mesh = SubResource("PlaneMesh_41mai")
[node name="Lights" type="Node3D" parent="."]
[node name="OmniLight3D8" type="OmniLight3D" parent="Lights"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.85245, 11.3051)
light_color = Color(0.7296, 0.9024, 0.96, 1)
light_energy = 2.0
light_specular = 0.0
shadow_enabled = true
shadow_blur = 3.37
omni_range = 81.036
[node name="OmniLight3D" type="OmniLight3D" parent="Lights"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10.9811, 2.64266, 20.4279)
light_color = Color(0.7296, 0.9024, 0.96, 1)
light_energy = 2.0
light_specular = 0.0
shadow_enabled = true
shadow_blur = 3.37
omni_range = 81.036
[node name="OmniLight3D2" type="OmniLight3D" parent="Lights"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 11.7042, 2.64266, 20.4279)
light_color = Color(0.7296, 0.9024, 0.96, 1)
light_energy = 2.0
light_specular = 0.0
shadow_enabled = true
shadow_blur = 3.37
omni_range = 81.036
[node name="OmniLight3D5" type="OmniLight3D" parent="Lights"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.428, 2.64266, 1.25865)
light_color = Color(0.7296, 0.9024, 0.96, 1)
light_energy = 2.0
light_specular = 0.0
shadow_enabled = true
shadow_blur = 3.37
omni_range = 81.036
[node name="OmniLight3D6" type="OmniLight3D" parent="Lights"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 11.2165, 2.64266, 1.22373)
light_color = Color(0.7296, 0.9024, 0.96, 1)
light_energy = 2.0
light_specular = 0.0
shadow_enabled = true
shadow_blur = 3.37
omni_range = 81.036
[node name="OmniLight3D3" type="OmniLight3D" parent="Lights"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.8882, 2.64266, -21.4101)
light_color = Color(0.7296, 0.9024, 0.96, 1)
light_energy = 2.0
light_specular = 0.0
shadow_enabled = true
shadow_blur = 3.37
omni_range = 81.036
[node name="OmniLight3D4" type="OmniLight3D" parent="Lights"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 11.9976, 2.64266, -21.4946)
light_color = Color(0.7296, 0.9024, 0.96, 1)
light_energy = 2.0
light_specular = 0.0
shadow_enabled = true
shadow_blur = 3.37
omni_range = 81.036
[node name="SpotLight3D2" type="SpotLight3D" parent="Lights"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, -0.512265, 7, 11.6343)
light_color = Color(0.7296, 0.9024, 0.96, 1)
light_energy = 10.618
light_specular = 0.0
shadow_enabled = true
shadow_blur = 3.37
spot_range = 12.0
spot_attenuation = 0.65
spot_angle = 16.6126
[node name="OmniLight3D9" type="OmniLight3D" parent="Lights"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.85245, -11.3064)
light_color = Color(0.7296, 0.9024, 0.96, 1)
light_energy = 2.0
light_specular = 0.0
shadow_enabled = true
shadow_blur = 3.37
omni_range = 81.036
[node name="SpotLight3D3" type="SpotLight3D" parent="Lights"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, -0.512265, 7, -10.9772)
light_color = Color(0.7296, 0.9024, 0.96, 1)
light_energy = 10.618
light_specular = 0.0
shadow_enabled = true
shadow_blur = 3.37
spot_range = 12.0
spot_attenuation = 0.65
spot_angle = 16.6126
[node name="VFX" type="Node3D" parent="."]
[node name="GPUParticles3D2" type="GPUParticles3D" parent="VFX"]
transform = Transform3D(0.804, 0, 0, 0, 0.247, 0, 0, 0, 1.267, -0.599395, 5.23328, 0.999428)
amount = 20
lifetime = 41.19
local_coords = true
process_material = SubResource("ParticleProcessMaterial_d5u83")
draw_pass_1 = SubResource("QuadMesh_kc65f")
[node name="FogVolume" type="FogVolume" parent="VFX"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 8.5, 10)
size = Vector3(6, 5, 8)
[node name="FogVolume2" type="FogVolume" parent="VFX"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 8.5, -10)
size = Vector3(6, 5, 8)
[node name="Altar Godrays2" type="CSGCylinder3D" parent="VFX"]
transform = Transform3D(20.185, 0, 0, 0, 20.1849, 0, 0, 0, 20.185, -0.404321, 2.32028, 11.3151)
radius = 0.243164
height = 0.610291
cone = true
material = SubResource("ShaderMaterial_d5u83")
[node name="Altar Godrays3" type="CSGCylinder3D" parent="VFX"]
transform = Transform3D(20.185, 0, 0, 0, 20.1849, 0, 0, 0, 20.185, -0.404321, 2.32028, -11.2964)
radius = 0.243164
height = 0.610291
cone = true
material = SubResource("ShaderMaterial_d5u83")
[node name="Audio" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.74288, 0)
[node name="Water 1" type="AudioStreamPlayer3D" parent="Audio"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.460612, -1.57167, 10.8585)
stream = ExtResource("5_18wua")
autoplay = true
max_distance = 45.0
max_polyphony = 2
bus = &"AMBIENT"
parameters/looping = true
[node name="Water 2" type="AudioStreamPlayer3D" parent="Audio"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.460612, -1.57167, -11.4033)
stream = ExtResource("5_18wua")
autoplay = true
max_distance = 45.0
max_polyphony = 2
bus = &"AMBIENT"
parameters/looping = true