144 lines
4.8 KiB
Plaintext
144 lines
4.8 KiB
Plaintext
[gd_scene load_steps=25 format=3 uid="uid://jmtp1qxxnyr2"]
|
|
|
|
[ext_resource type="Material" uid="uid://pjyvs328ew3u" path="res://resources/materials/projectiles/projectile_hit_effect_mat.tres" id="1_yxwtk"]
|
|
[ext_resource type="Material" uid="uid://sn3w7fpf2k0b" path="res://resources/materials/projectiles/projectile_hit_effect_sub_mat.tres" id="2_3ys0p"]
|
|
[ext_resource type="Script" uid="uid://x3uft3uwakct" path="res://scripts/effects/particles_3d_self_destructing.gd" id="2_7o5ux"]
|
|
[ext_resource type="Material" uid="uid://btoktsgqj62ei" path="res://resources/materials/projectiles/projectile_trail_mat.tres" id="4_7o5ux"]
|
|
|
|
[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"]
|
|
_data = [Vector2(0.00425532, 0.662921), 0.0, 1.13162, 0, 0, Vector2(1, 1), 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_yxwtk")
|
|
size = Vector2(1, 1)
|
|
orientation = 2
|
|
|
|
[sub_resource type="Curve" id="Curve_mp3hp"]
|
|
_data = [Vector2(0, 1), 0.0, -1.98034, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_eeh78"]
|
|
curve = SubResource("Curve_mp3hp")
|
|
|
|
[sub_resource type="Gradient" id="Gradient_ab42x"]
|
|
offsets = PackedFloat32Array(0, 0.578947)
|
|
colors = PackedColorArray(1, 1, 1, 1, 0.964706, 0.788235, 0.215686, 1)
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_5y8lm"]
|
|
gradient = SubResource("Gradient_ab42x")
|
|
|
|
[sub_resource type="Curve" id="Curve_7kxpu"]
|
|
_limits = [0.0, 2.55, 0.0, 1.0]
|
|
_data = [Vector2(0, 0.85955), 0.0, 0.177188, 0, 0, Vector2(1, 0.573034), 1.94907, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="Curve" id="Curve_vgwnf"]
|
|
_limits = [0.0, 1.9, 0.0, 1.0]
|
|
_data = [Vector2(0, 0), 0.0, 7.77612, 0, 0, Vector2(1, 1.70787), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="Curve" id="Curve_kaa5c"]
|
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="CurveXYZTexture" id="CurveXYZTexture_mp3hp"]
|
|
curve_x = SubResource("Curve_7kxpu")
|
|
curve_y = SubResource("Curve_vgwnf")
|
|
curve_z = SubResource("Curve_kaa5c")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_a8d2p"]
|
|
angle_min = 1.07288e-05
|
|
angle_max = 360.0
|
|
gravity = Vector3(0, 0, 0)
|
|
scale_curve = SubResource("CurveXYZTexture_mp3hp")
|
|
color_ramp = SubResource("GradientTexture1D_5y8lm")
|
|
alpha_curve = SubResource("CurveTexture_eeh78")
|
|
sub_emitter_mode = 4
|
|
sub_emitter_amount_at_start = 1
|
|
|
|
[sub_resource type="PlaneMesh" id="PlaneMesh_wq63x"]
|
|
material = ExtResource("2_3ys0p")
|
|
size = Vector2(0.35, 2)
|
|
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"]
|
|
emission_shape = 1
|
|
emission_sphere_radius = 0.5
|
|
direction = Vector3(0, 0, -1)
|
|
spread = 0.0
|
|
initial_velocity_min = 10.0
|
|
initial_velocity_max = 20.0
|
|
gravity = Vector3(0, 0, 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_7o5ux")
|
|
size = Vector2(0.3, 0.3)
|
|
|
|
[node name="HitParticles" 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_7o5ux")
|
|
|
|
[node name="HitParticlesSub" type="GPUParticles3D" parent="."]
|
|
layers = 64
|
|
emitting = false
|
|
amount = 2
|
|
lifetime = 0.4
|
|
one_shot = true
|
|
explosiveness = 1.0
|
|
fixed_fps = 15
|
|
interpolate = false
|
|
process_material = SubResource("ParticleProcessMaterial_a8d2p")
|
|
draw_pass_1 = SubResource("PlaneMesh_wq63x")
|
|
|
|
[node name="HitParticlesDir" type="GPUParticles3D" parent="."]
|
|
layers = 64
|
|
emitting = false
|
|
amount = 4
|
|
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")
|