mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-17 20:23:48 +00:00
Controllable enemies
This commit is contained in:
parent
cf4b11d157
commit
0aad79a0f8
18 changed files with 893 additions and 23 deletions
|
|
@ -45,10 +45,11 @@ EnemyName = &"Fairy Guard"
|
|||
EnemyKey = &"FAIRY_GUARD"
|
||||
PrefabPath = &"res://Scenes/Actors/FairyGuard_New.tscn"
|
||||
MaxHealth = 4.0
|
||||
MovementSpeed = 20.0
|
||||
MovementSpeed = 30.0
|
||||
Weapon = ExtResource("7_xlxdc")
|
||||
LootDrops = Array[Object]([SubResource("Resource_c8nix"), SubResource("Resource_gs2l3"), SubResource("Resource_sqnvg"), SubResource("Resource_5tyar"), SubResource("Resource_48xq6")])
|
||||
PlayerDetectionRange = 90.0
|
||||
ViewRange = 120.0
|
||||
AlarmReactRange = 200.0
|
||||
PlayerDisengageRange = 500.0
|
||||
metadata/_custom_type_script = "uid://cd5o0ceb50jki"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
[gd_resource type="Resource" script_class="EnemyResource" load_steps=3 format=3 uid="uid://cfdvg162u65sr"]
|
||||
[gd_resource type="Resource" script_class="EnemyResource" load_steps=4 format=3 uid="uid://cfdvg162u65sr"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cq65aed620ijo" path="res://Scripts/Resources/Loot/LootDrop.cs" id="1_f3huq"]
|
||||
[ext_resource type="Resource" uid="uid://cdfmedtgp2rcn" path="res://Resources/Weapons/EnemyWeapon.tres" id="7_filx8"]
|
||||
[ext_resource type="Script" uid="uid://cd5o0ceb50jki" path="res://Scripts/Resources/EnemyResource.cs" id="8_x8scf"]
|
||||
|
||||
|
|
@ -9,10 +10,11 @@ EnemyName = &"Robot 1"
|
|||
EnemyKey = &"ROBOT_1"
|
||||
PrefabPath = &"res://Scenes/Actors/Thermathron.tscn"
|
||||
MaxHealth = 8.0
|
||||
MovementSpeed = 20.0
|
||||
MovementSpeed = 35.0
|
||||
Weapon = ExtResource("7_filx8")
|
||||
LootDrops = Array[Object]([])
|
||||
LootDrops = Array[ExtResource("1_f3huq")]([])
|
||||
PlayerDetectionRange = 90.0
|
||||
ViewRange = 120.0
|
||||
AlarmReactRange = 200.0
|
||||
PlayerDisengageRange = 500.0
|
||||
metadata/_custom_type_script = "uid://cd5o0ceb50jki"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue