28 lines
937 B
Text
28 lines
937 B
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")
|
|
|
|
[connection signal="timeout" from="Timer" to="." method="queue_free"]
|