mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-08 06:15:54 +00:00
New boss system
This commit is contained in:
parent
0322748d86
commit
c2a72e4e77
14 changed files with 480 additions and 11 deletions
31
Resources/Enemies/Boss_1.tres
Normal file
31
Resources/Enemies/Boss_1.tres
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
[gd_resource type="Resource" script_class="EnemyResource" load_steps=6 format=3 uid="uid://ng3lpe8ifbsn"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://xhwfgbv0fjbr" path="res://Sprites/Actors/FairyGuard.png" id="1_7gkmq"]
|
||||
[ext_resource type="Script" uid="uid://cq65aed620ijo" path="res://Scripts/Resources/Loot/LootDrop.cs" id="2_3teuq"]
|
||||
[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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_n54y5"]
|
||||
atlas = ExtResource("1_7gkmq")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[resource]
|
||||
script = ExtResource("9_vykx5")
|
||||
EnemyName = &"Boss 1"
|
||||
EnemyKey = &"BOSS_1"
|
||||
PrefabPath = &"uid://dt7i3x3g5ktbl"
|
||||
MaxHealth = 100.0
|
||||
MovementSpeed = 40.0
|
||||
Weapon = ExtResource("8_w06jt")
|
||||
LootDrops = Array[ExtResource("2_3teuq")]([])
|
||||
MotivationReward = 100.0
|
||||
PlayerDetectionRange = 90.0
|
||||
ViewRange = 120.0
|
||||
AlarmReactRange = 150.0
|
||||
PlayerDisengageRange = 500.0
|
||||
StrafeSpeed = 25.0
|
||||
MaxStrafeDistance = 32.0
|
||||
MinStrafeDistance = 16.0
|
||||
ResponseTime = 0.5
|
||||
IconSprite = SubResource("AtlasTexture_n54y5")
|
||||
metadata/_custom_type_script = "uid://cd5o0ceb50jki"
|
||||
Loading…
Add table
Add a link
Reference in a new issue