Enemy spawning

This commit is contained in:
Marco 2025-06-21 16:44:44 +02:00
commit 29dc9bebe0
20 changed files with 564 additions and 105 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=308 format=4 uid="uid://c8gtrjf2xeue7"]
[gd_scene load_steps=311 format=4 uid="uid://c8gtrjf2xeue7"]
[ext_resource type="Script" uid="uid://kno58homctew" path="res://addons/func_godot/src/map/func_godot_map.gd" id="1_n6h0p"]
[ext_resource type="Script" uid="uid://crpgy1o73rtlx" path="res://Scripts/Utils/MapProxy3D.cs" id="1_pvlbf"]
@ -66,6 +66,9 @@
[ext_resource type="PackedScene" uid="uid://dx4denbc7xkfm" path="res://3D/Scenes/Props/Posters/Poster_Warning.tscn" id="63_booe2"]
[ext_resource type="PackedScene" uid="uid://d4ek8xjuh6y11" path="res://3D/Scenes/Props/Floor_Emitter_3D.tscn" id="63_r8ono"]
[ext_resource type="Resource" uid="uid://bbogxl60hvdp1" path="res://Resources/BulletScripts/Emitter_Sprial_Test_Bullets.tres" id="64_fi82p"]
[ext_resource type="Script" uid="uid://00rbjdb4mnb0" path="res://Scripts/Actors/EnemyMarker3D.cs" id="65_65jyg"]
[ext_resource type="Resource" uid="uid://4qxicyti4hwr" path="res://Resources/Enemies/Base_Fairy_3D.tres" id="66_despu"]
[ext_resource type="Resource" uid="uid://ccym6mcq4fbul" path="res://Resources/Enemies/Fairy_Guard_3D.tres" id="67_despu"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_fi82p"]
albedo_texture = ExtResource("25_btjo4")
@ -2396,17 +2399,21 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 19.7148, 1, -14.9477)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26.6877, 2.18087, -13.4121)
[node name="Marker3D" type="Marker3D" parent="Props"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26.8658, 1.2586, 8.64575)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26.8658, 1.2586, 9.38215)
script = ExtResource("52_0eudi")
Item = ExtResource("53_0tkve")
AutoSpawn = true
Billboard = true
PixelSize = 0.05
metadata/_edit_group_ = true
[node name="Marker3D2" type="Marker3D" parent="Props"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 14.9355, 1.8352, 17.2582)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 15.1112, 1.8352, 17.1936)
script = ExtResource("52_0eudi")
Item = ExtResource("53_0tkve")
AutoSpawn = true
Billboard = true
PixelSize = 0.05
metadata/_edit_group_ = true
[node name="Marker3D3" type="Marker3D" parent="Props"]
@ -2414,6 +2421,8 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 25.3178, 1.752, 10.5991)
script = ExtResource("52_0eudi")
Item = ExtResource("54_0tkve")
AutoSpawn = true
Billboard = true
PixelSize = 0.05
metadata/_edit_group_ = true
[node name="Door" parent="Props" instance=ExtResource("57_orfn6")]
@ -2424,6 +2433,22 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 24.9526, 1.32944, 25.5859)
Script = ExtResource("64_fi82p")
EmitOnStart = false
[node name="Enemy_Fairy_Test_1" type="Marker3D" parent="Props"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 23.8201, 1.7252, 25.0522)
script = ExtResource("65_65jyg")
Enemy = ExtResource("66_despu")
AutoSpawn = true
Billboard = true
PixelSize = 0.05
[node name="Enemy_Fairy_Test_2" type="Marker3D" parent="Props"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 25.4579, 1.7252, 23.1035)
script = ExtResource("65_65jyg")
Enemy = ExtResource("67_despu")
AutoSpawn = true
Billboard = true
PixelSize = 0.05
[node name="Light" type="Node3D" parent="."]
[node name="OmniLight3D4" type="OmniLight3D" parent="Light"]
@ -2480,4 +2505,5 @@ mesh = SubResource("PlaneMesh_k08ee")
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -4.4781, 5.34499, 23.0014)
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="."]
visible = false
navigation_mesh = SubResource("NavigationMesh_fi82p")