mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-14 07:15:54 +00:00
Rebalances and new fairy
This commit is contained in:
parent
25dff4215d
commit
265f5ecfca
18 changed files with 1785 additions and 1041 deletions
|
|
@ -12,7 +12,6 @@ BulletSprite = ExtResource("2_cafp2")
|
|||
BulletSize = 0.08
|
||||
DestructionParticlesBullet = ExtResource("3_pvk5i")
|
||||
BulletSpeed = 10.0
|
||||
BulletDamage = 0.8
|
||||
MaxDamage = 1.6
|
||||
Knockback = 100.0
|
||||
Owner = 1
|
||||
|
|
|
|||
76
Resources/Enemies/Base_Fairy_T1_3D.tres
Normal file
76
Resources/Enemies/Base_Fairy_T1_3D.tres
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
[gd_resource type="Resource" script_class="EnemyResource" load_steps=22 format=3 uid="uid://b4qluyo121qua"]
|
||||
|
||||
[ext_resource type="AudioStream" uid="uid://rh8w0qte7wup" path="res://SFX/fairy_stop.wav" id="1_lruxf"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://de4d31jy4yja5" path="res://Resources/Sprites/base_fairy_blue_yellow.tres" id="2_lruxf"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://bhpipyiuydlul" path="res://Resources/Sprites/Fairy_Base_Dead.tres" id="3_nc0l5"]
|
||||
[ext_resource type="AudioStream" uid="uid://c2lpt24ft01go" path="res://SFX/fairy_death.wav" id="4_r4hmv"]
|
||||
[ext_resource type="PackedScene" uid="uid://l7a5p3vfsbn0" path="res://Scenes/Actors/Generic_Enemy_Debris_3D.tscn" id="5_5jvdd"]
|
||||
[ext_resource type="AudioStream" uid="uid://bwr26ypv2rg6c" path="res://SFX/enemy_hit.wav" id="6_125yh"]
|
||||
[ext_resource type="Texture2D" uid="uid://drkdo2jnhxo2o" path="res://Sprites/Actors/Fairy_Blue_Yellow.png" id="7_nj24s"]
|
||||
[ext_resource type="Script" uid="uid://cq65aed620ijo" path="res://Scripts/Resources/Loot/LootDrop.cs" id="8_pvjd5"]
|
||||
[ext_resource type="Resource" uid="uid://ct1fa2huvy34n" path="res://Resources/Items/Ammo1.tres" id="9_lqsoe"]
|
||||
[ext_resource type="Resource" uid="uid://dy53gia1tmkah" path="res://Resources/Items/Points_Pickup.tres" id="10_secq0"]
|
||||
[ext_resource type="Resource" uid="uid://bhbufxodybsw4" path="res://Resources/Items/Shield_Pickup.tres" id="11_0ppub"]
|
||||
[ext_resource type="Resource" uid="uid://dodwpect0ldjf" path="res://Resources/Items/Heart_Pickup.tres" id="12_4difd"]
|
||||
[ext_resource type="Resource" uid="uid://clr1gln7nxa1o" path="res://Resources/Items/Power_Pickup.tres" id="13_0ty30"]
|
||||
[ext_resource type="Resource" uid="uid://dtulwbd5uym6p" path="res://Resources/Weapons/EnemyWeapon_Laser_Straight_3D.tres" id="14_lruxf"]
|
||||
[ext_resource type="Script" uid="uid://cd5o0ceb50jki" path="res://Scripts/Resources/EnemyResource.cs" id="15_20bej"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_nc0l5"]
|
||||
atlas = ExtResource("7_nj24s")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="Resource" id="Resource_c8nix"]
|
||||
script = ExtResource("8_pvjd5")
|
||||
Item = ExtResource("9_lqsoe")
|
||||
Chance = 40.0
|
||||
metadata/_custom_type_script = "uid://cq65aed620ijo"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_gs2l3"]
|
||||
script = ExtResource("8_pvjd5")
|
||||
Item = ExtResource("10_secq0")
|
||||
Chance = 10.0
|
||||
metadata/_custom_type_script = "uid://cq65aed620ijo"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_sqnvg"]
|
||||
script = ExtResource("8_pvjd5")
|
||||
Item = ExtResource("11_0ppub")
|
||||
Chance = 5.0
|
||||
metadata/_custom_type_script = "uid://cq65aed620ijo"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_5tyar"]
|
||||
script = ExtResource("8_pvjd5")
|
||||
Item = ExtResource("12_4difd")
|
||||
Chance = 5.0
|
||||
metadata/_custom_type_script = "uid://cq65aed620ijo"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_48xq6"]
|
||||
script = ExtResource("8_pvjd5")
|
||||
Item = ExtResource("13_0ty30")
|
||||
Chance = 6.0
|
||||
metadata/_custom_type_script = "uid://cq65aed620ijo"
|
||||
|
||||
[resource]
|
||||
script = ExtResource("15_20bej")
|
||||
EnemyName = &"Fairy"
|
||||
EnemyKey = &"FAIRY_BASE_T1"
|
||||
PrefabPath = &"uid://bh3vxmqflijgj"
|
||||
MaxHealth = 6.0
|
||||
MovementSpeed = 1.5
|
||||
Weapon = ExtResource("14_lruxf")
|
||||
LootDrops = Array[ExtResource("8_pvjd5")]([SubResource("Resource_c8nix"), SubResource("Resource_gs2l3"), SubResource("Resource_sqnvg"), SubResource("Resource_5tyar"), SubResource("Resource_48xq6")])
|
||||
PlayerDetectionRange = 12.0
|
||||
ViewRange = 8.0
|
||||
AlarmReactRange = 20.0
|
||||
PlayerDisengageRange = 15.0
|
||||
StrafeSpeed = 0.0
|
||||
MaxStrafeDistance = 0.0
|
||||
MinStrafeDistance = 0.0
|
||||
IconSprite = SubResource("AtlasTexture_nc0l5")
|
||||
AnimationFrames = ExtResource("2_lruxf")
|
||||
DebrisScene = ExtResource("5_5jvdd")
|
||||
DeathAnimation = ExtResource("3_nc0l5")
|
||||
HitSound = ExtResource("6_125yh")
|
||||
DeathSound = ExtResource("4_r4hmv")
|
||||
AlertSound = ExtResource("1_lruxf")
|
||||
metadata/_custom_type_script = "uid://cd5o0ceb50jki"
|
||||
85
Resources/Sprites/base_fairy_blue_yellow.tres
Normal file
85
Resources/Sprites/base_fairy_blue_yellow.tres
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
[gd_resource type="SpriteFrames" load_steps=10 format=3 uid="uid://de4d31jy4yja5"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://drkdo2jnhxo2o" path="res://Sprites/Actors/Fairy_Blue_Yellow.png" id="1_s8dqd"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_hbr3e"]
|
||||
atlas = ExtResource("1_s8dqd")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ytx88"]
|
||||
atlas = ExtResource("1_s8dqd")
|
||||
region = Rect2(16, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_p1kdo"]
|
||||
atlas = ExtResource("1_s8dqd")
|
||||
region = Rect2(0, 32, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_su646"]
|
||||
atlas = ExtResource("1_s8dqd")
|
||||
region = Rect2(16, 32, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_b1qrd"]
|
||||
atlas = ExtResource("1_s8dqd")
|
||||
region = Rect2(0, 16, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_si6iw"]
|
||||
atlas = ExtResource("1_s8dqd")
|
||||
region = Rect2(16, 16, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_yeuy0"]
|
||||
atlas = ExtResource("1_s8dqd")
|
||||
region = Rect2(0, 48, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_13sdw"]
|
||||
atlas = ExtResource("1_s8dqd")
|
||||
region = Rect2(16, 48, 16, 16)
|
||||
|
||||
[resource]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_hbr3e")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ytx88")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"down",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_p1kdo")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_su646")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"left",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_b1qrd")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_si6iw")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"right",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_yeuy0")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_yeuy0")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_13sdw")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"up",
|
||||
"speed": 5.0
|
||||
}]
|
||||
17
Resources/Weapons/EnemyWeapon_Laser_Straight_3D.tres
Normal file
17
Resources/Weapons/EnemyWeapon_Laser_Straight_3D.tres
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
[gd_resource type="Resource" script_class="WeaponResource" load_steps=4 format=3 uid="uid://dtulwbd5uym6p"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://qrqsywgiij7i" path="res://Resources/Bullets/3D/simple_enemy_bullet_small_3D.tres" id="1_j80b3"]
|
||||
[ext_resource type="AudioStream" uid="uid://bosubfbro8gyk" path="res://SFX/enemy_shoot.wav" id="2_vwe40"]
|
||||
[ext_resource type="Script" uid="uid://b6fmrnipv88bk" path="res://Scripts/Resources/WeaponResource.cs" id="3_icy5i"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_icy5i")
|
||||
Name = &"Enemy Laser Weapon"
|
||||
BulletData = ExtResource("1_j80b3")
|
||||
RateOfFire = 0.08
|
||||
BulletCapacity = 500
|
||||
ReloadTime = 10.0
|
||||
ItemKey = &""
|
||||
AmmoKey = &""
|
||||
StopToShoot = true
|
||||
ShootSound = ExtResource("2_vwe40")
|
||||
Loading…
Add table
Add a link
Reference in a new issue