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/Sniper/sniper.glb Normal file

Binary file not shown.

View File

@ -0,0 +1,50 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://b4vwe267lt1ua"
path="res://.godot/imported/sniper.glb-b7ef8a65504da7ca64186fee199a9b79.scn"
[deps]
source_file="res://Towers/Sniper/sniper.glb"
dest_files=["res://.godot/imported/sniper.glb-b7ef8a65504da7ca64186fee199a9b79.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": {
"sniper_Cube_001": {
"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://snipermodel.res"
}
}
}
gltf/naming_version=0
gltf/embedded_image_handling=1

Binary file not shown.

Binary file not shown.

BIN
Towers/Sniper/snipertex.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dltijooiriwyj"
path.s3tc="res://.godot/imported/snipertex.png-63879b30e7c396a57a3b1dc994dfea11.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Towers/Sniper/snipertex.png"
dest_files=["res://.godot/imported/snipertex.png-63879b30e7c396a57a3b1dc994dfea11.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

View File

@ -0,0 +1,23 @@
[gd_scene load_steps=7 format=3 uid="uid://0ucn7wvbq034"]
[ext_resource type="PackedScene" uid="uid://43vmeyuurqfs" path="res://Scenes/Towers/direct_affect_tower.tscn" id="1_efbw8"]
[ext_resource type="Resource" uid="uid://eb0by6ba1d43" path="res://Towers/Sniper/tower_stats.tres" id="3_a0vis"]
[ext_resource type="Script" uid="uid://djp7tepdsda8w" path="res://Scripts/effect.gd" id="3_pq66h"]
[ext_resource type="Script" uid="uid://chy7bx8dlwgs0" path="res://Scripts/StatusEffects/status_effect.gd" id="4_6u8dx"]
[ext_resource type="ArrayMesh" uid="uid://bu35or5yc5j4c" path="res://Towers/Sniper/snipermodel.res" id="4_156p4"]
[sub_resource type="Resource" id="Resource_v635x"]
script = ExtResource("3_pq66h")
damage = 0
status_effects = Array[ExtResource("4_6u8dx")]([])
[node name="DirectAffectTower" instance=ExtResource("1_efbw8")]
stats = ExtResource("3_a0vis")
effect = SubResource("Resource_v635x")
[node name="Pitch" parent="." index="1"]
visible = false
[node name="Yaw" parent="." index="2"]
transform = Transform3D(0.48, 0, 0, 0, 0.48, 0, 0, 0, 0.48, 0, 3.0962, 0)
mesh = ExtResource("4_156p4")

View File

@ -0,0 +1,26 @@
[gd_resource type="Resource" script_class="CardText" load_steps=6 format=3 uid="uid://eb0by6ba1d43"]
[ext_resource type="Script" uid="uid://yjb0uv6og430" path="res://Scripts/Resources/stat_attribute.gd" id="1_5wjgg"]
[ext_resource type="Script" uid="uid://dg7gxxqfqxcmc" path="res://Scripts/Resources/card_text.gd" id="2_5j62t"]
[sub_resource type="Resource" id="Resource_1ct8q"]
script = ExtResource("1_5wjgg")
key = "Fire Delay"
value = 2.0
[sub_resource type="Resource" id="Resource_erx05"]
script = ExtResource("1_5wjgg")
key = "Damage"
value = 20.0
[sub_resource type="Resource" id="Resource_vfpmb"]
script = ExtResource("1_5wjgg")
key = "Range"
value = 50.0
[resource]
script = ExtResource("2_5j62t")
target_type = 3
energy_type = 0
attributes = Array[ExtResource("1_5wjgg")]([SubResource("Resource_1ct8q"), SubResource("Resource_erx05"), SubResource("Resource_vfpmb")])
text = "Fires a shot every /Fire Delay\\ seconds dealing /Damage\\ damage at a range of /Range\\m"