updated to godot 4.6
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://b7nargdyg28fj"]
|
||||
[gd_scene format=3 uid="uid://b7nargdyg28fj"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://blh4s3v07ycwa" path="res://Scripts/Weapons/weapon.gd" id="1_yo2gh"]
|
||||
|
||||
@@ -39,27 +39,25 @@ _data = {
|
||||
&"shoot": SubResource("Animation_0rgpe")
|
||||
}
|
||||
|
||||
[node name="Weapon" type="Node3D" node_paths=PackedStringArray("animator", "audio_player", "recharge_timer")]
|
||||
[node name="Weapon" type="Node3D" unique_id=1718669692 node_paths=PackedStringArray("animator", "audio_player", "recharge_timer")]
|
||||
script = ExtResource("1_yo2gh")
|
||||
animator = NodePath("AnimationPlayer")
|
||||
audio_player = NodePath("AudioStreamPlayer3D")
|
||||
recharge_timer = NodePath("Timer")
|
||||
|
||||
[node name="Sprite3D" type="Sprite3D" parent="."]
|
||||
[node name="Sprite3D" type="Sprite3D" parent="." unique_id=1457062627]
|
||||
layers = 2
|
||||
billboard = 1
|
||||
texture_filter = 0
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_fs82p")
|
||||
}
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1653774884]
|
||||
libraries/ = SubResource("AnimationLibrary_fs82p")
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
[node name="Timer" type="Timer" parent="." unique_id=1035986347]
|
||||
wait_time = 4.0
|
||||
one_shot = true
|
||||
|
||||
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
|
||||
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="." unique_id=1246168083]
|
||||
bus = &"SFX"
|
||||
|
||||
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|
||||
|
||||
Reference in New Issue
Block a user