|
|
|
|
@@ -1,4 +1,4 @@
|
|
|
|
|
[gd_scene load_steps=22 format=3 uid="uid://cmlud1hwkd6sv"]
|
|
|
|
|
[gd_scene 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://components/damage/RDamageModifier.cs" id="2_1bsgx"]
|
|
|
|
|
@@ -47,7 +47,7 @@ albedo_color = Color(0.06469653, 0.06469653, 0.06469653, 1)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_4yfjf"]
|
|
|
|
|
|
|
|
|
|
[node name="FlyingEnemy" type="CharacterBody3D"]
|
|
|
|
|
[node name="FlyingEnemy" type="CharacterBody3D" unique_id=2090203407]
|
|
|
|
|
collision_layer = 16
|
|
|
|
|
collision_mask = 273
|
|
|
|
|
motion_mode = 1
|
|
|
|
|
@@ -59,37 +59,37 @@ RDamage = ExtResource("2_on7rt")
|
|
|
|
|
RKnockback = ExtResource("11_mpa2u")
|
|
|
|
|
RMovement = ExtResource("4_dejyg")
|
|
|
|
|
|
|
|
|
|
[node name="CHealth" type="Node" parent="."]
|
|
|
|
|
[node name="CHealth" type="Node" parent="." unique_id=1717035166]
|
|
|
|
|
script = ExtResource("4_ys4jv")
|
|
|
|
|
RHealth = ExtResource("2_ma2bq")
|
|
|
|
|
metadata/_custom_type_script = "uid://bjwrpv3jpsc1e"
|
|
|
|
|
|
|
|
|
|
[node name="CHealthBar" parent="." instance=ExtResource("7_ykkxn")]
|
|
|
|
|
[node name="CHealthBar" parent="." unique_id=1635725931 instance=ExtResource("7_ykkxn")]
|
|
|
|
|
transform = Transform3D(0.3, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.70000005, 0)
|
|
|
|
|
texture = SubResource("ViewportTexture_ykkxn")
|
|
|
|
|
|
|
|
|
|
[node name="CDamageable" type="Node" parent="."]
|
|
|
|
|
[node name="CDamageable" type="Node" parent="." unique_id=1785297232]
|
|
|
|
|
script = ExtResource("8_uotso")
|
|
|
|
|
DamageModifiers = Array[Object]([SubResource("Resource_jnv07"), SubResource("Resource_53j1c")])
|
|
|
|
|
metadata/_custom_type_script = "uid://b0u23nkpaimyc"
|
|
|
|
|
|
|
|
|
|
[node name="CMovement" parent="." instance=ExtResource("7_vaeds")]
|
|
|
|
|
[node name="CMovement" parent="." unique_id=1699571730 instance=ExtResource("7_vaeds")]
|
|
|
|
|
RMovement = SubResource("Resource_on7rt")
|
|
|
|
|
TerrainCollision = 256
|
|
|
|
|
|
|
|
|
|
[node name="CKnockback" parent="." instance=ExtResource("10_dejyg")]
|
|
|
|
|
[node name="CKnockback" parent="." unique_id=1075976217 instance=ExtResource("10_dejyg")]
|
|
|
|
|
RKnockback = ExtResource("11_mpa2u")
|
|
|
|
|
|
|
|
|
|
[node name="CTarget" type="Marker3D" parent="."]
|
|
|
|
|
[node name="CTarget" type="Marker3D" parent="." unique_id=509923742]
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=926775459]
|
|
|
|
|
shape = SubResource("SphereShape3D_b46rq")
|
|
|
|
|
|
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="." unique_id=689361156]
|
|
|
|
|
layers = 33
|
|
|
|
|
mesh = SubResource("SphereMesh_1bsgx")
|
|
|
|
|
|
|
|
|
|
[node name="MeshInstance3D2" type="MeshInstance3D" parent="."]
|
|
|
|
|
[node name="MeshInstance3D2" type="MeshInstance3D" parent="." unique_id=2036341749]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.2, 0, -0.5)
|
|
|
|
|
layers = 33
|
|
|
|
|
cast_shadow = 0
|
|
|
|
|
@@ -97,7 +97,7 @@ ignore_occlusion_culling = true
|
|
|
|
|
mesh = SubResource("SphereMesh_4yfjf")
|
|
|
|
|
surface_material_override/0 = SubResource("StandardMaterial3D_4yfjf")
|
|
|
|
|
|
|
|
|
|
[node name="MeshInstance3D3" type="MeshInstance3D" parent="."]
|
|
|
|
|
[node name="MeshInstance3D3" type="MeshInstance3D" parent="." unique_id=54568096]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.2, 0, -0.5)
|
|
|
|
|
layers = 33
|
|
|
|
|
cast_shadow = 0
|
|
|
|
|
@@ -105,14 +105,14 @@ ignore_occlusion_culling = true
|
|
|
|
|
mesh = SubResource("SphereMesh_4yfjf")
|
|
|
|
|
surface_material_override/0 = SubResource("StandardMaterial3D_4yfjf")
|
|
|
|
|
|
|
|
|
|
[node name="GroundDistance" type="RayCast3D" parent="."]
|
|
|
|
|
[node name="GroundDistance" type="RayCast3D" parent="." unique_id=999838555]
|
|
|
|
|
target_position = Vector3(0, 0, 0)
|
|
|
|
|
collision_mask = 272
|
|
|
|
|
|
|
|
|
|
[node name="DamageBox" type="Area3D" parent="."]
|
|
|
|
|
[node name="DamageBox" type="Area3D" parent="." unique_id=701876382]
|
|
|
|
|
collision_layer = 0
|
|
|
|
|
monitorable = false
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="DamageBox"]
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="DamageBox" unique_id=68664931]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.5)
|
|
|
|
|
shape = SubResource("BoxShape3D_4yfjf")
|
|
|
|
|
|