file cleanup before merge
This commit is contained in:
37
Enemies/EyeDog/dog.tres
Normal file
37
Enemies/EyeDog/dog.tres
Normal file
@ -0,0 +1,37 @@
|
||||
[gd_resource type="Resource" script_class="Enemy" load_steps=7 format=3 uid="uid://8eba45hql7bo"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cbwxa2a4hfcy4" path="res://Scripts/Resources/enemy.gd" id="1_ivs7a"]
|
||||
[ext_resource type="Texture2D" uid="uid://cdnhe2mi5c5ln" path="res://Assets/Textures/dead_eye_dog.png" id="1_r8gpy"]
|
||||
[ext_resource type="Texture2D" uid="uid://g00wwrlxxdc5" path="res://Assets/Textures/icon_eye_dog.png" id="2_tyyee"]
|
||||
[ext_resource type="PackedScene" uid="uid://bvq6tbkuv2mfp" path="res://Enemies/EyeDog/eye_dog.tscn" id="3_tyyee"]
|
||||
[ext_resource type="Texture2D" uid="uid://dj13g1w14mekw" path="res://Assets/Textures/eye_dog.png" id="4_7ypa6"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_n6kdu"]
|
||||
resource_local_to_scene = true
|
||||
atlas = ExtResource("4_7ypa6")
|
||||
region = Rect2(0, 0, 32, 32)
|
||||
|
||||
[resource]
|
||||
resource_local_to_scene = true
|
||||
script = ExtResource("1_ivs7a")
|
||||
title = "dog"
|
||||
target_type = 1
|
||||
scene = ExtResource("3_tyyee")
|
||||
icon = ExtResource("2_tyyee")
|
||||
death_sprite = ExtResource("1_r8gpy")
|
||||
sprite = SubResource("AtlasTexture_n6kdu")
|
||||
spawn_power = 10
|
||||
health = 180
|
||||
penalty = 10
|
||||
movement_speed = 1.2
|
||||
spawn_cooldown = 1.2
|
||||
common_group = 8
|
||||
common_cost = 1
|
||||
uncommon_group = 12
|
||||
uncommon_cost = 2
|
||||
rare_group = 18
|
||||
rare_cost = 3
|
||||
epic_group = 26
|
||||
epic_cost = 5
|
||||
legendary_group = 34
|
||||
legendary_cost = 6
|
100
Enemies/EyeDog/eye_dog.tscn
Normal file
100
Enemies/EyeDog/eye_dog.tscn
Normal file
@ -0,0 +1,100 @@
|
||||
[gd_scene load_steps=14 format=3 uid="uid://bvq6tbkuv2mfp"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ejqql2660u6h" path="res://Worlds/GreenPlanet/Enemies/enemy_controller.gd" id="1_1dh2f"]
|
||||
[ext_resource type="PackedScene" uid="uid://canrxnpxcugc2" path="res://Scenes/corpse.tscn" id="2_1dh2f"]
|
||||
[ext_resource type="Script" uid="uid://bamhci3kawuyt" path="res://Scripts/health.gd" id="2_bckix"]
|
||||
[ext_resource type="PackedScene" uid="uid://cqtew0t8sttpm" path="res://Scenes/damage_particle.tscn" id="3_wnwjl"]
|
||||
[ext_resource type="Script" uid="uid://cummt2be3r1gq" path="res://Scripts/hitbox.gd" id="6_3v8fr"]
|
||||
[ext_resource type="Texture2D" uid="uid://b1fn60m6xfcsq" path="res://Assets/Textures/minimap_enemy.png" id="7_bkkhh"]
|
||||
[ext_resource type="PackedScene" uid="uid://hjq3nrnumklp" path="res://Scenes/health_bar.tscn" id="8_k2835"]
|
||||
[ext_resource type="Script" uid="uid://b62xnsbki8axa" path="res://Scripts/EnemyAI/pathing_controller.gd" id="9_t4oco"]
|
||||
[ext_resource type="PackedScene" uid="uid://dlhx6r23m5ceg" path="res://Enemies/EyeDog/eyedog.glb" id="10_h25mw"]
|
||||
[ext_resource type="Script" uid="uid://cojjgevmbhwal" path="res://Scripts/status_effector.gd" id="11_kpdsm"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_cavbv"]
|
||||
radius = 0.42
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_h25mw"]
|
||||
radius = 0.151085
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_1kwxq"]
|
||||
viewport_path = NodePath("SubViewport")
|
||||
|
||||
[node name="Node3D" type="CharacterBody3D" node_paths=PackedStringArray("status_manager", "movement_controller", "health", "d_n") groups=["Enemies"]]
|
||||
collision_layer = 4
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_1dh2f")
|
||||
status_manager = NodePath("StatusEffector")
|
||||
movement_controller = NodePath("PathingController")
|
||||
health = NodePath("Health")
|
||||
d_n = NodePath("Node3D")
|
||||
corpse_scene = ExtResource("2_1dh2f")
|
||||
metadata/_custom_type_script = "uid://ejqql2660u6h"
|
||||
|
||||
[node name="Health" type="Node" parent="."]
|
||||
script = ExtResource("2_bckix")
|
||||
damage_particle_scene = ExtResource("3_wnwjl")
|
||||
|
||||
[node name="Hitbox" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.33811, 0.0832841)
|
||||
shape = SubResource("SphereShape3D_cavbv")
|
||||
script = ExtResource("6_3v8fr")
|
||||
metadata/_custom_type_script = "uid://cummt2be3r1gq"
|
||||
|
||||
[node name="Hitbox2" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.601201, -0.436369)
|
||||
shape = SubResource("SphereShape3D_h25mw")
|
||||
script = ExtResource("6_3v8fr")
|
||||
critical_zone = true
|
||||
metadata/_custom_type_script = "uid://cummt2be3r1gq"
|
||||
|
||||
[node name="HealthBar" type="Sprite3D" parent="."]
|
||||
transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0, 1.20821, 0)
|
||||
sorting_offset = 1.0
|
||||
pixel_size = 0.02
|
||||
billboard = 1
|
||||
texture_filter = 0
|
||||
texture = SubResource("ViewportTexture_1kwxq")
|
||||
|
||||
[node name="MinimapIcon" type="Sprite3D" parent="."]
|
||||
transform = Transform3D(2, 0, 0, 0, -8.74228e-08, 2, 0, -2, -8.74228e-08, 0, 1.40824, 0)
|
||||
layers = 4
|
||||
texture_filter = 0
|
||||
texture = ExtResource("7_bkkhh")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="."]
|
||||
transparent_bg = true
|
||||
size = Vector2i(200, 55)
|
||||
render_target_update_mode = 4
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="SubViewport"]
|
||||
anchors_preset = 10
|
||||
anchor_right = 1.0
|
||||
offset_bottom = 32.0
|
||||
grow_horizontal = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="HealthBar" parent="SubViewport" instance=ExtResource("8_k2835")]
|
||||
visible = false
|
||||
offset_top = 36.0
|
||||
offset_bottom = 236.0
|
||||
|
||||
[node name="PathingController" type="Node" parent="." node_paths=PackedStringArray("character")]
|
||||
script = ExtResource("9_t4oco")
|
||||
character = NodePath("..")
|
||||
|
||||
[node name="StatusEffector" type="Node" parent="." node_paths=PackedStringArray("sprite_container")]
|
||||
script = ExtResource("11_kpdsm")
|
||||
sprite_container = NodePath("../SubViewport/HBoxContainer")
|
||||
metadata/_custom_type_script = "uid://cojjgevmbhwal"
|
||||
|
||||
[node name="Node3D" type="Node3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.39813, 0)
|
||||
|
||||
[node name="eyedog" parent="." instance=ExtResource("10_h25mw")]
|
||||
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0.3764, 0)
|
||||
|
||||
[connection signal="health_changed" from="Health" to="SubViewport/HealthBar" method="on_health_changed"]
|
||||
[connection signal="health_depleted" from="Health" to="." method="die"]
|
||||
[connection signal="took_damage" from="Hitbox" to="Health" method="take_damage"]
|
||||
[connection signal="took_damage" from="Hitbox2" to="Health" method="take_damage"]
|
BIN
Enemies/EyeDog/eyedog.glb
Normal file
BIN
Enemies/EyeDog/eyedog.glb
Normal file
Binary file not shown.
44
Enemies/EyeDog/eyedog.glb.import
Normal file
44
Enemies/EyeDog/eyedog.glb.import
Normal file
@ -0,0 +1,44 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://dlhx6r23m5ceg"
|
||||
path="res://.godot/imported/eyedog.glb-066d1d46e7943baa72fec506b08447f4.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Enemies/EyeDog/eyedog.glb"
|
||||
dest_files=["res://.godot/imported/eyedog.glb-066d1d46e7943baa72fec506b08447f4.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=0.08
|
||||
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={
|
||||
"materials": {
|
||||
"Material": {
|
||||
"use_external/enabled": true,
|
||||
"use_external/path": "uid://bo82o88d7vo1x"
|
||||
}
|
||||
}
|
||||
}
|
||||
gltf/naming_version=1
|
||||
gltf/embedded_image_handling=1
|
BIN
Enemies/EyeDog/eyedog_eyedog_tex.png
Normal file
BIN
Enemies/EyeDog/eyedog_eyedog_tex.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.8 KiB |
38
Enemies/EyeDog/eyedog_eyedog_tex.png.import
Normal file
38
Enemies/EyeDog/eyedog_eyedog_tex.png.import
Normal file
@ -0,0 +1,38 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://wx4d2upch81n"
|
||||
path.s3tc="res://.godot/imported/eyedog_eyedog_tex.png-1f14344e8bf95fbf8ece2e5fc948c9ad.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "27dfa54e4c46b8fd6e6f12450e4ca070"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Enemies/EyeDog/eyedog_eyedog_tex.png"
|
||||
dest_files=["res://.godot/imported/eyedog_eyedog_tex.png-1f14344e8bf95fbf8ece2e5fc948c9ad.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
|
13
Enemies/EyeDog/psx_model_material.tres
Normal file
13
Enemies/EyeDog/psx_model_material.tres
Normal file
@ -0,0 +1,13 @@
|
||||
[gd_resource type="ShaderMaterial" load_steps=3 format=3 uid="uid://bo82o88d7vo1x"]
|
||||
|
||||
[ext_resource type="Shader" uid="uid://c5bffujq0l70k" path="res://jitter.gdshader" id="1_crvh7"]
|
||||
[ext_resource type="Texture2D" uid="uid://wx4d2upch81n" path="res://Enemies/EyeDog/eyedog_eyedog_tex.png" id="2_j3hec"]
|
||||
|
||||
[resource]
|
||||
render_priority = 0
|
||||
shader = ExtResource("1_crvh7")
|
||||
shader_parameter/affine_mapping = true
|
||||
shader_parameter/albedo = ExtResource("2_j3hec")
|
||||
shader_parameter/alpha_scissor = 0.5
|
||||
shader_parameter/jitter = 0.25
|
||||
shader_parameter/resolution = Vector2i(320, 240)
|
Reference in New Issue
Block a user