way too many changes to list, oops. big rewrite.

This commit is contained in:
2025-05-27 03:38:03 +10:00
parent 16951a9beb
commit 4a21701a35
663 changed files with 7389 additions and 3283 deletions

View File

@ -0,0 +1,67 @@
[gd_scene load_steps=8 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"]
[ext_resource type="Script" uid="uid://duvfverjdqodj" path="res://Scripts/Affectors/area_affector.gd" id="3_u832u"]
[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)
[node name="Tower" type="Node3D" 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")
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 = {
&"": SubResource("AnimationLibrary_cebsq")
}
[node name="Pitch" type="MeshInstance3D" parent="."]
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="."]
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"]
bus = &"SFX"
[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
layers = 5
radius = 10.0
radial_segments = 16
rings = 16
material = SubResource("StandardMaterial3D_1ucq4")
[node name="TargetFinder" type="Node" parent="." node_paths=PackedStringArray("tower")]
script = ExtResource("2_e7wkg")
tower = NodePath("..")
max_targets = 0
[node name="AreaAffector" type="Node" parent="."]
script = ExtResource("3_u832u")

View File

@ -0,0 +1,10 @@
[gd_scene load_steps=3 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")]
affector = NodePath("DirectAffect")
[node name="DirectAffect" type="Node" parent="." index="6"]
script = ExtResource("2_f7mf6")

View File

@ -1,7 +0,0 @@
[gd_scene load_steps=3 format=3 uid="uid://dumiyjlnea4gq"]
[ext_resource type="PackedScene" uid="uid://bvqu1heobgboe" path="res://Scenes/Towers/tower.tscn" id="1_60g1i"]
[ext_resource type="Script" path="res://Scripts/Towers/hitscan_tower.gd" id="2_t6bcd"]
[node name="HitscanTower" instance=ExtResource("1_60g1i")]
script = ExtResource("2_t6bcd")

View File

@ -1,8 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://t0b32qb8eub2"]
[gd_scene load_steps=3 format=3 uid="uid://bidr1m71pajma"]
[ext_resource type="PackedScene" uid="uid://bvqu1heobgboe" path="res://Scenes/Towers/tower.tscn" id="1_yagdr"]
[ext_resource type="Script" path="res://Scripts/Towers/projectile_tower.gd" id="2_fqi5p"]
[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" instance=ExtResource("1_yagdr")]
script = ExtResource("2_fqi5p")
projectile_scene = null
[node name="ProjectileTower" node_paths=PackedStringArray("affector") instance=ExtResource("1_p8i8e")]
affector = NodePath("SpawnAffect")
[node name="SpawnAffect" type="Node" parent="." index="6" node_paths=PackedStringArray("tower")]
script = ExtResource("2_d8uyp")
tower = NodePath("..")
metadata/_custom_type_script = "uid://ccu1u6nqkjxki"

View File

@ -1,7 +0,0 @@
[gd_scene load_steps=3 format=3 uid="uid://bi6b2r6wek7he"]
[ext_resource type="PackedScene" uid="uid://dxwtlvv632ae8" path="res://Scenes/Towers/status_applying_tower.tscn" id="1_x852w"]
[ext_resource type="Script" path="res://Scripts/Towers/range_affecting_tower.gd" id="2_wc1xf"]
[node name="RangeAffectingTower" instance=ExtResource("1_x852w")]
script = ExtResource("2_wc1xf")

View File

@ -1,14 +0,0 @@
[gd_scene load_steps=3 format=3 uid="uid://8uxu72vjo0cv"]
[ext_resource type="PackedScene" uid="uid://bvqu1heobgboe" path="res://Scenes/Towers/tower.tscn" id="1_ljc02"]
[ext_resource type="Script" path="res://Scripts/Towers/shapecast_tower.gd" id="2_qh834"]
[node name="ShapecastTower" node_paths=PackedStringArray("shapecast", "particlesystem") instance=ExtResource("1_ljc02")]
script = ExtResource("2_qh834")
shapecast = NodePath("Yaw/ShapeCast3D")
particlesystem = NodePath("Yaw/ShapeCast3D/GPUParticles3D")
status_stats = null
[node name="ShapeCast3D" type="ShapeCast3D" parent="Yaw" index="0"]
[node name="GPUParticles3D" type="GPUParticles3D" parent="Yaw/ShapeCast3D" index="0"]

View File

@ -1,8 +0,0 @@
[gd_scene load_steps=3 format=3 uid="uid://dxwtlvv632ae8"]
[ext_resource type="PackedScene" uid="uid://dumiyjlnea4gq" path="res://Scenes/Towers/hitscan_tower.tscn" id="1_suc1i"]
[ext_resource type="Script" path="res://Scripts/Towers/status_applying_tower.gd" id="2_rd0fq"]
[node name="StatusApplyingTower" instance=ExtResource("1_suc1i")]
script = ExtResource("2_rd0fq")
status_stats = null

View File

@ -1,14 +1,14 @@
[gd_scene load_steps=7 format=3 uid="uid://bvqu1heobgboe"]
[ext_resource type="Script" path="res://Scripts/Towers/tower.gd" id="1_u8bfo"]
[ext_resource type="Script" path="res://Scripts/target_finder.gd" id="2_txlxp"]
[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"]
[sub_resource type="Animation" id="Animation_vk4a8"]
resource_name = "shoot"
[sub_resource type="AnimationLibrary" id="AnimationLibrary_cebsq"]
_data = {
"shoot": SubResource("Animation_vk4a8")
&"shoot": SubResource("Animation_vk4a8")
}
[sub_resource type="BoxMesh" id="BoxMesh_42byu"]
@ -30,13 +30,15 @@ audio_player = NodePath("Yaw/AudioStreamPlayer3D")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_cebsq")
&"": SubResource("AnimationLibrary_cebsq")
}
[node name="Pitch" type="MeshInstance3D" parent="."]
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="."]
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"]