diff --git a/src/maps/arena_map/arena_map.tscn b/src/maps/arena_map/arena_map.tscn index c0ed49d..3938e3f 100644 --- a/src/maps/arena_map/arena_map.tscn +++ b/src/maps/arena_map/arena_map.tscn @@ -1,9 +1,8 @@ -[gd_scene load_steps=31 format=3 uid="uid://drbiyuustse8b"] +[gd_scene load_steps=30 format=3 uid="uid://drbiyuustse8b"] [ext_resource type="Script" path="res://src/maps/arena_map/arena_map.gd" id="1_5ols7"] -[ext_resource type="PackedScene" uid="uid://1jess8uo751x" path="res://src/player/player.tscn" id="1_tgee4"] +[ext_resource type="PackedScene" uid="uid://b35hitnloyak3" path="res://src/player/player.tscn" id="1_tgee4"] [ext_resource type="Material" uid="uid://7a1uvst7oef2" path="res://assets/textures/metal_plate_1k/metal_plate.tres" id="2_ewgwm"] -[ext_resource type="PackedScene" uid="uid://2vetjvn3w0si" path="res://src/npc/dummy/dummy.tscn" id="2_stkni"] [ext_resource type="Shader" path="res://src/shaders/sunny_sky.gdshader" id="2_x74tl"] [ext_resource type="Material" uid="uid://dsc0g1qafw80e" path="res://src/maps/arena_map/metal_09.tres" id="3_jqqt6"] [ext_resource type="PackedScene" uid="uid://bv8ifwo8yn6h0" path="res://src/npc/mech_enemy/mech_enemy.tscn" id="4_mheuj"] @@ -136,9 +135,6 @@ script = ExtResource("1_5ols7") [node name="Player" parent="." instance=ExtResource("1_tgee4")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0) -[node name="Dummy" parent="." instance=ExtResource("2_stkni")] -transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 10) - [node name="MechEnemy" parent="." node_paths=PackedStringArray("target") instance=ExtResource("4_mheuj")] transform = Transform3D(-0.916705, 0, -0.399565, 0, 1, 0, 0.399565, 0, -0.916705, 5.807, 0, 8.08043) collision_layer = 1 @@ -217,6 +213,32 @@ end_position = Vector3(0, -5, 4) transform = Transform3D(0.866026, 0, -0.5, 0, 1, 0, 0.5, 0, 0.866026, -24.5, 0, 42.4352) end_position = Vector3(0, -5, 4) +[node name="PatrolMarkers" type="Node3D" parent="WorldGeometry"] + +[node name="Marker3D" type="Marker3D" parent="WorldGeometry/PatrolMarkers" groups=["PatrolMarkers"]] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, 0) + +[node name="Marker3D2" type="Marker3D" parent="WorldGeometry/PatrolMarkers" groups=["PatrolMarkers"]] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 0) + +[node name="Marker3D3" type="Marker3D" parent="WorldGeometry/PatrolMarkers" groups=["PatrolMarkers"]] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 30) + +[node name="Marker3D4" type="Marker3D" parent="WorldGeometry/PatrolMarkers" groups=["PatrolMarkers"]] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -30) + +[node name="Marker3D5" type="Marker3D" parent="WorldGeometry/PatrolMarkers" groups=["PatrolMarkers"]] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 60, -5, 0) + +[node name="Marker3D6" type="Marker3D" parent="WorldGeometry/PatrolMarkers" groups=["PatrolMarkers"]] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -60, -5, 0) + +[node name="Marker3D7" type="Marker3D" parent="WorldGeometry/PatrolMarkers" groups=["PatrolMarkers"]] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -5, 60) + +[node name="Marker3D8" type="Marker3D" parent="WorldGeometry/PatrolMarkers" groups=["PatrolMarkers"]] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -5, -60) + [node name="Floor" type="MeshInstance3D" parent="WorldGeometry"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0) mesh = SubResource("CylinderMesh_uarav") @@ -321,32 +343,6 @@ shape = SubResource("WorldBoundaryShape3D_gye7m") transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 150, 0) shape = SubResource("WorldBoundaryShape3D_x27m4") -[node name="PatrolMarkers" type="Node3D" parent="WorldGeometry"] - -[node name="Marker3D" type="Marker3D" parent="WorldGeometry/PatrolMarkers" groups=["PatrolMarkers"]] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, 0) - -[node name="Marker3D2" type="Marker3D" parent="WorldGeometry/PatrolMarkers" groups=["PatrolMarkers"]] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 0) - -[node name="Marker3D3" type="Marker3D" parent="WorldGeometry/PatrolMarkers" groups=["PatrolMarkers"]] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 30) - -[node name="Marker3D4" type="Marker3D" parent="WorldGeometry/PatrolMarkers" groups=["PatrolMarkers"]] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -30) - -[node name="Marker3D5" type="Marker3D" parent="WorldGeometry/PatrolMarkers" groups=["PatrolMarkers"]] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 60, -5, 0) - -[node name="Marker3D6" type="Marker3D" parent="WorldGeometry/PatrolMarkers" groups=["PatrolMarkers"]] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -60, -5, 0) - -[node name="Marker3D7" type="Marker3D" parent="WorldGeometry/PatrolMarkers" groups=["PatrolMarkers"]] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -5, 60) - -[node name="Marker3D8" type="Marker3D" parent="WorldGeometry/PatrolMarkers" groups=["PatrolMarkers"]] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -5, -60) - [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { "": SubResource("AnimationLibrary_h554d") diff --git a/src/npc/mech_character/mech_character.gd b/src/npc/mech_character/mech_character.gd index b5f5f0e..10bf2bd 100644 --- a/src/npc/mech_character/mech_character.gd +++ b/src/npc/mech_character/mech_character.gd @@ -26,6 +26,9 @@ var _boost_triggered: bool = false @onready var spark_shower: GPUParticles3D = $SparkShower @onready var boost_cooldown_timer: Timer = $BoostCooldownTimer +@onready var _spawn_point: Vector3 = global_position +@onready var _spawn_rotation: Vector3 = global_rotation + func shutdown() -> void: animation_tree["parameters/online_state/transition_request"] = "offline" diff --git a/src/npc/mech_character/mech_character.tscn b/src/npc/mech_character/mech_character.tscn index 0d705fc..9ced7b5 100644 --- a/src/npc/mech_character/mech_character.tscn +++ b/src/npc/mech_character/mech_character.tscn @@ -20,90 +20,90 @@ script = ExtResource("1_0ew1j") transform = Transform3D(0.15, 0, 0, 0, 0.15, 0, 0, 0, 0.15, 0, 0, -0.05) [node name="Skeleton3D" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5" index="0"] -bones/1/position = Vector3(-1.16428e-18, -0.00665534, 6.25158) +bones/1/position = Vector3(-1.16428e-18, -0.00741675, 6.46156) bones/1/rotation = Quaternion(0.707107, 0, 0, 0.707107) -bones/3/rotation = Quaternion(0.651585, 0.671395, 0.246094, 0.253186) -bones/4/rotation = Quaternion(0.733289, 0.053864, 0.075948, 0.673511) -bones/5/rotation = Quaternion(-0.649657, -0.00100253, -0.105476, 0.752874) -bones/6/rotation = Quaternion(-0.431434, 0.0118828, -0.0625772, 0.899893) -bones/7/rotation = Quaternion(-0.848468, 0.0351997, -0.175966, 0.497895) -bones/11/rotation = Quaternion(-0.845057, 0.0417105, -0.171538, 0.504692) -bones/17/rotation = Quaternion(0.751396, 0.0201552, 0.65906, 0.0252616) -bones/23/rotation = Quaternion(0.872122, 0.00313713, 0.14407, 0.467588) -bones/27/rotation = Quaternion(-0.593697, -0.00508114, -0.108615, 0.797308) -bones/33/rotation = Quaternion(-0.586231, -0.00912926, -0.113591, 0.802089) -bones/35/rotation = Quaternion(-0.674071, 0.00417794, -0.109153, 0.730545) -bones/41/rotation = Quaternion(-0.0150236, 0.941508, 0.336438, 0.0121348) -bones/49/rotation = Quaternion(0.000138093, 6.57829e-24, -4.93905e-31, 1) +bones/3/rotation = Quaternion(0.655401, 0.67475, 0.236565, 0.24331) +bones/4/rotation = Quaternion(0.697892, 0.0563569, 0.0721306, 0.71033) +bones/5/rotation = Quaternion(-0.619568, -0.00144757, -0.101097, 0.778404) +bones/6/rotation = Quaternion(-0.434717, 0.0113594, -0.0627387, 0.898307) +bones/7/rotation = Quaternion(-0.841114, 0.0366374, -0.173894, 0.510829) +bones/11/rotation = Quaternion(-0.837514, 0.0433019, -0.169333, 0.517709) +bones/17/rotation = Quaternion(0.751709, 0.0102991, 0.65934, 0.009949) +bones/23/rotation = Quaternion(0.901995, 0.00358873, 0.148809, 0.405276) +bones/27/rotation = Quaternion(-0.551867, -0.00583393, -0.102752, 0.827557) +bones/33/rotation = Quaternion(-0.543989, -0.00997508, -0.107799, 0.832079) +bones/35/rotation = Quaternion(-0.630149, 0.00354853, -0.102509, 0.76967) +bones/41/rotation = Quaternion(-0.0147626, 0.935678, 0.352339, 0.012051) +bones/49/rotation = Quaternion(4.47989e-05, 6.57828e-24, -4.94386e-31, 1) bones/50/rotation = Quaternion(0.80296, 2.84212e-07, 3.82883e-07, 0.596033) -bones/51/rotation = Quaternion(0.595635, -0.00023943, 0.000322307, 0.803255) -bones/55/rotation = Quaternion(0.595635, 0.000238664, -0.000321738, 0.803255) +bones/51/rotation = Quaternion(0.595791, -0.000239613, 0.000322554, 0.80314) +bones/55/rotation = Quaternion(0.595791, 0.000238847, -0.000321985, 0.80314) bones/62/rotation = Quaternion(-0.000385918, 2.26111e-14, -0.000401128, 1) bones/66/rotation = Quaternion(-0.000385918, -2.26111e-14, 0.000401128, 1) -bones/74/rotation = Quaternion(-0.65097, 0.670734, 0.247754, -0.254897) -bones/75/rotation = Quaternion(0.732936, -0.0538865, -0.0759074, 0.673899) -bones/76/rotation = Quaternion(-0.649384, 0.00100892, 0.105438, 0.753115) -bones/77/rotation = Quaternion(-0.429417, -0.0118826, 0.0622863, 0.900878) -bones/78/rotation = Quaternion(-0.849985, -0.0351231, 0.176264, 0.4952) -bones/82/rotation = Quaternion(-0.846582, -0.0416752, 0.171816, 0.502038) -bones/88/rotation = Quaternion(0.751422, -0.0195021, -0.659087, 0.0242732) -bones/94/rotation = Quaternion(0.87314, -0.00314811, -0.144235, 0.465632) -bones/98/rotation = Quaternion(-0.594432, 0.00507885, 0.108734, 0.796744) -bones/102/rotation = Quaternion(-0.58696, 0.00914016, 0.113727, 0.801536) -bones/106/rotation = Quaternion(-0.67369, -0.00416995, 0.109097, 0.730905) -bones/112/rotation = Quaternion(0.0150384, 0.941129, 0.337496, -0.0121207) -bones/122/position = Vector3(3.16409, -0.193279, 0.386144) -bones/122/rotation = Quaternion(0.993185, -0.00681207, 0.08116, -0.0833626) -bones/126/position = Vector3(-3.16409, -0.220933, 0.385237) -bones/126/rotation = Quaternion(0.993223, 0.00677594, -0.081163, -0.0829204) +bones/74/rotation = Quaternion(-0.656225, 0.67563, 0.234219, -0.240903) +bones/75/rotation = Quaternion(0.698225, -0.0563369, -0.072168, 0.71) +bones/76/rotation = Quaternion(-0.619838, 0.00144325, 0.101136, 0.778184) +bones/77/rotation = Quaternion(-0.437498, -0.0113471, 0.0631354, 0.896929) +bones/78/rotation = Quaternion(-0.838834, -0.0367647, 0.173441, 0.514708) +bones/82/rotation = Quaternion(-0.835214, -0.0434144, 0.16886, 0.521554) +bones/88/rotation = Quaternion(0.751702, -0.0107329, -0.659331, 0.0105967) +bones/94/rotation = Quaternion(0.901428, -0.00360328, -0.148708, 0.406571) +bones/98/rotation = Quaternion(-0.550815, 0.00583603, 0.102578, 0.82828) +bones/102/rotation = Quaternion(-0.542944, 0.00996104, 0.107602, 0.832787) +bones/106/rotation = Quaternion(-0.630542, -0.00355481, 0.102568, 0.76934) +bones/112/rotation = Quaternion(0.0147637, 0.935826, 0.351948, -0.0120607) +bones/122/position = Vector3(3.16409, -0.22593, 0.384995) +bones/122/rotation = Quaternion(0.993229, -0.00676952, 0.0811634, -0.0828417) +bones/126/position = Vector3(-3.16409, -0.186431, 0.387407) +bones/126/rotation = Quaternion(0.993179, 0.00681851, -0.0811594, -0.0834413) [node name="Plane_009_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="0"] -transform = Transform3D(0.999995, 0.000703827, 0.00292135, -0.000807568, 0.999365, 0.0356463, -0.00289449, -0.0356485, 0.99936, -0.0121078, -0.0112166, 0.041932) +transform = Transform3D(1, 7.25389e-05, -0.000196971, -7.12574e-05, 0.999979, 0.00662348, 0.00019753, -0.00662374, 0.999978, 8.01086e-05, -0.0303923, 0.00273496) [node name="Plane_012_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="1"] -transform = Transform3D(0.999994, 0.00105527, 0.00318529, -0.00116922, 0.999351, 0.0359972, -0.00314534, -0.0360007, 0.999347, -0.0126793, -0.0112119, 0.0419837) +transform = Transform3D(1, 0.000120655, -0.000205003, -0.000119403, 0.999978, 0.00660649, 0.000205874, -0.00660664, 0.999978, 4.00543e-05, -0.0302877, 0.00277847) [node name="Cube_016_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="2"] -transform = Transform3D(0.999999, -0.000268884, 0.00139882, 0.00027038, 1, -0.0010685, -0.00139862, 0.00106886, 0.999998, -0.00986934, 0.0152087, -0.000563592) +transform = Transform3D(1, 4.33251e-06, -7.35074e-05, -4.33996e-06, 1, 2.21282e-05, 7.35968e-05, -2.2307e-05, 1, 4.41074e-05, -0.0251029, -0.00344986) [node name="Plane_004_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="3"] -transform = Transform3D(0.999997, -0.000497445, 0.00214089, 0.000396565, 0.998902, 0.0468427, -0.00216193, -0.0468417, 0.9989, -0.00963426, -0.0392345, 0.0108305) +transform = Transform3D(0.999999, 5.93066e-05, -3.67314e-05, -5.92768e-05, 0.999991, 0.00424383, 3.71337e-05, -0.00424402, 0.999991, 4.02927e-05, -0.0275453, -0.00371695) [node name="Cube_013_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="4"] -transform = Transform3D(0.999997, -0.000319779, 0.00263705, 0.000294991, 0.999956, 0.00940013, -0.00264004, -0.00939927, 0.999952, -0.0103483, 0.0110885, 0.00123715) +transform = Transform3D(1, 8.34465e-06, -1.91927e-05, -8.2925e-06, 0.999996, 0.00321192, 1.93268e-05, -0.00321203, 0.999995, 2.5034e-05, -0.0263211, -0.00393009) [node name="Plane_011_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="5"] -transform = Transform3D(0.999998, -0.00160395, -0.00130569, 0.00169067, 0.997588, 0.0693909, 0.00119116, -0.069393, 0.997589, 0.00961852, -0.415878, -0.0142913) +transform = Transform3D(1, 3.04431e-05, -5.42048e-05, -3.02196e-05, 0.999991, 0.0041964, 5.44772e-05, -0.00419644, 0.999991, 0.000313759, -0.033859, -0.00432777) [node name="Plane_002_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="6"] -transform = Transform3D(0.999995, 0.00109108, 0.00294216, -0.00119907, 0.999316, 0.0369712, -0.00289987, -0.0369745, 0.999312, -0.0133448, 0.00134623, 0.0784273) +transform = Transform3D(1, 6.38962e-05, -8.93697e-05, -6.3315e-05, 0.999981, 0.00628534, 8.99248e-05, -0.00628543, 0.99998, 4.95911e-05, -0.0316153, 0.000889778) [node name="Plane_013_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="7"] -transform = Transform3D(0.999995, 0.00109108, 0.00294216, -0.00119907, 0.999316, 0.0369712, -0.00289987, -0.0369745, 0.999312, -0.0133448, 0.00134623, 0.0784273) +transform = Transform3D(1, 6.38962e-05, -8.93697e-05, -6.3315e-05, 0.999981, 0.00628534, 8.99248e-05, -0.00628543, 0.99998, 4.95911e-05, -0.0316153, 0.000889778) [node name="Cube_007_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="8"] -transform = Transform3D(0.999997, -0.000500254, 0.0022602, 0.000388511, 0.99879, 0.0491705, -0.00228212, -0.0491695, 0.998788, -0.00979328, -0.041191, 0.0136216) +transform = Transform3D(1, -2.22623e-05, -3.10242e-05, 2.24113e-05, 0.999992, 0.00400639, 3.10913e-05, -0.00400642, 0.999992, 4.74453e-05, -0.0274675, -0.00377393) [node name="Plane_015_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="9"] -transform = Transform3D(0.999994, -0.00013864, 0.00349912, 0.000388883, 0.997433, -0.0716104, -0.00348028, 0.0716113, 0.997427, -0.0127606, 0.22399, -0.0691118) +transform = Transform3D(1, -5.44637e-06, 5.20274e-05, 5.37932e-06, 0.999999, 0.0015513, -5.18858e-05, -0.00155139, 0.999999, -0.000147343, -0.0220484, -0.00534534) [node name="Cube_010_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="10"] -transform = Transform3D(1, -0.000136606, -0.00105379, 0.000207562, 0.997711, 0.0676164, 0.00104205, -0.0676166, 0.997711, 0.00671601, -0.410698, -0.167037) +transform = Transform3D(1, 7.3798e-06, -3.71727e-05, -7.1805e-06, 0.99999, 0.00453497, 3.73501e-05, -0.004535, 0.99999, 0.000232458, -0.0358457, -0.00722027) [node name="Cube_012_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="11"] -transform = Transform3D(1, -0.000347578, -0.000752573, 0.000372173, 0.999458, 0.0329194, 0.000740631, -0.0329196, 0.999458, 0.00514388, -0.219602, -0.19193) +transform = Transform3D(1, -5.90135e-06, -3.16764e-05, 6.04884e-06, 0.999994, 0.003667, 3.18009e-05, -0.00366694, 0.999994, 0.000209093, -0.0310752, -0.00762939) [node name="Cylinder_002_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="12"] -transform = Transform3D(1, -1.77636e-15, 0, -1.77636e-15, 1, -4.37113e-08, 0, 4.37113e-08, 1, 0, -0.00665534, -0.220622) +transform = Transform3D(1, -1.77636e-15, 0, -1.77636e-15, 1, -4.37113e-08, 0, 4.37113e-08, 1, 0, -0.00741673, -0.0106354) [node name="Cube_006_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="13"] -transform = Transform3D(1, -8.70289e-08, -1.65106e-07, 8.7045e-08, 1, -5.76677e-05, 1.6502e-07, 5.76974e-05, 1, 1.19209e-06, -0.00730586, -0.221107) +transform = Transform3D(1, 6.874e-08, 4.50728e-07, -6.86196e-08, 1, -0.000258863, -4.50825e-07, 0.000258923, 1, -5.24521e-06, -0.00495362, -0.0102625) [node name="Cube_017_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="14"] -transform = Transform3D(1, 8.80837e-08, 1.66502e-07, -8.80636e-08, 1, -5.76677e-05, -1.66592e-07, 5.76974e-05, 1, -1.3113e-06, -0.0073061, -0.221107) +transform = Transform3D(1, -6.77236e-08, -4.49273e-07, 6.75812e-08, 1, -0.000258893, 4.49311e-07, 0.000258923, 1, 5.24521e-06, -0.00495338, -0.0102634) [node name="Cube_005_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="15"] -transform = Transform3D(1, -1.7053e-13, -3.41061e-13, 2.84217e-13, 1, -0.000277072, 3.41061e-13, 0.000277072, 1, -9.09154e-13, -0.0048635, -0.220623) +transform = Transform3D(1, -1.7053e-13, -3.41061e-13, 2.84217e-13, 1, -9.05097e-05, 3.41061e-13, 9.05097e-05, 1, -9.09154e-13, -0.00683206, -0.0106363) [node name="WeaponSlot" type="Node3D" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D/Cube_005_Material_0" index="1"] unique_name_in_owner = true @@ -119,58 +119,58 @@ transform = Transform3D(1, 6.97955e-19, 1.77636e-13, 0, -4.37112e-08, -1, -1.355 visible = false [node name="Cube_005_Inside_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="16"] -transform = Transform3D(1, -1.7053e-13, -3.41061e-13, 2.84217e-13, 1, -0.000277072, 3.41061e-13, 0.000277072, 1, -9.09154e-13, -0.0048635, -0.220623) +transform = Transform3D(1, -1.7053e-13, -3.41061e-13, 2.84217e-13, 1, -9.05097e-05, 3.41061e-13, 9.05097e-05, 1, -9.09154e-13, -0.00683206, -0.0106363) [node name="Plane_003_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="17"] -transform = Transform3D(1, 1.08713e-10, -1.01801e-08, -1.12976e-10, 1, -0.000276468, 1.02234e-08, 0.000276468, 1, -2.38419e-07, -0.00486755, -0.220621) +transform = Transform3D(1, 1.08713e-10, -1.01801e-08, -1.11072e-10, 1, -8.98805e-05, 1.0223e-08, 8.98805e-05, 1, -2.38419e-07, -0.00683689, -0.0106363) [node name="Plane_016_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="18"] -transform = Transform3D(1, -1.08713e-10, 1.01801e-08, 1.12976e-10, 1, -0.000276468, -1.02234e-08, 0.000276468, 1, 2.38419e-07, -0.00486755, -0.220621) +transform = Transform3D(1, -1.08713e-10, 1.01801e-08, 1.11072e-10, 1, -8.98805e-05, -1.0223e-08, 8.98805e-05, 1, 2.38419e-07, -0.00683689, -0.0106363) [node name="Cube_008_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="19"] -transform = Transform3D(1, -2.63915e-23, 1.81782e-27, 2.63915e-23, 1, -0.000276186, 5.47112e-27, 0.000276186, 1, -1.16428e-18, -0.00486782, -0.220621) +transform = Transform3D(1, -2.63915e-23, 5.90388e-28, 2.63915e-23, 1, -8.95977e-05, 1.77423e-27, 8.95977e-05, 1, -1.16428e-18, -0.00683686, -0.0106354) [node name="Cube_008_Inside_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="20"] -transform = Transform3D(1, -2.63915e-23, 1.81782e-27, 2.63915e-23, 1, -0.000276186, 5.47112e-27, 0.000276186, 1, -1.16428e-18, -0.00486782, -0.220621) +transform = Transform3D(1, -2.63915e-23, 5.90388e-28, 2.63915e-23, 1, -8.95977e-05, 1.77423e-27, 8.95977e-05, 1, -1.16428e-18, -0.00683686, -0.0106354) [node name="Plane_006_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="21"] -transform = Transform3D(0.999996, -0.000687495, -0.00278812, 0.000806063, 0.999087, 0.0427473, 0.00275616, -0.0427491, 0.999082, 0.0120838, -0.0485938, 0.0512) +transform = Transform3D(1, -4.17084e-05, 1.8023e-05, 4.17084e-05, 0.999995, -0.00354418, -1.78739e-05, 0.00354412, 0.999994, -0.000111818, 0.0228502, -0.0113088) [node name="Plane_008_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="22"] -transform = Transform3D(0.999995, -0.00105189, -0.00295505, 0.00117803, 0.999074, 0.0430263, 0.00290705, -0.0430292, 0.99907, 0.0125871, -0.0485241, 0.0509973) +transform = Transform3D(1, -6.59674e-05, 1.09896e-05, 6.59823e-05, 0.999995, -0.00352833, -1.07214e-05, 0.00352833, 0.999994, -8.24928e-05, 0.0229053, -0.0113083) [node name="Cube_004_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="23"] -transform = Transform3D(0.999999, 0.000305912, -0.00140791, -0.00030618, 1, -0.000177205, 0.00140785, 0.000177935, 0.999999, 0.00994134, -0.017352, 0.00277948) +transform = Transform3D(1, -4.24795e-05, 6.97672e-05, 4.25745e-05, 1, -0.00110072, -6.96927e-05, 0.00110069, 1, -0.00015521, 0.020795, -0.0090524) [node name="Plane_005_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="24"] -transform = Transform3D(0.999998, 0.000501499, -0.00214227, -0.000393286, 0.998756, 0.049886, 0.00216405, -0.049885, 0.998753, 0.00970912, -0.070221, 0.0127473) +transform = Transform3D(1, -5.17666e-05, 3.50773e-05, 5.24372e-05, 0.999999, -0.00157777, -3.53828e-05, 0.00157742, 0.999999, -0.000129223, 0.0185224, -0.00765204) [node name="Cube_003_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="25"] -transform = Transform3D(0.999997, 0.000319183, -0.00262953, -0.000280216, 0.99989, 0.0148174, 0.0026339, -0.0148164, 0.999887, 0.010406, -0.0230689, 0.00362968) +transform = Transform3D(1, 1.11982e-05, 2.00421e-05, -1.11237e-05, 0.999991, -0.0041686, -2.01091e-05, 0.00416854, 0.999991, -0.000125885, 0.0218047, -0.0082643) [node name="Plane_007_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="26"] -transform = Transform3D(0.999998, 0.00156485, 0.00117324, -0.00164437, 0.997467, 0.0711174, -0.00105903, -0.0711191, 0.997468, -0.00889993, -0.432135, -0.011775) +transform = Transform3D(1, 1.71959e-05, 9.04188e-05, -1.70916e-05, 1, -0.00105101, -9.04948e-05, 0.00105108, 1, -0.000596762, 0.00322855, -0.00813341) [node name="Plane_014_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="27"] -transform = Transform3D(0.999995, -0.00110492, -0.00288671, 0.00123362, 0.998987, 0.0449814, 0.00283401, -0.0449845, 0.998984, 0.0133202, -0.0379252, 0.0842597) +transform = Transform3D(1, -2.37375e-05, 1.47857e-05, 2.37972e-05, 0.999991, -0.00437185, -1.47484e-05, 0.00437188, 0.99999, -1.90735e-05, 0.0235865, -0.00753117) [node name="Plane_010_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="28"] -transform = Transform3D(0.999994, -0.00196114, -0.00298382, 0.0020943, 0.998971, 0.0453061, 0.00289186, -0.0453119, 0.998969, 0.0146787, -0.0377055, 0.0829196) +transform = Transform3D(1, -5.77718e-05, -7.21812e-05, 5.74887e-05, 0.999991, -0.00434172, 7.23861e-05, 0.00434169, 0.999991, 0.000208378, 0.0235746, -0.00724602) [node name="Cube_014_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="29"] -transform = Transform3D(0.999997, 0.00049828, -0.00225521, -0.000375211, 0.998527, 0.0542612, 0.00227887, -0.0542601, 0.998524, 0.00985646, -0.0749067, 0.0161867) +transform = Transform3D(1, 4.14774e-05, 3.44962e-05, -4.13507e-05, 0.999995, -0.00304124, -3.46899e-05, 0.00304118, 0.999995, -0.000151396, 0.0202202, -0.00804758) [node name="Plane_001_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="30"] -transform = Transform3D(0.999994, 0.000136562, -0.00348742, -0.000364654, 0.997854, -0.0654752, 0.00347097, 0.0654762, 0.997848, 0.0128098, 0.187517, -0.0672903) +transform = Transform3D(1, 2.601e-05, -5.63711e-05, -2.63602e-05, 0.999979, -0.00652954, 5.61774e-05, 0.00652951, 0.999979, 5.96046e-05, 0.0279099, -0.0103083) [node name="Cube_015_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="31"] -transform = Transform3D(1, 0.000104692, 0.000940934, -0.000170784, 0.997514, 0.0704618, -0.000931231, -0.0704618, 0.997514, -0.00603724, -0.430794, -0.162224) +transform = Transform3D(1, 3.13222e-05, 8.64214e-05, -3.11565e-05, 0.999999, -0.00177029, -8.65118e-05, 0.00177041, 0.999998, -0.000566483, 0.0054327, -0.0130029) [node name="Cube_001_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="32"] -transform = Transform3D(1, 0.000337377, 0.000715174, -0.000364372, 0.999277, 0.0380141, -0.000701848, -0.0380143, 0.999277, -0.00489426, -0.252272, -0.186386) +transform = Transform3D(1, 3.11143e-05, 6.87078e-05, -3.0861e-05, 0.999994, -0.003474, -6.88541e-05, 0.003474, 0.999994, -0.000469685, 0.0148852, -0.0137181) [node name="Cylinder_001_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="33"] -transform = Transform3D(1, 1.77636e-15, 0, 1.77636e-15, 1, -4.37113e-08, 0, 4.37113e-08, 1, 0, -0.00665534, -0.220622) +transform = Transform3D(1, 1.77636e-15, 0, 1.77636e-15, 1, -4.37113e-08, 0, 4.37113e-08, 1, 0, -0.00741673, -0.0106354) [node name="CollisionShape3D" type="CollisionShape3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) diff --git a/src/npc/mech_enemy/ai/actions/boost_toward_target_action.gd b/src/npc/mech_enemy/ai/actions/boost_toward_target_action.gd index 7cae393..a16ddad 100644 --- a/src/npc/mech_enemy/ai/actions/boost_toward_target_action.gd +++ b/src/npc/mech_enemy/ai/actions/boost_toward_target_action.gd @@ -1,9 +1,16 @@ extends ActionLeaf +@export var angle_offset: float = 0.0 + func tick(actor: Node, _blackboard: Blackboard) -> int: var mech: MechEnemy = actor as MechEnemy if mech.boost_ready(): - mech.boost((mech.global_position - mech.target_position).normalized()) + var boost_vec: Vector3 = ( + (mech.target_position - mech.global_position) + . rotated(Vector3(0, 1, 0), angle_offset) + . normalized() + ) + mech.boost(boost_vec) return SUCCESS return FAILURE diff --git a/src/npc/mech_enemy/ai/actions/boost_toward_target_action.tscn b/src/npc/mech_enemy/ai/actions/boost_toward_target_action.tscn new file mode 100644 index 0000000..3aaea85 --- /dev/null +++ b/src/npc/mech_enemy/ai/actions/boost_toward_target_action.tscn @@ -0,0 +1,6 @@ +[gd_scene load_steps=2 format=3 uid="uid://b8c21qom2y50a"] + +[ext_resource type="Script" path="res://src/npc/mech_enemy/ai/actions/boost_toward_target_action.gd" id="1_tp7kx"] + +[node name="BoostTowardTargetAction" type="Node"] +script = ExtResource("1_tp7kx") diff --git a/src/npc/mech_enemy/mech_enemy.tscn b/src/npc/mech_enemy/mech_enemy.tscn index 1cc832e..b536828 100644 --- a/src/npc/mech_enemy/mech_enemy.tscn +++ b/src/npc/mech_enemy/mech_enemy.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=16 format=3 uid="uid://bv8ifwo8yn6h0"] +[gd_scene load_steps=17 format=3 uid="uid://bv8ifwo8yn6h0"] [ext_resource type="PackedScene" uid="uid://b4lueyrglqwou" path="res://src/npc/mech_character/mech_character.tscn" id="1_yyy7d"] [ext_resource type="Script" path="res://src/npc/mech_enemy/mech_enemy.gd" id="2_35sm4"] @@ -14,7 +14,8 @@ [ext_resource type="PackedScene" uid="uid://b7lild0ljbbae" path="res://src/npc/mech_enemy/ai/actions/set_patrol_point_action.tscn" id="10_r140b"] [ext_resource type="PackedScene" uid="uid://djfa3xgx8tt6e" path="res://src/npc/mech_enemy/ai/actions/move_to_point_action.tscn" id="11_cpbgo"] [ext_resource type="PackedScene" uid="uid://bmfn0xt6430vf" path="res://src/npc/mech_enemy/ai/conditions/target_in_range_condition.tscn" id="11_rxav1"] -[ext_resource type="Script" path="res://src/npc/mech_enemy/ai/actions/boost_toward_target_action.gd" id="12_ec6ul"] +[ext_resource type="PackedScene" uid="uid://b8c21qom2y50a" path="res://src/npc/mech_enemy/ai/actions/boost_toward_target_action.tscn" id="12_njmt5"] +[ext_resource type="Script" path="res://addons/beehave/nodes/composites/selector_random.gd" id="13_ava72"] [node name="MechEnemy" instance=ExtResource("1_yyy7d")] script = ExtResource("2_35sm4") @@ -23,86 +24,90 @@ max_damage = 100.0 max_structure = 5 [node name="Skeleton3D" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5" index="0"] -bones/1/position = Vector3(-1.16428e-18, -0.00737097, 6.39956) -bones/3/rotation = Quaternion(0.65493, 0.674443, 0.237606, 0.244412) -bones/4/rotation = Quaternion(0.708748, 0.0555481, 0.073226, 0.699449) -bones/5/rotation = Quaternion(-0.628785, -0.00131472, -0.102425, 0.770802) -bones/6/rotation = Quaternion(-0.435702, 0.0114982, -0.0629892, 0.897811) -bones/7/rotation = Quaternion(-0.842498, 0.036185, -0.174397, 0.508403) -bones/11/rotation = Quaternion(-0.838955, 0.0427867, -0.169886, 0.51523) -bones/17/rotation = Quaternion(0.751603, 0.0147348, 0.65924, 0.0166664) -bones/23/rotation = Quaternion(0.894403, 0.00362383, 0.147559, 0.422205) -bones/27/rotation = Quaternion(-0.563945, -0.00560425, -0.104406, 0.819167) -bones/33/rotation = Quaternion(-0.556189, -0.00971274, -0.109433, 0.823762) -bones/35/rotation = Quaternion(-0.643708, 0.00374925, -0.104549, 0.758087) -bones/41/rotation = Quaternion(-0.0148514, 0.936937, 0.348974, 0.0120553) -bones/49/rotation = Quaternion(6.02916e-05, 6.57828e-24, -4.9429e-31, 1) -bones/51/rotation = Quaternion(0.595804, -0.000239626, 0.000322571, 0.80313) -bones/55/rotation = Quaternion(0.595804, 0.00023886, -0.000322002, 0.803129) -bones/74/rotation = Quaternion(-0.654111, 0.673567, 0.239901, -0.246766) -bones/75/rotation = Quaternion(0.708347, -0.0555735, -0.0731809, 0.699858) -bones/76/rotation = Quaternion(-0.628454, 0.00132008, 0.102377, 0.771079) -bones/77/rotation = Quaternion(-0.433027, -0.0115074, 0.0626023, 0.899131) -bones/78/rotation = Quaternion(-0.844678, -0.0360637, 0.174831, 0.504632) -bones/82/rotation = Quaternion(-0.841156, -0.0426971, 0.170304, 0.511498) -bones/88/rotation = Quaternion(0.751646, -0.0142645, -0.65922, 0.0159582) -bones/94/rotation = Quaternion(0.895038, -0.00361148, -0.147671, 0.420818) -bones/98/rotation = Quaternion(-0.564942, 0.00560456, 0.104574, 0.818458) -bones/102/rotation = Quaternion(-0.557178, 0.00972978, 0.109625, 0.823068) -bones/106/rotation = Quaternion(-0.643226, -0.00374186, 0.104476, 0.758506) -bones/112/rotation = Quaternion(0.0148518, 0.936801, 0.349338, -0.0120556) -bones/122/position = Vector3(3.16409, -0.186904, 0.386734) -bones/122/rotation = Quaternion(0.993178, -0.00681973, 0.0811594, -0.0834543) -bones/126/position = Vector3(-3.16409, -0.226805, 0.384839) -bones/126/rotation = Quaternion(0.99323, 0.00676835, -0.0811626, -0.0828287) +bones/1/position = Vector3(-1.16428e-18, -0.00612062, 6.36862) +bones/1/rotation = Quaternion(0.707107, 0, 0, 0.707107) +bones/3/rotation = Quaternion(0.653965, 0.673558, 0.240109, 0.246977) +bones/4/rotation = Quaternion(0.714616, 0.0552177, 0.0739341, 0.693404) +bones/5/rotation = Quaternion(-0.633737, -0.00124092, -0.103148, 0.76664) +bones/6/rotation = Quaternion(-0.434205, 0.0115766, -0.0627966, 0.898548) +bones/7/rotation = Quaternion(-0.843274, 0.0360795, -0.174587, 0.507057) +bones/11/rotation = Quaternion(-0.839743, 0.0426711, -0.170084, 0.51389) +bones/17/rotation = Quaternion(0.751609, 0.014314, 0.659253, 0.0162747) +bones/23/rotation = Quaternion(0.888393, 0.00330164, 0.146708, 0.435) +bones/27/rotation = Quaternion(-0.57107, -0.00548173, -0.105416, 0.814087) +bones/33/rotation = Quaternion(-0.563379, -0.00957802, -0.110435, 0.818728) +bones/35/rotation = Quaternion(-0.650937, 0.00385254, -0.105644, 0.751735) +bones/41/rotation = Quaternion(-0.0148747, 0.938226, 0.345491, 0.0120869) +bones/49/rotation = Quaternion(0.000148169, 6.57829e-24, -4.93905e-31, 1) +bones/50/rotation = Quaternion(0.80296, 2.84212e-07, 3.82883e-07, 0.596033) +bones/51/rotation = Quaternion(0.595627, -0.000239395, 0.000322259, 0.803261) +bones/55/rotation = Quaternion(0.595627, 0.000238629, -0.00032169, 0.803261) +bones/62/rotation = Quaternion(-0.000385918, 2.26111e-14, -0.000401128, 1) +bones/66/rotation = Quaternion(-0.000385918, -2.26111e-14, 0.000401128, 1) +bones/74/rotation = Quaternion(-0.653488, 0.673034, 0.241446, -0.248361) +bones/75/rotation = Quaternion(0.714219, -0.0552414, -0.0738893, 0.693816) +bones/76/rotation = Quaternion(-0.633454, 0.00124777, 0.103108, 0.766879) +bones/77/rotation = Quaternion(-0.432503, -0.0115743, 0.0625488, 0.899386) +bones/78/rotation = Quaternion(-0.844513, -0.0360248, 0.174826, 0.504912) +bones/82/rotation = Quaternion(-0.840986, -0.0426514, 0.170304, 0.511782) +bones/88/rotation = Quaternion(0.751626, -0.0136282, -0.659273, 0.0152349) +bones/94/rotation = Quaternion(0.889593, -0.00332875, -0.146895, 0.432475) +bones/98/rotation = Quaternion(-0.571633, 0.00548119, 0.10551, 0.813679) +bones/102/rotation = Quaternion(-0.563936, 0.00958859, 0.110545, 0.81833) +bones/106/rotation = Quaternion(-0.650513, -0.0038436, 0.105583, 0.75211) +bones/112/rotation = Quaternion(0.0148955, 0.937734, 0.346826, -0.0120682) +bones/122/position = Vector3(3.16409, -0.195281, 0.386517) +bones/122/rotation = Quaternion(0.993189, -0.00680875, 0.0811603, -0.0833219) +bones/126/position = Vector3(-3.16409, -0.218348, 0.385319) +bones/126/rotation = Quaternion(0.993219, 0.00677926, -0.0811627, -0.0829611) [node name="Plane_009_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="0"] -transform = Transform3D(1, 0.000155792, 0.000818267, -0.000164792, 0.99994, 0.0109936, -0.000816539, -0.0109937, 0.99994, -0.00336409, 0.0119573, 0.00608975) +transform = Transform3D(0.999999, 0.000356868, 0.00132272, -0.000376076, 0.999895, 0.0145166, -0.00131739, -0.0145171, 0.999894, -0.00553799, 0.00120354, 0.0167531) [node name="Plane_012_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="1"] -transform = Transform3D(0.999999, 0.000282466, 0.000933528, -0.000292912, 0.999938, 0.0111384, -0.000930332, -0.0111387, 0.999937, -0.00358605, 0.0119339, 0.00615698) +transform = Transform3D(0.999999, 0.000513732, 0.00145227, -0.000534981, 0.999892, 0.0146654, -0.00144455, -0.014666, 0.999892, -0.00580239, 0.00121522, 0.0168136) [node name="Cube_016_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="2"] -transform = Transform3D(1, -0.00022427, 0.000229686, 0.000224534, 0.999999, -0.00130238, -0.000229388, 0.00130242, 0.999999, -0.002491, 0.0208618, -0.00831503) +transform = Transform3D(1, -8.44263e-05, 0.000658616, 8.50316e-05, 1, -0.000914499, -0.000658512, 0.000914618, 1, -0.00454187, 0.0124443, -0.00107679) [node name="Plane_004_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="3"] -transform = Transform3D(0.999999, -0.000156343, 0.000578009, 0.000146523, 0.999859, 0.0167707, -0.000580519, -0.0167707, 0.999859, -0.00257897, -0.00222421, -0.00277615) +transform = Transform3D(0.999999, -0.000187904, 0.000921734, 0.000170022, 0.999812, 0.0193995, -0.000925228, -0.0193994, 0.999812, -0.0043447, -0.0109387, 0.00327766) [node name="Cube_013_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="4"] -transform = Transform3D(1, -0.000231422, 0.000641853, 0.000231631, 1, -0.000362486, -0.000641752, 0.000362664, 1, -0.00264978, 0.0204766, -0.00720358) +transform = Transform3D(0.999999, -0.000114612, 0.00121389, 0.000110522, 0.999995, 0.00338477, -0.00121424, -0.00338456, 0.999994, -0.00475955, 0.0107056, -0.000197649) [node name="Plane_011_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="5"] -transform = Transform3D(1, -0.000622153, -0.000105366, 0.000623524, 0.999905, 0.0137556, 9.68478e-05, -0.0137557, 0.999906, 0.00145149, -0.0932155, -0.0151491) +transform = Transform3D(0.999999, -0.000746667, -0.000853518, 0.000774264, 0.999462, 0.0327718, 0.000828594, -0.0327723, 0.999463, 0.00564504, -0.197151, -0.00950575) [node name="Plane_002_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="6"] -transform = Transform3D(1, 0.000245988, 0.000746131, -0.000252172, 0.999966, 0.00826657, -0.000744, -0.00826684, 0.999966, -0.00368881, 0.0176232, 0.0165901) +transform = Transform3D(0.999999, 0.000589445, 0.00135854, -0.000611886, 0.999862, 0.0166103, -0.00134852, -0.0166111, 0.999861, -0.00625849, 0.00598276, 0.0361257) [node name="Plane_013_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="7"] -transform = Transform3D(1, 0.000245988, 0.000746131, -0.000252172, 0.999966, 0.00826657, -0.000744, -0.00826684, 0.999966, -0.00368881, 0.0176232, 0.0165901) +transform = Transform3D(0.999999, 0.000589445, 0.00135854, -0.000611886, 0.999862, 0.0166103, -0.00134852, -0.0166111, 0.999861, -0.00625849, 0.00598276, 0.0361257) [node name="Cube_007_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="8"] -transform = Transform3D(1, -0.000263996, 0.000522628, 0.000257522, 0.999924, 0.0122882, -0.000525795, -0.0122882, 0.999924, -0.0024817, 0.00349981, -0.00409102) +transform = Transform3D(1, -0.00017155, 0.00103948, 0.000148296, 0.999749, 0.0223852, -0.00104298, -0.0223849, 0.999749, -0.00451136, -0.0146173, 0.00479126) [node name="Plane_015_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="9"] -transform = Transform3D(1, -0.000232629, 0.000924058, 0.00025662, 0.99966, -0.0260633, -0.000917643, 0.0260634, 0.99966, -0.00338316, 0.0875829, -0.0306916) +transform = Transform3D(0.999999, -9.20966e-05, 0.00162336, 0.000149429, 0.999376, -0.0353305, -0.00161907, 0.0353307, 0.999375, -0.00584579, 0.111894, -0.0353355) [node name="Cube_010_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="10"] -transform = Transform3D(1, -3.0404e-05, -0.000263877, 3.4336e-05, 0.999888, 0.0149443, 0.000263398, -0.0149441, 0.999888, 0.00175023, -0.0965071, -0.0633097) +transform = Transform3D(1, -6.85249e-05, -0.000531334, 8.44561e-05, 0.99955, 0.0299974, 0.000529037, -0.0299972, 0.99955, 0.00339675, -0.185585, -0.083303) [node name="Cube_012_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="11"] -transform = Transform3D(1, -0.00012851, -0.000250508, 0.000130224, 0.999977, 0.00689033, 0.000249629, -0.00689036, 0.999977, 0.00172281, -0.0521848, -0.0675058) +transform = Transform3D(1, -0.000161252, -0.00039765, 0.000167036, 0.999895, 0.0145195, 0.000395268, -0.0145195, 0.999895, 0.0026989, -0.100167, -0.0920005) [node name="Cylinder_002_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="12"] -transform = Transform3D(1, -1.77636e-15, 0, -1.77636e-15, 1, -4.37113e-08, 0, 4.37113e-08, 1, 0, -0.00737095, -0.0726352) +transform = Transform3D(1, -1.77636e-15, 0, -1.77636e-15, 1, -4.37113e-08, 0, 4.37113e-08, 1, 0, -0.00612062, -0.103577) [node name="Cube_006_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="13"] -transform = Transform3D(1, 8.23325e-08, 4.91812e-07, -8.21973e-08, 1, -0.000323564, -4.92057e-07, 0.000323623, 1, -5.72205e-06, -0.00433135, -0.0721855) +transform = Transform3D(1, -9.52794e-08, -2.83145e-07, 9.5272e-08, 1, -5.72802e-05, 2.83007e-07, 5.73098e-05, 1, 2.5034e-06, -0.00687003, -0.104107) [node name="Cube_017_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="14"] -transform = Transform3D(1, -8.13196e-08, -4.90474e-07, 8.11921e-08, 1, -0.000323653, 4.90427e-07, 0.000323683, 1, 5.72205e-06, -0.0043304, -0.0721874) +transform = Transform3D(1, 9.63134e-08, 2.84483e-07, -9.62532e-08, 1, -5.73994e-05, -2.84521e-07, 5.74291e-05, 1, -2.6226e-06, -0.0068686, -0.104108) [node name="Cube_005_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="15"] -transform = Transform3D(1, -1.7053e-13, -3.41061e-13, 2.84217e-13, 1, -0.000121504, 3.41061e-13, 0.000121504, 1, -9.09154e-13, -0.00658566, -0.0726376) +transform = Transform3D(1, -1.7053e-13, -3.41061e-13, 2.84217e-13, 1, -0.000297248, 3.41061e-13, 0.000297248, 1, -9.09154e-13, -0.00419796, -0.10358) [node name="VisionCone" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D/Cube_005_Material_0" index="2" instance=ExtResource("3_m0nb6")] unique_name_in_owner = true @@ -110,58 +115,58 @@ transform = Transform3D(2, 6.81965e-13, 6.82114e-13, -6.82121e-13, 2, 0.00045645 body_offset = Vector3(0, 1, 0) [node name="Cube_005_Inside_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="16"] -transform = Transform3D(1, -1.7053e-13, -3.41061e-13, 2.84217e-13, 1, -0.000121504, 3.41061e-13, 0.000121504, 1, -9.09154e-13, -0.00658566, -0.0726376) +transform = Transform3D(1, -1.7053e-13, -3.41061e-13, 2.84217e-13, 1, -0.000297248, 3.41061e-13, 0.000297248, 1, -9.09154e-13, -0.00419796, -0.10358) [node name="Plane_003_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="17"] -transform = Transform3D(1, 1.08713e-10, -1.01801e-08, -1.11356e-10, 1, -0.000120866, 1.01552e-08, 0.000120866, 1, -2.38419e-07, -0.0065906, -0.0726357) +transform = Transform3D(1, 1.08713e-10, -1.01801e-08, -1.13147e-10, 1, -0.000296621, 1.0159e-08, 0.000296621, 1, -2.38419e-07, -0.00420237, -0.103577) [node name="Plane_016_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="18"] -transform = Transform3D(1, -1.08713e-10, 1.01801e-08, 1.11356e-10, 1, -0.000120866, -1.01552e-08, 0.000120866, 1, 2.38419e-07, -0.0065906, -0.0726357) +transform = Transform3D(1, -1.08713e-10, 1.01801e-08, 1.13147e-10, 1, -0.000296621, -1.0159e-08, 0.000296621, 1, 2.38419e-07, -0.00420237, -0.103577) [node name="Cube_008_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="19"] -transform = Transform3D(1, -2.63915e-23, 7.94219e-28, 2.63915e-23, 1, -0.000120583, 2.38815e-27, 0.000120583, 1, -1.16428e-18, -0.00659053, -0.0726352) +transform = Transform3D(1, -2.63915e-23, 1.95039e-27, 2.63915e-23, 1, -0.000296338, 5.87041e-27, 0.000296338, 1, -1.16428e-18, -0.00420266, -0.103577) [node name="Cube_008_Inside_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="20"] -transform = Transform3D(1, -2.63915e-23, 7.94219e-28, 2.63915e-23, 1, -0.000120583, 2.38815e-27, 0.000120583, 1, -1.16428e-18, -0.00659053, -0.0726352) +transform = Transform3D(1, -2.63915e-23, 1.95039e-27, 2.63915e-23, 1, -0.000296338, 5.87041e-27, 0.000296338, 1, -1.16428e-18, -0.00420266, -0.103577) [node name="Plane_006_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="21"] -transform = Transform3D(1, -0.000189334, -0.000649385, 0.000202939, 0.99978, 0.0210141, 0.00064528, -0.0210142, 0.999779, 0.0033772, -0.0400273, 0.0194136) +transform = Transform3D(0.999999, -0.000334844, -0.00121255, 0.000359222, 0.999797, 0.0201729, 0.00120553, -0.0201734, 0.999796, 0.0055666, -0.0303574, 0.0237074) [node name="Plane_008_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="22"] -transform = Transform3D(1, -0.000357419, -0.000677809, 0.00037168, 0.999778, 0.0211045, 0.00067015, -0.0211049, 0.999777, 0.0035677, -0.0399333, 0.0192958) +transform = Transform3D(0.999999, -0.000501126, -0.00125951, 0.000526547, 0.999795, 0.0202537, 0.00124915, -0.0202545, 0.999794, 0.00577092, -0.030282, 0.0235529) [node name="Cube_004_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="23"] -transform = Transform3D(1, 0.00024862, -0.000234187, -0.000248626, 1, -3.7536e-05, 0.000234187, 3.75807e-05, 1, 0.00259018, -0.0241482, -0.00326276) +transform = Transform3D(1, 0.00012547, -0.000677362, -0.000125641, 1, -0.00023587, 0.000677362, 0.0002359, 1, 0.00465775, -0.0151176, 0.00127697) [node name="Plane_005_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="24"] -transform = Transform3D(1, 6.02305e-05, -0.000533313, -4.76986e-05, 0.999751, 0.0223479, 0.000534117, -0.0223483, 0.99975, 0.00263476, -0.0468614, 0.000568628) +transform = Transform3D(1, 0.00020133, -0.000931427, -0.000180751, 0.999771, 0.0214113, 0.000935152, -0.0214114, 0.99977, 0.00446367, -0.0365356, 0.00420821) [node name="Cube_003_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="25"] -transform = Transform3D(1, 0.000209011, -0.000638895, -0.0002046, 0.999976, 0.00691694, 0.000640288, -0.00691688, 0.999976, 0.00273681, -0.0266933, -0.00339341) +transform = Transform3D(0.999999, 0.000120915, -0.00121305, -0.000111356, 0.999969, 0.00788894, 0.00121399, -0.00788879, 0.999968, 0.00486088, -0.0182091, 0.00132179) [node name="Plane_007_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="26"] -transform = Transform3D(1, 0.000569806, 6.29928e-05, -0.000570863, 0.999822, 0.0188447, -5.22991e-05, -0.0188448, 0.999823, -0.00112629, -0.128846, -0.0112138) +transform = Transform3D(1, 0.000701278, 0.000650869, -0.000721961, 0.999474, 0.0324227, -0.000627777, -0.0324232, 0.999474, -0.00458908, -0.202714, -0.00920248) [node name="Plane_014_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="27"] -transform = Transform3D(1, -0.000284508, -0.000662066, 0.00029698, 0.999822, 0.0188813, 0.000656534, -0.0188816, 0.999821, 0.00362635, -0.0366096, 0.0245879) +transform = Transform3D(0.999999, -0.000596449, -0.00131429, 0.000626877, 0.999729, 0.0232623, 0.00130006, -0.0232632, 0.999728, 0.00628519, -0.027493, 0.040314) [node name="Plane_010_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="28"] -transform = Transform3D(1, -0.000566304, -0.000660688, 0.000578731, 0.99982, 0.0189723, 0.000649795, -0.0189727, 0.99982, 0.00400305, -0.0365208, 0.0240664) +transform = Transform3D(0.999999, -0.00101313, -0.00134044, 0.00104424, 0.999726, 0.0234087, 0.00131637, -0.0234101, 0.999725, 0.00690222, -0.0273728, 0.0396171) [node name="Cube_014_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="29"] -transform = Transform3D(1, 0.000240602, -0.00052359, -0.000230536, 0.999816, 0.0191489, 0.000528038, -0.0191488, 0.999816, 0.00257492, -0.0430996, -0.000270605) +transform = Transform3D(0.999999, 0.000176504, -0.00103825, -0.000148959, 0.999649, 0.0264959, 0.00104257, -0.0264958, 0.999648, 0.00461221, -0.0429701, 0.0062809) [node name="Plane_001_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="30"] -transform = Transform3D(1, 0.000209577, -0.000912294, -0.000225879, 0.99984, -0.0179175, 0.00090836, 0.0179177, 0.999839, 0.00344825, 0.0379715, -0.0265832) +transform = Transform3D(0.999999, 9.42796e-05, -0.00161859, -0.000142932, 0.999547, -0.0300835, 0.00161505, 0.0300837, 0.999546, 0.00594115, 0.0808766, -0.0336108) [node name="Cube_015_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="31"] -transform = Transform3D(1, 6.91973e-06, 0.000203398, -1.12224e-05, 0.999776, 0.021166, -0.000203237, -0.021166, 0.999776, -0.00135732, -0.137168, -0.0569439) +transform = Transform3D(1, 2.89548e-05, 0.000386197, -4.10229e-05, 0.999511, 0.0312544, -0.00038508, -0.0312541, 0.999511, -0.00252914, -0.196071, -0.0804715) [node name="Cube_001_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="32"] -transform = Transform3D(1, 0.000100655, 0.000210658, -0.000103562, 0.999904, 0.013889, -0.000209269, -0.013889, 0.999904, -0.00144291, -0.0971605, -0.0610619) +transform = Transform3D(1, 0.000155061, 0.000351008, -0.000161575, 0.999827, 0.0186208, -0.000348049, -0.0186208, 0.999827, -0.00239348, -0.126534, -0.0879874) [node name="Cylinder_001_Material_0" parent="Mesh/Mech/Sketchfab_model/bed584e06fe94e71a7ac484cee9f0a16_fbx/Object_2/RootNode/Armature/Object_5/Skeleton3D" index="33"] -transform = Transform3D(1, 1.77636e-15, 0, 1.77636e-15, 1, -4.37113e-08, 0, 4.37113e-08, 1, 0, -0.00737095, -0.0726352) +transform = Transform3D(1, 1.77636e-15, 0, 1.77636e-15, 1, -4.37113e-08, 0, 4.37113e-08, 1, 0, -0.00612062, -0.103577) [node name="NavigationAgent3D" type="NavigationAgent3D" parent="." index="5"] path_desired_distance = 2.5 @@ -221,8 +226,7 @@ script = ExtResource("10_jvqio") [node name="TargetInRangeCondition" parent="BeehaveTree/DamageStatusSelector/HeatStatusSelector/TargetDetectedSelector/EngageTargetSequence/EngagementRangeSelector/ApproachTargetSequence/InverterDecorator" index="0" instance=ExtResource("11_rxav1")] max_distance = 40.0 -[node name="BoostTowardTargetAction" type="Node" parent="BeehaveTree/DamageStatusSelector/HeatStatusSelector/TargetDetectedSelector/EngageTargetSequence/EngagementRangeSelector/ApproachTargetSequence" index="1"] -script = ExtResource("12_ec6ul") +[node name="BoostTowardTargetAction" parent="BeehaveTree/DamageStatusSelector/HeatStatusSelector/TargetDetectedSelector/EngageTargetSequence/EngagementRangeSelector/ApproachTargetSequence" index="1" instance=ExtResource("12_njmt5")] [node name="BackOffSequence" type="Node" parent="BeehaveTree/DamageStatusSelector/HeatStatusSelector/TargetDetectedSelector/EngageTargetSequence/EngagementRangeSelector" index="1"] script = ExtResource("5_lfifb") @@ -230,6 +234,18 @@ script = ExtResource("5_lfifb") [node name="TargetInRangeCondition" parent="BeehaveTree/DamageStatusSelector/HeatStatusSelector/TargetDetectedSelector/EngageTargetSequence/EngagementRangeSelector/BackOffSequence" index="0" instance=ExtResource("11_rxav1")] max_distance = 20.0 +[node name="BoostAwayFromTargetAction" parent="BeehaveTree/DamageStatusSelector/HeatStatusSelector/TargetDetectedSelector/EngageTargetSequence/EngagementRangeSelector/BackOffSequence" index="1" instance=ExtResource("12_njmt5")] +angle_offset = 3.142 + +[node name="RandomStrafeSelector" type="Node" parent="BeehaveTree/DamageStatusSelector/HeatStatusSelector/TargetDetectedSelector/EngageTargetSequence/EngagementRangeSelector" index="2"] +script = ExtResource("13_ava72") + +[node name="BoostStrafeLeftAction" parent="BeehaveTree/DamageStatusSelector/HeatStatusSelector/TargetDetectedSelector/EngageTargetSequence/EngagementRangeSelector/RandomStrafeSelector" index="0" instance=ExtResource("12_njmt5")] +angle_offset = 1.571 + +[node name="BoostStrafeRightAction" parent="BeehaveTree/DamageStatusSelector/HeatStatusSelector/TargetDetectedSelector/EngageTargetSequence/EngagementRangeSelector/RandomStrafeSelector" index="1" instance=ExtResource("12_njmt5")] +angle_offset = -1.571 + [node name="PatrolSequence" type="Node" parent="BeehaveTree/DamageStatusSelector/HeatStatusSelector/TargetDetectedSelector" index="1"] script = ExtResource("5_lfifb")