moved some files and updated to Godot 4.2.Stable
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://bvqu1heobgboe"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://bvqu1heobgboe"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/Towers/tower.gd" id="1_u8bfo"]
|
||||
[ext_resource type="AudioStream" uid="uid://chrf1dcq2ujw0" path="res://PCs/Universal/ClassCards/Assault/shot1.wav" id="2_xijvj"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_vk4a8"]
|
||||
resource_name = "shoot"
|
||||
@ -12,18 +13,24 @@ _data = {
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_42byu"]
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_3kxtr"]
|
||||
streams_count = 1
|
||||
stream_0/stream = ExtResource("2_xijvj")
|
||||
stream_0/weight = 1.0
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1ucq4"]
|
||||
transparency = 1
|
||||
cull_mode = 1
|
||||
shading_mode = 0
|
||||
albedo_color = Color(1, 0, 0.415686, 0.223529)
|
||||
|
||||
[node name="Tower" type="Node3D" node_paths=PackedStringArray("animator", "pitch_model", "yaw_model", "range_indicator")]
|
||||
[node name="Tower" type="Node3D" node_paths=PackedStringArray("animator", "pitch_model", "yaw_model", "range_indicator", "audio_player")]
|
||||
script = ExtResource("1_u8bfo")
|
||||
animator = NodePath("AnimationPlayer")
|
||||
pitch_model = NodePath("Pitch")
|
||||
yaw_model = NodePath("Yaw")
|
||||
range_indicator = NodePath("CSGSphere3D")
|
||||
audio_player = NodePath("Yaw/AudioStreamPlayer3D")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
@ -36,6 +43,9 @@ mesh = SubResource("BoxMesh_42byu")
|
||||
[node name="Yaw" type="MeshInstance3D" parent="."]
|
||||
mesh = SubResource("BoxMesh_42byu")
|
||||
|
||||
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="Yaw"]
|
||||
stream = SubResource("AudioStreamRandomizer_3kxtr")
|
||||
|
||||
[node name="MinimapIcon" type="Sprite3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
|
||||
layers = 4
|
||||
|
@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://b7nargdyg28fj"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://b7nargdyg28fj"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/Weapons/weapon.gd" id="1_yo2gh"]
|
||||
[ext_resource type="AudioStream" uid="uid://chrf1dcq2ujw0" path="res://PCs/Universal/ClassCards/Assault/shot1.wav" id="2_2a041"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_5krlx"]
|
||||
length = 0.001
|
||||
@ -39,9 +40,16 @@ _data = {
|
||||
"shoot": SubResource("Animation_0rgpe")
|
||||
}
|
||||
|
||||
[node name="Weapon" type="Node3D" node_paths=PackedStringArray("animator", "recharge_timer")]
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_leqfx"]
|
||||
random_pitch = 1.2
|
||||
streams_count = 1
|
||||
stream_0/stream = ExtResource("2_2a041")
|
||||
stream_0/weight = 1.0
|
||||
|
||||
[node name="Weapon" type="Node3D" 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="."]
|
||||
@ -58,4 +66,7 @@ libraries = {
|
||||
wait_time = 3.0
|
||||
one_shot = true
|
||||
|
||||
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
|
||||
stream = SubResource("AudioStreamRandomizer_leqfx")
|
||||
|
||||
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|
||||
|
@ -91,8 +91,8 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.444448, 0.610684)
|
||||
collision_layer = 16
|
||||
collision_mask = 0
|
||||
script = ExtResource("3_iia6u")
|
||||
press_cost = 20
|
||||
hover_text = "Spend 20 Coins to print card"
|
||||
press_cost = 15
|
||||
hover_text = "Spend 15 Coins to print card"
|
||||
|
||||
[node name="CollisionShape3D2" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
shape = SubResource("BoxShape3D_ikdwj")
|
||||
|
Reference in New Issue
Block a user