pellet spread, bulletholes and balance fixes
This commit is contained in:
parent
eabc137ce8
commit
74e37f8a18
17 changed files with 261 additions and 72 deletions
27
weapons/gun/bullet_hole.tscn
Normal file
27
weapons/gun/bullet_hole.tscn
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://u8aj6fs32ql6"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://djb2h4sf42nqq" path="res://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"]
|
||||
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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue