conforms file names to consistant standard

This commit is contained in:
2026-02-21 04:24:04 +11:00
parent 6b67dd9755
commit 5a4ad8633a
1991 changed files with 3836 additions and 7976 deletions

Binary file not shown.

View File

@@ -0,0 +1,56 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://c8l43de2o07kb"
path="res://.godot/imported/gatling.glb-ff250f4d624e1a126bd2f55f6cb3e946.scn"
[deps]
source_file="res://towers/jolt_wheel_tower/gatling.glb"
dest_files=["res://.godot/imported/gatling.glb-ff250f4d624e1a126bd2f55f6cb3e946.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/root_script=null
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_name_suffixes=true
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
materials/extract=0
materials/extract_format=0
materials/extract_path=""
_subresources={
"meshes": {
"gatling_Cube": {
"generate/lightmap_uv": 0,
"generate/lods": 0,
"generate/shadow_meshes": 0,
"lods/normal_merge_angle": 60.0,
"lods/normal_split_angle": 25.0,
"save_to_file/enabled": false,
"save_to_file/fallback_path": "",
"save_to_file/make_streamable": "",
"save_to_file/path": "res://gattlemesh.res"
}
}
}
gltf/naming_version=0
gltf/embedded_image_handling=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bjh6e8t8br6rq"
path="res://.godot/imported/gatling.png-9ffae6e5b36a5c56bb5dd56b041da104.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://towers/jolt_wheel_tower/gatling.png"
dest_files=["res://.godot/imported/gatling.png-9ffae6e5b36a5c56bb5dd56b041da104.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,34 @@
class_name GatlingTower
extends Tower
var time_since_firing_started: float = 0.0
var time_to_reach_max_speed: float = 0.0
var max_speed_multiplier: float = 0.0
var current_time_between_shots: float = 0.0
var final_time_between_shots: float = 0.0
func _ready() -> void:
super._ready()
time_to_reach_max_speed = stats.get_attribute("Speed Time")
max_speed_multiplier = stats.get_attribute("Speed Multiplier")
final_time_between_shots = time_between_shots / max_speed_multiplier
func _process(delta: float) -> void:
if time_since_firing < current_time_between_shots:
time_since_firing += delta
func _physics_process(delta: float) -> void:
if !target_finder.targets.size() > 0:
time_since_firing_started = 0.0
current_time_between_shots = time_between_shots
else:
aim()
time_since_firing_started += delta
var progress: float = clamp(time_since_firing_started / time_to_reach_max_speed, 0, 1.0)
current_time_between_shots = lerpf(time_between_shots, final_time_between_shots, progress)
if time_since_firing >= current_time_between_shots:
time_since_firing -= current_time_between_shots
#shoot(0)

View File

@@ -0,0 +1 @@
uid://b43lbaanefmj3

View File

@@ -0,0 +1,73 @@
[gd_scene format=3 uid="uid://ci822ash3mbhi"]
[ext_resource type="Script" uid="uid://b43lbaanefmj3" path="res://towers/jolt_wheel_tower/tower_gatling.gd" id="2_ipjp1"]
[ext_resource type="Script" uid="uid://rvnacmxsrh4w" path="res://scripts/target_finder.gd" id="3_co24a"]
[ext_resource type="Resource" uid="uid://nxl5wabgl36t" path="res://towers/jolt_wheel_tower/tower_stats.tres" id="3_oicqw"]
[ext_resource type="Script" uid="uid://djp7tepdsda8w" path="res://scripts/effect.gd" id="3_tykap"]
[ext_resource type="Script" uid="uid://chy7bx8dlwgs0" path="res://scripts/status_effects/status_effect.gd" id="4_sc4bm"]
[ext_resource type="Script" uid="uid://8d0a4uc2i0ti" path="res://scripts/affectors/direct_affect.gd" id="4_v2roj"]
[ext_resource type="ArrayMesh" uid="uid://dler7wcqj0bm6" path="res://towers/jolt_wheel_tower/gattlemesh.res" id="4_wihc0"]
[sub_resource type="Resource" id="Resource_7ovr8"]
script = ExtResource("3_tykap")
[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="DirectAffectTower" type="Node3D" unique_id=1985284737 node_paths=PackedStringArray("target_finder", "affector", "animator", "pitch_model", "yaw_model", "range_indicator", "audio_player")]
script = ExtResource("2_ipjp1")
stats = ExtResource("3_oicqw")
target_finder = NodePath("TargetFinder")
affector = NodePath("DirectAffect")
animator = NodePath("AnimationPlayer")
pitch_model = NodePath("Pitch")
yaw_model = NodePath("Yaw")
range_indicator = NodePath("CSGSphere3D")
audio_player = NodePath("Yaw/AudioStreamPlayer3D")
effect = SubResource("Resource_7ovr8")
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=465705952]
libraries/ = SubResource("AnimationLibrary_cebsq")
[node name="Pitch" type="MeshInstance3D" parent="." unique_id=1271621174]
visible = false
mesh = SubResource("BoxMesh_42byu")
[node name="Yaw" type="MeshInstance3D" parent="." unique_id=1859077506]
transform = Transform3D(0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 0, 0.515143, 0)
mesh = ExtResource("4_wihc0")
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="Yaw" unique_id=191478224]
bus = &"SFX"
[node name="MinimapIcon" type="Sprite3D" parent="." unique_id=201604380]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
layers = 4
[node name="CSGSphere3D" type="CSGSphere3D" parent="." unique_id=2094286709]
visible = false
layers = 5
radius = 10.0
radial_segments = 16
rings = 16
material = SubResource("StandardMaterial3D_1ucq4")
[node name="TargetFinder" type="Node" parent="." unique_id=1002978697 node_paths=PackedStringArray("tower")]
script = ExtResource("3_co24a")
tower = NodePath("..")
[node name="DirectAffect" type="Node" parent="." unique_id=1425059731]
script = ExtResource("4_v2roj")

View File

@@ -0,0 +1,18 @@
[gd_resource type="Resource" script_class="CardText" format=3 uid="uid://nxl5wabgl36t"]
[ext_resource type="Script" uid="uid://bsuinotkvh7eu" path="res://scripts/resources/feature.gd" id="1_5mpl7"]
[ext_resource type="Resource" uid="uid://dfup264h2pun7" path="res://scripts/features/heavy_rounds/heavy_rounds_feature.tres" id="2_is2l1"]
[ext_resource type="Script" uid="uid://dg7gxxqfqxcmc" path="res://scripts/resources/cassette_text.gd" id="2_ky46y"]
[resource]
script = ExtResource("2_ky46y")
target_type = Array[int]([1])
attributes = Dictionary[String, float]({
"Damage": 1.0,
"Fire Delay": 0.6,
"Range": 10.0,
"Speed Multiplier": 2.0,
"Speed Time": 3.0
})
features = Array[ExtResource("1_5mpl7")]([ExtResource("2_is2l1")])
text = "DESC_TOWER_ACCEL"