diff --git a/Towers/RocketLauncher/box_o_rockets.glb b/Towers/RocketLauncher/box_o_rockets.glb new file mode 100644 index 0000000..5262b26 Binary files /dev/null and b/Towers/RocketLauncher/box_o_rockets.glb differ diff --git a/Towers/RocketLauncher/box_o_rockets.glb.import b/Towers/RocketLauncher/box_o_rockets.glb.import new file mode 100644 index 0000000..365c598 --- /dev/null +++ b/Towers/RocketLauncher/box_o_rockets.glb.import @@ -0,0 +1,44 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://divwamj7e5iw5" +path="res://.godot/imported/box_o_rockets.glb-bcaa8f10ee33bf8d4b8f7f22ddc1a3a0.scn" + +[deps] + +source_file="res://Towers/RocketLauncher/box_o_rockets.glb" +dest_files=["res://.godot/imported/box_o_rockets.glb-bcaa8f10ee33bf8d4b8f7f22ddc1a3a0.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +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=false +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={ +"materials": { +"Material": { +"use_external/enabled": true, +"use_external/path": "uid://due2j42y7qutw" +} +} +} +gltf/naming_version=1 +gltf/embedded_image_handling=1 diff --git a/Towers/RocketLauncher/box_o_rockets_boxorockets.png b/Towers/RocketLauncher/box_o_rockets_boxorockets.png new file mode 100644 index 0000000..b6c2dd7 Binary files /dev/null and b/Towers/RocketLauncher/box_o_rockets_boxorockets.png differ diff --git a/Towers/RocketLauncher/rocket_launcher_tex.png.import b/Towers/RocketLauncher/box_o_rockets_boxorockets.png.import similarity index 52% rename from Towers/RocketLauncher/rocket_launcher_tex.png.import rename to Towers/RocketLauncher/box_o_rockets_boxorockets.png.import index 29ba2be..a38e636 100644 --- a/Towers/RocketLauncher/rocket_launcher_tex.png.import +++ b/Towers/RocketLauncher/box_o_rockets_boxorockets.png.import @@ -2,20 +2,24 @@ importer="texture" type="CompressedTexture2D" -uid="uid://cwou52extvihw" -path="res://.godot/imported/rocket_launcher_tex.png-3dbab084120db37e20b56f7c6411d76b.ctex" +uid="uid://b54i2pdjv31xi" +path.s3tc="res://.godot/imported/box_o_rockets_boxorockets.png-25a48aee4132dd9fde005c0d1cfb5cef.s3tc.ctex" metadata={ -"vram_texture": false +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} +generator_parameters={ +"md5": "e288157c73c7329598034ed60268dc6c" } [deps] -source_file="res://Towers/RocketLauncher/rocket_launcher_tex.png" -dest_files=["res://.godot/imported/rocket_launcher_tex.png-3dbab084120db37e20b56f7c6411d76b.ctex"] +source_file="res://Towers/RocketLauncher/box_o_rockets_boxorockets.png" +dest_files=["res://.godot/imported/box_o_rockets_boxorockets.png-25a48aee4132dd9fde005c0d1cfb5cef.s3tc.ctex"] [params] -compress/mode=0 +compress/mode=2 compress/high_quality=false compress/lossy_quality=0.7 compress/hdr_compression=1 diff --git a/Towers/RocketLauncher/boxorockets_mat.tres b/Towers/RocketLauncher/boxorockets_mat.tres new file mode 100644 index 0000000..3c08707 --- /dev/null +++ b/Towers/RocketLauncher/boxorockets_mat.tres @@ -0,0 +1,10 @@ +[gd_resource type="ShaderMaterial" load_steps=3 format=3 uid="uid://due2j42y7qutw"] + +[ext_resource type="Shader" uid="uid://c5bffujq0l70k" path="res://Shaders/jitter.gdshader" id="1_8cr8g"] +[ext_resource type="Texture2D" uid="uid://b54i2pdjv31xi" path="res://Towers/RocketLauncher/box_o_rockets_boxorockets.png" id="2_k3cta"] + +[resource] +render_priority = 0 +shader = ExtResource("1_8cr8g") +shader_parameter/albedo = ExtResource("2_k3cta") +shader_parameter/alpha_scissor = 0.5 diff --git a/Towers/RocketLauncher/rocket_launcher.glb b/Towers/RocketLauncher/rocket_launcher.glb deleted file mode 100644 index b60a2ae..0000000 Binary files a/Towers/RocketLauncher/rocket_launcher.glb and /dev/null differ diff --git a/Towers/RocketLauncher/rocket_launcher.glb.import b/Towers/RocketLauncher/rocket_launcher.glb.import deleted file mode 100644 index 5832cbd..0000000 --- a/Towers/RocketLauncher/rocket_launcher.glb.import +++ /dev/null @@ -1,50 +0,0 @@ -[remap] - -importer="scene" -importer_version=1 -type="PackedScene" -uid="uid://buyx8g4vlh7g7" -path="res://.godot/imported/rocket_launcher.glb-577955e11dbf20a1138873ba22eb3ebc.scn" - -[deps] - -source_file="res://Towers/RocketLauncher/rocket_launcher.glb" -dest_files=["res://.godot/imported/rocket_launcher.glb-577955e11dbf20a1138873ba22eb3ebc.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": { -"rocket_launcher_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://rocket_launcher_model.res" -} -} -} -gltf/naming_version=0 -gltf/embedded_image_handling=1 diff --git a/Towers/RocketLauncher/rocket_launcher_model.res b/Towers/RocketLauncher/rocket_launcher_model.res deleted file mode 100644 index eb5b5c8..0000000 Binary files a/Towers/RocketLauncher/rocket_launcher_model.res and /dev/null differ diff --git a/Towers/RocketLauncher/rocket_launcher_tex.png b/Towers/RocketLauncher/rocket_launcher_tex.png deleted file mode 100644 index 61b96e4..0000000 Binary files a/Towers/RocketLauncher/rocket_launcher_tex.png and /dev/null differ diff --git a/Towers/RocketLauncher/rocket_tower.tscn b/Towers/RocketLauncher/rocket_tower.tscn index 918488f..29aa4b7 100644 --- a/Towers/RocketLauncher/rocket_tower.tscn +++ b/Towers/RocketLauncher/rocket_tower.tscn @@ -3,8 +3,8 @@ [ext_resource type="PackedScene" uid="uid://bidr1m71pajma" path="res://Scenes/Towers/projectile_tower.tscn" id="1_743vv"] [ext_resource type="Script" uid="uid://djp7tepdsda8w" path="res://Scripts/effect.gd" id="2_exq6d"] [ext_resource type="Script" uid="uid://chy7bx8dlwgs0" path="res://Scripts/StatusEffects/status_effect.gd" id="3_11qtm"] -[ext_resource type="ArrayMesh" uid="uid://dltxsh8ppubj3" path="res://Towers/RocketLauncher/rocket_launcher_model.res" id="4_exq6d"] [ext_resource type="PackedScene" uid="uid://p2vwo8ivben6" path="res://Projectiles/Rocket/rocket_projectile.tscn" id="4_vxjrf"] +[ext_resource type="PackedScene" uid="uid://divwamj7e5iw5" path="res://Towers/RocketLauncher/box_o_rockets.glb" id="5_5dmv2"] [sub_resource type="Resource" id="Resource_idxp2"] script = ExtResource("2_exq6d") @@ -20,10 +20,13 @@ visible = false [node name="Yaw" parent="." index="2"] transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0.55964, 0) -mesh = ExtResource("4_exq6d") +visible = false [node name="TargetFinder" parent="." index="5"] max_targets = 3 [node name="SpawnAffect" parent="." index="6"] spawn_scene = ExtResource("4_vxjrf") + +[node name="box_o_rockets" parent="." index="7" instance=ExtResource("5_5dmv2")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.907264, 0)