Chelimbalo/weapons/gun/bullet_hole.tscn
2025-12-21 13:31:12 +05:00

35 lines
1.1 KiB
Text

[gd_scene load_steps=3 format=3 uid="uid://u8aj6fs32ql6"]
[ext_resource type="Texture2D" uid="uid://djb2h4sf42nqq" path="res://assets/textures/bullet_hole.png" id="1_wpexx"]
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_wpexx"]
properties/0/path = NodePath(".:position")
properties/0/spawn = true
properties/0/replication_mode = 1
properties/1/path = NodePath(".:rotation")
properties/1/spawn = true
properties/1/replication_mode = 1
[node name="BulletHole" type="Decal"]
layers = 4
size = Vector3(0.25, 0.5, 0.25)
texture_albedo = ExtResource("1_wpexx")
[node name="Timer" type="Timer" parent="."]
process_mode = 3
wait_time = 60.0
one_shot = true
autostart = true
ignore_time_scale = true
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
replication_config = SubResource("SceneReplicationConfig_wpexx")
[node name="Timer2" type="Timer" parent="."]
wait_time = 0.06
one_shot = true
autostart = true
ignore_time_scale = true
[connection signal="timeout" from="Timer" to="." method="queue_free"]
[connection signal="timeout" from="Timer2" to="MultiplayerSynchronizer" method="queue_free"]