324 lines
11 KiB
Plaintext
324 lines
11 KiB
Plaintext
|
[gd_scene load_steps=40 format=3 uid="uid://dxx5weluccgya"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://autoload/FX/FX.gd" id="1_ldfqh"]
|
||
|
[ext_resource type="Script" path="res://autoload/FX/AudioFader.gd" id="3_bwgru"]
|
||
|
[ext_resource type="Script" path="res://autoload/FX/ScreenEffects.gd" id="4_jd1o5"]
|
||
|
[ext_resource type="Texture2D" uid="uid://dmseanrsg01ok" path="res://autoload/FX/raindrop.png" id="5_8axto"]
|
||
|
[ext_resource type="AudioStream" uid="uid://t2y240536hb2" path="res://audio/rain_level_5.ogg" id="6_haeoq"]
|
||
|
[ext_resource type="AudioStream" uid="uid://dskrc0ofdbnbl" path="res://audio/rain_level_4.ogg" id="7_2iy61"]
|
||
|
[ext_resource type="AudioStream" uid="uid://gmicbgcj2e2k" path="res://audio/rain_level_3.ogg" id="8_lfy4g"]
|
||
|
[ext_resource type="AudioStream" uid="uid://cvkmicogpj178" path="res://audio/rain_level_2.ogg" id="9_2qbks"]
|
||
|
[ext_resource type="AudioStream" uid="uid://bs25p8gni0x5t" path="res://audio/rain_level_1.ogg" id="10_6adpo"]
|
||
|
[ext_resource type="Texture2D" uid="uid://7wmyvvmuimdc" path="res://autoload/FX/snowflake.png" id="11_sgw8d"]
|
||
|
[ext_resource type="AudioStream" uid="uid://fs3rqrp3cn3b" path="res://audio/howling_wind.ogg" id="12_psxtx"]
|
||
|
[ext_resource type="AudioStream" uid="uid://clxqwer2sr55e" path="res://audio/thunder.ogg" id="13_t8dxt"]
|
||
|
[ext_resource type="Script" path="res://vfx/DirtCheapGlobalIlluminationSubstitute.gd" id="13_vl7no"]
|
||
|
|
||
|
[sub_resource type="Gradient" id="Gradient_l3i6v"]
|
||
|
colors = PackedColorArray(0, 0, 0, 0, 1, 1, 1, 0.752941)
|
||
|
|
||
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_xtwot"]
|
||
|
gradient = SubResource("Gradient_l3i6v")
|
||
|
|
||
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_qttjk"]
|
||
|
particle_flag_align_y = true
|
||
|
particle_flag_disable_z = true
|
||
|
emission_shape_offset = Vector3(0, -100, 0)
|
||
|
emission_shape_scale = Vector3(1920, 0, 1)
|
||
|
emission_shape = 3
|
||
|
emission_box_extents = Vector3(1, 0, 1)
|
||
|
direction = Vector3(0.5, 1, 0)
|
||
|
spread = 12.0
|
||
|
initial_velocity_min = 2000.0
|
||
|
initial_velocity_max = 2000.0
|
||
|
gravity = Vector3(0, 9.8, 0)
|
||
|
scale_max = 2.25
|
||
|
color_initial_ramp = SubResource("GradientTexture1D_xtwot")
|
||
|
turbulence_noise_strength = 0.03
|
||
|
turbulence_noise_scale = 1.0
|
||
|
|
||
|
[sub_resource type="Gradient" id="Gradient_nebjb"]
|
||
|
colors = PackedColorArray(0.2, 0.2, 0.2, 0, 1, 1, 1, 0.752941)
|
||
|
|
||
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_tsem6"]
|
||
|
gradient = SubResource("Gradient_nebjb")
|
||
|
|
||
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_0c0yi"]
|
||
|
particle_flag_align_y = true
|
||
|
particle_flag_disable_z = true
|
||
|
emission_shape_offset = Vector3(0, -100, 0)
|
||
|
emission_shape_scale = Vector3(1920, 0, 1)
|
||
|
emission_shape = 3
|
||
|
emission_box_extents = Vector3(1, 0, 1)
|
||
|
direction = Vector3(0.375, 1, 0)
|
||
|
spread = 9.0
|
||
|
initial_velocity_min = 2000.0
|
||
|
initial_velocity_max = 2000.0
|
||
|
gravity = Vector3(0, 9.8, 0)
|
||
|
scale_max = 2.0
|
||
|
color_initial_ramp = SubResource("GradientTexture1D_tsem6")
|
||
|
turbulence_noise_strength = 0.03
|
||
|
turbulence_noise_scale = 1.0
|
||
|
|
||
|
[sub_resource type="Gradient" id="Gradient_cwd2i"]
|
||
|
colors = PackedColorArray(0.4, 0.4, 0.4, 0, 1, 1, 1, 0.752941)
|
||
|
|
||
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_nugxo"]
|
||
|
gradient = SubResource("Gradient_cwd2i")
|
||
|
|
||
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_motdv"]
|
||
|
particle_flag_align_y = true
|
||
|
particle_flag_disable_z = true
|
||
|
emission_shape_offset = Vector3(0, -100, 0)
|
||
|
emission_shape_scale = Vector3(1920, 0, 1)
|
||
|
emission_shape = 3
|
||
|
emission_box_extents = Vector3(1, 0, 1)
|
||
|
direction = Vector3(0.25, 1, 0)
|
||
|
spread = 6.0
|
||
|
initial_velocity_min = 2000.0
|
||
|
initial_velocity_max = 2000.0
|
||
|
gravity = Vector3(0, 9.8, 0)
|
||
|
scale_max = 1.75
|
||
|
color_initial_ramp = SubResource("GradientTexture1D_nugxo")
|
||
|
turbulence_noise_strength = 0.03
|
||
|
turbulence_noise_scale = 1.0
|
||
|
|
||
|
[sub_resource type="Gradient" id="Gradient_ee5oi"]
|
||
|
colors = PackedColorArray(0.6, 0.6, 0.6, 0, 1, 1, 1, 0.752941)
|
||
|
|
||
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_7cx8a"]
|
||
|
gradient = SubResource("Gradient_ee5oi")
|
||
|
|
||
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_0ukn4"]
|
||
|
particle_flag_align_y = true
|
||
|
particle_flag_disable_z = true
|
||
|
emission_shape_offset = Vector3(0, -100, 0)
|
||
|
emission_shape_scale = Vector3(1920, 0, 1)
|
||
|
emission_shape = 3
|
||
|
emission_box_extents = Vector3(1, 0, 1)
|
||
|
direction = Vector3(0.125, 1, 0)
|
||
|
spread = 3.0
|
||
|
initial_velocity_min = 2000.0
|
||
|
initial_velocity_max = 2000.0
|
||
|
gravity = Vector3(0, 9.8, 0)
|
||
|
scale_max = 1.5
|
||
|
color_initial_ramp = SubResource("GradientTexture1D_7cx8a")
|
||
|
turbulence_noise_strength = 0.03
|
||
|
turbulence_noise_scale = 1.0
|
||
|
|
||
|
[sub_resource type="Gradient" id="Gradient_26033"]
|
||
|
colors = PackedColorArray(0.8, 0.8, 0.8, 0, 1, 1, 1, 0.752941)
|
||
|
|
||
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_y7mym"]
|
||
|
gradient = SubResource("Gradient_26033")
|
||
|
|
||
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_ry1i2"]
|
||
|
particle_flag_align_y = true
|
||
|
particle_flag_disable_z = true
|
||
|
emission_shape_offset = Vector3(0, -100, 0)
|
||
|
emission_shape_scale = Vector3(1920, 0, 1)
|
||
|
emission_shape = 3
|
||
|
emission_box_extents = Vector3(1, 0, 1)
|
||
|
direction = Vector3(0.063, 1, 0)
|
||
|
spread = 0.0
|
||
|
initial_velocity_min = 2000.0
|
||
|
initial_velocity_max = 2000.0
|
||
|
gravity = Vector3(0, 9.8, 0)
|
||
|
scale_max = 1.25
|
||
|
color_initial_ramp = SubResource("GradientTexture1D_y7mym")
|
||
|
turbulence_noise_strength = 0.03
|
||
|
turbulence_noise_scale = 1.0
|
||
|
|
||
|
[sub_resource type="Gradient" id="Gradient_n4wht"]
|
||
|
colors = PackedColorArray(0.5, 0.75, 1, 0, 1, 1, 1, 1)
|
||
|
|
||
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_xnwja"]
|
||
|
gradient = SubResource("Gradient_n4wht")
|
||
|
|
||
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_8vyvy"]
|
||
|
particle_flag_rotate_y = true
|
||
|
particle_flag_disable_z = true
|
||
|
emission_shape_offset = Vector3(0, -10, 0)
|
||
|
emission_shape_scale = Vector3(1920, 1, 1)
|
||
|
emission_shape = 3
|
||
|
emission_box_extents = Vector3(1, 0, 0)
|
||
|
angle_max = 360.0
|
||
|
direction = Vector3(1, 1, 0)
|
||
|
spread = 15.0
|
||
|
initial_velocity_min = 2500.0
|
||
|
initial_velocity_max = 2500.0
|
||
|
gravity = Vector3(0, 98, 0)
|
||
|
scale_min = 0.25
|
||
|
color_initial_ramp = SubResource("GradientTexture1D_xnwja")
|
||
|
turbulence_enabled = true
|
||
|
turbulence_influence_min = 0.02
|
||
|
turbulence_influence_max = 0.02
|
||
|
|
||
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_im7gl"]
|
||
|
particle_flag_rotate_y = true
|
||
|
particle_flag_disable_z = true
|
||
|
emission_shape_offset = Vector3(0, -10, 0)
|
||
|
emission_shape_scale = Vector3(1920, 1, 1)
|
||
|
emission_shape = 3
|
||
|
emission_box_extents = Vector3(1, 0, 0)
|
||
|
angle_max = 360.0
|
||
|
direction = Vector3(0, 1, 0)
|
||
|
spread = 30.0
|
||
|
initial_velocity_min = 250.0
|
||
|
initial_velocity_max = 500.0
|
||
|
gravity = Vector3(0, 98, 0)
|
||
|
scale_min = 0.25
|
||
|
color_initial_ramp = SubResource("GradientTexture1D_xnwja")
|
||
|
turbulence_enabled = true
|
||
|
turbulence_influence_min = 0.02
|
||
|
turbulence_influence_max = 0.05
|
||
|
|
||
|
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_tryxk"]
|
||
|
blend_mode = 3
|
||
|
|
||
|
[sub_resource type="Gradient" id="Gradient_xswk4"]
|
||
|
offsets = PackedFloat32Array(0)
|
||
|
colors = PackedColorArray(0, 0, 0, 1)
|
||
|
|
||
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_2himm"]
|
||
|
gradient = SubResource("Gradient_xswk4")
|
||
|
width = 1
|
||
|
|
||
|
[sub_resource type="Gradient" id="Gradient_elhjm"]
|
||
|
offsets = PackedFloat32Array(0)
|
||
|
colors = PackedColorArray(0, 0, 0, 1)
|
||
|
|
||
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_of5ni"]
|
||
|
gradient = SubResource("Gradient_elhjm")
|
||
|
width = 1
|
||
|
|
||
|
[sub_resource type="Gradient" id="Gradient_m3lwd"]
|
||
|
offsets = PackedFloat32Array(0)
|
||
|
colors = PackedColorArray(0, 0, 0, 1)
|
||
|
|
||
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_r12ss"]
|
||
|
gradient = SubResource("Gradient_m3lwd")
|
||
|
width = 1
|
||
|
|
||
|
[node name="FX" type="Node"]
|
||
|
process_mode = 3
|
||
|
script = ExtResource("1_ldfqh")
|
||
|
|
||
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||
|
bus = &"Music"
|
||
|
|
||
|
[node name="AudioFader" type="Node" parent="."]
|
||
|
script = ExtResource("3_bwgru")
|
||
|
|
||
|
[node name="ScreenEffects" type="CanvasLayer" parent="."]
|
||
|
process_mode = 3
|
||
|
follow_viewport_enabled = true
|
||
|
script = ExtResource("4_jd1o5")
|
||
|
|
||
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="ScreenEffects"]
|
||
|
transform = Transform3D(1, 0, 0, 0, -0.443134, 0.896456, 0, -0.896456, -0.443134, 0, 0, 0)
|
||
|
light_energy = 0.25
|
||
|
light_volumetric_fog_energy = 0.0
|
||
|
shadow_enabled = true
|
||
|
sky_mode = 1
|
||
|
|
||
|
[node name="Weather" type="Node2D" parent="ScreenEffects"]
|
||
|
position = Vector2(570, 0)
|
||
|
|
||
|
[node name="RainLevel5" type="GPUParticles2D" parent="ScreenEffects/Weather"]
|
||
|
emitting = false
|
||
|
amount = 768
|
||
|
process_material = SubResource("ParticleProcessMaterial_qttjk")
|
||
|
texture = ExtResource("5_8axto")
|
||
|
lifetime = 0.63
|
||
|
|
||
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="ScreenEffects/Weather/RainLevel5"]
|
||
|
stream = ExtResource("6_haeoq")
|
||
|
volume_db = -30.0
|
||
|
|
||
|
[node name="RainLevel4" type="GPUParticles2D" parent="ScreenEffects/Weather"]
|
||
|
emitting = false
|
||
|
amount = 512
|
||
|
process_material = SubResource("ParticleProcessMaterial_0c0yi")
|
||
|
texture = ExtResource("5_8axto")
|
||
|
lifetime = 0.63
|
||
|
|
||
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="ScreenEffects/Weather/RainLevel4"]
|
||
|
stream = ExtResource("7_2iy61")
|
||
|
volume_db = 24.0
|
||
|
|
||
|
[node name="RainLevel3" type="GPUParticles2D" parent="ScreenEffects/Weather"]
|
||
|
emitting = false
|
||
|
amount = 384
|
||
|
process_material = SubResource("ParticleProcessMaterial_motdv")
|
||
|
texture = ExtResource("5_8axto")
|
||
|
lifetime = 0.63
|
||
|
|
||
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="ScreenEffects/Weather/RainLevel3"]
|
||
|
stream = ExtResource("8_lfy4g")
|
||
|
volume_db = -30.0
|
||
|
|
||
|
[node name="RainLevel2" type="GPUParticles2D" parent="ScreenEffects/Weather"]
|
||
|
emitting = false
|
||
|
amount = 256
|
||
|
process_material = SubResource("ParticleProcessMaterial_0ukn4")
|
||
|
texture = ExtResource("5_8axto")
|
||
|
lifetime = 0.63
|
||
|
|
||
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="ScreenEffects/Weather/RainLevel2"]
|
||
|
stream = ExtResource("9_2qbks")
|
||
|
volume_db = -30.0
|
||
|
|
||
|
[node name="RainLevel1" type="GPUParticles2D" parent="ScreenEffects/Weather"]
|
||
|
emitting = false
|
||
|
amount = 128
|
||
|
process_material = SubResource("ParticleProcessMaterial_ry1i2")
|
||
|
texture = ExtResource("5_8axto")
|
||
|
lifetime = 0.63
|
||
|
|
||
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="ScreenEffects/Weather/RainLevel1"]
|
||
|
stream = ExtResource("10_6adpo")
|
||
|
volume_db = -30.0
|
||
|
|
||
|
[node name="SnowLevel2" type="GPUParticles2D" parent="ScreenEffects/Weather"]
|
||
|
emitting = false
|
||
|
amount = 512
|
||
|
process_material = SubResource("ParticleProcessMaterial_8vyvy")
|
||
|
texture = ExtResource("11_sgw8d")
|
||
|
|
||
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="ScreenEffects/Weather/SnowLevel2"]
|
||
|
stream = ExtResource("12_psxtx")
|
||
|
volume_db = -30.0
|
||
|
|
||
|
[node name="SnowLevel1" type="GPUParticles2D" parent="ScreenEffects/Weather"]
|
||
|
emitting = false
|
||
|
amount = 512
|
||
|
process_material = SubResource("ParticleProcessMaterial_im7gl")
|
||
|
texture = ExtResource("11_sgw8d")
|
||
|
lifetime = 12.0
|
||
|
|
||
|
[node name="Thunder" type="AudioStreamPlayer" parent="ScreenEffects/Weather"]
|
||
|
stream = ExtResource("13_t8dxt")
|
||
|
|
||
|
[node name="Tint" type="Sprite2D" parent="ScreenEffects"]
|
||
|
material = SubResource("CanvasItemMaterial_tryxk")
|
||
|
texture = SubResource("GradientTexture1D_2himm")
|
||
|
centered = false
|
||
|
|
||
|
[node name="Fade" type="Sprite2D" parent="ScreenEffects"]
|
||
|
texture = SubResource("GradientTexture1D_of5ni")
|
||
|
centered = false
|
||
|
|
||
|
[node name="Flash" type="Sprite2D" parent="ScreenEffects"]
|
||
|
texture = SubResource("GradientTexture1D_r12ss")
|
||
|
centered = false
|
||
|
|
||
|
[node name="DirtCheapGlobalIlluminationSubstitute" type="DirectionalLight3D" parent="ScreenEffects"]
|
||
|
transform = Transform3D(1, 0, 0, 0, -0.443134, 0.896456, 0, -0.896456, -0.443134, 0, 0, 0)
|
||
|
light_energy = 0.375
|
||
|
light_volumetric_fog_energy = 0.5
|
||
|
shadow_opacity = 0.75
|
||
|
directional_shadow_mode = 0
|
||
|
sky_mode = 1
|
||
|
script = ExtResource("13_vl7no")
|