[gd_scene load_steps=8 format=3 uid="uid://crvohhc6kgshn"] [ext_resource type="Script" path="res://scripts/bullet_hole.gd" id="1_r63bq"] [ext_resource type="Texture2D" uid="uid://clj3jr8fnrut4" path="res://assets/Textures/bulletholeMASK.png" id="2_4q4gp"] [ext_resource type="Texture2D" uid="uid://c03mwq2gxs7u0" path="res://assets/Textures/bullethole.normal.png" id="2_s81sk"] [ext_resource type="AudioStream" uid="uid://bftxcv3m2y8qm" path="res://assets/Audio/Weapons/bullet-fly-by-impact-metal-SBA-300114994.wav" id="4_p3syg"] [sub_resource type="PlaneMesh" id="PlaneMesh_rv5u3"] size = Vector2(0.1, 0.1) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_y0mpl"] transparency = 2 alpha_scissor_threshold = 0.454 alpha_antialiasing_mode = 0 blend_mode = 3 albedo_texture = ExtResource("2_4q4gp") metallic_specular = 0.0 normal_enabled = true normal_scale = 16.0 normal_texture = ExtResource("2_s81sk") [sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_tvxaj"] random_pitch = 1.1 random_volume_offset_db = 1.0 streams_count = 1 stream_0/stream = ExtResource("4_p3syg") [node name="BulletHole" type="Node3D" groups=["spawned"]] script = ExtResource("1_r63bq") [node name="MeshInstance3D" type="MeshInstance3D" parent="."] transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, -0.00441801) mesh = SubResource("PlaneMesh_rv5u3") surface_material_override/0 = SubResource("StandardMaterial3D_y0mpl") [node name="Timer" type="Timer" parent="."] wait_time = 60.0 [node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."] stream = SubResource("AudioStreamRandomizer_tvxaj") autoplay = true [connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]