mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-15 06:03:46 +00:00
Generic enemies
This commit is contained in:
parent
762666242e
commit
d99c773641
55 changed files with 968 additions and 204 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Resource" script_class="EnemyResource" load_steps=16 format=3 uid="uid://cocl3qontm3be"]
|
||||
[gd_resource type="Resource" script_class="EnemyResource" load_steps=17 format=3 uid="uid://cocl3qontm3be"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://ct1fa2huvy34n" path="res://Resources/Items/Ammo1.tres" id="1_q1ekm"]
|
||||
[ext_resource type="Texture2D" uid="uid://xgxxdq37pykh" path="res://Sprites/Actors/Fairy.png" id="1_sxbtw"]
|
||||
|
|
@ -9,6 +9,7 @@
|
|||
[ext_resource type="Resource" uid="uid://clr1gln7nxa1o" path="res://Resources/Items/Power_Pickup.tres" id="6_qvgac"]
|
||||
[ext_resource type="Resource" uid="uid://cdfmedtgp2rcn" path="res://Resources/Weapons/EnemyWeapon.tres" id="7_xkg5o"]
|
||||
[ext_resource type="Script" uid="uid://cd5o0ceb50jki" path="res://Scripts/Resources/EnemyResource.cs" id="8_241b0"]
|
||||
[ext_resource type="PackedScene" uid="uid://cm1edol8wvxjp" path="res://Scenes/Actors/Generic_Enemy_FSM.tscn" id="8_ppsgt"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ppsgt"]
|
||||
atlas = ExtResource("1_sxbtw")
|
||||
|
|
@ -48,7 +49,8 @@ metadata/_custom_type_script = "uid://cq65aed620ijo"
|
|||
script = ExtResource("8_241b0")
|
||||
EnemyName = &"Fairy"
|
||||
EnemyKey = &"FAIRY_BASE"
|
||||
PrefabPath = &"uid://clieeuln36a7a"
|
||||
PrefabPath = &"uid://cm1edol8wvxjp"
|
||||
Prefab = ExtResource("8_ppsgt")
|
||||
MaxHealth = 4.0
|
||||
MovementSpeed = 30.0
|
||||
Weapon = ExtResource("7_xkg5o")
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Resource" script_class="EnemyResource" load_steps=16 format=3 uid="uid://cqfyuurvqb8m6"]
|
||||
[gd_resource type="Resource" script_class="EnemyResource" load_steps=17 format=3 uid="uid://cqfyuurvqb8m6"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://callpd48wwnlw" path="res://Sprites/Actors/Fairy_Special.png" id="1_kekqr"]
|
||||
[ext_resource type="Script" uid="uid://cq65aed620ijo" path="res://Scripts/Resources/Loot/LootDrop.cs" id="1_tf7s2"]
|
||||
|
|
@ -9,6 +9,7 @@
|
|||
[ext_resource type="Resource" uid="uid://clr1gln7nxa1o" path="res://Resources/Items/Power_Pickup.tres" id="6_1cdvd"]
|
||||
[ext_resource type="Resource" uid="uid://d27t8ruig8lie" path="res://Resources/Weapons/EnemyShotgun.tres" id="7_tf7s2"]
|
||||
[ext_resource type="Script" uid="uid://cd5o0ceb50jki" path="res://Scripts/Resources/EnemyResource.cs" id="8_8fxhl"]
|
||||
[ext_resource type="PackedScene" uid="uid://cm1edol8wvxjp" path="res://Scenes/Actors/Generic_Enemy_FSM.tscn" id="8_c0hok"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_c0hok"]
|
||||
atlas = ExtResource("1_kekqr")
|
||||
|
|
@ -49,6 +50,7 @@ script = ExtResource("8_8fxhl")
|
|||
EnemyName = &"Special Fairy"
|
||||
EnemyKey = &"FAIRY_BASE_SPECIAL"
|
||||
PrefabPath = &"uid://bq4r28ikbmn0r"
|
||||
Prefab = ExtResource("8_c0hok")
|
||||
MaxHealth = 12.0
|
||||
MovementSpeed = 30.0
|
||||
Weapon = ExtResource("7_tf7s2")
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
[gd_resource type="Resource" script_class="EnemyResource" load_steps=6 format=3 uid="uid://ng3lpe8ifbsn"]
|
||||
[gd_resource type="Resource" script_class="EnemyResource" load_steps=7 format=3 uid="uid://ng3lpe8ifbsn"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://p6cs703f5m3n" path="res://ExternalMaterial/RoboBoss/RoboBoss.png" id="1_bmkgj"]
|
||||
[ext_resource type="Script" uid="uid://cq65aed620ijo" path="res://Scripts/Resources/Loot/LootDrop.cs" id="2_3teuq"]
|
||||
[ext_resource type="PackedScene" uid="uid://d2xmlov4ee2fc" path="res://Scenes/Actors/Generic_Boss.tscn" id="3_r3p0s"]
|
||||
[ext_resource type="Resource" uid="uid://b54lru8ulinjl" path="res://Resources/Weapons/EnemyWeapon_Big.tres" id="8_w06jt"]
|
||||
[ext_resource type="Script" uid="uid://cd5o0ceb50jki" path="res://Scripts/Resources/EnemyResource.cs" id="9_vykx5"]
|
||||
|
||||
|
|
@ -14,6 +15,7 @@ script = ExtResource("9_vykx5")
|
|||
EnemyName = &"Boss 1"
|
||||
EnemyKey = &"BOSS_1"
|
||||
PrefabPath = &"uid://clyrne78j3f5a"
|
||||
Prefab = ExtResource("3_r3p0s")
|
||||
MaxHealth = 100.0
|
||||
MovementSpeed = 40.0
|
||||
Weapon = ExtResource("8_w06jt")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="EnemyResource" load_steps=16 format=3 uid="uid://qbo6avc7x64b"]
|
||||
[gd_resource type="Resource" script_class="EnemyResource" load_steps=17 format=3 uid="uid://qbo6avc7x64b"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://xhwfgbv0fjbr" path="res://Sprites/Actors/FairyGuard.png" id="1_ivudp"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://ch2ll1on8im2p" path="res://Resources/Sprites/FairyGuard.tres" id="1_n54y5"]
|
||||
[ext_resource type="Script" uid="uid://cd5o0ceb50jki" path="res://Scripts/Resources/EnemyResource.cs" id="1_p31tv"]
|
||||
[ext_resource type="Resource" uid="uid://ct1fa2huvy34n" path="res://Resources/Items/Ammo1.tres" id="1_u7yd8"]
|
||||
[ext_resource type="Script" uid="uid://cq65aed620ijo" path="res://Scripts/Resources/Loot/LootDrop.cs" id="2_ivudp"]
|
||||
|
|
@ -48,7 +49,7 @@ metadata/_custom_type_script = "uid://cq65aed620ijo"
|
|||
script = ExtResource("1_p31tv")
|
||||
EnemyName = &"Fairy Guard"
|
||||
EnemyKey = &"FAIRY_GUARD"
|
||||
PrefabPath = &"uid://bb32f4p5e671j"
|
||||
PrefabPath = &"uid://cm1edol8wvxjp"
|
||||
MaxHealth = 10.0
|
||||
MovementSpeed = 40.0
|
||||
Weapon = ExtResource("7_u7yd8")
|
||||
|
|
@ -64,4 +65,5 @@ MaxStrafeDistance = 32.0
|
|||
MinStrafeDistance = 16.0
|
||||
ResponseTime = 0.5
|
||||
IconSprite = SubResource("AtlasTexture_n54y5")
|
||||
AnimationFrames = ExtResource("1_n54y5")
|
||||
metadata/_custom_type_script = "uid://cd5o0ceb50jki"
|
||||
|
|
|
|||
59
Resources/Enemies/Reimu_Boss.tres
Normal file
59
Resources/Enemies/Reimu_Boss.tres
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
[gd_resource type="Resource" script_class="EnemyResource" load_steps=10 format=3 uid="uid://bqdvyxs8sj3qa"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cq65aed620ijo" path="res://Scripts/Resources/Loot/LootDrop.cs" id="1_0qdnn"]
|
||||
[ext_resource type="Resource" uid="uid://dlhe7by67eu4v" path="res://Resources/BossPhases/Reimu/Reimu_Boss_Script.tres" id="1_amg33"]
|
||||
[ext_resource type="Texture2D" uid="uid://bbdrws471xslc" path="res://Sprites/Actors/Rumia-world.png" id="1_gjra5"]
|
||||
[ext_resource type="Resource" uid="uid://b54lru8ulinjl" path="res://Resources/Weapons/EnemyWeapon_Big.tres" id="2_amg33"]
|
||||
[ext_resource type="Script" uid="uid://cd5o0ceb50jki" path="res://Scripts/Resources/EnemyResource.cs" id="3_gjra5"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_lukoi"]
|
||||
atlas = ExtResource("1_gjra5")
|
||||
region = Rect2(0, 0, 8, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_wegsk"]
|
||||
atlas = ExtResource("1_gjra5")
|
||||
region = Rect2(8, 0, 8, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_a6ruk"]
|
||||
atlas = ExtResource("1_gjra5")
|
||||
region = Rect2(16, 0, 8, 16)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_v6t43"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_lukoi")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_wegsk")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_a6ruk")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_gjra5")
|
||||
EnemyName = &"Reimu"
|
||||
EnemyKey = &"REIMU"
|
||||
PrefabPath = &"uid://d2xmlov4ee2fc"
|
||||
MaxHealth = 500.0
|
||||
MovementSpeed = 20.0
|
||||
Weapon = ExtResource("2_amg33")
|
||||
LootDrops = Array[ExtResource("1_0qdnn")]([])
|
||||
MotivationReward = 4.0
|
||||
PredictPlayer = false
|
||||
PlayerDetectionRange = 90.0
|
||||
ViewRange = 120.0
|
||||
AlarmReactRange = 0.0
|
||||
PlayerDisengageRange = 0.0
|
||||
StrafeSpeed = 25.0
|
||||
MaxStrafeDistance = 64.0
|
||||
MinStrafeDistance = 16.0
|
||||
ResponseTime = 0.5
|
||||
AnimationFrames = SubResource("SpriteFrames_v6t43")
|
||||
BossScript = ExtResource("1_amg33")
|
||||
metadata/_custom_type_script = "uid://cd5o0ceb50jki"
|
||||
59
Resources/Enemies/Rumia_Boss.tres
Normal file
59
Resources/Enemies/Rumia_Boss.tres
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
[gd_resource type="Resource" script_class="EnemyResource" load_steps=10 format=3 uid="uid://1jtogtbjk2r5"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bbdrws471xslc" path="res://Sprites/Actors/Rumia-world.png" id="1_6mall"]
|
||||
[ext_resource type="Script" uid="uid://cq65aed620ijo" path="res://Scripts/Resources/Loot/LootDrop.cs" id="1_ibtcs"]
|
||||
[ext_resource type="Resource" uid="uid://d2l607uabv3d6" path="res://Resources/BossPhases/Rumia_Boss_Script.tres" id="1_xjekt"]
|
||||
[ext_resource type="Resource" uid="uid://b54lru8ulinjl" path="res://Resources/Weapons/EnemyWeapon_Big.tres" id="2_xjekt"]
|
||||
[ext_resource type="Script" uid="uid://cd5o0ceb50jki" path="res://Scripts/Resources/EnemyResource.cs" id="3_6mall"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_lukoi"]
|
||||
atlas = ExtResource("1_6mall")
|
||||
region = Rect2(0, 0, 8, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_wegsk"]
|
||||
atlas = ExtResource("1_6mall")
|
||||
region = Rect2(8, 0, 8, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_a6ruk"]
|
||||
atlas = ExtResource("1_6mall")
|
||||
region = Rect2(16, 0, 8, 16)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_v6t43"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_lukoi")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_wegsk")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_a6ruk")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_6mall")
|
||||
EnemyName = &"Rumia"
|
||||
EnemyKey = &"RUMIA"
|
||||
PrefabPath = &"uid://d2xmlov4ee2fc"
|
||||
MaxHealth = 500.0
|
||||
MovementSpeed = 20.0
|
||||
Weapon = ExtResource("2_xjekt")
|
||||
LootDrops = Array[ExtResource("1_ibtcs")]([])
|
||||
MotivationReward = 4.0
|
||||
PredictPlayer = false
|
||||
PlayerDetectionRange = 90.0
|
||||
ViewRange = 120.0
|
||||
AlarmReactRange = 0.0
|
||||
PlayerDisengageRange = 0.0
|
||||
StrafeSpeed = 25.0
|
||||
MaxStrafeDistance = 64.0
|
||||
MinStrafeDistance = 16.0
|
||||
ResponseTime = 0.5
|
||||
AnimationFrames = SubResource("SpriteFrames_v6t43")
|
||||
BossScript = ExtResource("1_xjekt")
|
||||
metadata/_custom_type_script = "uid://cd5o0ceb50jki"
|
||||
Loading…
Add table
Add a link
Reference in a new issue