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

BIN
Towers/Reactor/reactor.glb Normal file

Binary file not shown.

View File

@ -0,0 +1,50 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://ck330svnmd13b"
path="res://.godot/imported/reactor.glb-d5832fa37bbb50b548020c0cdea63120.scn"
[deps]
source_file="res://Towers/Reactor/reactor.glb"
dest_files=["res://.godot/imported/reactor.glb-d5832fa37bbb50b548020c0cdea63120.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
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=""
_subresources={
"meshes": {
"reactor_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/make_streamable": "",
"save_to_file/path": "res://reactor_mesh.res"
}
}
}
gltf/naming_version=0
gltf/embedded_image_handling=1

BIN
Towers/Reactor/reactor.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b87fn56wyiqmj"
path.s3tc="res://.godot/imported/reactor.png-6cccb27d4ef196e98f39928aa1a0cc59.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Towers/Reactor/reactor.png"
dest_files=["res://.godot/imported/reactor.png-6cccb27d4ef196e98f39928aa1a0cc59.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
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/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,37 @@
[gd_scene load_steps=10 format=3 uid="uid://b7idyi1c67ou4"]
[ext_resource type="PackedScene" uid="uid://kioik38usbqj" path="res://Scenes/Towers/area_tower.tscn" id="1_0qp3f"]
[ext_resource type="Script" uid="uid://djp7tepdsda8w" path="res://Scripts/effect.gd" id="2_v1m7x"]
[ext_resource type="Script" uid="uid://chy7bx8dlwgs0" path="res://Scripts/StatusEffects/status_effect.gd" id="3_amg2o"]
[ext_resource type="Script" uid="uid://c6eghujlaqhwi" path="res://Scripts/StatusEffects/status_dot.gd" id="4_dcmuu"]
[ext_resource type="Resource" uid="uid://dxlisoas4xlmo" path="res://Resources/StatusEffects/radioactive.tres" id="5_0b26j"]
[ext_resource type="ArrayMesh" uid="uid://d280k3kx6hh7h" path="res://Towers/Reactor/reactor_mesh.res" id="6_7kedu"]
[sub_resource type="Resource" id="Resource_ltmnh"]
script = ExtResource("4_dcmuu")
stats = ExtResource("5_0b26j")
metadata/_custom_type_script = "uid://c6eghujlaqhwi"
[sub_resource type="Resource" id="Resource_joohe"]
script = ExtResource("2_v1m7x")
damage = 0
status_effects = Array[ExtResource("3_amg2o")]([SubResource("Resource_ltmnh")])
metadata/_custom_type_script = "uid://djp7tepdsda8w"
[sub_resource type="SphereShape3D" id="SphereShape3D_v6dih"]
radius = 30.0
[node name="Tower" instance=ExtResource("1_0qp3f")]
turns_to_aim = false
effect = SubResource("Resource_joohe")
[node name="ShapeCast3D" type="ShapeCast3D" parent="Pitch" index="0"]
shape = SubResource("SphereShape3D_v6dih")
target_position = Vector3(0, 0, 0)
collision_mask = 4
[node name="Yaw" parent="." index="2"]
mesh = ExtResource("6_7kedu")
[node name="AreaAffector" parent="." index="6" node_paths=PackedStringArray("shapecast")]
shapecast = NodePath("../Pitch/ShapeCast3D")

View File

@ -0,0 +1,8 @@
class_name ReactorTower extends Tower
@export var particles: GPUParticles3D
func _ready() -> void:
super._ready()
particles.process_material.emission_ring_radius = target_range

View File

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

View File

@ -0,0 +1,25 @@
[gd_resource type="Resource" script_class="CardText" load_steps=6 format=3 uid="uid://cssdyxk8oefsd"]
[ext_resource type="Script" uid="uid://yjb0uv6og430" path="res://Scripts/Resources/stat_attribute.gd" id="1_peekg"]
[ext_resource type="Script" uid="uid://dg7gxxqfqxcmc" path="res://Scripts/Resources/card_text.gd" id="2_8w61k"]
[sub_resource type="Resource" id="Resource_j28f4"]
script = ExtResource("1_peekg")
key = "Fire Delay"
value = 4.0
[sub_resource type="Resource" id="Resource_likes"]
script = ExtResource("1_peekg")
key = "Damage"
value = 0.0
[sub_resource type="Resource" id="Resource_b65mk"]
script = ExtResource("1_peekg")
key = "Range"
value = 30.0
[resource]
script = ExtResource("2_8w61k")
target_type = 3
attributes = Array[ExtResource("1_peekg")]([SubResource("Resource_j28f4"), SubResource("Resource_likes"), SubResource("Resource_b65mk")])
text = "Slowly applies Radioactive to enemies around itself at a range of /Range\\m"