added chest and chest spawners but they don't always show up?

This commit is contained in:
Derek
2025-03-02 22:17:04 -06:00
parent dc7ecf83ee
commit ea68629594
71 changed files with 3127 additions and 98 deletions

View File

@@ -4,7 +4,7 @@
[resource]
script = ExtResource("1_3d3uh")
gamemode_name = "Standard"
gamemode_name = "Do Not Get Hit"
estimated_difficulty = 4
win_conditions = 0
survival_time = 160.0

View File

@@ -17,7 +17,7 @@ jump_velocity = 5
dash_speed = 40
gravity = -9.8
time_slowed_speed = 0.1
stamina_regen = false
stamina_regen = true
max_stamina = 100.0
stamina_drain = 20.0
air_dash_max = 1

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=16 format=3 uid="uid://sa1d1rftyn87"]
[gd_scene load_steps=20 format=3 uid="uid://sa1d1rftyn87"]
[ext_resource type="Script" path="res://scripts/main_menu.gd" id="1_haaol"]
[ext_resource type="PackedScene" uid="uid://dpootbr7qgac1" path="res://Tools/playlist_generator.tscn" id="2_2rg1o"]
@@ -6,9 +6,9 @@
[ext_resource type="FontFile" uid="uid://d2h2tjhxiv5wo" path="res://assets/fonts/White On Black.ttf" id="2_ac165"]
[ext_resource type="Shader" path="res://assets/crtTest.gdshader" id="2_hyw7c"]
[ext_resource type="Script" path="res://gamemode.gd" id="4_p0ng4"]
[ext_resource type="Script" path="res://level_resource.gd" id="4_p7b2e"]
[ext_resource type="Theme" uid="uid://buma708jpxqrn" path="res://Clean_theme.tres" id="4_ydrbj"]
[ext_resource type="Resource" uid="uid://dn3t7wcoumlm3" path="res://GameModes/standard.tres" id="5_lv7ko"]
[ext_resource type="Resource" uid="uid://bs8yvpq65yh3w" path="res://GameModes/cookie_mode.tres" id="6_sxxvb"]
[ext_resource type="Shader" path="res://assets/Shaders/blur.gdshader" id="6_x75tm"]
[ext_resource type="Texture2D" uid="uid://bt6utik8unkxa" path="res://assets/Textures/ObjectTextures/money.png" id="7_ia0hc"]
[ext_resource type="Resource" uid="uid://u32xafejp3rq" path="res://GameModes/standard_stam_regen.tres" id="7_vm4j1"]
@@ -38,6 +38,26 @@ shader_parameter/clip_warp = true
shader_parameter/vignette_intensity = 0.4
shader_parameter/vignette_opacity = 0.235
[sub_resource type="Resource" id="Resource_3w5k4"]
script = ExtResource("4_p7b2e")
level_name = "Blockout 2"
level_path = "res://assets/blockout_2.tscn"
[sub_resource type="Resource" id="Resource_t5q6w"]
script = ExtResource("4_p7b2e")
level_name = "Test Level 2v2"
level_path = "res://scenes/test_level_2v2.tscn"
[sub_resource type="Resource" id="Resource_2pkld"]
script = ExtResource("4_p7b2e")
level_name = "Enemy Working Scene"
level_path = "res://scenes/enemy_working_scene.tscn"
[sub_resource type="Resource" id="Resource_hgnbd"]
script = ExtResource("4_p7b2e")
level_name = "Highwire"
level_path = "res://scenes/highwire.tscn"
[sub_resource type="ShaderMaterial" id="ShaderMaterial_htvli"]
shader = ExtResource("6_x75tm")
shader_parameter/strength = 1.0
@@ -60,7 +80,8 @@ offset_bottom = 2160.0
[node name="PlaylistGenerator" parent="." instance=ExtResource("2_2rg1o")]
visible = false
layout_mode = 1
gamemodes_in_rotation = Array[ExtResource("4_p0ng4")]([ExtResource("5_lv7ko"), ExtResource("6_sxxvb"), ExtResource("7_vm4j1"), ExtResource("8_bexpg")])
maps_in_rotation = Array[ExtResource("4_p7b2e")]([SubResource("Resource_3w5k4"), SubResource("Resource_t5q6w"), SubResource("Resource_2pkld"), SubResource("Resource_hgnbd")])
gamemodes_in_rotation = Array[ExtResource("4_p0ng4")]([ExtResource("5_lv7ko"), ExtResource("7_vm4j1"), ExtResource("8_bexpg")])
levels_per_round = 4
[node name="MarginContainer" type="MarginContainer" parent="."]

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bspjw3myfrkt"
path.s3tc="res://.godot/imported/chest1-low_chest1.band_BaseColor.png-8c1a9cf1133ad43ce6150c77353ba8b2.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/Models/SubstancePainterTest/chest1-low_chest1.band_BaseColor.png"
dest_files=["res://.godot/imported/chest1-low_chest1.band_BaseColor.png-8c1a9cf1133ad43ce6150c77353ba8b2.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ijb1kq5fy43u"
path="res://.godot/imported/chest1-low_chest1.band_Emissive.png-8ab064046a99d228a24327c96264027e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/Models/SubstancePainterTest/chest1-low_chest1.band_Emissive.png"
dest_files=["res://.godot/imported/chest1-low_chest1.band_Emissive.png-8ab064046a99d228a24327c96264027e.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bjaq4eokhwebv"
path="res://.godot/imported/chest1-low_chest1.band_Height.png-56c200ad6271749a3d6de05d6313f45c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/Models/SubstancePainterTest/chest1-low_chest1.band_Height.png"
dest_files=["res://.godot/imported/chest1-low_chest1.band_Height.png-56c200ad6271749a3d6de05d6313f45c.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d03e3v1yyks6l"
path.s3tc="res://.godot/imported/chest1-low_chest1.band_Metallic.png-eb5caf37249a3cb1e05ffc1265c84131.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/Models/SubstancePainterTest/chest1-low_chest1.band_Metallic.png"
dest_files=["res://.godot/imported/chest1-low_chest1.band_Metallic.png-eb5caf37249a3cb1e05ffc1265c84131.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ckr7iffrv706t"
path.s3tc="res://.godot/imported/chest1-low_chest1.band_Normal.png-c592bdd269ebabd426ba9e1d0b01db3b.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/Models/SubstancePainterTest/chest1-low_chest1.band_Normal.png"
dest_files=["res://.godot/imported/chest1-low_chest1.band_Normal.png-c592bdd269ebabd426ba9e1d0b01db3b.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=1
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=1
roughness/src_normal="res://assets/Models/SubstancePainterTest/chest1-low_chest1.band_Normal.png"
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dioc0y8c64wr5"
path.s3tc="res://.godot/imported/chest1-low_chest1.band_Roughness.png-0a0a2355f1dc91ead4dd6a63a0b7f694.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/Models/SubstancePainterTest/chest1-low_chest1.band_Roughness.png"
dest_files=["res://.godot/imported/chest1-low_chest1.band_Roughness.png-0a0a2355f1dc91ead4dd6a63a0b7f694.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 335 KiB

View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bpo5wltswxbfs"
path.s3tc="res://.godot/imported/chest1-low_chest1.base_BaseColor.png-3341e870d8464de10d1548a9ac8ac525.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/Models/SubstancePainterTest/chest1-low_chest1.base_BaseColor.png"
dest_files=["res://.godot/imported/chest1-low_chest1.base_BaseColor.png-3341e870d8464de10d1548a9ac8ac525.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://drjydlugrdt80"
path="res://.godot/imported/chest1-low_chest1.base_Emissive.png-2068bdd7ed86660666bb3e8705d6081c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/Models/SubstancePainterTest/chest1-low_chest1.base_Emissive.png"
dest_files=["res://.godot/imported/chest1-low_chest1.base_Emissive.png-2068bdd7ed86660666bb3e8705d6081c.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bjp2cotfmsejt"
path.s3tc="res://.godot/imported/chest1-low_chest1.base_Height.png-351bb04d42ed0101841095c9dbaf379f.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/Models/SubstancePainterTest/chest1-low_chest1.base_Height.png"
dest_files=["res://.godot/imported/chest1-low_chest1.base_Height.png-351bb04d42ed0101841095c9dbaf379f.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://drk5ylgmsbck4"
path.s3tc="res://.godot/imported/chest1-low_chest1.base_Metallic.png-39affcfd1ed5205d7395b37d600ef60d.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/Models/SubstancePainterTest/chest1-low_chest1.base_Metallic.png"
dest_files=["res://.godot/imported/chest1-low_chest1.base_Metallic.png-39affcfd1ed5205d7395b37d600ef60d.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 KiB

View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://5qtjxkf207l7"
path.s3tc="res://.godot/imported/chest1-low_chest1.base_Normal.png-94fea5a8096448c2b74b0a5ccee60e78.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/Models/SubstancePainterTest/chest1-low_chest1.base_Normal.png"
dest_files=["res://.godot/imported/chest1-low_chest1.base_Normal.png-94fea5a8096448c2b74b0a5ccee60e78.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=1
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=1
roughness/src_normal="res://assets/Models/SubstancePainterTest/chest1-low_chest1.base_Normal.png"
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bbhbkbd5uaied"
path.s3tc="res://.godot/imported/chest1-low_chest1.base_Roughness.png-0d45c1a4992ddd07fdad50f0b9dae438.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/Models/SubstancePainterTest/chest1-low_chest1.base_Roughness.png"
dest_files=["res://.godot/imported/chest1-low_chest1.base_Roughness.png-0d45c1a4992ddd07fdad50f0b9dae438.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b73sneqhodmjy"
path="res://.godot/imported/chest1-low_chest1.hinge_BaseColor.png-e677c1ec48f3117604ffc73d36f4d0dc.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/Models/SubstancePainterTest/chest1-low_chest1.hinge_BaseColor.png"
dest_files=["res://.godot/imported/chest1-low_chest1.hinge_BaseColor.png-e677c1ec48f3117604ffc73d36f4d0dc.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ckc8y4ad8nuq"
path="res://.godot/imported/chest1-low_chest1.hinge_Emissive.png-83a46c757dbc8cd762d3a135da74c427.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/Models/SubstancePainterTest/chest1-low_chest1.hinge_Emissive.png"
dest_files=["res://.godot/imported/chest1-low_chest1.hinge_Emissive.png-83a46c757dbc8cd762d3a135da74c427.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bb144sgdh4qfm"
path="res://.godot/imported/chest1-low_chest1.hinge_Height.png-43e38cff3147a2dbd808b827e6595e12.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/Models/SubstancePainterTest/chest1-low_chest1.hinge_Height.png"
dest_files=["res://.godot/imported/chest1-low_chest1.hinge_Height.png-43e38cff3147a2dbd808b827e6595e12.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bcswxt834jvxj"
path="res://.godot/imported/chest1-low_chest1.hinge_Metallic.png-1bc29fbc5c7821edb88a7df25acda950.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/Models/SubstancePainterTest/chest1-low_chest1.hinge_Metallic.png"
dest_files=["res://.godot/imported/chest1-low_chest1.hinge_Metallic.png-1bc29fbc5c7821edb88a7df25acda950.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://4y2wbs6slkfu"
path="res://.godot/imported/chest1-low_chest1.hinge_Normal.png-30813dfd50661662f810997b943193fb.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/Models/SubstancePainterTest/chest1-low_chest1.hinge_Normal.png"
dest_files=["res://.godot/imported/chest1-low_chest1.hinge_Normal.png-30813dfd50661662f810997b943193fb.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b0ewa0o07myc3"
path="res://.godot/imported/chest1-low_chest1.hinge_Roughness.png-50fe5877654c56f190396d2b8bb420a9.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/Models/SubstancePainterTest/chest1-low_chest1.hinge_Roughness.png"
dest_files=["res://.godot/imported/chest1-low_chest1.hinge_Roughness.png-50fe5877654c56f190396d2b8bb420a9.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bkgkawpfjjhen"
path.s3tc="res://.godot/imported/chest1-low_chest1.lock_BaseColor.png-196638a2c964d764cb83570eae82c8d9.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/Models/SubstancePainterTest/chest1-low_chest1.lock_BaseColor.png"
dest_files=["res://.godot/imported/chest1-low_chest1.lock_BaseColor.png-196638a2c964d764cb83570eae82c8d9.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dcpmned240tar"
path="res://.godot/imported/chest1-low_chest1.lock_Emissive.png-51ec15a57fe5442aef538c8c0e555e3b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/Models/SubstancePainterTest/chest1-low_chest1.lock_Emissive.png"
dest_files=["res://.godot/imported/chest1-low_chest1.lock_Emissive.png-51ec15a57fe5442aef538c8c0e555e3b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b6lpsifdpwu57"
path="res://.godot/imported/chest1-low_chest1.lock_Height.png-f60b4cdaa59c616fb4b075b3a78e2589.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/Models/SubstancePainterTest/chest1-low_chest1.lock_Height.png"
dest_files=["res://.godot/imported/chest1-low_chest1.lock_Height.png-f60b4cdaa59c616fb4b075b3a78e2589.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cdds1ttukud5g"
path.s3tc="res://.godot/imported/chest1-low_chest1.lock_Metallic.png-5ad2039f78a4ab12a8571494778f0d5e.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/Models/SubstancePainterTest/chest1-low_chest1.lock_Metallic.png"
dest_files=["res://.godot/imported/chest1-low_chest1.lock_Metallic.png-5ad2039f78a4ab12a8571494778f0d5e.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 KiB

View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://wjqeybvbi584"
path.s3tc="res://.godot/imported/chest1-low_chest1.lock_Normal.png-37476193128262d1e7b808e0bd05f046.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/Models/SubstancePainterTest/chest1-low_chest1.lock_Normal.png"
dest_files=["res://.godot/imported/chest1-low_chest1.lock_Normal.png-37476193128262d1e7b808e0bd05f046.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=1
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=1
roughness/src_normal="res://assets/Models/SubstancePainterTest/chest1-low_chest1.lock_Normal.png"
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bq0glgbvc75ue"
path.s3tc="res://.godot/imported/chest1-low_chest1.lock_Roughness.png-4448644f39ae605c7a139aa70e8bcb1b.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/Models/SubstancePainterTest/chest1-low_chest1.lock_Roughness.png"
dest_files=["res://.godot/imported/chest1-low_chest1.lock_Roughness.png-4448644f39ae605c7a139aa70e8bcb1b.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

BIN
assets/Models/chest1.blend Normal file

Binary file not shown.

View File

@@ -0,0 +1,51 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://dbyjl6xcg3n3x"
path="res://.godot/imported/chest1.blend-cfe053694c60311604f5a617c141c836.scn"
[deps]
source_file="res://assets/Models/chest1.blend"
dest_files=["res://.godot/imported/chest1.blend-cfe053694c60311604f5a617c141c836.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
blender/nodes/visible=0
blender/nodes/active_collection_only=false
blender/nodes/punctual_lights=true
blender/nodes/cameras=true
blender/nodes/custom_properties=true
blender/nodes/modifiers=1
blender/meshes/colors=false
blender/meshes/uvs=true
blender/meshes/normals=true
blender/meshes/tangents=true
blender/meshes/skins=2
blender/meshes/export_bones_deforming_mesh_only=false
blender/materials/unpack_enabled=true
blender/materials/export_materials=1
blender/animation/limit_playback=true
blender/animation/always_sample=true
blender/animation/group_tracks=true

BIN
assets/Models/chest1.blend1 Normal file

Binary file not shown.

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=113 format=4 uid="uid://6agmt1hqlhww"]
[gd_scene load_steps=110 format=4 uid="uid://6agmt1hqlhww"]
[ext_resource type="Script" path="res://scripts/LevelManager.gd" id="1_sbpvn"]
[ext_resource type="Resource" uid="uid://dn3t7wcoumlm3" path="res://GameModes/standard.tres" id="2_cuqu0"]
@@ -19,7 +19,6 @@
[ext_resource type="PackedScene" uid="uid://drwae3loscbw7" path="res://assets/player.tscn" id="9_3usor"]
[ext_resource type="Material" uid="uid://buv88wwtgorlx" path="res://assets/materials/prototype/mulch.tres" id="9_xrtyv"]
[ext_resource type="PackedScene" uid="uid://c6bpysq1tjhy4" path="res://vendingmahcine.tscn" id="10_8qgs0"]
[ext_resource type="PackedScene" uid="uid://clu76sc4uoswn" path="res://assets/rocketlauncher_pickup.tscn" id="11_6de2k"]
[ext_resource type="PackedScene" uid="uid://cnfc8rtk6l1d8" path="res://assets/crate1.tscn" id="12_30nle"]
[ext_resource type="PackedScene" uid="uid://dt4t2a48204v1" path="res://assets/spikes_1.tscn" id="12_w4dk0"]
[ext_resource type="Script" path="res://scripts/room_manager.gd" id="13_84vop"]
@@ -28,7 +27,6 @@
[ext_resource type="PackedScene" uid="uid://b3t8fra7evqfb" path="res://assets/Models/building_1.tscn" id="15_ds1t8"]
[ext_resource type="PackedScene" uid="uid://cp7tsicuudd6v" path="res://assets/boxcar_1.tscn" id="16_65evy"]
[ext_resource type="Script" path="res://scripts/room_check.gd" id="16_ba8wj"]
[ext_resource type="PackedScene" uid="uid://dws4iro7820fc" path="res://assets/pistol1_pickup.tscn" id="17_buv6l"]
[ext_resource type="Texture2D" uid="uid://bervxllx4mjqe" path="res://assets/Textures/dickbutt.png" id="22_i7w8i"]
[ext_resource type="PackedScene" uid="uid://c7vrpfdh603kr" path="res://assets/bottle_1.tscn" id="23_khhfu"]
[ext_resource type="PackedScene" uid="uid://dvlpc0mrx16l" path="res://assets/table1.tscn" id="24_eaw7j"]
@@ -36,12 +34,11 @@
[ext_resource type="Script" path="res://scripts/switch_door.gd" id="33_1m5er"]
[ext_resource type="Script" path="res://scripts/switch_interactandshoot.gd" id="35_ybetb"]
[ext_resource type="Script" path="res://levels/switch_target.gd" id="36_fuepo"]
[ext_resource type="PackedScene" uid="uid://cucqbjb8bcha5" path="res://assets/blunderbuss_pickup.tscn" id="38_1e38i"]
[ext_resource type="PackedScene" uid="uid://cdpxctwwi12j" path="res://assets/ladder_collision_check.tscn" id="41_brca2"]
[ext_resource type="PackedScene" uid="uid://db7xqf12sayj0" path="res://assets/chest_spawner.tscn" id="42_4p65t"]
[ext_resource type="PackedScene" uid="uid://h05qay3qri4e" path="res://assets/switch_1.tscn" id="42_rmbqr"]
[ext_resource type="PackedScene" uid="uid://bcmd7elfjhppe" path="res://assets/tree_1.tscn" id="43_o23bq"]
[ext_resource type="PackedScene" uid="uid://bpkmyd3wvqi5p" path="res://assets/boombox.tscn" id="44_dmurd"]
[ext_resource type="PackedScene" uid="uid://hp4xn8oqdxnd" path="res://assets/machete_pickup.tscn" id="44_j62x2"]
[ext_resource type="PackedScene" uid="uid://dlhjacsike5a4" path="res://assets/oildrum1.tscn" id="45_eatji"]
[ext_resource type="PackedScene" uid="uid://dgapcuvg0gtmm" path="res://assets/scene_changer.tscn" id="45_kgpfv"]
[ext_resource type="PackedScene" uid="uid://bj1y0fbjtul4a" path="res://post_processing.tscn" id="45_lveut"]
@@ -64,7 +61,6 @@ ssil_enabled = true
sdfgi_enabled = true
glow_enabled = true
glow_bloom = 0.75
fog_enabled = true
fog_density = 0.0008
volumetric_fog_density = 0.0125
volumetric_fog_ambient_inject = 16.0
@@ -1118,12 +1114,10 @@ room_lockdown = true
[node name="spider21" parent="Room3" instance=ExtResource("8_h7fp0")]
transform = Transform3D(-0.495636, 0.00137952, -0.868529, 0.000970599, 0.999999, 0.00103446, 0.86853, -0.00033027, -0.495637, -42.8622, 16.3631, 198.726)
health = 10
player_path = NodePath("../../Player")
[node name="spider20" parent="Room3" instance=ExtResource("8_h7fp0")]
transform = Transform3D(-0.603162, 0.00141053, -0.797618, 0.000970599, 0.999999, 0.00103446, 0.797618, -0.000150212, -0.603163, -41.1004, 16.3631, 190.752)
health = 10
player_path = NodePath("../../Player")
[node name="Door" type="MeshInstance3D" parent="Room3" node_paths=PackedStringArray("anim_player")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.41302, 19.4763, 191.236)
@@ -1180,39 +1174,30 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 35.7008, 15.9906, 115.943)
[node name="spider8" parent="EnemyHivemind" instance=ExtResource("8_h7fp0")]
transform = Transform3D(-0.498291, 0, 0.86701, 0, 1, 0, -0.86701, 0, -0.498291, -33.1198, 1.01204, 83.2344)
player_path = NodePath("../../Player")
[node name="spider12" parent="EnemyHivemind" instance=ExtResource("8_h7fp0")]
transform = Transform3D(-0.0982604, 0, 0.995161, 0, 1, 0, -0.995161, 0, -0.0982604, -32.523, 1.01204, 88.6159)
player_path = NodePath("../../Player")
[node name="spider13" parent="EnemyHivemind" instance=ExtResource("8_h7fp0")]
transform = Transform3D(0.209653, 0, 0.977776, 0, 1, 0, -0.977776, 0, 0.209653, -33.5277, 1.01204, 92.5231)
player_path = NodePath("../../Player")
[node name="spider14" parent="EnemyHivemind" instance=ExtResource("8_h7fp0")]
transform = Transform3D(0.66648, 0, 0.745523, 0, 1, 0, -0.745523, 0, 0.66648, -37.2782, 1.01204, 95.9574)
player_path = NodePath("../../Player")
[node name="spider15" parent="EnemyHivemind" instance=ExtResource("8_h7fp0")]
transform = Transform3D(0.968501, 0, 0.249011, 0, 1, 0, -0.249011, 0, 0.968501, -44.2802, 1.01204, 99.2367)
player_path = NodePath("../../Player")
[node name="spider16" parent="EnemyHivemind" instance=ExtResource("8_h7fp0")]
transform = Transform3D(0.665973, 0, -0.745976, 0, 1, 0, 0.745976, 0, 0.665973, -53.7373, 1.01204, 97.6803)
player_path = NodePath("../../Player")
[node name="spider17" parent="EnemyHivemind" instance=ExtResource("8_h7fp0")]
transform = Transform3D(-0.148362, 0, -0.988933, 0, 1, 0, 0.988933, 0, -0.148362, -59.8228, 1.01204, 88.5312)
player_path = NodePath("../../Player")
[node name="spider18" parent="EnemyHivemind" instance=ExtResource("8_h7fp0")]
transform = Transform3D(-0.647029, 0, -0.762465, 0, 1, 0, 0.762465, 0, -0.647029, -59.1976, 1.01204, 80.2356)
player_path = NodePath("../../Player")
[node name="spider19" parent="EnemyHivemind" instance=ExtResource("8_h7fp0")]
transform = Transform3D(-0.999926, 0.000957978, 0.0121256, 0.000970599, 0.999999, 0.00103446, -0.0121246, 0.00104616, -0.999926, -47.5125, 1.01204, 77.6932)
player_path = NodePath("../../Player")
[node name="JumpPlatform" parent="." instance=ExtResource("4_j47q8")]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 5.16314, 0.033225, -4.92484)
@@ -1221,9 +1206,6 @@ jump_amount = 30
[node name="vendingmachine" parent="." instance=ExtResource("10_8qgs0")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.42198, 0.0803966, 8.69362)
[node name="rocketlauncher1_pickup" parent="." instance=ExtResource("11_6de2k")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 35.045, 17.8434, 63.8107)
[node name="Crate2" parent="." instance=ExtResource("12_30nle")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.28842, 27.356, 32.2137)
@@ -1263,9 +1245,6 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.100218, 24.4327, 46.4567)
[node name="Ladder6" parent="." instance=ExtResource("13_qu8oi")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.100218, 28.3013, 46.4567)
[node name="pistol1_pickup" parent="." instance=ExtResource("17_buv6l")]
transform = Transform3D(0.558498, -0.829506, 0, 0.829506, 0.558498, 0, 0, 0, 1, 35.2023, 17.3708, 122.41)
[node name="Crate1" parent="." instance=ExtResource("12_30nle")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.75245, 1.6523, 16.1195)
@@ -1970,9 +1949,6 @@ script = ExtResource("36_fuepo")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Switch 1/switch2/StaticBody3D"]
shape = SubResource("SphereShape3D_w8su1")
[node name="rocketlauncher1_pickup2" parent="." instance=ExtResource("11_6de2k")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 29.7453, -2.8486, 37.7796)
[node name="Hallway1" type="Node" parent="."]
[node name="Spikes 1" parent="Hallway1" instance=ExtResource("12_w4dk0")]
@@ -2005,9 +1981,6 @@ libraries = {
}
autoplay = "HallSpikes"
[node name="blunderbuss_pickup" parent="." instance=ExtResource("38_1e38i")]
transform = Transform3D(0.680363, 0, 0.732875, 0, 1, 0, -0.732875, 0, 0.680363, -2.95896, 1.92659, 16.5021)
[node name="OmniLight3D" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.38495, 2.76978, 14.3463)
shadow_enabled = true
@@ -2029,9 +2002,6 @@ transform = Transform3D(1, 0, 0, 0, 0.589387, 0, 0, 0, 1, 3.73803, -5.75175, 15.
[node name="Switch1" parent="." instance=ExtResource("42_rmbqr")]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -1.63531, 1.62721, 8.4082)
[node name="machete_pickup" parent="." instance=ExtResource("44_j62x2")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.74172, 0.204712, 11.2157)
[node name="LadderCollisionCheck2" parent="." instance=ExtResource("41_brca2")]
transform = Transform3D(1, 0, 0, 0, 1.62179, 0, 0, 0, 1, -0.0929826, 16.174, 46.5578)
@@ -2043,6 +2013,21 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.33344, 0.988644, 9.05528)
scene_path = "res://scenes/HUBWORLD.tscn"
scene_name = "Hub"
[node name="ChestSpawner" parent="." instance=ExtResource("42_4p65t")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14.9179, 28.1106, 8.15561)
[node name="ChestSpawner2" parent="." instance=ExtResource("42_4p65t")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 27.6853, 17.1985, 66.4509)
[node name="ChestSpawner3" parent="." instance=ExtResource("42_4p65t")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.1453, 17.5216, 111.397)
[node name="ChestSpawner4" parent="." instance=ExtResource("42_4p65t")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -61.5339, 2.63038, 104.738)
[node name="ChestSpawner6" parent="." instance=ExtResource("42_4p65t")]
transform = Transform3D(-0.0841301, 0, 0.996455, 0, 1, 0, -0.996455, 0, -0.0841301, -55.799, 17.4798, 201.269)
[connection signal="body_entered" from="Room1/RoomCheck" to="Room1/RoomCheck" method="_on_body_entered"]
[connection signal="body_exited" from="Room1/RoomCheck" to="Room1/RoomCheck" method="_on_body_exited"]
[connection signal="body_entered" from="Room3/RoomCheck2" to="Room3/RoomCheck2" method="_on_body_entered"]

20
assets/chest_spawner.tscn Normal file
View File

@@ -0,0 +1,20 @@
[gd_scene load_steps=4 format=3 uid="uid://db7xqf12sayj0"]
[sub_resource type="BoxMesh" id="BoxMesh_nbeyo"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3gsvj"]
[sub_resource type="CylinderMesh" id="CylinderMesh_cbsxv"]
top_radius = 0.1
bottom_radius = 0.1
height = 1.0
[node name="ChestSpawner" type="Node3D" groups=["chest_spawner"]]
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("BoxMesh_nbeyo")
surface_material_override/0 = SubResource("StandardMaterial3D_3gsvj")
[node name="MeshInstance3D2" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 1.01635)
mesh = SubResource("CylinderMesh_cbsxv")

View File

@@ -0,0 +1,8 @@
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://tvyunfk6vvya"]
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_iw0bh"]
load_path = "res://.godot/imported/texture_06.png-deecd739de83df5688823717c34a3998.s3tc.ctex"
[resource]
albedo_texture = SubResource("CompressedTexture2D_iw0bh")
uv1_triplanar = true

View File

@@ -3,25 +3,26 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://dlkbtp427qn8a"
path="res://.godot/imported/texture_06.png-deecd739de83df5688823717c34a3998.ctex"
path.s3tc="res://.godot/imported/texture_06.png-deecd739de83df5688823717c34a3998.s3tc.ctex"
metadata={
"vram_texture": false
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://assets/materials/prototype/textures/Prototype Textures/Orange/texture_06.png"
dest_files=["res://.godot/imported/texture_06.png-deecd739de83df5688823717c34a3998.ctex"]
dest_files=["res://.godot/imported/texture_06.png-deecd739de83df5688823717c34a3998.s3tc.ctex"]
[params]
compress/mode=0
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
@@ -31,4 +32,4 @@ process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
detect_3d/compress_to=0

510
assets/pistol2.tscn Normal file
View File

@@ -0,0 +1,510 @@
[gd_scene load_steps=24 format=3 uid="uid://dfgvp34uphfsc"]
[ext_resource type="PackedScene" uid="uid://svrb3n31mkag" path="res://assets/Models/gun.blend" id="1_yjy4q"]
[ext_resource type="Script" path="res://scripts/trackerGun.gd" id="2_pth4m"]
[ext_resource type="Texture2D" uid="uid://d2fic5txnwu3u" path="res://assets/Textures/ObjectTextures/Pistol.png" id="3_sl8br"]
[ext_resource type="PackedScene" uid="uid://crvohhc6kgshn" path="res://assets/bullet_hole.tscn" id="4_x51av"]
[ext_resource type="PackedScene" uid="uid://c1gdehrsytlkk" path="res://assets/casing.tscn" id="5_twgd4"]
[ext_resource type="PackedScene" uid="uid://cp8563f0oxvff" path="res://assets/mag1.tscn" id="6_wr7kf"]
[ext_resource type="AudioStream" uid="uid://bxjv50ivk3fvn" path="res://assets/Audio/Weapons/9mm Full Size Pistol/Gunshots/9mm Full Size Pistol - Gunshot B 001.wav" id="7_5y1h6"]
[ext_resource type="AudioStream" uid="uid://t50i483xmj3a" path="res://assets/Audio/Weapons/toy-click-spin-SBA-300071143.wav" id="8_mxulx"]
[ext_resource type="AudioStream" uid="uid://db3iy0f1pa5lg" path="res://assets/Audio/Weapons/gun-m-16-reload-full-clip-magazine-SBA-300121257.wav" id="9_5boh4"]
[ext_resource type="Texture2D" uid="uid://dtg3nb2ew72c3" path="res://assets/star_05.png" id="10_62vxh"]
[sub_resource type="SphereMesh" id="SphereMesh_u47cm"]
radius = 0.05
height = 0.1
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_4iouf"]
albedo_color = Color(0, 0, 0, 1)
emission_enabled = true
emission = Color(0.743194, 0.35874, 1.92523e-07, 1)
emission_energy_multiplier = 5.0
[sub_resource type="Animation" id="Animation_urfns"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("gun:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector3(0, -0.000397999, -0.11995)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("gun:rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector3(0, -1.5708, 0)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("gun/slide:position")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector3(0, 0, 0)]
}
[sub_resource type="Animation" id="Animation_u008m"]
resource_name = "empty"
length = 0.25
step = 0.01
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("gun:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.06, 0.25),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector3(0, -0.000397999, 0), Vector3(0, -0.000397999, -0.143476), Vector3(0, -0.000397999, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("gun:rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.06, 0.25),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector3(0, -1.5708, 0), Vector3(5.21802e-09, -1.5708, 0.11966), Vector3(0, -1.5708, 0)]
}
[sub_resource type="Animation" id="Animation_h3q6j"]
resource_name = "fire_tracker"
length = 0.35
step = 0.01
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("gun:position")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.15, 0.25, 0.35),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [Vector3(0, -0.000397999, 0), Vector3(0, 0.116845, 0), Vector3(0, -0.0215431, 0), Vector3(0, -0.000397999, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("gun:rotation")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.15, 0.25, 0.35),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [Vector3(0, -1.5708, 0), Vector3(-2.69979e-06, -1.5708, -0.841737), Vector3(1.04543e-06, -1.5708, 0.288695), Vector3(0, -1.5708, 0)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("gun/slide:position")
tracks/2/interp = 2
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(),
"transitions": PackedFloat32Array(),
"update": 0,
"values": []
}
[sub_resource type="Animation" id="Animation_cifop"]
resource_name = "inspect"
length = 2.51
step = 0.01
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("gun:position")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.65, 1.76, 2.51),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [Vector3(0, -0.000397999, 0), Vector3(-0.389954, 0.182335, -0.112915), Vector3(-0.389954, 0.405848, -0.112915), Vector3(0, -0.000397999, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("gun:rotation")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.65, 1.76, 2.51),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [Vector3(0, -1.5708, 0), Vector3(-0.613611, -0.912742, -0.126937), Vector3(-0.265704, -2.19072, -1.47908), Vector3(0, -1.5708, 0)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("gun/slide:position")
tracks/2/interp = 2
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0.68, 1.09, 1.67, 1.8),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [Vector3(0, 0, 0), Vector3(0.4, 0, 0), Vector3(0.36, 0, 0), Vector3(0, 0, 0)]
}
[sub_resource type="Animation" id="Animation_svhrs"]
resource_name = "reload"
length = 1.6
step = 0.01
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("gun:position")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.3, 0.72, 1.6),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [Vector3(0, -0.000397999, 0), Vector3(-0.655909, 0.59805, 0), Vector3(-0.450443, 0.73385, 0), Vector3(0, -0.000397999, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("gun:rotation")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.3, 0.72, 1.6),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [Vector3(0, -1.5708, 0), Vector3(-0.65485, 0.0430034, -1.67829), Vector3(-0.742135, -0.58273, -1.29047), Vector3(0, -1.5708, 0)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("gun/mag:position")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0.27, 0.78, 0.97),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector3(0.00225297, 0.0306008, -2.98023e-08), Vector3(0.002, -2, 0), Vector3(0.00225297, 0.0306008, -2.98023e-08)]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("gun/mag:visible")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0.23, 0.26, 0.82, 0.83),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 1,
"values": [true, false, false, true]
}
tracks/4/type = "method"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath(".")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0.26, 1.6),
"transitions": PackedFloat32Array(1, 1),
"values": [{
"args": [],
"method": &"spawn_mag"
}, {
"args": [],
"method": &"reload_finished"
}]
}
[sub_resource type="Animation" id="Animation_lhlkm"]
resource_name = "remove_tracker"
length = 0.35
step = 0.01
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("gun:position")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.16, 0.24, 0.35),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [Vector3(0, -0.000397999, 0), Vector3(0, -0.0215431, 0), Vector3(0, 0.116845, 0), Vector3(0, -0.000397999, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("gun:rotation")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.16, 0.24, 0.35),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [Vector3(0, -1.5708, 0), Vector3(1.04543e-06, -1.5708, 0.288695), Vector3(-2.69979e-06, -1.5708, -0.841737), Vector3(0, -1.5708, 0)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("gun/slide:position")
tracks/2/interp = 2
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(),
"transitions": PackedFloat32Array(),
"update": 0,
"values": []
}
tracks/3/type = "method"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath(".")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0.16, 0.35),
"transitions": PackedFloat32Array(1, 1),
"values": [{
"args": [],
"method": &"remove_tracker"
}, {
"args": [],
"method": &"check_ammo"
}]
}
[sub_resource type="Animation" id="Animation_bsc1a"]
resource_name = "shoot"
length = 0.1
step = 0.01
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("gun:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.03, 0.1),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector3(0, -0.000397999, 0), Vector3(0, 0.0908759, 0.176503), Vector3(0, -0.000397999, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("gun:rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.03, 0.1),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector3(0, -1.5708, 0), Vector3(-1.34655e-08, -1.5708, -0.313147), Vector3(0, -1.5708, 0)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("gun/slide:position")
tracks/2/interp = 2
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 0.04, 0.1),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector3(0, 0, 0), Vector3(0.4, 0, 0), Vector3(0, 0, 0)]
}
[sub_resource type="Animation" id="Animation_tikvk"]
resource_name = "sprint"
[sub_resource type="Animation" id="Animation_7422e"]
resource_name = "swap_in"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("gun:position")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.7, 1),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector3(-2.63402, -3.06256, 0.366018), Vector3(-0.274662, -0.000397999, 0.0729132), Vector3(0, -0.000397999, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("gun:rotation")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.7, 1),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector3(-0.95634, 0.530067, 1.30899), Vector3(-0.289219, -1.03888, -0.16629), Vector3(0, -1.5708, 0)]
}
[sub_resource type="Animation" id="Animation_lleyf"]
resource_name = "swap_out"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("gun:position")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.4, 1),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector3(0, -0.000397999, 0), Vector3(-0.274662, -0.000397999, 0.0729132), Vector3(1.44543, 1.00681, 2.10684)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("gun:rotation")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.4, 1),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector3(0, -1.5708, 0), Vector3(-0.289219, -1.03888, -0.16629), Vector3(-0.221353, -1.10575, -2.02639)]
}
tracks/2/type = "method"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath(".")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"values": [{
"args": [],
"method": &"remove_tracker"
}, {
"args": [],
"method": &"swapped_out"
}]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_vkrtt"]
_data = {
"RESET": SubResource("Animation_urfns"),
"empty": SubResource("Animation_u008m"),
"fire_tracker": SubResource("Animation_h3q6j"),
"inspect": SubResource("Animation_cifop"),
"reload": SubResource("Animation_svhrs"),
"remove_tracker": SubResource("Animation_lhlkm"),
"shoot": SubResource("Animation_bsc1a"),
"sprint": SubResource("Animation_tikvk"),
"swap_in": SubResource("Animation_7422e"),
"swap_out": SubResource("Animation_lleyf")
}
[node name="Pistol" node_paths=PackedStringArray("tracker_indicator", "flare_light", "anim_player", "barrel_raycast", "casing_ejector", "mag_ejector", "audio_fire", "audio_empty", "audio_reload") instance=ExtResource("1_yjy4q")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0145504, -0.0460228)
script = ExtResource("2_pth4m")
gun_name = "Tracker Pistol"
gun_icon = ExtResource("3_sl8br")
recoil_amount = Vector3(0, 0.05, 0.05)
bullet_speed = 50
tracker_indicator = NodePath("gun/slide/TrackerIndicator")
flare_light = NodePath("SpotLight3D")
bullethole = ExtResource("4_x51av")
casing = ExtResource("5_twgd4")
mag = ExtResource("6_wr7kf")
anim_player = NodePath("AnimationPlayer")
barrel_raycast = NodePath("gun/RayCastBarrel")
casing_ejector = NodePath("gun/RayCastCasing")
mag_ejector = NodePath("gun/RayCastMag")
audio_fire = NodePath("Audio/Fire")
audio_empty = NodePath("Audio/Empty")
audio_reload = NodePath("Audio/Reload")
[node name="gun" parent="." index="0"]
transform = Transform3D(-1.81e-06, 0, -0.5, 0, 0.5, 0, 0.5, 0, -1.81e-06, 0, -0.000397999, -0.11995)
cast_shadow = 0
[node name="mag" parent="gun" index="0"]
transform = Transform3D(0.0897307, -0.048904, -9.31323e-10, 0.012226, 0.358923, 1.74623e-10, 3.72529e-09, -1.86265e-09, 0.0323253, 0.00225297, 0.0306008, -2.98023e-08)
[node name="slide" parent="gun" index="1"]
transform = Transform3D(0.579973, 0, 0, 0, 0.579973, -1.0175e-10, 1.16415e-10, 7.27596e-11, 0.579973, 0, 0, 0)
[node name="TrackerIndicator" type="MeshInstance3D" parent="gun/slide" index="0"]
transform = Transform3D(1.72422, -9.12793e-23, 0, -6.08805e-20, 1.72422, 3.02495e-10, -3.46063e-10, -2.16309e-10, 1.72422, 0.139739, 0.424926, -5.05937e-07)
mesh = SubResource("SphereMesh_u47cm")
skeleton = NodePath("../..")
surface_material_override/0 = SubResource("StandardMaterial3D_4iouf")
[node name="RayCastMag" type="RayCast3D" parent="gun" index="2"]
transform = Transform3D(1.11722, -0.0135336, 0.080048, 0.00234133, 1.1094, 0.154888, -0.0811502, -0.154313, 1.10651, 0, 0.000445819, 0)
[node name="RayCastBarrel" type="RayCast3D" parent="gun" index="3"]
transform = Transform3D(-0.00532892, -0.00753071, 1.99998, 0.00210016, 1.99998, 0.00753634, -1.99999, 0.00212025, -0.00532096, -1.14757, 0.176184, 0.0116054)
target_position = Vector3(0, 0, -1)
[node name="RayCastCasing" type="RayCast3D" parent="gun" index="4"]
transform = Transform3D(-0.00182475, 5.76144e-05, 2, 0.00103918, 2, -5.66866e-05, -2, 0.00103913, -0.00182478, -2.5332e-07, 0.215889, -0.069994)
target_position = Vector3(1, 0, 0)
[node name="AnimationPlayer" type="AnimationPlayer" parent="." index="1"]
libraries = {
"": SubResource("AnimationLibrary_vkrtt")
}
[node name="Audio" type="Node3D" parent="." index="2"]
[node name="Fire" type="AudioStreamPlayer3D" parent="Audio" index="0"]
stream = ExtResource("7_5y1h6")
volume_db = 5.0
bus = &"SFX"
[node name="Empty" type="AudioStreamPlayer3D" parent="Audio" index="1"]
stream = ExtResource("8_mxulx")
bus = &"SFX"
[node name="Reload" type="AudioStreamPlayer3D" parent="Audio" index="2"]
stream = ExtResource("9_5boh4")
volume_db = 3.0
bus = &"SFX"
[node name="SpotLight3D" type="SpotLight3D" parent="." index="3"]
transform = Transform3D(-6.79394e-06, 0, 1.87678, 0, 1.87678, 0, -1.87677, 0, -6.79392e-06, -1.63231, 0, 5.90892e-06)
light_color = Color(0.965385, 0.844179, 0.572893, 1)
light_energy = 0.0
light_projector = ExtResource("10_62vxh")
light_size = 0.229
shadow_enabled = true
spot_range = 7.0
spot_angle = 70.0
spot_angle_attenuation = 0.353554
[connection signal="animation_finished" from="AnimationPlayer" to="AnimationPlayer" method="_on_animation_finished"]

349
che7B63.tmp Normal file

File diff suppressed because one or more lines are too long

349
che7F4.tmp Normal file

File diff suppressed because one or more lines are too long

407
chest1.tscn Normal file

File diff suppressed because one or more lines are too long

View File

@@ -6,7 +6,8 @@ class_name gamemode
@export_enum("Kill 'em All","Extraction","Survival_Time") var win_conditions
@export_group("Win Conditions")
@export var survival_time : float = 160 #in seconds
@export_group("Penalties")
@export_group("Rewards and Penalties")
@export var max_number_of_chests : int = 3
@export var money_lost_multiplier : float = .5
@export_enum("Drop All Weapons","Drop Random","Drop None") var weapon_penalty = 0
@export var weapon_drop_percentage : float = .5

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=20 format=3 uid="uid://jdwpc622vmok"]
[gd_scene load_steps=21 format=3 uid="uid://jdwpc622vmok"]
[ext_resource type="Script" path="res://scripts/LevelManager.gd" id="1_1bnbi"]
[ext_resource type="Resource" uid="uid://bxcxqt7rmfvdw" path="res://GameModes/hubworld.tres" id="2_62iy8"]
@@ -16,6 +16,7 @@
[ext_resource type="PackedScene" uid="uid://eujx0yilqqcp" path="res://assets/level_sign.tscn" id="11_p3sg0"]
[ext_resource type="PackedScene" uid="uid://bji3bukudxlhm" path="res://assets/health_dispenser.tscn" id="13_h5xga"]
[ext_resource type="PackedScene" uid="uid://d4suhr3allsj" path="res://assets/revolver2_pickup.tscn" id="14_ak7yq"]
[ext_resource type="PackedScene" uid="uid://dyu46bns8mesv" path="res://assets/mac10_pickup.tscn" id="17_u30rd"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_s7e4t"]
sky_top_color = Color(0.623488, 0.812575, 0.900791, 1)
@@ -253,3 +254,9 @@ transform = Transform3D(-0.00572468, 0, -0.999984, 0, 1, 0, 0.999984, 0, -0.0057
item = ExtResource("14_ak7yq")
item_name = "bullet sniper"
item_price = 5000
[node name="vendingmachine3" parent="." instance=ExtResource("9_nu6q5")]
transform = Transform3D(-0.00572468, 0, -0.999984, 0, 1, 0, 0.999984, 0, -0.00572468, 7.8571, 0.0503511, 5.49161)
item = ExtResource("17_u30rd")
item_name = "Mac 10"
item_price = 100

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=33 format=3 uid="uid://dsnddbrlqkav2"]
[gd_scene load_steps=31 format=3 uid="uid://dsnddbrlqkav2"]
[ext_resource type="Script" path="res://scripts/LevelManager.gd" id="1_laua1"]
[ext_resource type="Resource" uid="uid://dn3t7wcoumlm3" path="res://GameModes/standard.tres" id="2_2umal"]
@@ -10,9 +10,6 @@
[ext_resource type="Script" path="res://scripts/room_check.gd" id="7_8ewhx"]
[ext_resource type="Material" uid="uid://br2pyyyl2n3cx" path="res://assets/materials/prototype/prototype1.tres" id="7_l3crk"]
[ext_resource type="PackedScene" uid="uid://c6bpysq1tjhy4" path="res://vendingmahcine.tscn" id="7_pr7m0"]
[ext_resource type="PackedScene" uid="uid://dws4iro7820fc" path="res://assets/pistol1_pickup.tscn" id="8_qwtxj"]
[ext_resource type="PackedScene" uid="uid://clu76sc4uoswn" path="res://assets/rocketlauncher_pickup.tscn" id="9_r8miu"]
[ext_resource type="PackedScene" uid="uid://dyu46bns8mesv" path="res://assets/mac10_pickup.tscn" id="10_pos4p"]
[ext_resource type="PackedScene" uid="uid://by3n26uvps8tb" path="res://assets/water_tower.tscn" id="14_yn32s"]
[ext_resource type="PackedScene" uid="uid://cgo4qyul7ix5p" path="res://assets/ladder.tscn" id="15_bsva3"]
[ext_resource type="PackedScene" uid="uid://cdpxctwwi12j" path="res://assets/ladder_collision_check.tscn" id="15_vb271"]
@@ -21,6 +18,7 @@
[ext_resource type="PackedScene" uid="uid://bessq6hl7qsh8" path="res://assets/stats.tscn" id="18_e13cr"]
[ext_resource type="PackedScene" uid="uid://hp4xn8oqdxnd" path="res://assets/machete_pickup.tscn" id="18_jev3u"]
[ext_resource type="Material" uid="uid://b6hhomp4kcjvb" path="res://assets/materials/prototype/tadaoando.tres" id="19_e7xg4"]
[ext_resource type="PackedScene" uid="uid://db7xqf12sayj0" path="res://assets/chest_spawner.tscn" id="20_ena8c"]
[ext_resource type="PackedScene" uid="uid://dgapcuvg0gtmm" path="res://assets/scene_changer.tscn" id="20_j4ook"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_w6vpl"]
@@ -449,15 +447,6 @@ use_collision = true
[node name="vendingmachine" parent="." instance=ExtResource("7_pr7m0")]
transform = Transform3D(0.813009, 0, -0.582251, 0, 1, 0, 0.582251, 0, 0.813009, -12.3032, -0.170555, -34.4168)
[node name="pistol1_pickup" parent="." instance=ExtResource("8_qwtxj")]
transform = Transform3D(0.649528, -0.760338, 0, 0.760338, 0.649528, 0, 0, 0, 1, -24.7534, 1.09587, 5.88603)
[node name="rocketlauncher1_pickup" parent="." instance=ExtResource("9_r8miu")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -25, 1, 8)
[node name="mac10_pickup" parent="." instance=ExtResource("10_pos4p")]
transform = Transform3D(0.866025, -0.5, 0, 0.5, 0.866025, 0, 0, 0, 1, -28, 1, 10)
[node name="Water Tower" parent="." instance=ExtResource("14_yn32s")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 29.687, -0.170555, 25.9723)
@@ -476,9 +465,6 @@ jump_amount = 15
[node name="JumpPlatform2" parent="." instance=ExtResource("17_8q5j4")]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, -17.0593, 20.0922, 27.614)
[node name="rocketlauncher1_pickup2" parent="." instance=ExtResource("9_r8miu")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -40.4992, 43.6565, 24.947)
[node name="Stats" parent="." instance=ExtResource("18_e13cr")]
transform = Transform3D(-0.98212, 0, 0.188255, 0, 1, 0, -0.188255, 0, -0.98212, 21.9998, 1.4638, -25.9657)
@@ -522,3 +508,30 @@ jump_amount = 100
[node name="Scene Changer" parent="." instance=ExtResource("20_j4ook")]
transform = Transform3D(15.1486, 0, 0, 0, 405.877, 0, 0, 0, 9.59561, 29.1358, 544.113, -33.0379)
scene_path = "res://scenes/HUBWORLD.tscn"
[node name="ChestSpawner" parent="." instance=ExtResource("20_ena8c")]
transform = Transform3D(-0.718236, 0, 0.6958, 0, 1, 0, -0.6958, 0, -0.718236, -36.271, 20.8636, 19.5502)
[node name="ChestSpawner2" parent="." instance=ExtResource("20_ena8c")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.87419, 49.7368, 41.8273)
[node name="ChestSpawner3" parent="." instance=ExtResource("20_ena8c")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -28.332, 48.7745, 7.1868)
[node name="ChestSpawner4" parent="." instance=ExtResource("20_ena8c")]
transform = Transform3D(-0.518087, 0, -0.855328, 0, 1, 0, 0.855328, 0, -0.518087, -10.9939, 11.1878, -25.2591)
[node name="ChestSpawner5" parent="." instance=ExtResource("20_ena8c")]
transform = Transform3D(-0.999671, 0, -0.0256362, 0, 1, 0, 0.0256362, 0, -0.999671, -3.14737, 21.2207, -13.3757)
[node name="ChestSpawner6" parent="." instance=ExtResource("20_ena8c")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 29.5466, 26.9163, 25.9644)
[node name="ChestSpawner7" parent="." instance=ExtResource("20_ena8c")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 33.2549, 21.1948, 6.29554)
[node name="ChestSpawner8" parent="." instance=ExtResource("20_ena8c")]
transform = Transform3D(-0.379876, 0, -0.925037, 0, 1, 0, 0.925037, 0, -0.379876, 11.6021, 73.2267, 37.6288)
[node name="ChestSpawner9" parent="." instance=ExtResource("20_ena8c")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -40.0143, 51.4957, -12.5448)

429
scenes/highwire.tscn Normal file
View File

@@ -0,0 +1,429 @@
[gd_scene load_steps=29 format=3 uid="uid://uo43j7bomkf3"]
[ext_resource type="Script" path="res://scripts/LevelManager.gd" id="1_8o3mm"]
[ext_resource type="Resource" uid="uid://dn3t7wcoumlm3" path="res://GameModes/standard.tres" id="2_knkyv"]
[ext_resource type="PackedScene" uid="uid://drwae3loscbw7" path="res://assets/player.tscn" id="3_sn6s8"]
[ext_resource type="Script" path="res://scripts/room_manager.gd" id="4_iqtg8"]
[ext_resource type="PackedScene" uid="uid://djr7vnr1hcx82" path="res://assets/spider2.tscn" id="5_vb31s"]
[ext_resource type="Script" path="res://scripts/switch_door.gd" id="6_xph2x"]
[ext_resource type="Script" path="res://scripts/room_check.gd" id="7_3a6nw"]
[ext_resource type="Material" uid="uid://tvyunfk6vvya" path="res://assets/materials/prototype/prototype_orange.tres" id="9_qcaui"]
[ext_resource type="PackedScene" uid="uid://df34olntmk0wl" path="res://assets/vent_1.tscn" id="11_0hcft"]
[ext_resource type="PackedScene" uid="uid://dlhjacsike5a4" path="res://assets/oildrum1.tscn" id="15_tuvfy"]
[ext_resource type="PackedScene" uid="uid://bj1y0fbjtul4a" path="res://post_processing.tscn" id="17_6thjn"]
[ext_resource type="PackedScene" uid="uid://dt4t2a48204v1" path="res://assets/spikes_1.tscn" id="17_hpnr5"]
[ext_resource type="PackedScene" uid="uid://db7xqf12sayj0" path="res://assets/chest_spawner.tscn" id="17_mw655"]
[ext_resource type="PackedScene" uid="uid://20csd6dmwj4y" path="res://assets/jump_platform.tscn" id="18_1ool5"]
[ext_resource type="PackedScene" uid="uid://do6gt53xr2l23" path="res://assets/garbage_bin.tscn" id="18_r6s5q"]
[ext_resource type="PackedScene" uid="uid://bessq6hl7qsh8" path="res://assets/stats.tscn" id="19_p7jxd"]
[ext_resource type="Material" uid="uid://b6hhomp4kcjvb" path="res://assets/materials/prototype/tadaoando.tres" id="21_s6xxg"]
[ext_resource type="PackedScene" uid="uid://dgapcuvg0gtmm" path="res://assets/scene_changer.tscn" id="22_6kw07"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_w6vpl"]
sky_top_color = Color(0.623488, 0.812575, 0.900791, 1)
sky_horizon_color = Color(0.705872, 0.745394, 0.758448, 1)
ground_bottom_color = Color(0.5, 0.5, 0.5, 1)
ground_horizon_color = Color(0.705872, 0.745394, 0.758448, 1)
[sub_resource type="Sky" id="Sky_6g0ku"]
sky_material = SubResource("ProceduralSkyMaterial_w6vpl")
[sub_resource type="Environment" id="Environment_klp4b"]
background_mode = 2
sky = SubResource("Sky_6g0ku")
tonemap_mode = 2
glow_enabled = true
fog_mode = 1
fog_density = 1.0
[sub_resource type="Animation" id="Animation_3e03q"]
length = 0.001
tracks/0/type = "position_3d"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Door")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = PackedFloat32Array(0, 1, 26.3852, 31.9616, -34.5929)
[sub_resource type="Animation" id="Animation_haspb"]
resource_name = "close"
tracks/0/type = "position_3d"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Door")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = PackedFloat32Array(0, 1, 26.3852, 31.9616, -40.6238, 1, 1, 26.3852, 31.9616, -34.5929)
[sub_resource type="Animation" id="Animation_pkxro"]
resource_name = "open"
tracks/0/type = "position_3d"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Door")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = PackedFloat32Array(0, 1, 26.3852, 31.9616, -34.5929, 1, 1, 26.3852, 31.9616, -40.6238)
[sub_resource type="AnimationLibrary" id="AnimationLibrary_s1qpx"]
_data = {
"RESET": SubResource("Animation_3e03q"),
"close": SubResource("Animation_haspb"),
"open": SubResource("Animation_pkxro")
}
[sub_resource type="BoxShape3D" id="BoxShape3D_oood3"]
size = Vector3(19.709, 15.8262, 9.0301)
[sub_resource type="NavigationMesh" id="NavigationMesh_8aw3d"]
vertices = PackedVector3Array(-208.234, 0.304932, -90.1395, -208.234, 0.304932, -67.8895, -183.734, 0.304932, -67.8895, -183.734, 0.304932, -90.1395, -168.984, 26.3049, -72.6395, -168.984, 26.3049, -50.1395, -144.484, 26.3049, -50.1395, -144.484, 26.3049, -72.6395, 14.2661, 0.304932, -25.1395, 14.2661, 0.304932, -22.8895, 18.0161, 0.304932, -22.8895, 18.2661, 0.304932, -25.3895, 18.2661, 0.304932, -31.3895, 38.5161, 0.304932, -20.6395, 18.2661, 0.304932, -20.6395, 14.2661, 0.304932, -43.1395, 14.2661, 0.304932, -31.6395, 38.5161, 0.304932, -43.1395, -202.984, 144.305, -42.3895, -202.984, 144.305, -19.8895, -178.484, 144.305, -19.8895, -178.484, 144.305, -42.3895, -147.484, 0.304932, -25.3895, -147.484, 0.304932, -28.8895, -148.234, 0.304932, -28.8895, -148.484, 0.304932, -29.8895, -150.984, 0.304932, -32.1395, -145.234, 0.304932, -31.6395, -142.984, 0.304932, -31.6395, -142.984, 0.304932, -35.3895, -148.234, 0.304932, -34.3895, -147.484, 0.304932, -22.6395, -142.984, 0.304932, -22.8895, -142.984, 0.304932, -25.1395, -150.984, 0.304932, -33.1395, -167.484, 0.304932, -35.3895, -149.984, 0.304932, -34.3895, -142.984, 0.304932, -13.1395, -142.984, 0.304932, -16.3895, -147.484, 0.304932, -16.6395, -167.484, 0.304932, -13.1395, -148.734, 2.30493, -31.6395, -147.484, 1.80493, -30.8895, -147.484, 2.05493, -31.6395, -148.984, 2.80493, -32.6395, -146.484, 41.0549, -30.6395, -146.484, 41.0549, -26.1395, 17.2661, 41.0549, -26.1395, 17.2661, 41.0549, -30.6395, -142.984, 0.304932, -30.3895, -145.484, 0.304932, -30.3895, -146.234, 0.304932, -29.3895, -146.234, 0.304932, -26.3895, -142.984, 0.304932, -26.3895, 14.2661, 0.304932, -30.3895, 14.2661, 0.304932, -26.3895, 17.0161, 0.304932, -26.3895, 17.0161, 0.304932, -30.3895, -146.484, 41.0549, -21.8895, -146.484, 41.0549, -17.3895, 17.2661, 41.0549, -17.3895, 17.2661, 41.0549, -21.8895, -146.234, 0.304932, -21.6395, -146.234, 0.304932, -17.6395, -142.984, 0.304932, -17.6395, -142.984, 0.304932, -21.6395, 14.2661, 0.304932, -21.6395, 14.2661, 0.304932, -20.6395, 17.0161, 0.304932, -20.6395, 17.0161, 0.304932, -21.6395)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1), PackedInt32Array(7, 6, 4), PackedInt32Array(4, 6, 5), PackedInt32Array(9, 8, 10), PackedInt32Array(10, 8, 11), PackedInt32Array(13, 11, 12), PackedInt32Array(10, 11, 14), PackedInt32Array(14, 11, 13), PackedInt32Array(12, 16, 15), PackedInt32Array(15, 17, 12), PackedInt32Array(12, 17, 13), PackedInt32Array(21, 20, 18), PackedInt32Array(18, 20, 19), PackedInt32Array(24, 23, 22), PackedInt32Array(26, 25, 24), PackedInt32Array(28, 27, 29), PackedInt32Array(29, 27, 30), PackedInt32Array(32, 31, 33), PackedInt32Array(33, 31, 22), PackedInt32Array(35, 34, 26), PackedInt32Array(34, 35, 36), PackedInt32Array(38, 37, 39), PackedInt32Array(39, 37, 40), PackedInt32Array(24, 22, 31), PackedInt32Array(30, 36, 29), PackedInt32Array(29, 36, 35), PackedInt32Array(24, 31, 26), PackedInt32Array(26, 31, 39), PackedInt32Array(26, 39, 35), PackedInt32Array(35, 39, 40), PackedInt32Array(42, 41, 43), PackedInt32Array(43, 41, 44), PackedInt32Array(48, 47, 45), PackedInt32Array(45, 47, 46), PackedInt32Array(50, 49, 51), PackedInt32Array(51, 49, 52), PackedInt32Array(52, 49, 53), PackedInt32Array(57, 56, 54), PackedInt32Array(54, 56, 55), PackedInt32Array(61, 60, 58), PackedInt32Array(58, 60, 59), PackedInt32Array(65, 64, 62), PackedInt32Array(62, 64, 63), PackedInt32Array(69, 68, 66), PackedInt32Array(66, 68, 67)]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_6yrih"]
albedo_color = Color(0.300579, 0.462784, 0.249767, 1)
[node name="EnemyWork" type="Node3D" node_paths=PackedStringArray("player")]
script = ExtResource("1_8o3mm")
map_name = "Wall Runnin"
gamemode = ExtResource("2_knkyv")
player = NodePath("Player")
MAX_PARTICLES = 75
expected_ammo = {
"heavy": 25,
"light": 500,
"medium": 50,
"rocket": 3,
"shotgun": 20
}
[node name="Player" parent="." instance=ExtResource("3_sn6s8")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26.4194, 277.483, -34.6215)
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_klp4b")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.78152, -0.330606, 0.52908, 0, 0.848048, 0.529919, -0.62388, 0.414143, -0.662767, 0, 0, 0)
shadow_enabled = true
[node name="Level" type="Node3D" parent="." groups=["enemy_hivemind"]]
script = ExtResource("4_iqtg8")
room_lockdown = true
number_of_drops = 30
[node name="spider" parent="Level" instance=ExtResource("5_vb31s")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -159.617, 0.378157, -25.0744)
[node name="spider11" parent="Level" instance=ExtResource("5_vb31s")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -157.297, 0.378157, -21.6033)
[node name="spider12" parent="Level" instance=ExtResource("5_vb31s")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -148.527, 0.378157, -22.7925)
[node name="spider13" parent="Level" instance=ExtResource("5_vb31s")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -149.074, 0.378157, -24.6475)
[node name="spider14" parent="Level" instance=ExtResource("5_vb31s")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -152.02, 0.378157, -27.2668)
[node name="spider2" parent="Level" instance=ExtResource("5_vb31s")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -165.211, 26.6995, -53.5284)
[node name="spider3" parent="Level" instance=ExtResource("5_vb31s")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -163.862, 26.6995, -55.4423)
[node name="spider4" parent="Level" instance=ExtResource("5_vb31s")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -162.307, 26.6995, -54.3705)
[node name="spider5" parent="Level" instance=ExtResource("5_vb31s")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -159.528, 26.6995, -51.3479)
[node name="spider6" parent="Level" instance=ExtResource("5_vb31s")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -167.233, 26.6995, -50.5721)
[node name="spider7" parent="Level" instance=ExtResource("5_vb31s")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -163.062, 26.6995, -50.9886)
[node name="spider8" parent="Level" instance=ExtResource("5_vb31s")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -156.107, 26.6995, -51.1076)
[node name="spider9" parent="Level" instance=ExtResource("5_vb31s")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -150.448, 26.7374, -50.9784)
[node name="spider10" parent="Level" instance=ExtResource("5_vb31s")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -146.731, 26.7374, -50.1737)
[node name="Door" type="CSGBox3D" parent="Level" node_paths=PackedStringArray("anim_player")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26.3852, 31.9616, -34.5929)
use_collision = true
size = Vector3(16.8439, 1, 8.61108)
script = ExtResource("6_xph2x")
anim_player = NodePath("AnimationPlayer")
door_open_start = true
[node name="AnimationPlayer" type="AnimationPlayer" parent="Level/Door"]
root_node = NodePath("../..")
libraries = {
"": SubResource("AnimationLibrary_s1qpx")
}
[node name="RoomCheck" type="Area3D" parent="Level"]
collision_layer = 2
collision_mask = 2
script = ExtResource("7_3a6nw")
one_way = true
[node name="CollisionShape3D" type="CollisionShape3D" parent="Level/RoomCheck"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26.9144, 29.7998, -34.0515)
shape = SubResource("BoxShape3D_oood3")
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="."]
navigation_mesh = SubResource("NavigationMesh_8aw3d")
[node name="CSGBox3D" type="CSGBox3D" parent="NavigationRegion3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26.4365, -317.308, -31.8781)
material_override = ExtResource("9_qcaui")
use_collision = true
collision_layer = 7
collision_mask = 7
size = Vector3(25.2539, 634.275, 23.1565)
material = SubResource("StandardMaterial3D_6yrih")
[node name="CSGBox3D12" type="CSGBox3D" parent="NavigationRegion3D"]
transform = Transform3D(0.966012, 0.258499, 0, -0.258499, 0.966012, 0, 0, 0, 1, -71.1338, 26.3702, -32.9627)
material_override = ExtResource("9_qcaui")
use_collision = true
collision_layer = 7
collision_mask = 7
size = Vector3(183.525, 0.539207, 5.23206)
material = SubResource("StandardMaterial3D_6yrih")
[node name="CSGBox3D14" type="CSGBox3D" parent="NavigationRegion3D"]
transform = Transform3D(0.966012, 0.258499, 0, -0.258499, 0.966012, 0, 0, 0, 1, 15.8073, 2.83154, -33.0497)
material_override = ExtResource("9_qcaui")
use_collision = true
collision_layer = 7
collision_mask = 7
size = Vector3(3.15881, 2.25879, 5.40607)
material = SubResource("StandardMaterial3D_6yrih")
[node name="CSGBox3D15" type="CSGBox3D" parent="NavigationRegion3D"]
transform = Transform3D(0.966012, 0.258499, 0, -0.258499, 0.966012, 0, 0, 0, 1, -71.5905, 25.2584, -36.139)
material_override = ExtResource("9_qcaui")
use_collision = true
collision_layer = 7
collision_mask = 7
size = Vector3(183.645, 4.19165, 1.02046)
material = SubResource("StandardMaterial3D_6yrih")
[node name="CSGBox3D16" type="CSGBox3D" parent="NavigationRegion3D"]
transform = Transform3D(0.966012, 0.258499, 0, -0.258499, 0.966012, 0, 0, 0, 1, 16.5533, 1.89906, -34.8685)
material_override = ExtResource("9_qcaui")
use_collision = true
collision_layer = 7
collision_mask = 7
size = Vector3(2.26455, 4.63098, 4.74771)
material = SubResource("StandardMaterial3D_6yrih")
[node name="CSGBox3D13" type="CSGBox3D" parent="NavigationRegion3D"]
transform = Transform3D(0.966012, 0.258499, 0, -0.258499, 0.966012, 0, 0, 0, 1, -71.1338, 23.1393, -32.9627)
material_override = ExtResource("9_qcaui")
use_collision = true
collision_layer = 7
collision_mask = 7
size = Vector3(183.525, 0.539207, 5.23206)
material = SubResource("StandardMaterial3D_6yrih")
[node name="CSGBox3D4" type="CSGBox3D" parent="NavigationRegion3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -155.195, -317.308, -24.1579)
material_override = ExtResource("9_qcaui")
use_collision = true
collision_layer = 7
collision_mask = 7
size = Vector3(25.2539, 634.275, 23.1565)
material = SubResource("StandardMaterial3D_6yrih")
[node name="CSGBox3D5" type="CSGBox3D" parent="NavigationRegion3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -196.107, -317.308, -79.0612)
material_override = ExtResource("9_qcaui")
use_collision = true
collision_layer = 7
collision_mask = 7
size = Vector3(25.2539, 634.275, 23.1565)
material = SubResource("StandardMaterial3D_6yrih")
[node name="CSGBox3D9" type="CSGBox3D" parent="NavigationRegion3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -196.107, -317.308, -145.526)
material_override = ExtResource("9_qcaui")
use_collision = true
collision_layer = 7
collision_mask = 7
size = Vector3(25.2539, 634.275, 23.1565)
material = SubResource("StandardMaterial3D_6yrih")
[node name="CSGBox3D10" type="CSGBox3D" parent="NavigationRegion3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -196.107, -317.308, -109.91)
material_override = ExtResource("9_qcaui")
use_collision = true
collision_layer = 7
collision_mask = 7
size = Vector3(25.2539, 634.275, 23.1565)
material = SubResource("StandardMaterial3D_6yrih")
[node name="CSGBox3D6" type="CSGBox3D" parent="NavigationRegion3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -190.684, -173.189, -31.163)
material_override = ExtResource("9_qcaui")
use_collision = true
collision_layer = 7
collision_mask = 7
size = Vector3(25.2539, 634.275, 23.1565)
material = SubResource("StandardMaterial3D_6yrih")
[node name="CSGBox3D7" type="CSGBox3D" parent="NavigationRegion3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -156.797, -291.164, -61.4566)
material_override = ExtResource("9_qcaui")
use_collision = true
collision_layer = 7
collision_mask = 7
size = Vector3(25.2539, 634.275, 23.1565)
material = SubResource("StandardMaterial3D_6yrih")
[node name="CSGBox3D8" type="CSGBox3D" parent="NavigationRegion3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -192.316, 12.0606, -77.5105)
material_override = ExtResource("9_qcaui")
use_collision = true
collision_layer = 7
collision_mask = 7
size = Vector3(47.9437, 5.38878, 187.746)
material = SubResource("StandardMaterial3D_6yrih")
[node name="CSGBox3D11" type="CSGBox3D" parent="NavigationRegion3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -214.551, 15.633, -77.687)
material_override = ExtResource("9_qcaui")
use_collision = true
collision_layer = 7
collision_mask = 7
size = Vector3(8.36288, 12.5336, 188.099)
material = SubResource("StandardMaterial3D_6yrih")
[node name="CSGBox3D2" type="CSGBox3D" parent="NavigationRegion3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -64.6077, -25.1644, -19.5864)
material_override = ExtResource("9_qcaui")
use_collision = true
collision_layer = 7
collision_mask = 7
size = Vector3(164.524, 131.832, 5.27209)
material = SubResource("StandardMaterial3D_6yrih")
[node name="CSGBox3D3" type="CSGBox3D" parent="NavigationRegion3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -64.6077, -25.1644, -28.3351)
material_override = ExtResource("9_qcaui")
use_collision = true
collision_layer = 7
collision_mask = 7
size = Vector3(164.524, 131.832, 5.27209)
material = SubResource("StandardMaterial3D_6yrih")
[node name="JumpPlatform" parent="NavigationRegion3D" instance=ExtResource("18_1ool5")]
transform = Transform3D(0.610047, -1.32451, -1.36876, 1.81658, 0.836685, 0, 0.572612, -1.24323, 1.45825, -146.87, -0.12112, -30.6138)
[node name="Vent1" parent="NavigationRegion3D" instance=ExtResource("11_0hcft")]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 16.9673, 0.57067, -31.7536)
[node name="PostProcessing" parent="." instance=ExtResource("17_6thjn")]
[node name="Stats" parent="." instance=ExtResource("19_p7jxd")]
transform = Transform3D(-0.98212, 0, 0.188255, 0, 1, 0, -0.188255, 0, -0.98212, 21.9998, 1.4638, -25.9657)
[node name="CSGBox3D2" type="CSGBox3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 28.2103, 410.907, -39.074)
material_override = ExtResource("21_s6xxg")
use_collision = true
size = Vector3(21.6041, 760.743, 6.07715)
[node name="CSGBox3D3" type="CSGBox3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 28.1646, 406.656, -27.5644)
material_override = ExtResource("21_s6xxg")
use_collision = true
size = Vector3(21.6041, 769.246, 6.07715)
[node name="CSGBox3D4" type="CSGBox3D" parent="."]
transform = Transform3D(0.00661471, 0, -0.999978, 0, 1, 0, 0.999978, 0, 0.00661471, 17.116, 402.696, -36.2374)
material_override = ExtResource("21_s6xxg")
use_collision = true
size = Vector3(21.6041, 756.867, 6.07715)
[node name="CSGBox3D5" type="CSGBox3D" parent="."]
transform = Transform3D(0.00661471, 0, -0.999978, 0, 1, 0, 0.999978, 0, 0.00661471, 35.6991, 405.739, -33.0713)
material_override = ExtResource("21_s6xxg")
use_collision = true
size = Vector3(21.6041, 771.124, 6.07715)
[node name="CSGBox3D6" type="CSGBox3D" parent="."]
transform = Transform3D(0.00661471, 0, -0.999978, 0, 1, 0, 0.999978, 0, 0.00661471, 28.7459, 791.677, -33.1393)
material_override = ExtResource("21_s6xxg")
use_collision = true
size = Vector3(18.9743, 2.36012, 19.9824)
[node name="JumpPlatform3" parent="." instance=ExtResource("18_1ool5")]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 27.2325, -0.170555, -32.4933)
jump_amount = 100
[node name="Scene Changer" parent="." instance=ExtResource("22_6kw07")]
transform = Transform3D(15.1486, 0, 0, 0, 405.877, 0, 0, 0, 9.59561, 29.1358, 544.113, -33.0379)
scene_path = "res://scenes/HUBWORLD.tscn"
[node name="Oildrum1" parent="." instance=ExtResource("15_tuvfy")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -148.5, 26.7937, -51.6846)
[node name="Oildrum2" parent="." instance=ExtResource("15_tuvfy")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -154.14, 26.6991, -52.137)
[node name="Oildrum3" parent="." instance=ExtResource("15_tuvfy")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -149.933, 0.60477, -27.2493)
[node name="Spikes 1" parent="." instance=ExtResource("17_hpnr5")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -149.512, -0.1705, -21.1035)
[node name="Spikes 2" parent="." instance=ExtResource("17_hpnr5")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -149.512, -0.1705, -25.291)
[node name="Spikes 3" parent="." instance=ExtResource("17_hpnr5")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -155.117, -0.1705, -29.0475)
[node name="Spikes 4" parent="." instance=ExtResource("17_hpnr5")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -153.371, -0.1705, -18.4897)
[node name="Spikes 6" parent="." instance=ExtResource("17_hpnr5")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -161.865, -0.1705, -20.048)
[node name="Spikes 7" parent="." instance=ExtResource("17_hpnr5")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -155.119, -0.1705, -23.3871)
[node name="Spikes 8" parent="." instance=ExtResource("17_hpnr5")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -165.201, -0.1705, -24.2851)
[node name="Spikes 9" parent="." instance=ExtResource("17_hpnr5")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26.1138, -0.1705, -28.4552)
[node name="Spikes 5" parent="." instance=ExtResource("17_hpnr5")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -162.158, -0.1705, -29.457)
[node name="ChestSpawner" parent="." instance=ExtResource("17_mw655")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -156.034, 28.7598, -63.6704)
[node name="ChestSpawner2" parent="." instance=ExtResource("17_mw655")]
transform = Transform3D(0.326146, 0, 0.94532, 0, 1, 0, -0.94532, 0, 0.326146, -204.942, 17.0575, -67.4807)
[node name="ChestSpawner3" parent="." instance=ExtResource("17_mw655")]
transform = Transform3D(0.419579, 0, 0.907719, 0, 1, 0, -0.907719, 0, 0.419579, -196.179, 1.26645, -79.8687)
[node name="ChestSpawner4" parent="." instance=ExtResource("17_mw655")]
transform = Transform3D(0.419579, 0, 0.907719, 0, 1, 0, -0.907719, 0, 0.419579, -196.179, 1.26645, -111.452)
[node name="ChestSpawner5" parent="." instance=ExtResource("17_mw655")]
transform = Transform3D(0.419579, 0, 0.907719, 0, 1, 0, -0.907719, 0, 0.419579, -196.179, 1.26645, -138.959)
[node name="GarbageBin" parent="." instance=ExtResource("18_r6s5q")]
transform = Transform3D(-0.714729, 0, -0.699401, 0, 1, 0, 0.699401, 0, -0.714729, 36.0529, -0.170516, -22.3309)

File diff suppressed because one or more lines are too long

View File

@@ -15,9 +15,11 @@ class_name level
@onready var crown = preload("res://assets/crown.tscn")
var dead_player = preload("res://assets/dead_cam.tscn")
const DEAD_ANNOUNCE = preload("res://assets/dead_announce.tscn")
const CHEST_1 = preload("res://chest1.tscn")
var level_name
var paused = false
var chest_spawners = []
var pickups = []
var keys = []
@@ -32,6 +34,7 @@ var respawn_cam_rotation
var respawn_rot
var engine_time_scale_cache : float = 1.0
# Called when the node enters the scene tree for the first time.
func _ready():
level_name = self.get_name()
@@ -83,6 +86,23 @@ func _ready():
#count starting enemies
enemy_count()
chest_spawners = get_tree().get_nodes_in_group("chest_spawner")
if chest_spawners.size() > 0:
for i in chest_spawners:
i.visible = false
var number_chests = randi_range(1,gamemode.max_number_of_chests)
while number_chests > 0:
var chest_loc = chest_spawners.pick_random()
var instance_chest = CHEST_1.instantiate()
print("SPAWNING CHEST AT : ",chest_loc.name)
instance_chest.global_position = chest_loc.global_position
instance_chest.global_rotation = chest_loc.global_rotation
get_tree().current_scene.add_child(instance_chest)
number_chests -= 1
func refresh_scene():
GameGlobals.health = gamemode.start_health

34
scripts/chest_1.gd Normal file
View File

@@ -0,0 +1,34 @@
extends RigidBody3D
@export var weapon_drops : Array[Resource]
var open = false
var drop_weapon
@onready var anim_player: AnimationPlayer = $AnimationPlayer
@onready var item_spawn: RayCast3D = $itemspawn
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
drop_weapon = weapon_drops.pick_random().instantiate()
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func hit(dam):
if !open:
anim_player.play("open")
open = true
func spawn_drop():
drop_weapon.position = item_spawn.global_position
drop_weapon.transform.basis = item_spawn.global_transform.basis
drop_weapon.scale = Vector3(1,1,1)
drop_weapon.linear_velocity += Vector3(0,0,-5.0) * item_spawn.global_transform.basis
get_tree().current_scene.add_child(drop_weapon)
func interact():
hit(0)

View File

@@ -12,7 +12,6 @@ const MAX_LV = 10
const MAX_AV = 10
@export_enum("Enemy", "Trap") var enemy_type: int
@export var player_path : NodePath
@export var bullet : Resource
@export var casing : Resource
@export var bullet_speed = 150
@@ -95,9 +94,10 @@ func _process(delta):
if !stunned:
stunned_stars.visible = false
#Sightline
if turret_look_next.is_colliding() and turret_look_next.get_collider().is_in_group("player"):
player_in_view = true
player_last_seen = turret_look_next.get_collider().global_position
if turret_look_next.get_collider() != null:
if turret_look_next.get_collider().is_in_group("player"):
player_in_view = true
player_last_seen = turret_look_next.get_collider().global_position
if player != null:
spider_look_next.look_at(Vector3(player.global_position.x, 0, player.global_position.z), Vector3.UP)
body.rotation.y = lerp(body.rotation.y, spider_look_next.rotation.y, delta * 1)

View File

@@ -0,0 +1,14 @@
extends StaticBody3D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func hit(dam):
get_parent().hit(dam)