94 lines
3.2 KiB
Plaintext
94 lines
3.2 KiB
Plaintext
[gd_scene load_steps=16 format=3 uid="uid://biq8bu0rbjfgd"]
|
|
|
|
[ext_resource type="Material" uid="uid://pjyvs328ew3u" path="res://resources/materials/projectiles/projectile_hit_effect_mat.tres" id="1_np8k7"]
|
|
[ext_resource type="Script" uid="uid://x3uft3uwakct" path="res://scripts/effects/particles_3d_self_destructing.gd" id="2_s3r8y"]
|
|
[ext_resource type="AudioStream" uid="uid://cpe1gkolkbwfb" path="res://assets/sfx/projectiles/projectile_destroy.wav" id="4_np8k7"]
|
|
[ext_resource type="Material" uid="uid://btoktsgqj62ei" path="res://resources/materials/projectiles/projectile_trail_mat.tres" id="4_pxkpg"]
|
|
|
|
[sub_resource type="Gradient" id="Gradient_3ys0p"]
|
|
offsets = PackedFloat32Array(0, 0.684211)
|
|
colors = PackedColorArray(1, 1, 1, 1, 0.964706, 0.788235, 0.215686, 1)
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_7o5ux"]
|
|
gradient = SubResource("Gradient_3ys0p")
|
|
|
|
[sub_resource type="Curve" id="Curve_wq63x"]
|
|
_limits = [0.0, 1.45, 0.0, 1.0]
|
|
_data = [Vector2(0, 0.258427), 0.0, 2.64045, 0, 0, Vector2(1, 1.27079), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_7kxpu"]
|
|
curve = SubResource("Curve_wq63x")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_j3t3l"]
|
|
angle_min = 1.07288e-05
|
|
angle_max = 360.0
|
|
gravity = Vector3(0, 0, 0)
|
|
scale_curve = SubResource("CurveTexture_7kxpu")
|
|
color_ramp = SubResource("GradientTexture1D_7o5ux")
|
|
anim_speed_min = 1.0
|
|
anim_speed_max = 1.0
|
|
|
|
[sub_resource type="PlaneMesh" id="PlaneMesh_a8d2p"]
|
|
material = ExtResource("1_np8k7")
|
|
size = Vector2(1, 1)
|
|
orientation = 2
|
|
|
|
[sub_resource type="Curve" id="Curve_7o5ux"]
|
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.99999, 0), -3.0367, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_ab42x"]
|
|
curve = SubResource("Curve_7o5ux")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_3ys0p"]
|
|
direction = Vector3(0, 0, -1)
|
|
spread = 180.0
|
|
initial_velocity_min = 10.0
|
|
initial_velocity_max = 15.0
|
|
gravity = Vector3(0, -6.165, 0)
|
|
damping_min = 20.0
|
|
damping_max = 40.0
|
|
scale_curve = SubResource("CurveTexture_ab42x")
|
|
color = Color(0.96, 0.78528, 0.2112, 1)
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_7o5ux"]
|
|
material = ExtResource("4_pxkpg")
|
|
size = Vector2(0.3, 0.3)
|
|
|
|
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_np8k7"]
|
|
random_pitch = 1.25
|
|
streams_count = 1
|
|
stream_0/stream = ExtResource("4_np8k7")
|
|
|
|
[node name="DestroyParticles" type="GPUParticles3D"]
|
|
layers = 64
|
|
emitting = false
|
|
amount = 1
|
|
lifetime = 0.5
|
|
one_shot = true
|
|
fixed_fps = 15
|
|
interpolate = false
|
|
process_material = SubResource("ParticleProcessMaterial_j3t3l")
|
|
draw_pass_1 = SubResource("PlaneMesh_a8d2p")
|
|
script = ExtResource("2_s3r8y")
|
|
|
|
[node name="DestroyParticlesDir" type="GPUParticles3D" parent="."]
|
|
layers = 64
|
|
emitting = false
|
|
lifetime = 0.5
|
|
one_shot = true
|
|
explosiveness = 1.0
|
|
fixed_fps = 15
|
|
interpolate = false
|
|
transform_align = 3
|
|
process_material = SubResource("ParticleProcessMaterial_3ys0p")
|
|
draw_pass_1 = SubResource("QuadMesh_7o5ux")
|
|
|
|
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
|
|
stream = SubResource("AudioStreamRandomizer_np8k7")
|
|
volume_db = -10.0
|
|
autoplay = true
|
|
bus = &"SFX"
|
|
attenuation_filter_cutoff_hz = 20500.0
|