2024-12-20 19:51:46 +01:00
|
|
|
[gd_scene load_steps=6 format=3 uid="uid://cvnjpnvchvakj"]
|
2024-12-11 22:23:58 +01:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scripts/entities/npc.gd" id="1_jvyx6"]
|
|
|
|
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_e5nrh"]
|
|
|
|
albedo_color = Color(1, 0, 0, 1)
|
|
|
|
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_qcrlh"]
|
|
|
|
material = SubResource("StandardMaterial3D_e5nrh")
|
|
|
|
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_am313"]
|
|
|
|
|
2024-12-20 19:51:46 +01:00
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_wyrst"]
|
|
|
|
size = Vector3(3, 2, 3)
|
|
|
|
|
2024-12-11 22:23:58 +01:00
|
|
|
[node name="Npc" type="CharacterBody3D"]
|
|
|
|
script = ExtResource("1_jvyx6")
|
|
|
|
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
|
|
mesh = SubResource("CapsuleMesh_qcrlh")
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
|
|
shape = SubResource("CapsuleShape3D_am313")
|
|
|
|
|
|
|
|
[node name="NavigationAgent3D" type="NavigationAgent3D" parent="."]
|
|
|
|
avoidance_enabled = true
|
|
|
|
height = 2.0
|
2024-12-12 11:59:22 +01:00
|
|
|
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
2024-12-13 18:28:06 +01:00
|
|
|
|
|
|
|
[node name="Label3D" type="Label3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.25, 0)
|
|
|
|
pixel_size = 0.01
|
|
|
|
billboard = 1
|
|
|
|
no_depth_test = true
|
2024-12-20 19:51:46 +01:00
|
|
|
|
|
|
|
[node name="Area3D" type="Area3D" parent="."]
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
|
|
|
|
shape = SubResource("BoxShape3D_wyrst")
|