2025-07-07 14:26:27 -06:00
|
|
|
[gd_scene load_steps=33 format=3 uid="uid://xlt78xc1tmkl"]
|
2025-03-12 00:18:27 -06:00
|
|
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cgwgmxwjgwbwr" path="res://assets/particles/splatter_2.png" id="1_5xu2x"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bhoai6xv53tqm" path="res://assets/particles/splatter_1.png" id="2_bt63p"]
|
2025-04-20 00:23:41 -06:00
|
|
|
[ext_resource type="Script" uid="uid://di5b65ehsfatj" path="res://src/effects/grunk_splatter/grunk_splatter.gd" id="2_grvat"]
|
2025-08-28 10:42:36 -06:00
|
|
|
[ext_resource type="AudioStream" uid="uid://dcjt0re7onrvk" path="res://assets/sfx/grunk/grunk_collection_squelch_1_v2.wav" id="4_opa8j"]
|
2025-04-04 15:39:14 -06:00
|
|
|
[ext_resource type="Script" uid="uid://c5o1d2shq2qig" path="res://src/world/game_sound/game_sound_emitter.gd" id="5_2iem1"]
|
2025-08-28 10:42:36 -06:00
|
|
|
[ext_resource type="AudioStream" uid="uid://dyokb48axh7tw" path="res://assets/sfx/grunk/grunk_collection_squelch_3_v2.wav" id="5_m7td0"]
|
2025-07-12 13:04:25 -06:00
|
|
|
[ext_resource type="PackedScene" uid="uid://c3iv00vmdqxp0" path="res://src/effects/grunk_dust/grunk_dust.tscn" id="7_opa8j"]
|
2025-03-12 00:18:27 -06:00
|
|
|
|
|
|
|
[sub_resource type="Gradient" id="Gradient_5xu2x"]
|
|
|
|
offsets = PackedFloat32Array(0, 0.291304, 0.526087, 1)
|
|
|
|
colors = PackedColorArray(2, 2, 2, 1, 0, 0.101961, 0.301961, 1, 0, 0.0313726, 0.101961, 1, 0, 0, 0, 0)
|
|
|
|
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_bt63p"]
|
|
|
|
gradient = SubResource("Gradient_5xu2x")
|
|
|
|
use_hdr = true
|
|
|
|
|
|
|
|
[sub_resource type="Curve" id="Curve_y6klh"]
|
|
|
|
_data = [Vector2(0.148438, 0.19687), 0.0, 0.0, 0, 0, Vector2(0.339844, 1), 0.0, 0.0, 0, 0]
|
|
|
|
point_count = 2
|
|
|
|
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_t00bd"]
|
|
|
|
curve = SubResource("Curve_y6klh")
|
|
|
|
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_5xu2x"]
|
2025-04-20 00:23:41 -06:00
|
|
|
resource_local_to_scene = true
|
2025-03-12 00:18:27 -06:00
|
|
|
lifetime_randomness = 0.57
|
2025-03-13 12:37:33 -06:00
|
|
|
emission_shape = 1
|
|
|
|
emission_sphere_radius = 1.0
|
2025-03-12 00:18:27 -06:00
|
|
|
angle_min = 1.07288e-05
|
|
|
|
angle_max = 360.0
|
|
|
|
direction = Vector3(0, 0, 0)
|
|
|
|
spread = 180.0
|
|
|
|
initial_velocity_min = 8.0
|
|
|
|
initial_velocity_max = 8.0
|
2025-07-07 13:59:45 -06:00
|
|
|
attractor_interaction_enabled = false
|
2025-03-12 00:18:27 -06:00
|
|
|
scale_curve = SubResource("CurveTexture_t00bd")
|
|
|
|
color_ramp = SubResource("GradientTexture1D_bt63p")
|
|
|
|
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_bt63p"]
|
|
|
|
transparency = 1
|
|
|
|
vertex_color_use_as_albedo = true
|
|
|
|
albedo_texture = ExtResource("1_5xu2x")
|
|
|
|
texture_filter = 2
|
|
|
|
billboard_mode = 3
|
|
|
|
billboard_keep_scale = true
|
|
|
|
particles_anim_h_frames = 1
|
|
|
|
particles_anim_v_frames = 1
|
|
|
|
particles_anim_loop = false
|
|
|
|
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_y6klh"]
|
|
|
|
material = SubResource("StandardMaterial3D_bt63p")
|
|
|
|
size = Vector2(0.5, 0.5)
|
|
|
|
|
|
|
|
[sub_resource type="Curve" id="Curve_bt63p"]
|
|
|
|
_limits = [0.0, 0.7, 0.0, 1.0]
|
|
|
|
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.199219, 0.7), -0.414907, -0.414907, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
|
|
|
point_count = 3
|
|
|
|
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_2iem1"]
|
|
|
|
curve = SubResource("Curve_bt63p")
|
|
|
|
|
|
|
|
[sub_resource type="Curve" id="Curve_t00bd"]
|
|
|
|
_data = [Vector2(0, 0), 0.0, 1.334, 0, 0, Vector2(1, 1), -0.0498424, 0.0, 0, 0]
|
|
|
|
point_count = 2
|
|
|
|
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_72g1e"]
|
|
|
|
curve = SubResource("Curve_t00bd")
|
|
|
|
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_2iem1"]
|
2025-04-20 00:23:41 -06:00
|
|
|
resource_local_to_scene = true
|
2025-03-12 00:18:27 -06:00
|
|
|
lifetime_randomness = 0.55
|
|
|
|
emission_shape = 1
|
|
|
|
emission_sphere_radius = 0.9
|
|
|
|
angle_min = 1.07288e-05
|
|
|
|
angle_max = 360.0
|
|
|
|
direction = Vector3(0, 1, 0)
|
|
|
|
spread = 0.0
|
|
|
|
initial_velocity_max = 0.05
|
|
|
|
gravity = Vector3(0, -0.3, 0)
|
2025-07-07 13:59:45 -06:00
|
|
|
attractor_interaction_enabled = false
|
2025-03-12 00:18:27 -06:00
|
|
|
scale_curve = SubResource("CurveTexture_72g1e")
|
|
|
|
color = Color(0.9, 0.983333, 1, 1)
|
|
|
|
alpha_curve = SubResource("CurveTexture_2iem1")
|
|
|
|
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ckw5w"]
|
|
|
|
transparency = 1
|
|
|
|
vertex_color_use_as_albedo = true
|
|
|
|
albedo_texture = ExtResource("2_bt63p")
|
|
|
|
texture_filter = 2
|
|
|
|
billboard_mode = 3
|
|
|
|
billboard_keep_scale = true
|
|
|
|
particles_anim_h_frames = 1
|
|
|
|
particles_anim_v_frames = 1
|
|
|
|
particles_anim_loop = false
|
|
|
|
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_6adkd"]
|
|
|
|
material = SubResource("StandardMaterial3D_ckw5w")
|
|
|
|
size = Vector2(2, 2)
|
|
|
|
|
2025-04-02 22:09:02 -06:00
|
|
|
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_6adkd"]
|
|
|
|
playback_mode = 1
|
|
|
|
random_pitch = 1.2
|
|
|
|
streams_count = 2
|
2025-08-28 10:42:36 -06:00
|
|
|
stream_0/stream = ExtResource("4_opa8j")
|
|
|
|
stream_1/stream = ExtResource("5_m7td0")
|
2025-04-02 22:09:02 -06:00
|
|
|
|
2025-04-04 15:39:14 -06:00
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_6adkd"]
|
|
|
|
radius = 2.0
|
|
|
|
|
2025-07-07 14:26:27 -06:00
|
|
|
[sub_resource type="Gradient" id="Gradient_o6g24"]
|
|
|
|
offsets = PackedFloat32Array(0, 0.376344)
|
|
|
|
colors = PackedColorArray(0, 0.101961, 0.301961, 1, 0, 0.015, 0.05, 1)
|
|
|
|
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_mlqhf"]
|
|
|
|
gradient = SubResource("Gradient_o6g24")
|
|
|
|
|
|
|
|
[sub_resource type="Curve" id="Curve_pjcdo"]
|
|
|
|
_limits = [0.0, 12.0, 0.0, 1.0]
|
|
|
|
_data = [Vector2(0, 12), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
|
|
|
point_count = 2
|
|
|
|
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_opa8j"]
|
|
|
|
curve = SubResource("Curve_pjcdo")
|
|
|
|
|
|
|
|
[sub_resource type="Curve" id="Curve_smx5b"]
|
|
|
|
_limits = [0.0, 6.0, 0.0, 1.0]
|
|
|
|
_data = [Vector2(0, 6), 0.0, 0.0, 0, 0, Vector2(0.252459, 0), 0.0, 0.0, 0, 0]
|
|
|
|
point_count = 2
|
|
|
|
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_rbbah"]
|
|
|
|
curve = SubResource("Curve_smx5b")
|
|
|
|
|
|
|
|
[sub_resource type="Curve" id="Curve_opa8j"]
|
|
|
|
_limits = [0.0, 4.0, 0.0, 1.0]
|
|
|
|
_data = [Vector2(0, 4), 0.0, 0.0, 0, 0, Vector2(0.333, 1), 0.0, 0.0, 0, 0]
|
|
|
|
point_count = 2
|
|
|
|
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_m7td0"]
|
|
|
|
curve = SubResource("Curve_opa8j")
|
|
|
|
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_opa8j"]
|
2025-08-16 17:45:35 -06:00
|
|
|
lifetime_randomness = 0.5
|
2025-07-07 14:26:27 -06:00
|
|
|
angle_min = -184.7
|
|
|
|
angle_max = 239.3
|
|
|
|
direction = Vector3(0, 0, -1)
|
2025-08-16 17:45:35 -06:00
|
|
|
spread = 180.0
|
|
|
|
initial_velocity_min = 4.0
|
2025-07-07 14:26:27 -06:00
|
|
|
initial_velocity_max = 5.0
|
|
|
|
angular_velocity_min = -360.0
|
|
|
|
angular_velocity_max = 360.0
|
|
|
|
gravity = Vector3(0, -1, 0)
|
|
|
|
damping_min = 1.0
|
|
|
|
damping_max = 1.0
|
|
|
|
damping_curve = SubResource("CurveTexture_opa8j")
|
|
|
|
scale_min = 0.8
|
|
|
|
scale_curve = SubResource("CurveTexture_m7td0")
|
|
|
|
color_ramp = SubResource("GradientTexture1D_mlqhf")
|
|
|
|
emission_curve = SubResource("CurveTexture_rbbah")
|
|
|
|
hue_variation_min = -2.23517e-08
|
|
|
|
hue_variation_max = 0.00999998
|
|
|
|
collision_mode = 2
|
|
|
|
|
2025-03-12 00:18:27 -06:00
|
|
|
[node name="GrunkSplatter" type="GPUParticles3D"]
|
2025-03-12 15:55:47 -06:00
|
|
|
sorting_offset = 9.0
|
2025-03-13 12:37:33 -06:00
|
|
|
amount = 64
|
2025-03-12 00:18:27 -06:00
|
|
|
lifetime = 0.3
|
2025-04-03 16:21:25 -06:00
|
|
|
one_shot = true
|
2025-03-12 10:29:31 -06:00
|
|
|
explosiveness = 0.45
|
2025-03-12 00:18:27 -06:00
|
|
|
process_material = SubResource("ParticleProcessMaterial_5xu2x")
|
|
|
|
draw_pass_1 = SubResource("QuadMesh_y6klh")
|
2025-04-20 00:23:41 -06:00
|
|
|
script = ExtResource("2_grvat")
|
2025-03-12 00:18:27 -06:00
|
|
|
|
|
|
|
[node name="SubSplatter" type="GPUParticles3D" parent="."]
|
2025-04-20 00:23:41 -06:00
|
|
|
unique_name_in_owner = true
|
2025-03-12 15:55:47 -06:00
|
|
|
sorting_offset = 9.0
|
2025-03-12 00:18:27 -06:00
|
|
|
amount = 4
|
|
|
|
lifetime = 0.3
|
2025-04-03 16:21:25 -06:00
|
|
|
one_shot = true
|
2025-03-12 10:29:31 -06:00
|
|
|
explosiveness = 0.63
|
2025-03-12 00:18:27 -06:00
|
|
|
interpolate = false
|
|
|
|
fract_delta = false
|
|
|
|
process_material = SubResource("ParticleProcessMaterial_2iem1")
|
|
|
|
draw_pass_1 = SubResource("QuadMesh_6adkd")
|
|
|
|
|
|
|
|
[node name="FreeTimer" type="Timer" parent="."]
|
2025-04-03 16:21:25 -06:00
|
|
|
wait_time = 3.0
|
2025-03-12 00:18:27 -06:00
|
|
|
one_shot = true
|
|
|
|
autostart = true
|
|
|
|
|
2025-04-02 22:09:02 -06:00
|
|
|
[node name="SplatterSFX" type="AudioStreamPlayer3D" parent="."]
|
2025-04-20 00:23:41 -06:00
|
|
|
unique_name_in_owner = true
|
2025-04-02 22:09:02 -06:00
|
|
|
stream = SubResource("AudioStreamRandomizer_6adkd")
|
|
|
|
autoplay = true
|
|
|
|
bus = &"SFX"
|
|
|
|
|
2025-04-04 15:39:14 -06:00
|
|
|
[node name="SplatterSoundEmitter" type="Area3D" parent="."]
|
|
|
|
collision_layer = 0
|
|
|
|
collision_mask = 16
|
|
|
|
script = ExtResource("5_2iem1")
|
|
|
|
metadata/_custom_type_script = "uid://c5o1d2shq2qig"
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="SplatterSoundEmitter"]
|
|
|
|
shape = SubResource("SphereShape3D_6adkd")
|
|
|
|
|
2025-07-12 13:04:25 -06:00
|
|
|
[node name="GrunkDust" parent="." instance=ExtResource("7_opa8j")]
|
2025-07-07 14:26:27 -06:00
|
|
|
unique_name_in_owner = true
|
|
|
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0)
|
2025-08-16 17:45:35 -06:00
|
|
|
amount = 512
|
2025-07-07 14:26:27 -06:00
|
|
|
lifetime = 1.2
|
|
|
|
one_shot = true
|
|
|
|
explosiveness = 0.9
|
2025-08-16 17:45:35 -06:00
|
|
|
randomness = 1.0
|
2025-07-07 14:26:27 -06:00
|
|
|
process_material = SubResource("ParticleProcessMaterial_opa8j")
|
|
|
|
|
2025-04-03 16:21:25 -06:00
|
|
|
[connection signal="ready" from="." to="SplatterSFX" method="play"]
|
2025-04-04 15:39:14 -06:00
|
|
|
[connection signal="ready" from="." to="SplatterSoundEmitter" method="emit_sound_here"]
|
2025-04-03 16:21:25 -06:00
|
|
|
[connection signal="ready" from="." to="." method="set_emitting" binds= [true]]
|
|
|
|
[connection signal="ready" from="." to="SubSplatter" method="set_emitting" binds= [true]]
|
2025-07-12 13:04:25 -06:00
|
|
|
[connection signal="ready" from="." to="GrunkDust" method="set_emitting" binds= [true]]
|
2025-03-12 00:18:27 -06:00
|
|
|
[connection signal="timeout" from="FreeTimer" to="." method="queue_free"]
|