34 lines
1.6 KiB
Plaintext
34 lines
1.6 KiB
Plaintext
[gd_scene format=3 uid="uid://c0txsmf1ffuqg"]
|
|
|
|
[ext_resource type="Script" uid="uid://bv488f4v7ly6a" path="res://addons/NPC/script/dialog_npct.gd" id="1_7gkvn"]
|
|
[ext_resource type="PackedScene" uid="uid://bdwjy2jvga343" path="res://addons/custmode/Models/Male/Character_20_Police.fbx" id="2_7gkvn"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_se2kl"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_diulm"]
|
|
size = Vector3(1.6360468, 1.3225784, 2.9930296)
|
|
|
|
[node name="npc" type="StaticBody3D" unique_id=2094693982]
|
|
collision_layer = 64
|
|
collision_mask = 121
|
|
script = ExtResource("1_7gkvn")
|
|
|
|
[node name="Hitbox" type="CollisionShape3D" parent="." unique_id=1852865682]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.017934263, 0.009854734, 0.019842744)
|
|
shape = SubResource("CapsuleShape3D_se2kl")
|
|
debug_color = Color(0.52798665, 0.57221377, 5.7756904e-07, 0.41960785)
|
|
|
|
[node name="DetectArea" type="Area3D" parent="." unique_id=798798411]
|
|
transform = Transform3D(1.15835, 0, 0, 0, 1.5085664, 0, 0, 0, 3.406684, 0.4316032, 0.013125002, 0.15177906)
|
|
collision_layer = 64
|
|
collision_mask = 2
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="DetectArea" unique_id=1961649541]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.2729469, 0.09678304, 0.4440172)
|
|
shape = SubResource("BoxShape3D_diulm")
|
|
|
|
[node name="Character_20_Police" parent="." unique_id=963124408 instance=ExtResource("2_7gkvn")]
|
|
transform = Transform3D(0.455, 0, 0, 0, 0.455, 0, 0, 0, 0.455, 0, -0.895, 0)
|
|
|
|
[connection signal="area_entered" from="DetectArea" to="." method="_on_detect_area_area_entered"]
|