conforms file names to consistant standard
This commit is contained in:
65
scenes/towers/area_tower.tscn
Normal file
65
scenes/towers/area_tower.tscn
Normal file
@@ -0,0 +1,65 @@
|
||||
[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"]
|
||||
[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" 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")
|
||||
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="." unique_id=935470152]
|
||||
libraries/ = SubResource("AnimationLibrary_cebsq")
|
||||
|
||||
[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="." 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" unique_id=402668034]
|
||||
bus = &"SFX"
|
||||
|
||||
[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="." unique_id=1039990115]
|
||||
visible = false
|
||||
layers = 5
|
||||
radius = 10.0
|
||||
radial_segments = 16
|
||||
rings = 16
|
||||
material = SubResource("StandardMaterial3D_1ucq4")
|
||||
|
||||
[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="." unique_id=1048310301]
|
||||
script = ExtResource("3_u832u")
|
||||
10
scenes/towers/direct_affect_tower.tscn
Normal file
10
scenes/towers/direct_affect_tower.tscn
Normal file
@@ -0,0 +1,10 @@
|
||||
[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" unique_id=49384709 node_paths=PackedStringArray("affector") instance=ExtResource("1_rp4eu")]
|
||||
affector = NodePath("DirectAffect")
|
||||
|
||||
[node name="DirectAffect" type="Node" parent="." index="6" unique_id=1279134293]
|
||||
script = ExtResource("2_f7mf6")
|
||||
12
scenes/towers/projectile_tower.tscn
Normal file
12
scenes/towers/projectile_tower.tscn
Normal file
@@ -0,0 +1,12 @@
|
||||
[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" unique_id=2093418902 node_paths=PackedStringArray("affector") instance=ExtResource("1_p8i8e")]
|
||||
affector = NodePath("SpawnAffect")
|
||||
|
||||
[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"
|
||||
59
scenes/towers/tower.tscn
Normal file
59
scenes/towers/tower.tscn
Normal file
@@ -0,0 +1,59 @@
|
||||
[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"]
|
||||
|
||||
[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" 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")
|
||||
pitch_model = NodePath("Pitch")
|
||||
yaw_model = NodePath("Yaw")
|
||||
range_indicator = NodePath("CSGSphere3D")
|
||||
audio_player = NodePath("Yaw/AudioStreamPlayer3D")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=599257624]
|
||||
libraries/ = SubResource("AnimationLibrary_cebsq")
|
||||
|
||||
[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="." 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" unique_id=1877101855]
|
||||
bus = &"SFX"
|
||||
|
||||
[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="." unique_id=1140796836]
|
||||
visible = false
|
||||
layers = 5
|
||||
radius = 10.0
|
||||
radial_segments = 16
|
||||
rings = 16
|
||||
material = SubResource("StandardMaterial3D_1ucq4")
|
||||
|
||||
[node name="TargetFinder" type="Node" parent="." unique_id=278878888 node_paths=PackedStringArray("tower")]
|
||||
script = ExtResource("2_txlxp")
|
||||
tower = NodePath("..")
|
||||
Reference in New Issue
Block a user