more tweaks to breakable vent and barrel can now explode

This commit is contained in:
derek
2024-12-12 16:15:01 -06:00
parent 763b074148
commit 78dc14b84f
15 changed files with 297 additions and 104 deletions

View File

@@ -1,7 +1,7 @@
[gd_scene load_steps=9 format=3 uid="uid://6p7d7txcox7i"]
[gd_scene load_steps=10 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"]
[ext_resource type="AudioStream" uid="uid://6b5gg8b0p8k8" path="res://assets/Audio/Weapons/explosion-blast-SBA-300083684.wav" id="2_rbypu"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_e1gej"]
albedo_color = Color(0.586219, 0.0370184, 0.140967, 1)
@@ -32,6 +32,11 @@ hue_variation_curve = SubResource("CurveTexture_7652j")
[sub_resource type="Skin" id="Skin_v2ayh"]
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_e1p15"]
random_pitch = 1.2
streams_count = 1
stream_0/stream = ExtResource("2_rbypu")
[node name="rocketexplosion" type="Node3D" node_paths=PackedStringArray("audio_explode")]
script = ExtResource("1_ssw3i")
audio_explode = NodePath("Audio/Explosion")
@@ -54,5 +59,5 @@ draw_skin = SubResource("Skin_v2ayh")
[node name="Audio" type="Node3D" parent="."]
[node name="Explosion" type="AudioStreamPlayer3D" parent="Audio"]
stream = ExtResource("2_thnqf")
stream = SubResource("AudioStreamRandomizer_e1p15")
volume_db = 10.0