|
|
|
|
@@ -1,4 +1,4 @@
|
|
|
|
|
[gd_scene load_steps=18 format=3 uid="uid://cmlud1hwkd6sv"]
|
|
|
|
|
[gd_scene load_steps=20 format=3 uid="uid://cmlud1hwkd6sv"]
|
|
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://bn7sc6id7n166" path="res://scenes/enemies/Enemy.cs" id="1_q8l7o"]
|
|
|
|
|
[ext_resource type="Script" uid="uid://b6y3ugfydvch0" path="res://resource_definitions/RDamageModifier.cs" id="2_1bsgx"]
|
|
|
|
|
@@ -9,6 +9,8 @@
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dmw5ibwrb483f" path="res://scenes/movement/CFlyingMovement.tscn" id="7_vaeds"]
|
|
|
|
|
[ext_resource type="Script" uid="uid://dtpxijlnb2c5" path="res://resource_definitions/RMovement.cs" id="8_on7rt"]
|
|
|
|
|
[ext_resource type="Script" uid="uid://b0u23nkpaimyc" path="res://scenes/damage/CDamageable.cs" id="8_uotso"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bctpe34ddamg5" path="res://scenes/knockback/CKnockback.tscn" id="10_dejyg"]
|
|
|
|
|
[ext_resource type="Resource" uid="uid://dt7a1io5o0b8s" path="res://scenes/enemies/flying_enemy/flying_enemy_knockback.tres" id="11_mpa2u"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="Resource" id="Resource_jnv07"]
|
|
|
|
|
script = ExtResource("2_1bsgx")
|
|
|
|
|
@@ -41,18 +43,20 @@ albedo_color = Color(0.06469653, 0.06469653, 0.06469653, 1)
|
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_4yfjf"]
|
|
|
|
|
size = Vector3(1, 1, 1.5)
|
|
|
|
|
|
|
|
|
|
[node name="FlyingEnemy" type="CharacterBody3D" node_paths=PackedStringArray("CHealth", "CDamage", "CMovement")]
|
|
|
|
|
[node name="FlyingEnemy" type="CharacterBody3D" node_paths=PackedStringArray("CHealth", "CDamage", "CKnockback", "CMovement")]
|
|
|
|
|
collision_layer = 16
|
|
|
|
|
collision_mask = 273
|
|
|
|
|
motion_mode = 1
|
|
|
|
|
script = ExtResource("1_q8l7o")
|
|
|
|
|
CHealth = NodePath("CHealth")
|
|
|
|
|
RHealth = ExtResource("2_ma2bq")
|
|
|
|
|
DeathEffects = Array[Object]([])
|
|
|
|
|
CDamage = NodePath("CDamageable")
|
|
|
|
|
RDamage = ExtResource("2_on7rt")
|
|
|
|
|
CKnockback = NodePath("CKnockback")
|
|
|
|
|
RKnockback = ExtResource("11_mpa2u")
|
|
|
|
|
CMovement = NodePath("CFlyingMovement")
|
|
|
|
|
RMovement = ExtResource("4_dejyg")
|
|
|
|
|
DeathEffects = Array[Object]([])
|
|
|
|
|
|
|
|
|
|
[node name="CHealth" type="Node" parent="."]
|
|
|
|
|
script = ExtResource("4_ys4jv")
|
|
|
|
|
@@ -68,6 +72,9 @@ metadata/_custom_type_script = "uid://b0u23nkpaimyc"
|
|
|
|
|
RMovement = SubResource("Resource_on7rt")
|
|
|
|
|
TerrainCollision = 256
|
|
|
|
|
|
|
|
|
|
[node name="CKnockback" parent="." instance=ExtResource("10_dejyg")]
|
|
|
|
|
RKnockback = ExtResource("11_mpa2u")
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
|
|
|
shape = SubResource("SphereShape3D_b46rq")
|
|
|
|
|
|
|
|
|
|
|