Enemy follow system
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=11 format=3 uid="uid://33ek675mfb5n"]
|
||||
[gd_scene load_steps=12 format=3 uid="uid://33ek675mfb5n"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/game/Game.cs" id="1_ytcii"]
|
||||
[ext_resource type="PackedScene" uid="uid://wg25dg65ksgg" path="res://src/map/dungeon/DungeonGenerator.tscn" id="2_cgboj"]
|
||||
@@ -16,6 +16,8 @@ size = Vector2(10, 10)
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_s2hwi"]
|
||||
size = Vector3(10, 1, 10)
|
||||
|
||||
[sub_resource type="NavigationMesh" id="NavigationMesh_xligp"]
|
||||
|
||||
[node name="Game" type="Node3D"]
|
||||
process_mode = 3
|
||||
script = ExtResource("1_ytcii")
|
||||
@@ -51,7 +53,11 @@ layers = 3
|
||||
omni_range = 163.618
|
||||
omni_attenuation = -0.183
|
||||
|
||||
[node name="DungeonGenerator3D" parent="." instance=ExtResource("2_cgboj")]
|
||||
[node name="NavigationRegion" type="NavigationRegion3D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
navigation_mesh = SubResource("NavigationMesh_xligp")
|
||||
|
||||
[node name="DungeonGenerator3D" parent="NavigationRegion" instance=ExtResource("2_cgboj")]
|
||||
room_scenes = Array[PackedScene]([ExtResource("4_56rmd"), ExtResource("4_clpvl")])
|
||||
corridor_cost_multiplier = 1.0
|
||||
room_cost_multiplier = 8.0
|
||||
|
||||
Reference in New Issue
Block a user