trenches/godot/objects/enemy.tscn

56 lines
1.7 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://0fykl1mw3c12"]
[ext_resource type="PackedScene" uid="uid://bnr6lab7heo8e" path="res://objects/character_model_base.tscn" id="1_i7aop"]
[ext_resource type="AudioStream" uid="uid://b5evvhyrhybkf" path="res://sounds/drone.ogg" id="2_8cpm2"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_3tduq"]
radius = 0.211247
height = 2.38725
[node name="Enemy" type="Enemy"]
update_interval = 0.25
collision_layer = 6
[node name="CharacterModel" parent="." instance=ExtResource("1_i7aop")]
unique_name_in_owner = true
[node name="mesh_helmet_a" parent="CharacterModel/skeleton_character/Skeleton3D" index="1"]
visible = false
[node name="AnimationTree" parent="CharacterModel" index="2"]
parameters/Actions/Run/Speed/blend_amount = 0.0
"parameters/Actions/Walk [turn]/Speed/blend_amount" = 0.0
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.19104, 0)
shape = SubResource("CapsuleShape3D_3tduq")
[node name="NavigationAgent3D" type="NavigationAgent3D" parent="."]
unique_name_in_owner = true
path_desired_distance = 0.5
simplify_path = true
avoidance_enabled = true
debug_enabled = true
[node name="DroneSound" type="AudioStreamPlayer3D" parent="."]
unique_name_in_owner = true
stream = ExtResource("2_8cpm2")
attenuation_model = 2
volume_db = 1.0
unit_size = 27.02
autoplay = true
max_distance = 13.36
panning_strength = 0.17
[node name="DebugLabel" type="Label3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.09348, 0)
ignore_occlusion_culling = true
pixel_size = 0.003
billboard = 1
no_depth_test = true
texture_filter = 0
text = "State: None"
[editable path="CharacterModel"]