1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- [gd_scene load_steps=7 format=3 uid="uid://byqa5t4adtjpf"]
- [ext_resource type="Script" path="res://entities/BombExplosion.gd" id="1_mglhi"]
- [ext_resource type="AudioStream" uid="uid://vitxxhsbxg3t" path="res://sfx/ncl_barrel_explode.ogg" id="2_0hpyx"]
- [ext_resource type="AudioStream" uid="uid://bprlrviwaya4t" path="res://sfx/ncl_bomb_explode_3.ogg" id="2_jkswn"]
- [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="BombExplosion" type="Area3D"]
- collision_layer = 0
- collision_mask = 38
- script = ExtResource("1_mglhi")
- [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.45
- autostart = true
- [node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
- stream = ExtResource("2_0hpyx")
- attenuation_model = 3
- volume_db = -1.901
- [node name="AudioStreamPlayer3D2" type="AudioStreamPlayer3D" parent="."]
- stream = ExtResource("2_jkswn")
- attenuation_model = 3
- volume_db = 2.169
- pitch_scale = 2.34
- autoplay = true
- [connection signal="body_entered" from="." to="." method="_on_Explosion_body_entered"]
- [connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
|