123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- [gd_scene load_steps=7 format=3 uid="uid://egs8pukr0j5m"]
- [ext_resource type="Script" path="res://entities/Explosion.gd" id="1_l7pou"]
- [ext_resource type="AudioStream" uid="uid://vitxxhsbxg3t" path="res://sfx/ncl_barrel_explode.ogg" id="2_3dpp0"]
- [ext_resource type="AudioStream" uid="uid://bprlrviwaya4t" path="res://sfx/ncl_bomb_explode_3.ogg" id="3_wl1uf"]
- [sub_resource type="BoxShape3D" id="BoxShape3D_3v0ip"]
- size = Vector3(6, 4, 6)
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rmy62"]
- transparency = 1
- albedo_color = Color(0.188235, 0.156863, 0.137255, 0.729412)
- [sub_resource type="SphereMesh" id="SphereMesh_u8hby"]
- material = SubResource("StandardMaterial3D_rmy62")
- radius = 3.0
- [node name="Explosion" type="Area3D"]
- collision_layer = 0
- collision_mask = 38
- script = ExtResource("1_l7pou")
- [node name="CollisionShape3D" type="CollisionShape3D" parent="."]
- shape = SubResource("BoxShape3D_3v0ip")
- [node name="MeshInstance3D" type="MeshInstance3D" parent="."]
- mesh = SubResource("SphereMesh_u8hby")
- [node name="Timer" type="Timer" parent="."]
- wait_time = 0.3
- autostart = true
- [node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
- stream = ExtResource("2_3dpp0")
- attenuation_model = 3
- autoplay = true
- [node name="AudioStreamPlayer3D2" type="AudioStreamPlayer3D" parent="."]
- stream = ExtResource("3_wl1uf")
- attenuation_model = 3
- autoplay = true
- [connection signal="body_entered" from="." to="." method="_on_Explosion_body_entered"]
- [connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
|