[gd_scene format=3 uid="uid://mi0hwb80ud8h"]

[ext_resource type="Script" uid="uid://lhn14psdj7hr" path="res://entities/alien/alien_death_effect/alien_death_effect.gd" id="1_vt2i7"]
[ext_resource type="ArrayMesh" uid="uid://667gyf6p35nw" path="res://entities/alien/assets/3d/alien_part.tres" id="2_on0xa"]

[sub_resource type="Gradient" id="Gradient_t4u1q"]
offsets = PackedFloat32Array(0, 0.8219697, 1)
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0)

[sub_resource type="GradientTexture1D" id="GradientTexture1D_p1u0y"]
gradient = SubResource("Gradient_t4u1q")

[sub_resource type="Curve" id="Curve_p83er"]
_data = [Vector2(0, 0), 0.0, 2.7057414, 0, 0, Vector2(0.8, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
point_count = 3

[sub_resource type="CurveTexture" id="CurveTexture_3gngh"]
curve = SubResource("Curve_p83er")

[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_g4v7s"]
lifetime_randomness = 0.5
angle_min = 1.0728835e-05
angle_max = 1.0728835e-05
direction = Vector3(0, 1, 0)
spread = 114.231
initial_velocity_min = 2.0
initial_velocity_max = 3.0
radial_velocity_min = -2.2351742e-05
radial_velocity_max = 0.39997762
gravity = Vector3(0, 0, 0)
use_scale_3d = true
scale_3d_min = Vector3(1, 1, 1)
scale_3d_max = Vector3(1, 1, 1)
scale_min = 0.5
scale_max = 0.5
scale_curve = SubResource("CurveTexture_3gngh")
color_ramp = SubResource("GradientTexture1D_p1u0y")
hue_variation_min = -2.2351742e-08
hue_variation_max = 0.09999997

[sub_resource type="Gradient" id="Gradient_d6cdn"]
interpolation_mode = 1
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0)

[sub_resource type="GradientTexture2D" id="GradientTexture2D_fcnqv"]
gradient = SubResource("Gradient_d6cdn")
fill = 1
fill_from = Vector2(0.5, 0.5)
fill_to = Vector2(1, 0.5)

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_57qmd"]
transparency = 1
shading_mode = 0
vertex_color_use_as_albedo = true
albedo_color = Color(0.73333335, 0.6156863, 0.69803923, 1)
albedo_texture = SubResource("GradientTexture2D_fcnqv")
billboard_mode = 1
billboard_keep_scale = true

[sub_resource type="QuadMesh" id="QuadMesh_yf5fn"]
material = SubResource("StandardMaterial3D_57qmd")

[sub_resource type="Curve" id="Curve_kxalf"]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.8793103, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
point_count = 3

[sub_resource type="CurveTexture" id="CurveTexture_fcnqv"]
curve = SubResource("Curve_kxalf")

[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_emcji"]
lifetime_randomness = 0.5
angle_min = 1.0728835e-05
angle_max = 1.0728835e-05
use_rotation_3d = true
rotation_3d_min = Vector3(0, 0, 0)
rotation_3d_max = Vector3(360, 360, 360)
inherit_velocity_ratio = 1.0
direction = Vector3(0, 1, 0)
spread = 33.462
initial_velocity_min = 4.0
initial_velocity_max = 6.0
radial_velocity_min = -2.2351742e-05
radial_velocity_max = 0.39997762
gravity = Vector3(0, -9.1, 0)
scale_min = 0.59999996
scale_curve = SubResource("CurveTexture_fcnqv")
collision_mode = 1
collision_friction = 1.0
collision_bounce = 0.5

[node name="AlienDeathEffect" type="Node3D" unique_id=1248383251]
script = ExtResource("1_vt2i7")

[node name="ExplosionGPUParticles3D" type="GPUParticles3D" parent="." unique_id=416874722]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.2686481, -0.70010376)
emitting = false
amount = 20
one_shot = true
speed_scale = 3.0
explosiveness = 1.0
local_coords = true
process_material = SubResource("ParticleProcessMaterial_g4v7s")
draw_pass_1 = SubResource("QuadMesh_yf5fn")

[node name="CorpseGPUParticles3D" type="GPUParticles3D" parent="." unique_id=810474087]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.2686481, -0.70010376)
emitting = false
amount = 5
lifetime = 10.0
one_shot = true
speed_scale = 2.0
explosiveness = 1.0
local_coords = true
process_material = SubResource("ParticleProcessMaterial_emcji")
draw_pass_1 = ExtResource("2_on0xa")

[node name="GPUParticlesCollisionBox3D" type="GPUParticlesCollisionBox3D" parent="." unique_id=813937432]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
size = Vector3(12, 2, 12)
