minor tweaks

This commit is contained in:
Derek
2024-07-25 22:38:58 -05:00
parent 88f0aba35d
commit c16d876393
6 changed files with 198 additions and 160 deletions

View File

@@ -28,8 +28,9 @@ func _ready():
func _process(delta): func _process(delta):
#once max particles reached delete from scene #once max particles reached delete from scene
if level_control.particle_number >= (particle_number + level_control.MAX_PARTICLES): if level_control != null: #replace this check when level reload works properly
_on_timer_timeout() if level_control.particle_number >= (particle_number + level_control.MAX_PARTICLES):
_on_timer_timeout()
func _on_timer_timeout(): func _on_timer_timeout():
collision_shape.disabled = true collision_shape.disabled = true

View File

@@ -591,7 +591,6 @@ bullet = ExtResource("2_aew5r")
casing = ExtResource("3_6esjv") casing = ExtResource("3_6esjv")
bullet_speed = 75 bullet_speed = 75
bullet_drop = 0.01 bullet_drop = 0.01
bullet_damage = 0
[node name="TurretLook" type="RayCast3D" parent="."] [node name="TurretLook" type="RayCast3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00161432, 1.62046, 0.00134204) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00161432, 1.62046, 0.00134204)

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=109 format=3 uid="uid://dyop6vk3rgkkb"] [gd_scene load_steps=111 format=3 uid="uid://dyop6vk3rgkkb"]
[ext_resource type="Script" path="res://scripts/LevelManager.gd" id="1_orhgl"] [ext_resource type="Script" path="res://scripts/LevelManager.gd" id="1_orhgl"]
[ext_resource type="Texture2D" uid="uid://dqs06ic3vjtwk" path="res://assets/Models/asphalt1.albedo.jpg" id="1_w4rag"] [ext_resource type="Texture2D" uid="uid://dqs06ic3vjtwk" path="res://assets/Models/asphalt1.albedo.jpg" id="1_w4rag"]
@@ -30,6 +30,8 @@
[ext_resource type="Texture2D" uid="uid://5i5urt5i8fjd" path="res://assets/Models/boxcar1.wheel.normal.png" id="28_tulwp"] [ext_resource type="Texture2D" uid="uid://5i5urt5i8fjd" path="res://assets/Models/boxcar1.wheel.normal.png" id="28_tulwp"]
[ext_resource type="Texture2D" uid="uid://4lve7kqobqx2" path="res://assets/Models/boxcar1.coupler.albedo.png" id="29_1k31y"] [ext_resource type="Texture2D" uid="uid://4lve7kqobqx2" path="res://assets/Models/boxcar1.coupler.albedo.png" id="29_1k31y"]
[ext_resource type="Texture2D" uid="uid://bxek6q1nxy1ks" path="res://assets/Models/boxcar1.coupler.normal.png" id="30_veuc5"] [ext_resource type="Texture2D" uid="uid://bxek6q1nxy1ks" path="res://assets/Models/boxcar1.coupler.normal.png" id="30_veuc5"]
[ext_resource type="Script" path="res://scripts/EnemyHivemind1.gd" id="31_vonxg"]
[ext_resource type="PackedScene" uid="uid://djr7vnr1hcx82" path="res://assets/spider2.tscn" id="32_yw30t"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_nb6x7"] [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_nb6x7"]
sky_top_color = Color(0.558421, 0.596557, 0.822424, 1) sky_top_color = Color(0.558421, 0.596557, 0.822424, 1)
@@ -400,28 +402,6 @@ shader_parameter/clip_warp = false
shader_parameter/vignette_intensity = 0.4 shader_parameter/vignette_intensity = 0.4
shader_parameter/vignette_opacity = 0.5 shader_parameter/vignette_opacity = 0.5
[sub_resource type="Animation" id="Animation_6nfej"]
resource_name = "trainmove"
length = 8.0
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Train2:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 8),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector3(-69.1904, 1.12627, 45.0474), Vector3(-69.1904, 1.12627, 236.743)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_1w2xf"]
_data = {
"trainmove": SubResource("Animation_6nfej")
}
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qdhxb"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qdhxb"]
resource_name = "boxcar1.main" resource_name = "boxcar1.main"
cull_mode = 2 cull_mode = 2
@@ -1104,6 +1084,28 @@ shadow_mesh = SubResource("ArrayMesh_e1ylb")
[sub_resource type="BoxShape3D" id="BoxShape3D_fl1u5"] [sub_resource type="BoxShape3D" id="BoxShape3D_fl1u5"]
size = Vector3(15.1094, 3.18738, 3.21777) size = Vector3(15.1094, 3.18738, 3.21777)
[sub_resource type="Animation" id="Animation_6nfej"]
resource_name = "trainmove"
length = 8.0
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Decorations/Train2:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 8),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector3(-69.1904, 1.12627, 45.0474), Vector3(-69.1904, 1.12627, 236.743)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_1w2xf"]
_data = {
"trainmove": SubResource("Animation_6nfej")
}
[node name="Test Level 2" type="Node3D" node_paths=PackedStringArray("player")] [node name="Test Level 2" type="Node3D" node_paths=PackedStringArray("player")]
script = ExtResource("1_orhgl") script = ExtResource("1_orhgl")
player = NodePath("Player") player = NodePath("Player")
@@ -1114,7 +1116,6 @@ gun_2 = ExtResource("3_sxsd3")
[node name="Player" parent="." instance=ExtResource("2_f87c2")] [node name="Player" parent="." instance=ExtResource("2_f87c2")]
transform = Transform3D(-0.866025, 0, -0.5, 0, 1, 0, 0.5, 0, -0.866025, -16.0295, 1.4435, 12.1166) transform = Transform3D(-0.866025, 0, -0.5, 0, 1, 0, 0.5, 0, -0.866025, -16.0295, 1.4435, 12.1166)
AUDIO = false
weapon_sway_amount = 0.07 weapon_sway_amount = 0.07
weapon_rotation_amount = 0.07 weapon_rotation_amount = 0.07
@@ -1292,159 +1293,197 @@ offset_right = 3840.0
offset_bottom = 2160.0 offset_bottom = 2160.0
mouse_filter = 2 mouse_filter = 2
[node name="Water Tower" parent="." instance=ExtResource("14_o37f0")] [node name="Decorations" type="Node" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -13.5814, 0.043795, 59.857)
[node name="Trashcan" parent="." instance=ExtResource("15_0omc5")] [node name="boxcar1" parent="Decorations" instance=ExtResource("19_3k46k")]
transform = Transform3D(1.2, 0, 0, 0, 1.2, 0, 0, 0, 1.2, -23.6616, 0.910513, 29.1895) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -31.5735, 2.35144, 61.7909)
[node name="Powerline" parent="." instance=ExtResource("18_aq0pn")] [node name="boxcar2" type="AnimatableBody3D" parent="Decorations"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -51, 0, 7) transform = Transform3D(0.967916, 0, -0.251275, 0, 1, 0, 0.251275, 0, 0.967916, -33.6542, 2.38869, 70.6582)
[node name="Powerline2" parent="." instance=ExtResource("18_aq0pn")] [node name="boxcar1" type="MeshInstance3D" parent="Decorations/boxcar2"]
transform = Transform3D(-0.215332, 0, -0.976541, 0, 1, 0, 0.976541, 0, -0.215332, -27.7992, 0, 10.004) mesh = SubResource("ArrayMesh_umhh8")
skeleton = NodePath("")
[node name="Powerline3" parent="." instance=ExtResource("18_aq0pn")] [node name="boxcar1_door1" type="MeshInstance3D" parent="Decorations/boxcar2/boxcar1"]
transform = Transform3D(-0.215332, 0, -0.976541, 0, 1, 0, 0.976541, 0, -0.215332, 10.105, 0, 35.9476) transform = Transform3D(0.952593, 0, 0, 0, 1, 0, 0, 0, 1, 0.76238, 0.0252129, 1.36722)
mesh = SubResource("ArrayMesh_u8nch")
skeleton = NodePath("")
[node name="GarbageBin" parent="." instance=ExtResource("19_ma1ga")] [node name="boxcar1_door1_001" type="MeshInstance3D" parent="Decorations/boxcar2/boxcar1"]
transform = Transform3D(-0.952593, 0, -3.25841e-07, 0, 1, 0, 3.10394e-07, 0, -1, -0.7724, 0.0252129, -1.34879)
mesh = SubResource("ArrayMesh_cd3d7")
skeleton = NodePath("")
[node name="boxcar1_door2" type="MeshInstance3D" parent="Decorations/boxcar2/boxcar1"]
transform = Transform3D(0.952593, 0, 0, 0, 1, 0, -1.49012e-08, 0, 1, 1.86778, 0.025213, 1.36723)
mesh = SubResource("ArrayMesh_crakd")
skeleton = NodePath("")
[node name="boxcar1_door2_001" type="MeshInstance3D" parent="Decorations/boxcar2/boxcar1"]
transform = Transform3D(-0.952593, 0, -3.25841e-07, 0, 1, 0, 3.10394e-07, 0, -1, -0.7724, 0.0252129, -1.34879)
mesh = SubResource("ArrayMesh_7gw5t")
skeleton = NodePath("")
[node name="boxcar1" type="Node3D" parent="Decorations/boxcar2/boxcar1"]
transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, -6.04917, -1.93128, 1.34878)
[node name="boxcar1_001" type="Node3D" parent="Decorations/boxcar2/boxcar1/boxcar1"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.584778, 0.0024543, 0.0108763)
[node name="boxcar1_001" type="MeshInstance3D" parent="Decorations/boxcar2/boxcar1/boxcar1/boxcar1_001"]
mesh = SubResource("ArrayMesh_6k0x2")
skeleton = NodePath("")
[node name="boxcar1_002" type="Node3D" parent="Decorations/boxcar2/boxcar1/boxcar1"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.585827, 0.0024543, 0.0108763)
[node name="boxcar1_002" type="MeshInstance3D" parent="Decorations/boxcar2/boxcar1/boxcar1/boxcar1_002"]
mesh = SubResource("ArrayMesh_ossrx")
skeleton = NodePath("")
[node name="boxcar1" type="MeshInstance3D" parent="Decorations/boxcar2/boxcar1/boxcar1"]
mesh = SubResource("ArrayMesh_iodo1")
skeleton = NodePath("")
[node name="boxcar1_003" type="Node3D" parent="Decorations/boxcar2/boxcar1"]
transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, 6.29341, -1.93128, 1.34878)
[node name="boxcar1_004" type="Node3D" parent="Decorations/boxcar2/boxcar1/boxcar1_003"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.584778, 0.0024543, 0.0108763)
[node name="boxcar1_004" type="MeshInstance3D" parent="Decorations/boxcar2/boxcar1/boxcar1_003/boxcar1_004"]
mesh = SubResource("ArrayMesh_scq3v")
skeleton = NodePath("")
[node name="boxcar1_005" type="Node3D" parent="Decorations/boxcar2/boxcar1/boxcar1_003"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.585827, 0.0024543, 0.0108763)
[node name="boxcar1_005" type="MeshInstance3D" parent="Decorations/boxcar2/boxcar1/boxcar1_003/boxcar1_005"]
mesh = SubResource("ArrayMesh_f7esw")
skeleton = NodePath("")
[node name="boxcar1_003" type="MeshInstance3D" parent="Decorations/boxcar2/boxcar1/boxcar1_003"]
mesh = SubResource("ArrayMesh_umcj7")
skeleton = NodePath("")
[node name="boxcar1_006" type="Node3D" parent="Decorations/boxcar2/boxcar1"]
transform = Transform3D(-1, 1.62921e-07, 1.62921e-07, -1.62921e-07, 0, -1, -1.62921e-07, -1, 0, 6.29341, -1.93128, -1.37406)
[node name="boxcar1_007" type="Node3D" parent="Decorations/boxcar2/boxcar1/boxcar1_006"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.584778, 0.0024544, 0.0108763)
[node name="boxcar1_007" type="MeshInstance3D" parent="Decorations/boxcar2/boxcar1/boxcar1_006/boxcar1_007"]
mesh = SubResource("ArrayMesh_q6wlg")
skeleton = NodePath("")
[node name="boxcar1_008" type="Node3D" parent="Decorations/boxcar2/boxcar1/boxcar1_006"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.585827, 0.00245437, 0.0108763)
[node name="boxcar1_008" type="MeshInstance3D" parent="Decorations/boxcar2/boxcar1/boxcar1_006/boxcar1_008"]
mesh = SubResource("ArrayMesh_3mn30")
skeleton = NodePath("")
[node name="boxcar1_006" type="MeshInstance3D" parent="Decorations/boxcar2/boxcar1/boxcar1_006"]
mesh = SubResource("ArrayMesh_84awh")
skeleton = NodePath("")
[node name="boxcar1_009" type="Node3D" parent="Decorations/boxcar2/boxcar1"]
transform = Transform3D(-1, 1.62921e-07, 1.62921e-07, -1.62921e-07, 0, -1, -1.62921e-07, -1, 0, -6.04917, -1.93128, -1.37406)
[node name="boxcar1_010" type="Node3D" parent="Decorations/boxcar2/boxcar1/boxcar1_009"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.584778, 0.00245443, 0.0108763)
[node name="boxcar1_010" type="MeshInstance3D" parent="Decorations/boxcar2/boxcar1/boxcar1_009/boxcar1_010"]
mesh = SubResource("ArrayMesh_ahndd")
skeleton = NodePath("")
[node name="boxcar1_011" type="Node3D" parent="Decorations/boxcar2/boxcar1/boxcar1_009"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.585826, 0.0024544, 0.0108763)
[node name="boxcar1_011" type="MeshInstance3D" parent="Decorations/boxcar2/boxcar1/boxcar1_009/boxcar1_011"]
mesh = SubResource("ArrayMesh_3x2ar")
skeleton = NodePath("")
[node name="boxcar1_009" type="MeshInstance3D" parent="Decorations/boxcar2/boxcar1/boxcar1_009"]
mesh = SubResource("ArrayMesh_y8304")
skeleton = NodePath("")
[node name="coupler_back" type="MeshInstance3D" parent="Decorations/boxcar2/boxcar1"]
transform = Transform3D(-1, 0, -3.25841e-07, 0, 1, 0, 3.25841e-07, 0, -1, 7.48247, -1.62099, 0)
mesh = SubResource("ArrayMesh_8eat3")
skeleton = NodePath("")
[node name="coupler_front" type="MeshInstance3D" parent="Decorations/boxcar2/boxcar1"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.41401, -1.62099, 0)
mesh = SubResource("ArrayMesh_lot2v")
skeleton = NodePath("")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Decorations/boxcar2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0674438, 0)
shape = SubResource("BoxShape3D_fl1u5")
[node name="Boxcar1" type="Node3D" parent="Decorations/boxcar2"]
[node name="GarbageBin" parent="Decorations" instance=ExtResource("19_ma1ga")]
transform = Transform3D(-0.999086, 0, -0.0427475, 0, 1, 0, 0.0427475, 0, -0.999086, 29.4975, 0.116186, 48.908) transform = Transform3D(-0.999086, 0, -0.0427475, 0, 1, 0, 0.0427475, 0, -0.999086, 29.4975, 0.116186, 48.908)
[node name="Train2" parent="." instance=ExtResource("19_vcb4t")] [node name="Train2" parent="Decorations" instance=ExtResource("19_vcb4t")]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -69.1904, 1.12627, 45.0474) transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -69.1904, 1.12627, 45.0474)
[node name="AnimationPlayer" type="AnimationPlayer" parent="."] [node name="AnimationPlayer" type="AnimationPlayer" parent="Decorations"]
root_node = NodePath("../..")
libraries = { libraries = {
"": SubResource("AnimationLibrary_1w2xf") "": SubResource("AnimationLibrary_1w2xf")
} }
autoplay = "trainmove" autoplay = "trainmove"
[node name="boxcar1" parent="." instance=ExtResource("19_3k46k")] [node name="Water Tower" parent="Decorations" instance=ExtResource("14_o37f0")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -31.5735, 2.35144, 61.7909) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -13.5814, 0.043795, 59.857)
[node name="boxcar2" type="AnimatableBody3D" parent="."] [node name="Trashcan" parent="Decorations" instance=ExtResource("15_0omc5")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -33.6542, 2.38869, 67.2483) transform = Transform3D(1.2, 0, 0, 0, 1.2, 0, 0, 0, 1.2, -23.6616, 0.910513, 29.1895)
[node name="boxcar1" type="MeshInstance3D" parent="boxcar2"] [node name="Powerline" parent="Decorations" instance=ExtResource("18_aq0pn")]
mesh = SubResource("ArrayMesh_umhh8") transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -51, 0, 7)
skeleton = NodePath("")
[node name="boxcar1_door1" type="MeshInstance3D" parent="boxcar2/boxcar1"] [node name="Powerline2" parent="Decorations" instance=ExtResource("18_aq0pn")]
transform = Transform3D(0.952593, 0, 0, 0, 1, 0, 0, 0, 1, 0.76238, 0.0252129, 1.36722) transform = Transform3D(-0.215332, 0, -0.976541, 0, 1, 0, 0.976541, 0, -0.215332, -27.7992, 0, 10.004)
mesh = SubResource("ArrayMesh_u8nch")
skeleton = NodePath("")
[node name="boxcar1_door1_001" type="MeshInstance3D" parent="boxcar2/boxcar1"] [node name="Powerline3" parent="Decorations" instance=ExtResource("18_aq0pn")]
transform = Transform3D(-0.952593, 0, -3.25841e-07, 0, 1, 0, 3.10394e-07, 0, -1, -0.7724, 0.0252129, -1.34879) transform = Transform3D(-0.215332, 0, -0.976541, 0, 1, 0, 0.976541, 0, -0.215332, 10.105, 0, 35.9476)
mesh = SubResource("ArrayMesh_cd3d7")
skeleton = NodePath("")
[node name="boxcar1_door2" type="MeshInstance3D" parent="boxcar2/boxcar1"] [node name="Spider Hivemind" type="Node" parent="."]
transform = Transform3D(0.952593, 0, 0, 0, 1, 0, -1.49012e-08, 0, 1, 1.86778, 0.025213, 1.36723) script = ExtResource("31_vonxg")
mesh = SubResource("ArrayMesh_crakd")
skeleton = NodePath("")
[node name="boxcar1_door2_001" type="MeshInstance3D" parent="boxcar2/boxcar1"] [node name="spider" parent="Spider Hivemind" instance=ExtResource("32_yw30t")]
transform = Transform3D(-0.952593, 0, -3.25841e-07, 0, 1, 0, 3.10394e-07, 0, -1, -0.7724, 0.0252129, -1.34879) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -28.2661, -0.228645, 27.3522)
mesh = SubResource("ArrayMesh_7gw5t") player_path = NodePath("../../Player")
skeleton = NodePath("")
[node name="boxcar1" type="Node3D" parent="boxcar2/boxcar1"] [node name="spider2" parent="Spider Hivemind" instance=ExtResource("32_yw30t")]
transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, -6.04917, -1.93128, 1.34878) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22.3072, -0.228645, 24.2875)
player_path = NodePath("../../Player")
[node name="boxcar1_001" type="Node3D" parent="boxcar2/boxcar1/boxcar1"] [node name="spider3" parent="Spider Hivemind" instance=ExtResource("32_yw30t")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.584778, 0.0024543, 0.0108763) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26.0762, -0.228643, 22.5939)
player_path = NodePath("../../Player")
[node name="boxcar1_001" type="MeshInstance3D" parent="boxcar2/boxcar1/boxcar1/boxcar1_001"] [node name="spider4" parent="Spider Hivemind" instance=ExtResource("32_yw30t")]
mesh = SubResource("ArrayMesh_6k0x2") transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -19.3627, -0.228643, 21.5787)
skeleton = NodePath("") player_path = NodePath("../../Player")
[node name="boxcar1_002" type="Node3D" parent="boxcar2/boxcar1/boxcar1"] [node name="spider5" parent="Spider Hivemind" instance=ExtResource("32_yw30t")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.585827, 0.0024543, 0.0108763) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -34.8134, -0.228645, 23.642)
player_path = NodePath("../../Player")
[node name="boxcar1_002" type="MeshInstance3D" parent="boxcar2/boxcar1/boxcar1/boxcar1_002"] [node name="spider6" parent="Spider Hivemind" instance=ExtResource("32_yw30t")]
mesh = SubResource("ArrayMesh_ossrx") transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -28.8545, -0.228645, 20.5772)
skeleton = NodePath("") player_path = NodePath("../../Player")
[node name="boxcar1" type="MeshInstance3D" parent="boxcar2/boxcar1/boxcar1"] [node name="spider7" parent="Spider Hivemind" instance=ExtResource("32_yw30t")]
mesh = SubResource("ArrayMesh_iodo1") transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -32.6235, -0.228643, 18.8837)
skeleton = NodePath("") player_path = NodePath("../../Player")
[node name="boxcar1_003" type="Node3D" parent="boxcar2/boxcar1"] [node name="spider8" parent="Spider Hivemind" instance=ExtResource("32_yw30t")]
transform = Transform3D(1, 0, 0, 0, 0, -1, 0, 1, 0, 6.29341, -1.93128, 1.34878) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -25.9101, -0.228643, 17.8685)
player_path = NodePath("../../Player")
[node name="boxcar1_004" type="Node3D" parent="boxcar2/boxcar1/boxcar1_003"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.584778, 0.0024543, 0.0108763)
[node name="boxcar1_004" type="MeshInstance3D" parent="boxcar2/boxcar1/boxcar1_003/boxcar1_004"]
mesh = SubResource("ArrayMesh_scq3v")
skeleton = NodePath("")
[node name="boxcar1_005" type="Node3D" parent="boxcar2/boxcar1/boxcar1_003"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.585827, 0.0024543, 0.0108763)
[node name="boxcar1_005" type="MeshInstance3D" parent="boxcar2/boxcar1/boxcar1_003/boxcar1_005"]
mesh = SubResource("ArrayMesh_f7esw")
skeleton = NodePath("")
[node name="boxcar1_003" type="MeshInstance3D" parent="boxcar2/boxcar1/boxcar1_003"]
mesh = SubResource("ArrayMesh_umcj7")
skeleton = NodePath("")
[node name="boxcar1_006" type="Node3D" parent="boxcar2/boxcar1"]
transform = Transform3D(-1, 1.62921e-07, 1.62921e-07, -1.62921e-07, 0, -1, -1.62921e-07, -1, 0, 6.29341, -1.93128, -1.37406)
[node name="boxcar1_007" type="Node3D" parent="boxcar2/boxcar1/boxcar1_006"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.584778, 0.0024544, 0.0108763)
[node name="boxcar1_007" type="MeshInstance3D" parent="boxcar2/boxcar1/boxcar1_006/boxcar1_007"]
mesh = SubResource("ArrayMesh_q6wlg")
skeleton = NodePath("")
[node name="boxcar1_008" type="Node3D" parent="boxcar2/boxcar1/boxcar1_006"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.585827, 0.00245437, 0.0108763)
[node name="boxcar1_008" type="MeshInstance3D" parent="boxcar2/boxcar1/boxcar1_006/boxcar1_008"]
mesh = SubResource("ArrayMesh_3mn30")
skeleton = NodePath("")
[node name="boxcar1_006" type="MeshInstance3D" parent="boxcar2/boxcar1/boxcar1_006"]
mesh = SubResource("ArrayMesh_84awh")
skeleton = NodePath("")
[node name="boxcar1_009" type="Node3D" parent="boxcar2/boxcar1"]
transform = Transform3D(-1, 1.62921e-07, 1.62921e-07, -1.62921e-07, 0, -1, -1.62921e-07, -1, 0, -6.04917, -1.93128, -1.37406)
[node name="boxcar1_010" type="Node3D" parent="boxcar2/boxcar1/boxcar1_009"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.584778, 0.00245443, 0.0108763)
[node name="boxcar1_010" type="MeshInstance3D" parent="boxcar2/boxcar1/boxcar1_009/boxcar1_010"]
mesh = SubResource("ArrayMesh_ahndd")
skeleton = NodePath("")
[node name="boxcar1_011" type="Node3D" parent="boxcar2/boxcar1/boxcar1_009"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.585826, 0.0024544, 0.0108763)
[node name="boxcar1_011" type="MeshInstance3D" parent="boxcar2/boxcar1/boxcar1_009/boxcar1_011"]
mesh = SubResource("ArrayMesh_3x2ar")
skeleton = NodePath("")
[node name="boxcar1_009" type="MeshInstance3D" parent="boxcar2/boxcar1/boxcar1_009"]
mesh = SubResource("ArrayMesh_y8304")
skeleton = NodePath("")
[node name="coupler_back" type="MeshInstance3D" parent="boxcar2/boxcar1"]
transform = Transform3D(-1, 0, -3.25841e-07, 0, 1, 0, 3.25841e-07, 0, -1, 7.48247, -1.62099, 0)
mesh = SubResource("ArrayMesh_8eat3")
skeleton = NodePath("")
[node name="coupler_front" type="MeshInstance3D" parent="boxcar2/boxcar1"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.41401, -1.62099, 0)
mesh = SubResource("ArrayMesh_lot2v")
skeleton = NodePath("")
[node name="CollisionShape3D" type="CollisionShape3D" parent="boxcar2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0674438, 0)
shape = SubResource("BoxShape3D_fl1u5")
[node name="Boxcar1" type="Node3D" parent="boxcar2"]

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
extends Node3D extends Node
var minions = [] var minions = []
var minion_nav_point = [] var minion_nav_point = []

View File

@@ -43,7 +43,6 @@ func _process(delta):
player.level_control.health -= bullet_damage player.level_control.health -= bullet_damage
player.hurt_audio.play() player.hurt_audio.play()
queue_free() queue_free()
print(player.level_control.health)
if ray.is_colliding() and !ray.get_collider().is_in_group("player"): if ray.is_colliding() and !ray.get_collider().is_in_group("player"):