updated to godot 4.6
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://kioik38usbqj"]
|
||||
[gd_scene format=3 uid="uid://kioik38usbqj"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ct24fjmc1ptd6" path="res://Towers/tower.gd" id="1_6jyob"]
|
||||
[ext_resource type="Script" uid="uid://rvnacmxsrh4w" path="res://Scripts/target_finder.gd" id="2_e7wkg"]
|
||||
@@ -20,7 +20,7 @@ cull_mode = 1
|
||||
shading_mode = 0
|
||||
albedo_color = Color(1, 0, 0.415686, 0.223529)
|
||||
|
||||
[node name="Tower" type="Node3D" node_paths=PackedStringArray("target_finder", "affector", "animator", "pitch_model", "yaw_model", "range_indicator", "audio_player")]
|
||||
[node name="Tower" type="Node3D" unique_id=462431540 node_paths=PackedStringArray("target_finder", "affector", "animator", "pitch_model", "yaw_model", "range_indicator", "audio_player")]
|
||||
script = ExtResource("1_6jyob")
|
||||
target_finder = NodePath("TargetFinder")
|
||||
affector = NodePath("AreaAffector")
|
||||
@@ -30,27 +30,25 @@ yaw_model = NodePath("Yaw")
|
||||
range_indicator = NodePath("CSGSphere3D")
|
||||
audio_player = NodePath("Yaw/AudioStreamPlayer3D")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_cebsq")
|
||||
}
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=935470152]
|
||||
libraries/ = SubResource("AnimationLibrary_cebsq")
|
||||
|
||||
[node name="Pitch" type="MeshInstance3D" parent="."]
|
||||
[node name="Pitch" type="MeshInstance3D" parent="." unique_id=1225654056]
|
||||
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
|
||||
mesh = SubResource("BoxMesh_42byu")
|
||||
|
||||
[node name="Yaw" type="MeshInstance3D" parent="."]
|
||||
[node name="Yaw" type="MeshInstance3D" parent="." unique_id=1867477]
|
||||
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
|
||||
mesh = SubResource("BoxMesh_42byu")
|
||||
|
||||
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="Yaw"]
|
||||
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="Yaw" unique_id=402668034]
|
||||
bus = &"SFX"
|
||||
|
||||
[node name="MinimapIcon" type="Sprite3D" parent="."]
|
||||
[node name="MinimapIcon" type="Sprite3D" parent="." unique_id=1452391736]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
|
||||
layers = 4
|
||||
|
||||
[node name="CSGSphere3D" type="CSGSphere3D" parent="."]
|
||||
[node name="CSGSphere3D" type="CSGSphere3D" parent="." unique_id=1039990115]
|
||||
visible = false
|
||||
layers = 5
|
||||
radius = 10.0
|
||||
@@ -58,10 +56,10 @@ radial_segments = 16
|
||||
rings = 16
|
||||
material = SubResource("StandardMaterial3D_1ucq4")
|
||||
|
||||
[node name="TargetFinder" type="Node" parent="." node_paths=PackedStringArray("tower")]
|
||||
[node name="TargetFinder" type="Node" parent="." unique_id=1954544832 node_paths=PackedStringArray("tower")]
|
||||
script = ExtResource("2_e7wkg")
|
||||
tower = NodePath("..")
|
||||
max_targets = 0
|
||||
|
||||
[node name="AreaAffector" type="Node" parent="."]
|
||||
[node name="AreaAffector" type="Node" parent="." unique_id=1048310301]
|
||||
script = ExtResource("3_u832u")
|
||||
|
||||
Reference in New Issue
Block a user