60 lines
1.9 KiB
Plaintext
60 lines
1.9 KiB
Plaintext
[gd_scene load_steps=9 format=3 uid="uid://6p7d7txcox7i"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/die_particles.gd" id="1_ssw3i"]
|
|
[ext_resource type="AudioStream" uid="uid://bw7biwaysbxik" path="res://assets/Audio/explosion-1-SBA-300286280.wav" id="2_thnqf"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_e1gej"]
|
|
albedo_color = Color(0.586219, 0.0370184, 0.140967, 1)
|
|
emission_enabled = true
|
|
emission = Color(0.941176, 0, 0, 1)
|
|
emission_energy_multiplier = 8.0
|
|
|
|
[sub_resource type="Curve" id="Curve_741s1"]
|
|
min_value = -1.0
|
|
_data = [Vector2(0, -1), 0.0, 0.0, 0, 0, Vector2(1, 1), 2.8, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_7652j"]
|
|
curve = SubResource("Curve_741s1")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_evi0f"]
|
|
inherit_velocity_ratio = 1.0
|
|
direction = Vector3(0, 1, 0)
|
|
spread = 66.739
|
|
initial_velocity_min = 10.0
|
|
initial_velocity_max = 15.0
|
|
scale_min = 0.1
|
|
scale_max = 0.3
|
|
hue_variation_min = 0.1
|
|
hue_variation_max = 0.2
|
|
hue_variation_curve = SubResource("CurveTexture_7652j")
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_rsjsy"]
|
|
|
|
[sub_resource type="Skin" id="Skin_v2ayh"]
|
|
|
|
[node name="rocketexplosion" type="Node3D" node_paths=PackedStringArray("audio_explode")]
|
|
script = ExtResource("1_ssw3i")
|
|
audio_explode = NodePath("Audio/Explosion")
|
|
|
|
[node name="dieParticles" type="GPUParticles3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.17952, 0)
|
|
material_override = SubResource("StandardMaterial3D_e1gej")
|
|
cast_shadow = 0
|
|
emitting = false
|
|
amount = 250
|
|
lifetime = 5.0
|
|
one_shot = true
|
|
explosiveness = 1.0
|
|
trail_enabled = true
|
|
trail_lifetime = 3.2
|
|
process_material = SubResource("ParticleProcessMaterial_evi0f")
|
|
draw_pass_1 = SubResource("BoxMesh_rsjsy")
|
|
draw_skin = SubResource("Skin_v2ayh")
|
|
|
|
[node name="Audio" type="Node3D" parent="."]
|
|
|
|
[node name="Explosion" type="AudioStreamPlayer3D" parent="Audio"]
|
|
stream = ExtResource("2_thnqf")
|
|
volume_db = 10.0
|