mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-04 14:51:17 +00:00
Generic enemies
This commit is contained in:
parent
762666242e
commit
d99c773641
55 changed files with 968 additions and 204 deletions
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