2023-12-17 02:02:16 +11:00
|
|
|
[gd_scene load_steps=6 format=3 uid="uid://bvqu1heobgboe"]
|
2023-11-15 15:19:40 +11:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://Scripts/Towers/tower.gd" id="1_u8bfo"]
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_vk4a8"]
|
|
|
|
resource_name = "shoot"
|
|
|
|
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_cebsq"]
|
|
|
|
_data = {
|
|
|
|
"shoot": SubResource("Animation_vk4a8")
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_42byu"]
|
|
|
|
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1ucq4"]
|
|
|
|
transparency = 1
|
|
|
|
cull_mode = 1
|
|
|
|
shading_mode = 0
|
|
|
|
albedo_color = Color(1, 0, 0.415686, 0.223529)
|
|
|
|
|
2023-11-30 23:37:00 +11:00
|
|
|
[node name="Tower" type="Node3D" node_paths=PackedStringArray("animator", "pitch_model", "yaw_model", "range_indicator", "audio_player")]
|
2023-11-15 15:19:40 +11:00
|
|
|
script = ExtResource("1_u8bfo")
|
|
|
|
animator = NodePath("AnimationPlayer")
|
|
|
|
pitch_model = NodePath("Pitch")
|
|
|
|
yaw_model = NodePath("Yaw")
|
|
|
|
range_indicator = NodePath("CSGSphere3D")
|
2023-11-30 23:37:00 +11:00
|
|
|
audio_player = NodePath("Yaw/AudioStreamPlayer3D")
|
2023-11-15 15:19:40 +11:00
|
|
|
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
|
|
libraries = {
|
|
|
|
"": SubResource("AnimationLibrary_cebsq")
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Pitch" type="MeshInstance3D" parent="."]
|
|
|
|
mesh = SubResource("BoxMesh_42byu")
|
|
|
|
|
|
|
|
[node name="Yaw" type="MeshInstance3D" parent="."]
|
|
|
|
mesh = SubResource("BoxMesh_42byu")
|
|
|
|
|
2023-11-30 23:37:00 +11:00
|
|
|
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="Yaw"]
|
2023-12-17 02:02:16 +11:00
|
|
|
bus = &"SFX"
|
2023-11-30 23:37:00 +11:00
|
|
|
|
2023-11-15 15:19:40 +11:00
|
|
|
[node name="MinimapIcon" type="Sprite3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
|
|
|
|
layers = 4
|
|
|
|
|
|
|
|
[node name="CSGSphere3D" type="CSGSphere3D" parent="."]
|
|
|
|
visible = false
|
2024-03-30 13:55:36 +11:00
|
|
|
layers = 5
|
2023-11-15 15:19:40 +11:00
|
|
|
radius = 10.0
|
|
|
|
radial_segments = 16
|
|
|
|
rings = 16
|
|
|
|
material = SubResource("StandardMaterial3D_1ucq4")
|