Toy factory, teddy collider improved, random spawn on connect and start
BIN
objects/toyfactory/Toy Factory.glb
Normal file
32
objects/toyfactory/Toy Factory.glb.import
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://bjauf6j2bmajy"
|
||||||
|
path="res://.godot/imported/Toy Factory.glb-cc3133d0f18e02a3a67a243bdb43034a.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://objects/toyfactory/Toy Factory.glb"
|
||||||
|
dest_files=["res://.godot/imported/Toy Factory.glb-cc3133d0f18e02a3a67a243bdb43034a.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type="Node3D"
|
||||||
|
nodes/root_name="Scene Root"
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={}
|
||||||
|
gltf/embedded_image_handling=1
|
BIN
objects/toyfactory/Toy Factory_Asphalt026C_2K_Color.png
Normal file
After Width: | Height: | Size: 6.4 MiB |
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cic6ibxhkhvuv"
|
||||||
|
path.s3tc="res://.godot/imported/Toy Factory_Asphalt026C_2K_Color.png-f400afadcb6405a52a6761d16efe1089.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/Toy Factory_Asphalt026C_2K_Color.png-f400afadcb6405a52a6761d16efe1089.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
generator_parameters={}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://objects/toyfactory/Toy Factory_Asphalt026C_2K_Color.png"
|
||||||
|
dest_files=["res://.godot/imported/Toy Factory_Asphalt026C_2K_Color.png-f400afadcb6405a52a6761d16efe1089.s3tc.ctex", "res://.godot/imported/Toy Factory_Asphalt026C_2K_Color.png-f400afadcb6405a52a6761d16efe1089.etc2.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
objects/toyfactory/Toy Factory_Bricks054_2K_Color (1).png
Normal file
After Width: | Height: | Size: 6.4 MiB |
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bqfj2kc2djhh5"
|
||||||
|
path.s3tc="res://.godot/imported/Toy Factory_Bricks054_2K_Color (1).png-4f81419facb12bded052a460f5b5e5dd.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/Toy Factory_Bricks054_2K_Color (1).png-4f81419facb12bded052a460f5b5e5dd.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
generator_parameters={}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://objects/toyfactory/Toy Factory_Bricks054_2K_Color (1).png"
|
||||||
|
dest_files=["res://.godot/imported/Toy Factory_Bricks054_2K_Color (1).png-4f81419facb12bded052a460f5b5e5dd.s3tc.ctex", "res://.godot/imported/Toy Factory_Bricks054_2K_Color (1).png-4f81419facb12bded052a460f5b5e5dd.etc2.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
objects/toyfactory/Toy Factory_BricksYellow054_2K_Color.png
Normal file
After Width: | Height: | Size: 6.1 MiB |
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://c3i1iaw4ag2po"
|
||||||
|
path.s3tc="res://.godot/imported/Toy Factory_BricksYellow054_2K_Color.png-e93714dba11202bab1497a6e185b0273.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/Toy Factory_BricksYellow054_2K_Color.png-e93714dba11202bab1497a6e185b0273.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
generator_parameters={}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://objects/toyfactory/Toy Factory_BricksYellow054_2K_Color.png"
|
||||||
|
dest_files=["res://.godot/imported/Toy Factory_BricksYellow054_2K_Color.png-e93714dba11202bab1497a6e185b0273.s3tc.ctex", "res://.godot/imported/Toy Factory_BricksYellow054_2K_Color.png-e93714dba11202bab1497a6e185b0273.etc2.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
objects/toyfactory/Toy Factory_Chipboard004_2K_Color.png
Normal file
After Width: | Height: | Size: 6.6 MiB |
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://xadnpcktthuo"
|
||||||
|
path.s3tc="res://.godot/imported/Toy Factory_Chipboard004_2K_Color.png-2a60fbb38a8c39dfb8fc6f110ce900b8.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/Toy Factory_Chipboard004_2K_Color.png-2a60fbb38a8c39dfb8fc6f110ce900b8.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
generator_parameters={}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://objects/toyfactory/Toy Factory_Chipboard004_2K_Color.png"
|
||||||
|
dest_files=["res://.godot/imported/Toy Factory_Chipboard004_2K_Color.png-2a60fbb38a8c39dfb8fc6f110ce900b8.s3tc.ctex", "res://.godot/imported/Toy Factory_Chipboard004_2K_Color.png-2a60fbb38a8c39dfb8fc6f110ce900b8.etc2.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
objects/toyfactory/Toy Factory_Concrete036_2K_Color.png
Normal file
After Width: | Height: | Size: 6.4 MiB |
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cja2cksrm14vx"
|
||||||
|
path.s3tc="res://.godot/imported/Toy Factory_Concrete036_2K_Color.png-5f39e770def8cacf93eabf2db624bed8.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/Toy Factory_Concrete036_2K_Color.png-5f39e770def8cacf93eabf2db624bed8.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
generator_parameters={}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://objects/toyfactory/Toy Factory_Concrete036_2K_Color.png"
|
||||||
|
dest_files=["res://.godot/imported/Toy Factory_Concrete036_2K_Color.png-5f39e770def8cacf93eabf2db624bed8.s3tc.ctex", "res://.godot/imported/Toy Factory_Concrete036_2K_Color.png-5f39e770def8cacf93eabf2db624bed8.etc2.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
objects/toyfactory/Toy Factory_CorrugatedSteel007B_2K_Color.png
Normal file
After Width: | Height: | Size: 5.5 MiB |
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://eminv83rnjqm"
|
||||||
|
path.s3tc="res://.godot/imported/Toy Factory_CorrugatedSteel007B_2K_Color.png-df026a4c002f59c807b4a45c8ae02244.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/Toy Factory_CorrugatedSteel007B_2K_Color.png-df026a4c002f59c807b4a45c8ae02244.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
generator_parameters={}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://objects/toyfactory/Toy Factory_CorrugatedSteel007B_2K_Color.png"
|
||||||
|
dest_files=["res://.godot/imported/Toy Factory_CorrugatedSteel007B_2K_Color.png-df026a4c002f59c807b4a45c8ae02244.s3tc.ctex", "res://.godot/imported/Toy Factory_CorrugatedSteel007B_2K_Color.png-df026a4c002f59c807b4a45c8ae02244.etc2.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
objects/toyfactory/Toy Factory_Fabric077_2K_Color.png
Normal file
After Width: | Height: | Size: 8 MiB |
37
objects/toyfactory/Toy Factory_Fabric077_2K_Color.png.import
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://gc7crus3ptrl"
|
||||||
|
path.s3tc="res://.godot/imported/Toy Factory_Fabric077_2K_Color.png-0af47851c101f7829851ac5caa8abceb.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/Toy Factory_Fabric077_2K_Color.png-0af47851c101f7829851ac5caa8abceb.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
generator_parameters={}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://objects/toyfactory/Toy Factory_Fabric077_2K_Color.png"
|
||||||
|
dest_files=["res://.godot/imported/Toy Factory_Fabric077_2K_Color.png-0af47851c101f7829851ac5caa8abceb.s3tc.ctex", "res://.godot/imported/Toy Factory_Fabric077_2K_Color.png-0af47851c101f7829851ac5caa8abceb.etc2.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
objects/toyfactory/Toy Factory_Ground048_2K_Color.png
Normal file
After Width: | Height: | Size: 9.5 MiB |
37
objects/toyfactory/Toy Factory_Ground048_2K_Color.png.import
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://ducjytdbwy5xx"
|
||||||
|
path.s3tc="res://.godot/imported/Toy Factory_Ground048_2K_Color.png-a5c0f78feb1cd370acff302e55785a4e.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/Toy Factory_Ground048_2K_Color.png-a5c0f78feb1cd370acff302e55785a4e.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
generator_parameters={}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://objects/toyfactory/Toy Factory_Ground048_2K_Color.png"
|
||||||
|
dest_files=["res://.godot/imported/Toy Factory_Ground048_2K_Color.png-a5c0f78feb1cd370acff302e55785a4e.s3tc.ctex", "res://.godot/imported/Toy Factory_Ground048_2K_Color.png-a5c0f78feb1cd370acff302e55785a4e.etc2.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
objects/toyfactory/Toy Factory_Metal042B_2K_Color.png
Normal file
After Width: | Height: | Size: 6.6 MiB |
37
objects/toyfactory/Toy Factory_Metal042B_2K_Color.png.import
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bpxsc84j1u77g"
|
||||||
|
path.s3tc="res://.godot/imported/Toy Factory_Metal042B_2K_Color.png-f14ff5321a3144c3914a6c43808906b2.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/Toy Factory_Metal042B_2K_Color.png-f14ff5321a3144c3914a6c43808906b2.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
generator_parameters={}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://objects/toyfactory/Toy Factory_Metal042B_2K_Color.png"
|
||||||
|
dest_files=["res://.godot/imported/Toy Factory_Metal042B_2K_Color.png-f14ff5321a3144c3914a6c43808906b2.s3tc.ctex", "res://.godot/imported/Toy Factory_Metal042B_2K_Color.png-f14ff5321a3144c3914a6c43808906b2.etc2.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
objects/toyfactory/Toy Factory_PaintedPlaster017_2K_Color.png
Normal file
After Width: | Height: | Size: 2.5 MiB |
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://o7bveyy6mcus"
|
||||||
|
path.s3tc="res://.godot/imported/Toy Factory_PaintedPlaster017_2K_Color.png-90a69e5b0a991b9c5e9e103f6027f698.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/Toy Factory_PaintedPlaster017_2K_Color.png-90a69e5b0a991b9c5e9e103f6027f698.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
generator_parameters={}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://objects/toyfactory/Toy Factory_PaintedPlaster017_2K_Color.png"
|
||||||
|
dest_files=["res://.godot/imported/Toy Factory_PaintedPlaster017_2K_Color.png-90a69e5b0a991b9c5e9e103f6027f698.s3tc.ctex", "res://.godot/imported/Toy Factory_PaintedPlaster017_2K_Color.png-90a69e5b0a991b9c5e9e103f6027f698.etc2.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
objects/toyfactory/Toy Factory_Planks014_2K_Color.png
Normal file
After Width: | Height: | Size: 5.9 MiB |
37
objects/toyfactory/Toy Factory_Planks014_2K_Color.png.import
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://ce7vyb7hpq7ei"
|
||||||
|
path.s3tc="res://.godot/imported/Toy Factory_Planks014_2K_Color.png-d0d29bf8538a487e62d642e7bd099a6e.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/Toy Factory_Planks014_2K_Color.png-d0d29bf8538a487e62d642e7bd099a6e.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
generator_parameters={}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://objects/toyfactory/Toy Factory_Planks014_2K_Color.png"
|
||||||
|
dest_files=["res://.godot/imported/Toy Factory_Planks014_2K_Color.png-d0d29bf8538a487e62d642e7bd099a6e.s3tc.ctex", "res://.godot/imported/Toy Factory_Planks014_2K_Color.png-d0d29bf8538a487e62d642e7bd099a6e.etc2.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
objects/toyfactory/Toy Factory_blueclay.png
Normal file
After Width: | Height: | Size: 3.6 MiB |
37
objects/toyfactory/Toy Factory_blueclay.png.import
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://y1dwy1xhvf81"
|
||||||
|
path.s3tc="res://.godot/imported/Toy Factory_blueclay.png-1abef73b68fafe8e36cf6695e974de05.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/Toy Factory_blueclay.png-1abef73b68fafe8e36cf6695e974de05.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
generator_parameters={}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://objects/toyfactory/Toy Factory_blueclay.png"
|
||||||
|
dest_files=["res://.godot/imported/Toy Factory_blueclay.png-1abef73b68fafe8e36cf6695e974de05.s3tc.ctex", "res://.godot/imported/Toy Factory_blueclay.png-1abef73b68fafe8e36cf6695e974de05.etc2.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
objects/toyfactory/Toy Factory_chainlink fence.png
Normal file
After Width: | Height: | Size: 160 KiB |
37
objects/toyfactory/Toy Factory_chainlink fence.png.import
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://o2cq8n7j4mke"
|
||||||
|
path.s3tc="res://.godot/imported/Toy Factory_chainlink fence.png-f41aaae988906d817e538be2cb34dd8f.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/Toy Factory_chainlink fence.png-f41aaae988906d817e538be2cb34dd8f.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
generator_parameters={}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://objects/toyfactory/Toy Factory_chainlink fence.png"
|
||||||
|
dest_files=["res://.godot/imported/Toy Factory_chainlink fence.png-f41aaae988906d817e538be2cb34dd8f.s3tc.ctex", "res://.godot/imported/Toy Factory_chainlink fence.png-f41aaae988906d817e538be2cb34dd8f.etc2.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
objects/toyfactory/Toy Factory_club.png
Normal file
After Width: | Height: | Size: 4.1 MiB |
37
objects/toyfactory/Toy Factory_club.png.import
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://biop16uqpdgwp"
|
||||||
|
path.s3tc="res://.godot/imported/Toy Factory_club.png-4312bf8d747b8187e124f7b2eea74aee.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/Toy Factory_club.png-4312bf8d747b8187e124f7b2eea74aee.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
generator_parameters={}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://objects/toyfactory/Toy Factory_club.png"
|
||||||
|
dest_files=["res://.godot/imported/Toy Factory_club.png-4312bf8d747b8187e124f7b2eea74aee.s3tc.ctex", "res://.godot/imported/Toy Factory_club.png-4312bf8d747b8187e124f7b2eea74aee.etc2.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
objects/toyfactory/Toy Factory_newfabricChest.png
Normal file
After Width: | Height: | Size: 7.9 MiB |
37
objects/toyfactory/Toy Factory_newfabricChest.png.import
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cisk4rgxueooq"
|
||||||
|
path.s3tc="res://.godot/imported/Toy Factory_newfabricChest.png-117dd25c6845651aa186d014b0fa64a9.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/Toy Factory_newfabricChest.png-117dd25c6845651aa186d014b0fa64a9.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
generator_parameters={}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://objects/toyfactory/Toy Factory_newfabricChest.png"
|
||||||
|
dest_files=["res://.godot/imported/Toy Factory_newfabricChest.png-117dd25c6845651aa186d014b0fa64a9.s3tc.ctex", "res://.godot/imported/Toy Factory_newfabricChest.png-117dd25c6845651aa186d014b0fa64a9.etc2.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
objects/toyfactory/Toy Factory_pole.png
Normal file
After Width: | Height: | Size: 6.5 MiB |
37
objects/toyfactory/Toy Factory_pole.png.import
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dnmwyiq634oqq"
|
||||||
|
path.s3tc="res://.godot/imported/Toy Factory_pole.png-4d183f958ed237678cd3e33522872202.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/Toy Factory_pole.png-4d183f958ed237678cd3e33522872202.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
generator_parameters={}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://objects/toyfactory/Toy Factory_pole.png"
|
||||||
|
dest_files=["res://.godot/imported/Toy Factory_pole.png-4d183f958ed237678cd3e33522872202.s3tc.ctex", "res://.godot/imported/Toy Factory_pole.png-4d183f958ed237678cd3e33522872202.etc2.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
|
|
@ -5,8 +5,9 @@
|
||||||
[ext_resource type="PackedScene" uid="uid://b4eo3c2ux18r1" path="res://characters/teddy/teddy_model.tscn" id="4_q0pxc"]
|
[ext_resource type="PackedScene" uid="uid://b4eo3c2ux18r1" path="res://characters/teddy/teddy_model.tscn" id="4_q0pxc"]
|
||||||
[ext_resource type="ArrayMesh" uid="uid://b26a54y2fd5n8" path="res://characters/teddy/cotton/cotton.obj" id="4_qbair"]
|
[ext_resource type="ArrayMesh" uid="uid://b26a54y2fd5n8" path="res://characters/teddy/cotton/cotton.obj" id="4_qbair"]
|
||||||
|
|
||||||
[sub_resource type="BoxShape3D" id="BoxShape3D_rpt2n"]
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_nrd0x"]
|
||||||
size = Vector3(1, 1.99126, 1)
|
radius = 0.452747
|
||||||
|
height = 2.18444
|
||||||
|
|
||||||
[sub_resource type="CapsuleMesh" id="CapsuleMesh_qq44a"]
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_qq44a"]
|
||||||
|
|
||||||
|
@ -15,7 +16,7 @@ safe_margin = 0.01
|
||||||
script = ExtResource("1_ywxo5")
|
script = ExtResource("1_ywxo5")
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||||
shape = SubResource("BoxShape3D_rpt2n")
|
shape = SubResource("CapsuleShape3D_nrd0x")
|
||||||
|
|
||||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="CollisionShape3D"]
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="CollisionShape3D"]
|
||||||
visible = false
|
visible = false
|
||||||
|
|
|
@ -265,6 +265,14 @@ offset_right = 725.0
|
||||||
offset_bottom = 493.0
|
offset_bottom = 493.0
|
||||||
text = "Time (secs):"
|
text = "Time (secs):"
|
||||||
|
|
||||||
|
[node name="toyfactoryButton" type="Button" parent="."]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 646.0
|
||||||
|
offset_top = 332.0
|
||||||
|
offset_right = 797.0
|
||||||
|
offset_bottom = 367.0
|
||||||
|
text = "Toy Factory"
|
||||||
|
|
||||||
[connection signal="pressed" from="close" to="." method="_on_close_pressed"]
|
[connection signal="pressed" from="close" to="." method="_on_close_pressed"]
|
||||||
[connection signal="pressed" from="playground" to="." method="_on_playground_pressed"]
|
[connection signal="pressed" from="playground" to="." method="_on_playground_pressed"]
|
||||||
[connection signal="pressed" from="islandsButton" to="." method="_on_islands_pressed"]
|
[connection signal="pressed" from="islandsButton" to="." method="_on_islands_pressed"]
|
||||||
|
@ -280,3 +288,4 @@ text = "Time (secs):"
|
||||||
[connection signal="button_down" from="GamemodeTTT" to="." method="_on_gamemode_ttt_button_down"]
|
[connection signal="button_down" from="GamemodeTTT" to="." method="_on_gamemode_ttt_button_down"]
|
||||||
[connection signal="ready" from="roundTimer" to="." method="_on_round_timer_ready"]
|
[connection signal="ready" from="roundTimer" to="." method="_on_round_timer_ready"]
|
||||||
[connection signal="text_changed" from="roundTimer" to="." method="_on_round_timer_text_changed"]
|
[connection signal="text_changed" from="roundTimer" to="." method="_on_round_timer_text_changed"]
|
||||||
|
[connection signal="pressed" from="toyfactoryButton" to="." method="_on_toyfactory_button_pressed"]
|
||||||
|
|
4674
scenes/toyfactory-map.tscn
Normal file
35
scenes/toyfactory.tscn
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
[gd_scene load_steps=7 format=3 uid="uid://ddy8gm0fq0dd3"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://scripts/maps/toyfactory.gd" id="1_xebe1"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://ytbacsuahxie" path="res://scenes/HUD.tscn" id="2_irab1"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://i6p5x38pt23l" path="res://scenes/toyfactory-map.tscn" id="3_3k25h"]
|
||||||
|
|
||||||
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_ell6n"]
|
||||||
|
sky_top_color = Color(0.870588, 0.894118, 0.92549, 1)
|
||||||
|
sky_horizon_color = Color(0.767647, 0.765779, 0.764623, 1)
|
||||||
|
ground_horizon_color = Color(0.767647, 0.765779, 0.764623, 1)
|
||||||
|
|
||||||
|
[sub_resource type="Sky" id="Sky_lh0lw"]
|
||||||
|
sky_material = SubResource("ProceduralSkyMaterial_ell6n")
|
||||||
|
|
||||||
|
[sub_resource type="Environment" id="Environment_fnphj"]
|
||||||
|
background_mode = 2
|
||||||
|
sky = SubResource("Sky_lh0lw")
|
||||||
|
tonemap_mode = 2
|
||||||
|
glow_enabled = true
|
||||||
|
|
||||||
|
[node name="toyfactory" type="Node3D"]
|
||||||
|
script = ExtResource("1_xebe1")
|
||||||
|
|
||||||
|
[node name="HUD" parent="." instance=ExtResource("2_irab1")]
|
||||||
|
show_behind_parent = true
|
||||||
|
|
||||||
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||||
|
environment = SubResource("Environment_fnphj")
|
||||||
|
|
||||||
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||||
|
transform = Transform3D(-0.0034906, -0.94887, 0.315647, 0, 0.315649, 0.948876, -0.999994, 0.00331215, -0.00110181, 0, 0, 0)
|
||||||
|
shadow_enabled = true
|
||||||
|
|
||||||
|
[node name="Toy Factory" parent="." instance=ExtResource("3_3k25h")]
|
||||||
|
transform = Transform3D(0.4, 0, 0, 0, 0.4, 0, 0, 0, 0.4, -7.35396, 2.08165e-12, -21.6813)
|
|
@ -179,4 +179,20 @@ func spawn_locations():
|
||||||
spawnCoords_x[3] = 78.49
|
spawnCoords_x[3] = 78.49
|
||||||
spawnCoords_y[3] = -7.78
|
spawnCoords_y[3] = -7.78
|
||||||
spawnCoords_z[3] = -7.87
|
spawnCoords_z[3] = -7.87
|
||||||
|
elif mapName == "toyfactory":
|
||||||
|
spawnCoords_x.resize(4)
|
||||||
|
spawnCoords_y.resize(4)
|
||||||
|
spawnCoords_z.resize(4)
|
||||||
|
spawnCoords_x[0] = -17.42
|
||||||
|
spawnCoords_y[0] = 2.88
|
||||||
|
spawnCoords_z[0] = 3.11
|
||||||
|
spawnCoords_x[1] = -8.02
|
||||||
|
spawnCoords_y[1] = 5.91
|
||||||
|
spawnCoords_z[1] = 35.21
|
||||||
|
spawnCoords_x[2] = 12.05
|
||||||
|
spawnCoords_y[2] = 6.38
|
||||||
|
spawnCoords_z[2] = 45.06
|
||||||
|
spawnCoords_x[3] = -5.13
|
||||||
|
spawnCoords_y[3] = -11.01
|
||||||
|
spawnCoords_z[3] = -2.91
|
||||||
|
|
||||||
|
|
|
@ -55,6 +55,7 @@ func _on_start_button_pressed():
|
||||||
$mapSelected.text = "PLAYER NAME CAN'T BE BLANK"
|
$mapSelected.text = "PLAYER NAME CAN'T BE BLANK"
|
||||||
else:
|
else:
|
||||||
print("Player chose player limit: ", intMAX)
|
print("Player chose player limit: ", intMAX)
|
||||||
|
Global.playerPleaseRespawn = true
|
||||||
Networking.create_server(intPORT, intMAX)
|
Networking.create_server(intPORT, intMAX)
|
||||||
Networking.load_map(SCENE)
|
Networking.load_map(SCENE)
|
||||||
Networking.add_player_node(1)
|
Networking.add_player_node(1)
|
||||||
|
@ -126,3 +127,9 @@ func _on_round_timer_text_changed(new_text):
|
||||||
func _on_round_timer_ready():
|
func _on_round_timer_ready():
|
||||||
Global.roundTimer = 300
|
Global.roundTimer = 300
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
func _on_toyfactory_button_pressed():
|
||||||
|
$mapSelected.text = "Toy Factory"
|
||||||
|
Global.mapName = "toyfactory"
|
||||||
|
SCENE = "res://scenes/toyfactory.tscn"
|
||||||
|
|
55
scripts/maps/toyfactory.gd
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
extends Node3D
|
||||||
|
|
||||||
|
|
||||||
|
@onready var mapNode = get_node("/root/toyfactory")
|
||||||
|
var mapPath = "res://scenes/toyfactory.tscn"
|
||||||
|
var audio_stream_player = AudioStreamPlayer.new()
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
Global.currentMapNode = mapNode
|
||||||
|
Global.currentMapPath = mapPath
|
||||||
|
Global.playerHealth = 100
|
||||||
|
Global.fatigue = 100
|
||||||
|
Global.playerYDeath = -100
|
||||||
|
|
||||||
|
|
||||||
|
func _process(delta):
|
||||||
|
if audio_stream_player.playing == false:
|
||||||
|
var randomnum = RandomNumberGenerator.new().randi_range(0, 6)
|
||||||
|
if randomnum == 0:
|
||||||
|
play_music(load("res://music/alexander-nakarada-chase.mp3"))
|
||||||
|
Global.musicName = "Chase"
|
||||||
|
Global.musicAuthor = "Alexander Nakarada"
|
||||||
|
elif randomnum == 1:
|
||||||
|
play_music(load("res://music/DRIVE.mp3"))
|
||||||
|
Global.musicName = "DRIVE"
|
||||||
|
Global.musicAuthor = "Alex-Productions"
|
||||||
|
elif randomnum == 2:
|
||||||
|
play_music(load("res://music/Fluffing-a-Duck.mp3"))
|
||||||
|
Global.musicName = "Fluffing a Duck"
|
||||||
|
Global.musicAuthor = "Kevin MacLeod"
|
||||||
|
elif randomnum == 3:
|
||||||
|
play_music(load("res://music/Monkeys-Spinning-Monkeys.mp3"))
|
||||||
|
Global.musicName = "Monkeys Spinning Monkeys"
|
||||||
|
Global.musicAuthor = "Kevin MacLeod"
|
||||||
|
elif randomnum == 4:
|
||||||
|
play_music(load("res://music/Run-Amok.mp3"))
|
||||||
|
Global.musicName = "Run Amok"
|
||||||
|
Global.musicAuthor = "Kevin MacLeod"
|
||||||
|
elif randomnum == 5:
|
||||||
|
play_music(load("res://music/Sneaky-Snitch.mp3"))
|
||||||
|
Global.musicName = "Sneaky Snitch"
|
||||||
|
Global.musicAuthor = "Kevin MacLeod"
|
||||||
|
elif randomnum == 6:
|
||||||
|
play_music(load("res://music/Wallpaper.mp3"))
|
||||||
|
Global.musicName = "Wallpaper"
|
||||||
|
Global.musicAuthor = "Kevin MacLeod"
|
||||||
|
else:
|
||||||
|
print("This shouldn't ever be called, toyland.gd")
|
||||||
|
Global.musicUpdated = true
|
||||||
|
|
||||||
|
|
||||||
|
func play_music(music):
|
||||||
|
audio_stream_player.set_stream(music)
|
||||||
|
add_child(audio_stream_player)
|
||||||
|
audio_stream_player.play()
|
|
@ -63,7 +63,6 @@ func add_player_node(peer_id):
|
||||||
player_character.set_multiplayer_authority(peer_id)
|
player_character.set_multiplayer_authority(peer_id)
|
||||||
await get_tree().create_timer(0.5).timeout
|
await get_tree().create_timer(0.5).timeout
|
||||||
Global.currentMapNode.add_child(player_character)
|
Global.currentMapNode.add_child(player_character)
|
||||||
player_character.position.y = 10
|
|
||||||
|
|
||||||
@rpc
|
@rpc
|
||||||
func add_previously_connected_player_characters(peer_ids):
|
func add_previously_connected_player_characters(peer_ids):
|
||||||
|
@ -89,6 +88,7 @@ func sync_name_all_peers(name):
|
||||||
@rpc("any_peer", "reliable")
|
@rpc("any_peer", "reliable")
|
||||||
func sync_respawn_speed(speed):
|
func sync_respawn_speed(speed):
|
||||||
Global.respawnTimeModifier = speed
|
Global.respawnTimeModifier = speed
|
||||||
|
Global.playerPleaseRespawn = true
|
||||||
|
|
||||||
@rpc("any_peer", "reliable")
|
@rpc("any_peer", "reliable")
|
||||||
func sync_gamemode(gamemode):
|
func sync_gamemode(gamemode):
|
||||||
|
|