43 lines
1.4 KiB
Plaintext
43 lines
1.4 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://ddqsts05d4e70"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/explosion.gd" id="1_5hwyy"]
|
|
[ext_resource type="Material" uid="uid://c6mmhwp5vwees" path="res://props/explosion/particles_explosion_base.tres" id="2_yjaj0"]
|
|
[ext_resource type="SphereMesh" uid="uid://24yblk8t3pi4" path="res://props/explosion/mesh_sphere.tres" id="3_3kd2q"]
|
|
[ext_resource type="AudioStream" uid="uid://cpa23bt6v6jnr" path="res://assets/audio/nuke.wav" id="4_xbcs4"]
|
|
|
|
[node name="Explosion" type="Node3D"]
|
|
script = ExtResource("1_5hwyy")
|
|
falloff_exponent = 2.0
|
|
impulse = 5000
|
|
radius = 10.0
|
|
rumble_amount = 25.0
|
|
|
|
[node name="GPUParticles3D" type="GPUParticles3D" parent="."]
|
|
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0)
|
|
amount = 100
|
|
explosiveness = 0.91
|
|
randomness = 0.06
|
|
process_material = ExtResource("2_yjaj0")
|
|
draw_pass_1 = ExtResource("3_3kd2q")
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
wait_time = 5.0
|
|
one_shot = true
|
|
autostart = true
|
|
|
|
[node name="blast" type="AudioStreamPlayer3D" parent="."]
|
|
stream = ExtResource("4_xbcs4")
|
|
autoplay = true
|
|
bus = &"Explosion"
|
|
|
|
[node name="light" type="OmniLight3D" parent="."]
|
|
light_color = Color(0.980392, 0.941176, 0.717647, 1)
|
|
light_energy = 16.0
|
|
light_indirect_energy = 2.0
|
|
light_specular = 2.0
|
|
light_bake_mode = 0
|
|
shadow_enabled = true
|
|
omni_range = 15.0
|
|
|
|
[connection signal="timeout" from="Timer" to="." method="queue_free"]
|