updated to godot 4.6

This commit is contained in:
2026-01-28 13:42:26 +11:00
parent 5bbc2c0cb0
commit 6f1105cdbe
795 changed files with 5616 additions and 2077 deletions

View File

@@ -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")

View File

@@ -1,10 +1,10 @@
[gd_scene load_steps=3 format=3 uid="uid://43vmeyuurqfs"]
[gd_scene format=3 uid="uid://43vmeyuurqfs"]
[ext_resource type="PackedScene" uid="uid://bvqu1heobgboe" path="res://Scenes/Towers/tower.tscn" id="1_rp4eu"]
[ext_resource type="Script" uid="uid://8d0a4uc2i0ti" path="res://Scripts/Affectors/direct_affect.gd" id="2_f7mf6"]
[node name="DirectAffectTower" node_paths=PackedStringArray("affector") instance=ExtResource("1_rp4eu")]
[node name="DirectAffectTower" unique_id=49384709 node_paths=PackedStringArray("affector") instance=ExtResource("1_rp4eu")]
affector = NodePath("DirectAffect")
[node name="DirectAffect" type="Node" parent="." index="6"]
[node name="DirectAffect" type="Node" parent="." index="6" unique_id=1279134293]
script = ExtResource("2_f7mf6")

View File

@@ -1,12 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://bidr1m71pajma"]
[gd_scene format=3 uid="uid://bidr1m71pajma"]
[ext_resource type="PackedScene" uid="uid://bvqu1heobgboe" path="res://Scenes/Towers/tower.tscn" id="1_p8i8e"]
[ext_resource type="Script" uid="uid://ccu1u6nqkjxki" path="res://Scripts/Affectors/spawn_affect.gd" id="2_d8uyp"]
[node name="ProjectileTower" node_paths=PackedStringArray("affector") instance=ExtResource("1_p8i8e")]
[node name="ProjectileTower" unique_id=2093418902 node_paths=PackedStringArray("affector") instance=ExtResource("1_p8i8e")]
affector = NodePath("SpawnAffect")
[node name="SpawnAffect" type="Node" parent="." index="6" node_paths=PackedStringArray("tower")]
[node name="SpawnAffect" type="Node" parent="." index="6" unique_id=595069188 node_paths=PackedStringArray("tower")]
script = ExtResource("2_d8uyp")
tower = NodePath("..")
metadata/_custom_type_script = "uid://ccu1u6nqkjxki"

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=7 format=3 uid="uid://bvqu1heobgboe"]
[gd_scene format=3 uid="uid://bvqu1heobgboe"]
[ext_resource type="Script" uid="uid://ct24fjmc1ptd6" path="res://Towers/tower.gd" id="1_u8bfo"]
[ext_resource type="Script" uid="uid://rvnacmxsrh4w" path="res://Scripts/target_finder.gd" id="2_txlxp"]
@@ -19,7 +19,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", "animator", "pitch_model", "yaw_model", "range_indicator", "audio_player")]
[node name="Tower" type="Node3D" unique_id=71293380 node_paths=PackedStringArray("target_finder", "animator", "pitch_model", "yaw_model", "range_indicator", "audio_player")]
script = ExtResource("1_u8bfo")
target_finder = NodePath("TargetFinder")
animator = NodePath("AnimationPlayer")
@@ -28,27 +28,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=599257624]
libraries/ = SubResource("AnimationLibrary_cebsq")
[node name="Pitch" type="MeshInstance3D" parent="."]
[node name="Pitch" type="MeshInstance3D" parent="." unique_id=2005074924]
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=36855242]
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=1877101855]
bus = &"SFX"
[node name="MinimapIcon" type="Sprite3D" parent="."]
[node name="MinimapIcon" type="Sprite3D" parent="." unique_id=1008002045]
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=1140796836]
visible = false
layers = 5
radius = 10.0
@@ -56,6 +54,6 @@ 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=278878888 node_paths=PackedStringArray("tower")]
script = ExtResource("2_txlxp")
tower = NodePath("..")