35 lines
1.4 KiB
Plaintext
35 lines
1.4 KiB
Plaintext
[gd_scene format=3 uid="uid://vo2yhy5ym5ug"]
|
|||
|
|
|
||
|
|
[ext_resource type="Script" uid="uid://bgnhdyrrg72kx" path="res://addons/NPC/script/enemy_mob.gd" id="1_g34hb"]
|
||
|
|
[ext_resource type="Script" uid="uid://drhhet1lt3f5a" path="res://addons/hp/health_component.gd" id="2_pr0ef"]
|
||
|
|
|
||
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_jkuv2"]
|
||
|
|
|
||
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_g34hb"]
|
||
|
|
size = Vector3(9.06456, 2.5653687, 8.218338)
|
||
|
|
|
||
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_pr0ef"]
|
||
|
|
|
||
|
|
[node name="CharacterBody3D" type="CharacterBody3D" unique_id=1156384226]
|
||
|
|
collision_layer = 64
|
||
|
|
collision_mask = 121
|
||
|
|
script = ExtResource("1_g34hb")
|
||
|
|
|
||
|
|
[node name="Hitbox" type="CollisionShape3D" parent="." unique_id=1374343369]
|
||
|
|
shape = SubResource("CapsuleShape3D_jkuv2")
|
||
|
|
|
||
|
|
[node name="DetectArea" type="Area3D" parent="." unique_id=356424442]
|
||
|
|
collision_layer = 64
|
||
|
|
collision_mask = 121
|
||
|
|
|
||
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="DetectArea" unique_id=2072637957]
|
||
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.16861972, 0.64931965, -0.60822296)
|
||
|
|
shape = SubResource("BoxShape3D_g34hb")
|
||
|
|
debug_color = Color(0.5763886, 0.84150624, 0.017774109, 0.41960785)
|
||
|
|
|
||
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="." unique_id=297370616]
|
||
|
|
mesh = SubResource("CapsuleMesh_pr0ef")
|
||
|
|
|
||
|
|
[node name="HealthComponent" type="Node3D" parent="." unique_id=1263552151]
|
||
|
|
script = ExtResource("2_pr0ef")
|