Compare commits
6 Commits
5c71f036af
...
0a73c1731e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0a73c1731e | ||
|
|
29e78166eb | ||
|
|
f323ae8d3d | ||
|
|
d7a9dc76dc | ||
|
|
2e33b8e18e | ||
|
|
888ef9d1d9 |
BIN
Blends/Battery/Battery.blend
Normal file
53
Blends/Battery/Battery.blend.import
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://ctkd5m6b0sbwu"
|
||||||
|
path="res://.godot/imported/Battery.blend-e6f43aa3ab206a6c91aef12725d95285.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Blends/Battery/Battery.blend"
|
||||||
|
dest_files=["res://.godot/imported/Battery.blend-e6f43aa3ab206a6c91aef12725d95285.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
nodes/use_node_type_suffixes=true
|
||||||
|
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/export_geometry_nodes_instances=false
|
||||||
|
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
Blends/Battery/Battery.blend1
Normal file
52
Blends/Battery/Battery.mtl
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
# Blender 4.5.1 LTS MTL File: 'Battery.blend'
|
||||||
|
# www.blender.org
|
||||||
|
|
||||||
|
newmtl buttons
|
||||||
|
Ns 250.000000
|
||||||
|
Ka 1.000000 1.000000 1.000000
|
||||||
|
Kd 0.800308 0.072378 0.092298
|
||||||
|
Ks 0.500000 0.500000 0.500000
|
||||||
|
Ke 0.000000 0.000000 0.000000
|
||||||
|
Ni 1.500000
|
||||||
|
d 1.000000
|
||||||
|
illum 2
|
||||||
|
|
||||||
|
newmtl fuse
|
||||||
|
Ns 250.000000
|
||||||
|
Ka 1.000000 1.000000 1.000000
|
||||||
|
Kd 0.013768 0.000000 0.800189
|
||||||
|
Ks 0.500000 0.500000 0.500000
|
||||||
|
Ke 5.000000 5.000000 5.000000
|
||||||
|
Ni 1.500000
|
||||||
|
d 1.000000
|
||||||
|
illum 2
|
||||||
|
|
||||||
|
newmtl glass
|
||||||
|
Ns 360.000000
|
||||||
|
Ka 1.000000 1.000000 1.000000
|
||||||
|
Kd 0.800000 0.800000 0.800000
|
||||||
|
Ks 0.500000 0.500000 0.500000
|
||||||
|
Ke 0.000000 0.000000 0.000000
|
||||||
|
Ni 1.000000
|
||||||
|
d 1.000000
|
||||||
|
illum 2
|
||||||
|
|
||||||
|
newmtl handle
|
||||||
|
Ns 250.000000
|
||||||
|
Ka 1.000000 1.000000 1.000000
|
||||||
|
Kd 0.800876 0.064643 0.042197
|
||||||
|
Ks 0.500000 0.500000 0.500000
|
||||||
|
Ke 0.000000 0.000000 0.000000
|
||||||
|
Ni 1.500000
|
||||||
|
d 1.000000
|
||||||
|
illum 2
|
||||||
|
|
||||||
|
newmtl metal
|
||||||
|
Ns 250.000000
|
||||||
|
Ka 1.000000 1.000000 1.000000
|
||||||
|
Kd 0.177094 0.177094 0.177094
|
||||||
|
Ks 0.500000 0.500000 0.500000
|
||||||
|
Ke 0.000000 0.000000 0.000000
|
||||||
|
Ni 1.450000
|
||||||
|
d 1.000000
|
||||||
|
illum 3
|
||||||
3546
Blends/Battery/Battery.obj
Normal file
25
Blends/Battery/Battery.obj.import
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wavefront_obj"
|
||||||
|
importer_version=1
|
||||||
|
type="Mesh"
|
||||||
|
uid="uid://cvgyv0qygl2g2"
|
||||||
|
path="res://.godot/imported/Battery.obj-1a31bf9ab8ab1fa286f56e7897c47336.mesh"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
files=["res://.godot/imported/Battery.obj-1a31bf9ab8ab1fa286f56e7897c47336.mesh"]
|
||||||
|
|
||||||
|
source_file="res://Blends/Battery/Battery.obj"
|
||||||
|
dest_files=["res://.godot/imported/Battery.obj-1a31bf9ab8ab1fa286f56e7897c47336.mesh", "res://.godot/imported/Battery.obj-1a31bf9ab8ab1fa286f56e7897c47336.mesh"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
generate_tangents=true
|
||||||
|
generate_lods=true
|
||||||
|
generate_shadow_mesh=true
|
||||||
|
generate_lightmap_uv2=false
|
||||||
|
generate_lightmap_uv2_texel_size=0.2
|
||||||
|
scale_mesh=Vector3(1, 1, 1)
|
||||||
|
offset_mesh=Vector3(0, 0, 0)
|
||||||
|
force_disable_mesh_compression=false
|
||||||
BIN
Blends/Battery/glass_color.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
35
Blends/Battery/glass_color.png.import
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bj51qjpaab1ls"
|
||||||
|
path.s3tc="res://.godot/imported/glass_color.png-2c1f2466ab9805c46b0f5b65a97fabf8.s3tc.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Blends/Battery/glass_color.png"
|
||||||
|
dest_files=["res://.godot/imported/glass_color.png-2c1f2466ab9805c46b0f5b65a97fabf8.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=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
Blends/Battery/glass_normal.png
Normal file
|
After Width: | Height: | Size: 2.8 MiB |
35
Blends/Battery/glass_normal.png.import
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://c1jvi1yg7hrir"
|
||||||
|
path.s3tc="res://.godot/imported/glass_normal.png-d0c924a1e6631848692cad2510535f7f.s3tc.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Blends/Battery/glass_normal.png"
|
||||||
|
dest_files=["res://.godot/imported/glass_normal.png-d0c924a1e6631848692cad2510535f7f.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://Blends/Battery/glass_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
|
||||||
BIN
Blends/Battery/meta_color.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
35
Blends/Battery/meta_color.png.import
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bp0wjmpltefe"
|
||||||
|
path.s3tc="res://.godot/imported/meta_color.png-e11a36fc6cf0e461c4fefb1072264798.s3tc.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Blends/Battery/meta_color.png"
|
||||||
|
dest_files=["res://.godot/imported/meta_color.png-e11a36fc6cf0e461c4fefb1072264798.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
Blends/Battery/metal_normal.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
35
Blends/Battery/metal_normal.png.import
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bo3m6u0wvb208"
|
||||||
|
path.s3tc="res://.godot/imported/metal_normal.png-42d9a69064ee5f3b6ff53cc3181cb54c.s3tc.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Blends/Battery/metal_normal.png"
|
||||||
|
dest_files=["res://.godot/imported/metal_normal.png-42d9a69064ee5f3b6ff53cc3181cb54c.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://Blends/Battery/metal_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
|
||||||
BIN
Blends/Battery/textures/fuse_color.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
34
Blends/Battery/textures/fuse_color.png.import
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://b2yk538hfbx2x"
|
||||||
|
path="res://.godot/imported/fuse_color.png-5cfc4962d3dd479ccd7198fc3088f005.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Blends/Battery/textures/fuse_color.png"
|
||||||
|
dest_files=["res://.godot/imported/fuse_color.png-5cfc4962d3dd479ccd7198fc3088f005.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
|
||||||
@@ -3,25 +3,26 @@
|
|||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://boomg3nx6bcqy"
|
uid="uid://boomg3nx6bcqy"
|
||||||
path="res://.godot/imported/brick.jpg-7607d78125be038893033b483e357a65.ctex"
|
path.s3tc="res://.godot/imported/brick.jpg-7607d78125be038893033b483e357a65.s3tc.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"imported_formats": ["s3tc_bptc"],
|
||||||
|
"vram_texture": true
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://Blends/Pot/brick.jpg"
|
source_file="res://Blends/Pot/brick.jpg"
|
||||||
dest_files=["res://.godot/imported/brick.jpg-7607d78125be038893033b483e357a65.ctex"]
|
dest_files=["res://.godot/imported/brick.jpg-7607d78125be038893033b483e357a65.s3tc.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=0
|
compress/mode=2
|
||||||
compress/high_quality=false
|
compress/high_quality=false
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=false
|
mipmaps/generate=true
|
||||||
mipmaps/limit=-1
|
mipmaps/limit=-1
|
||||||
roughness/mode=0
|
roughness/mode=0
|
||||||
roughness/src_normal=""
|
roughness/src_normal=""
|
||||||
@@ -31,4 +32,4 @@ process/normal_map_invert_y=false
|
|||||||
process/hdr_as_srgb=false
|
process/hdr_as_srgb=false
|
||||||
process/hdr_clamp_exposure=false
|
process/hdr_clamp_exposure=false
|
||||||
process/size_limit=0
|
process/size_limit=0
|
||||||
detect_3d/compress_to=1
|
detect_3d/compress_to=0
|
||||||
|
|||||||
BIN
Blends/Pot/pot_uv.jpg
Normal file
|
After Width: | Height: | Size: 17 KiB |
35
Blends/Pot/pot_uv.jpg.import
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://8qyuw0q5luju"
|
||||||
|
path.s3tc="res://.godot/imported/pot_uv.jpg-c3f5f910b203bcfdf16fec6b59103278.s3tc.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Blends/Pot/pot_uv.jpg"
|
||||||
|
dest_files=["res://.godot/imported/pot_uv.jpg-c3f5f910b203bcfdf16fec6b59103278.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
Blends/Shelf/Cube.png
Normal file
|
After Width: | Height: | Size: 55 KiB |
35
Blends/Shelf/Cube.png.import
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://t6fa7ted5yib"
|
||||||
|
path.s3tc="res://.godot/imported/Cube.png-ba8096be382bf320b7c7f4a063a9c7e1.s3tc.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Blends/Shelf/Cube.png"
|
||||||
|
dest_files=["res://.godot/imported/Cube.png-ba8096be382bf320b7c7f4a063a9c7e1.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
Blends/Shelf/Shelf.blend
Normal file
53
Blends/Shelf/Shelf.blend.import
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://bv6cfp34ma2ky"
|
||||||
|
path="res://.godot/imported/Shelf.blend-45651f4376512c2bff5b748a91edae46.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Blends/Shelf/Shelf.blend"
|
||||||
|
dest_files=["res://.godot/imported/Shelf.blend-45651f4376512c2bff5b748a91edae46.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
nodes/use_node_type_suffixes=true
|
||||||
|
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/export_geometry_nodes_instances=false
|
||||||
|
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
Blends/Shelf/Shelf.blend1
Normal file
12
Blends/Shelf/Shelf.mtl
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# Blender 4.5.1 LTS MTL File: 'Shelf.blend'
|
||||||
|
# www.blender.org
|
||||||
|
|
||||||
|
newmtl Material
|
||||||
|
Ns 250.000000
|
||||||
|
Ka 1.000000 1.000000 1.000000
|
||||||
|
Kd 0.139504 0.139504 0.139504
|
||||||
|
Ks 0.500000 0.500000 0.500000
|
||||||
|
Ke 0.000000 0.000000 0.000000
|
||||||
|
Ni 1.450000
|
||||||
|
d 1.000000
|
||||||
|
illum 3
|
||||||
10382
Blends/Shelf/Shelf.obj
Normal file
25
Blends/Shelf/Shelf.obj.import
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wavefront_obj"
|
||||||
|
importer_version=1
|
||||||
|
type="Mesh"
|
||||||
|
uid="uid://k2k1ppv3ycsv"
|
||||||
|
path="res://.godot/imported/Shelf.obj-2a94826746eead2b49042f9362c027e5.mesh"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
files=["res://.godot/imported/Shelf.obj-2a94826746eead2b49042f9362c027e5.mesh"]
|
||||||
|
|
||||||
|
source_file="res://Blends/Shelf/Shelf.obj"
|
||||||
|
dest_files=["res://.godot/imported/Shelf.obj-2a94826746eead2b49042f9362c027e5.mesh", "res://.godot/imported/Shelf.obj-2a94826746eead2b49042f9362c027e5.mesh"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
generate_tangents=true
|
||||||
|
generate_lods=true
|
||||||
|
generate_shadow_mesh=true
|
||||||
|
generate_lightmap_uv2=false
|
||||||
|
generate_lightmap_uv2_texel_size=0.2
|
||||||
|
scale_mesh=Vector3(1, 1, 1)
|
||||||
|
offset_mesh=Vector3(0, 0, 0)
|
||||||
|
force_disable_mesh_compression=false
|
||||||
BIN
Blends/Shelf/color.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
35
Blends/Shelf/color.png.import
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://5gmmgg4cmefr"
|
||||||
|
path.s3tc="res://.godot/imported/color.png-921ffeb3c7ea977c224765fc77072c06.s3tc.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Blends/Shelf/color.png"
|
||||||
|
dest_files=["res://.godot/imported/color.png-921ffeb3c7ea977c224765fc77072c06.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
Blends/Shelf/normal.png
Normal file
|
After Width: | Height: | Size: 1.0 MiB |
35
Blends/Shelf/normal.png.import
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://q0duenho1u2x"
|
||||||
|
path.s3tc="res://.godot/imported/normal.png-b77f6c8f41bc6ef61e6f8d3314e1113d.s3tc.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Blends/Shelf/normal.png"
|
||||||
|
dest_files=["res://.godot/imported/normal.png-b77f6c8f41bc6ef61e6f8d3314e1113d.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://Blends/Shelf/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
|
||||||
65
Scenes/Prefabs/Battery.tscn
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
[gd_scene load_steps=18 format=3 uid="uid://wr21rggawosn"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://c61rr6to3q566" path="res://Scripts/build_object.gd" id="1_c0yqx"]
|
||||||
|
[ext_resource type="ArrayMesh" uid="uid://cvgyv0qygl2g2" path="res://Blends/Battery/Battery.obj" id="1_lt2ya"]
|
||||||
|
[ext_resource type="Shader" uid="uid://bfv6ckihralab" path="res://Shaders/build_transparent.gdshader" id="2_pigwg"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bp0wjmpltefe" path="res://Blends/Battery/meta_color.png" id="2_teewy"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://c1jvi1yg7hrir" path="res://Blends/Battery/glass_normal.png" id="3_c0yqx"]
|
||||||
|
[ext_resource type="Shader" uid="uid://derm5u32om74e" path="res://Shaders/battery_button.gdshader" id="4_pigwg"]
|
||||||
|
[ext_resource type="Shader" uid="uid://csc12sk3jp67" path="res://Shaders/battery_handle.gdshader" id="5_6tv3k"]
|
||||||
|
[ext_resource type="Shader" uid="uid://xn2eixgmefs8" path="res://Shaders/battery_glass.gdshader" id="6_b5dta"]
|
||||||
|
[ext_resource type="Shader" uid="uid://4m7bv5x2pfnr" path="res://Shaders/Fuse.gdshader" id="7_hr37j"]
|
||||||
|
|
||||||
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_6tv3k"]
|
||||||
|
render_priority = 0
|
||||||
|
shader = ExtResource("2_pigwg")
|
||||||
|
shader_parameter/color = Vector3(0, 0, 0)
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_byy4f"]
|
||||||
|
albedo_texture = ExtResource("2_teewy")
|
||||||
|
metallic = 1.0
|
||||||
|
roughness = 0.5
|
||||||
|
normal_enabled = true
|
||||||
|
normal_scale = 0.27
|
||||||
|
normal_texture = ExtResource("3_c0yqx")
|
||||||
|
|
||||||
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_3e286"]
|
||||||
|
render_priority = 0
|
||||||
|
shader = ExtResource("4_pigwg")
|
||||||
|
|
||||||
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_5xoxg"]
|
||||||
|
render_priority = 0
|
||||||
|
shader = ExtResource("5_6tv3k")
|
||||||
|
|
||||||
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_wr5rf"]
|
||||||
|
render_priority = 0
|
||||||
|
shader = ExtResource("6_b5dta")
|
||||||
|
shader_parameter/normal = ExtResource("3_c0yqx")
|
||||||
|
|
||||||
|
[sub_resource type="FastNoiseLite" id="FastNoiseLite_8a881"]
|
||||||
|
|
||||||
|
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_fdnlq"]
|
||||||
|
noise = SubResource("FastNoiseLite_8a881")
|
||||||
|
|
||||||
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_hnq8j"]
|
||||||
|
render_priority = 0
|
||||||
|
shader = ExtResource("7_hr37j")
|
||||||
|
shader_parameter/noise = SubResource("NoiseTexture2D_fdnlq")
|
||||||
|
|
||||||
|
[node name="Battery" type="Node3D" node_paths=PackedStringArray("meshInstance")]
|
||||||
|
script = ExtResource("1_c0yqx")
|
||||||
|
meshInstance = NodePath("Battery")
|
||||||
|
preview_shader = SubResource("ShaderMaterial_6tv3k")
|
||||||
|
|
||||||
|
[node name="Battery" type="MeshInstance3D" parent="."]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, -1.9615, 0)
|
||||||
|
mesh = ExtResource("1_lt2ya")
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_byy4f")
|
||||||
|
surface_material_override/1 = SubResource("ShaderMaterial_3e286")
|
||||||
|
surface_material_override/2 = SubResource("ShaderMaterial_5xoxg")
|
||||||
|
surface_material_override/3 = SubResource("ShaderMaterial_wr5rf")
|
||||||
|
surface_material_override/4 = SubResource("ShaderMaterial_hnq8j")
|
||||||
|
surface_material_override/5 = SubResource("StandardMaterial3D_byy4f")
|
||||||
|
surface_material_override/6 = SubResource("ShaderMaterial_wr5rf")
|
||||||
|
surface_material_override/7 = SubResource("ShaderMaterial_hnq8j")
|
||||||
|
surface_material_override/8 = SubResource("StandardMaterial3D_byy4f")
|
||||||
@@ -13,6 +13,7 @@ shader_parameter/shirt_color = Vector3(0, 0, 0)
|
|||||||
points = PackedVector3Array(0.465296, 4.41226, 2.90193, 0.333481, 5.90986, 1.44973, -0.46535, 4.41226, 2.90193, 0.465296, 2.1221, 2.90193, 0.88668, -1.00046, 1.81769, 0.465296, 4.41226, -1.76192, 0.333481, 5.90986, -0.25128, -0.333667, 5.90986, 1.44973, -0.46535, 4.41226, -1.76192, -0.46535, 2.1221, 2.90193, 0.88668, -1.35832, 1.81769, 0.88668, -1.00046, -0.616956, 0.465296, 2.1221, -1.76192, -0.333667, 5.90986, -0.25128, -0.46535, 2.1221, -1.76192, -0.46535, 1.86882, 1.75606, -0.424191, -1.35832, 1.81769, 0.88668, -1.35832, -0.616956, -0.424191, -1.35832, -0.616956, -0.46535, 1.86882, -0.6165)
|
points = PackedVector3Array(0.465296, 4.41226, 2.90193, 0.333481, 5.90986, 1.44973, -0.46535, 4.41226, 2.90193, 0.465296, 2.1221, 2.90193, 0.88668, -1.00046, 1.81769, 0.465296, 4.41226, -1.76192, 0.333481, 5.90986, -0.25128, -0.333667, 5.90986, 1.44973, -0.46535, 4.41226, -1.76192, -0.46535, 2.1221, 2.90193, 0.88668, -1.35832, 1.81769, 0.88668, -1.00046, -0.616956, 0.465296, 2.1221, -1.76192, -0.333667, 5.90986, -0.25128, -0.46535, 2.1221, -1.76192, -0.46535, 1.86882, 1.75606, -0.424191, -1.35832, 1.81769, 0.88668, -1.35832, -0.616956, -0.424191, -1.35832, -0.616956, -0.46535, 1.86882, -0.6165)
|
||||||
|
|
||||||
[node name="Person" type="CharacterBody3D"]
|
[node name="Person" type="CharacterBody3D"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.150706, 0, -0.313651)
|
||||||
script = ExtResource("1_dh77o")
|
script = ExtResource("1_dh77o")
|
||||||
|
|
||||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
[gd_scene load_steps=14 format=3 uid="uid://bcme5mx8nf5kf"]
|
[gd_scene load_steps=15 format=3 uid="uid://bcme5mx8nf5kf"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://c61rr6to3q566" path="res://Scripts/build_object.gd" id="1_c5d30"]
|
[ext_resource type="Script" uid="uid://c61rr6to3q566" path="res://Scripts/build_object.gd" id="1_c5d30"]
|
||||||
[ext_resource type="ArrayMesh" uid="uid://dqs5joeucls8u" path="res://Blends/Pot/pot.obj" id="1_ps8qt"]
|
[ext_resource type="ArrayMesh" uid="uid://dqs5joeucls8u" path="res://Blends/Pot/pot.obj" id="1_ps8qt"]
|
||||||
@@ -7,6 +7,7 @@
|
|||||||
[ext_resource type="Texture2D" uid="uid://fom8shxpn476" path="res://Blends/Pot/pot_brick.jpg" id="3_ocdig"]
|
[ext_resource type="Texture2D" uid="uid://fom8shxpn476" path="res://Blends/Pot/pot_brick.jpg" id="3_ocdig"]
|
||||||
[ext_resource type="Texture2D" uid="uid://bw8k6hmfrwj60" path="res://Blends/Pot/rougness_m.png" id="4_vv7mx"]
|
[ext_resource type="Texture2D" uid="uid://bw8k6hmfrwj60" path="res://Blends/Pot/rougness_m.png" id="4_vv7mx"]
|
||||||
[ext_resource type="Texture2D" uid="uid://cdb7b2ef31ixv" path="res://Blends/Pot/pot_wood.jpg" id="5_gtq0i"]
|
[ext_resource type="Texture2D" uid="uid://cdb7b2ef31ixv" path="res://Blends/Pot/pot_wood.jpg" id="5_gtq0i"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://8qyuw0q5luju" path="res://Blends/Pot/pot_uv.jpg" id="5_vv7mx"]
|
||||||
[ext_resource type="Texture2D" uid="uid://bxgm6oovlxdjq" path="res://Blends/Pot/wood_n.png" id="6_r71lq"]
|
[ext_resource type="Texture2D" uid="uid://bxgm6oovlxdjq" path="res://Blends/Pot/wood_n.png" id="6_r71lq"]
|
||||||
[ext_resource type="Texture2D" uid="uid://run700pxmcyc" path="res://Blends/Pot/brick_t.png" id="7_e7ek7"]
|
[ext_resource type="Texture2D" uid="uid://run700pxmcyc" path="res://Blends/Pot/brick_t.png" id="7_e7ek7"]
|
||||||
|
|
||||||
@@ -22,6 +23,9 @@ roughness_texture = ExtResource("4_vv7mx")
|
|||||||
normal_enabled = true
|
normal_enabled = true
|
||||||
normal_scale = -2.6
|
normal_scale = -2.6
|
||||||
normal_texture = ExtResource("3_ocdig")
|
normal_texture = ExtResource("3_ocdig")
|
||||||
|
detail_albedo = ExtResource("5_vv7mx")
|
||||||
|
detail_normal = ExtResource("3_ocdig")
|
||||||
|
uv1_scale = Vector3(0.5, 0.4, 1)
|
||||||
|
|
||||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_uhv8u"]
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_uhv8u"]
|
||||||
albedo_texture = ExtResource("5_gtq0i")
|
albedo_texture = ExtResource("5_gtq0i")
|
||||||
|
|||||||
28
Scenes/Prefabs/Shelf.tscn
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
[gd_scene load_steps=8 format=3 uid="uid://c0gypplbklc3i"]
|
||||||
|
|
||||||
|
[ext_resource type="ArrayMesh" uid="uid://k2k1ppv3ycsv" path="res://Blends/Shelf/Shelf.obj" id="1_usf1u"]
|
||||||
|
[ext_resource type="Script" uid="uid://c61rr6to3q566" path="res://Scripts/build_object.gd" id="1_ya6sq"]
|
||||||
|
[ext_resource type="Shader" uid="uid://bfv6ckihralab" path="res://Shaders/build_transparent.gdshader" id="2_jbe2f"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://5gmmgg4cmefr" path="res://Blends/Shelf/color.png" id="2_x70sl"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://q0duenho1u2x" path="res://Blends/Shelf/normal.png" id="3_ya6sq"]
|
||||||
|
|
||||||
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_4318v"]
|
||||||
|
render_priority = 0
|
||||||
|
shader = ExtResource("2_jbe2f")
|
||||||
|
shader_parameter/color = Vector3(0, 0, 0)
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jbe2f"]
|
||||||
|
albedo_texture = ExtResource("2_x70sl")
|
||||||
|
normal_enabled = true
|
||||||
|
normal_scale = -1.88
|
||||||
|
normal_texture = ExtResource("3_ya6sq")
|
||||||
|
|
||||||
|
[node name="Shelf" type="Node3D" node_paths=PackedStringArray("meshInstance")]
|
||||||
|
script = ExtResource("1_ya6sq")
|
||||||
|
meshInstance = NodePath("Shelf")
|
||||||
|
preview_shader = SubResource("ShaderMaterial_4318v")
|
||||||
|
|
||||||
|
[node name="Shelf" type="MeshInstance3D" parent="."]
|
||||||
|
transform = Transform3D(-2.18557e-08, 0, -0.5, 0, 0.5, 0, 0.5, 0, -2.18557e-08, 0, -1.53245, 0)
|
||||||
|
mesh = ExtResource("1_usf1u")
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_jbe2f")
|
||||||
@@ -8,15 +8,16 @@
|
|||||||
[ext_resource type="Shader" uid="uid://bfv6ckihralab" path="res://Shaders/build_transparent.gdshader" id="6_ru0md"]
|
[ext_resource type="Shader" uid="uid://bfv6ckihralab" path="res://Shaders/build_transparent.gdshader" id="6_ru0md"]
|
||||||
|
|
||||||
[sub_resource type="NavigationMesh" id="NavigationMesh_ru0md"]
|
[sub_resource type="NavigationMesh" id="NavigationMesh_ru0md"]
|
||||||
vertices = PackedVector3Array(-8.66035, 3.12619, -1.92166, -8.66035, 3.12619, -0.421665, -2.91035, 3.12619, -0.421665, -2.91035, 3.12619, -1.92166, -2.16035, -0.12381, 0.578335, -9.66035, -0.12381, 0.328335, -9.66035, -0.12381, 2.82834, 11.5896, -0.12381, 2.82834, 11.5896, -0.12381, -1.92166, -1.91035, -0.12381, -1.92166, -8.41035, -0.12381, -1.67166, -8.41035, -0.12381, -0.671665, -3.16035, -0.12381, -0.671665, -3.16035, -0.12381, -1.67166)
|
vertices = PackedVector3Array(-8.52442, 3.10583, -1.86593, -8.52442, 3.10583, -0.615929, -3.27442, 3.10583, -0.615929, -3.27442, 3.10583, -1.86593, -2.27442, 0.105834, 0.884071, -9.27442, 0.105834, 0.884071, -9.27442, 0.105834, 3.13407, 11.4756, 0.105834, 3.13407, 11.4756, 0.105834, -1.86593, -1.77442, 0.105834, -1.86593, -1.77442, 0.105834, 0.384071, -8.27442, 0.105834, -1.61593, -8.27442, 0.105834, -0.865929, -3.52442, 0.105834, -0.865929, -3.52442, 0.105834, -1.61593)
|
||||||
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1), PackedInt32Array(5, 4, 6), PackedInt32Array(6, 4, 7), PackedInt32Array(9, 8, 4), PackedInt32Array(4, 8, 7), PackedInt32Array(13, 12, 10), PackedInt32Array(10, 12, 11)]
|
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1), PackedInt32Array(5, 4, 6), PackedInt32Array(6, 4, 7), PackedInt32Array(10, 9, 8), PackedInt32Array(10, 8, 4), PackedInt32Array(4, 8, 7), PackedInt32Array(14, 13, 11), PackedInt32Array(11, 13, 12)]
|
||||||
|
agent_radius = 0.7
|
||||||
[sub_resource type="BoxShape3D" id="BoxShape3D_ru0md"]
|
|
||||||
size = Vector3(6.47229, 3.39474, 2.33685)
|
|
||||||
|
|
||||||
[sub_resource type="BoxShape3D" id="BoxShape3D_u7bw1"]
|
[sub_resource type="BoxShape3D" id="BoxShape3D_u7bw1"]
|
||||||
size = Vector3(22.1814, 0.0957031, 5.72699)
|
size = Vector3(22.1814, 0.0957031, 5.72699)
|
||||||
|
|
||||||
|
[sub_resource type="BoxShape3D" id="BoxShape3D_ru0md"]
|
||||||
|
size = Vector3(6.47229, 3.39474, 2.33685)
|
||||||
|
|
||||||
[sub_resource type="BoxShape3D" id="BoxShape3D_esjgi"]
|
[sub_resource type="BoxShape3D" id="BoxShape3D_esjgi"]
|
||||||
size = Vector3(22.2341, 4.23804, 0.494629)
|
size = Vector3(22.2341, 4.23804, 0.494629)
|
||||||
|
|
||||||
@@ -41,9 +42,16 @@ mesh = ExtResource("1_ux2tx")
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.138559, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.138559, 0)
|
||||||
navigation_mesh = SubResource("NavigationMesh_ru0md")
|
navigation_mesh = SubResource("NavigationMesh_ru0md")
|
||||||
|
|
||||||
|
[node name="ground" type="StaticBody3D" parent="Cart-bottom/NavigationRegion3D"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1.12006, 0.135911, 0.169229, -0.0448687)
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Cart-bottom/NavigationRegion3D/ground"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.930367, -0.452148, 0.568024)
|
||||||
|
shape = SubResource("BoxShape3D_u7bw1")
|
||||||
|
|
||||||
[node name="NavigationObstacle3D" type="NavigationObstacle3D" parent="Cart-bottom/NavigationRegion3D"]
|
[node name="NavigationObstacle3D" type="NavigationObstacle3D" parent="Cart-bottom/NavigationRegion3D"]
|
||||||
|
height = 0.1
|
||||||
affect_navigation_mesh = true
|
affect_navigation_mesh = true
|
||||||
carve_navigation_mesh = true
|
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Cart-bottom/NavigationRegion3D/NavigationObstacle3D"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Cart-bottom/NavigationRegion3D/NavigationObstacle3D"]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.50052, -0.0203562, -1.1511)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.50052, -0.0203562, -1.1511)
|
||||||
@@ -52,13 +60,6 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.50052, -0.0203562, -1.1511
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.352722, 1.07356, -0.102142)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.352722, 1.07356, -0.102142)
|
||||||
shape = SubResource("BoxShape3D_ru0md")
|
shape = SubResource("BoxShape3D_ru0md")
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Cart-bottom/NavigationRegion3D"]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.169229, 0)
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Cart-bottom/NavigationRegion3D/StaticBody3D"]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.930367, -0.452148, 0.568024)
|
|
||||||
shape = SubResource("BoxShape3D_u7bw1")
|
|
||||||
|
|
||||||
[node name="Wheels2" type="MeshInstance3D" parent="."]
|
[node name="Wheels2" type="MeshInstance3D" parent="."]
|
||||||
transform = Transform3D(1, 3.49691e-07, 0, -3.49691e-07, 1, 0, 0, 0, 1, -6.05656, -1.694, -2.014)
|
transform = Transform3D(1, 3.49691e-07, 0, -3.49691e-07, 1, 0, 0, 0, 1, -6.05656, -1.694, -2.014)
|
||||||
mesh = ExtResource("2_2wj72")
|
mesh = ExtResource("2_2wj72")
|
||||||
|
|||||||
@@ -69,5 +69,21 @@ text = "Pot"
|
|||||||
script = ExtResource("1_yp16r")
|
script = ExtResource("1_yp16r")
|
||||||
id = 1
|
id = 1
|
||||||
|
|
||||||
|
[node name="ButtonCreatePot2" type="Button" parent="Panel2/HBoxContainer"]
|
||||||
|
custom_minimum_size = Vector2(100, 0)
|
||||||
|
layout_mode = 2
|
||||||
|
text = "Battery"
|
||||||
|
script = ExtResource("1_yp16r")
|
||||||
|
id = 2
|
||||||
|
|
||||||
|
[node name="ButtonCreatePot3" type="Button" parent="Panel2/HBoxContainer"]
|
||||||
|
custom_minimum_size = Vector2(100, 0)
|
||||||
|
layout_mode = 2
|
||||||
|
text = "Shelf"
|
||||||
|
script = ExtResource("1_yp16r")
|
||||||
|
id = 3
|
||||||
|
|
||||||
[connection signal="pressed" from="Panel2/HBoxContainer/ButtonCreateBed" to="Panel2/HBoxContainer/ButtonCreateBed" method="_on_pressed"]
|
[connection signal="pressed" from="Panel2/HBoxContainer/ButtonCreateBed" to="Panel2/HBoxContainer/ButtonCreateBed" method="_on_pressed"]
|
||||||
[connection signal="pressed" from="Panel2/HBoxContainer/ButtonCreatePot" to="Panel2/HBoxContainer/ButtonCreatePot" method="_on_pressed"]
|
[connection signal="pressed" from="Panel2/HBoxContainer/ButtonCreatePot" to="Panel2/HBoxContainer/ButtonCreatePot" method="_on_pressed"]
|
||||||
|
[connection signal="pressed" from="Panel2/HBoxContainer/ButtonCreatePot2" to="Panel2/HBoxContainer/ButtonCreatePot2" method="_on_pressed"]
|
||||||
|
[connection signal="pressed" from="Panel2/HBoxContainer/ButtonCreatePot3" to="Panel2/HBoxContainer/ButtonCreatePot3" method="_on_pressed"]
|
||||||
|
|||||||
@@ -1,11 +1,15 @@
|
|||||||
[gd_scene load_steps=13 format=3 uid="uid://bj7y7q2qkpnci"]
|
[gd_scene load_steps=20 format=3 uid="uid://bj7y7q2qkpnci"]
|
||||||
|
|
||||||
|
[ext_resource type="Shader" uid="uid://c5e2qqpg6h4lw" path="res://Shaders/road.gdshader" id="2_6bp64"]
|
||||||
[ext_resource type="ArrayMesh" uid="uid://622ethh2pdfa" path="res://Blends/road/road.obj" id="4_jjvhh"]
|
[ext_resource type="ArrayMesh" uid="uid://622ethh2pdfa" path="res://Blends/road/road.obj" id="4_jjvhh"]
|
||||||
[ext_resource type="PackedScene" uid="uid://dqrqq5vg8hek3" path="res://Scenes/Prefabs/Person.tscn" id="5_kry3j"]
|
[ext_resource type="PackedScene" uid="uid://dqrqq5vg8hek3" path="res://Scenes/Prefabs/Person.tscn" id="5_kry3j"]
|
||||||
[ext_resource type="PackedScene" uid="uid://cyaesj3qjb5um" path="res://Scenes/Prefabs/main_game_ui.tscn" id="6_6bp64"]
|
[ext_resource type="PackedScene" uid="uid://cyaesj3qjb5um" path="res://Scenes/Prefabs/main_game_ui.tscn" id="6_6bp64"]
|
||||||
[ext_resource type="PackedScene" uid="uid://dim2geqhn6d35" path="res://Scenes/Prefabs/cart.tscn" id="6_21xkr"]
|
[ext_resource type="PackedScene" uid="uid://dim2geqhn6d35" path="res://Scenes/Prefabs/cart.tscn" id="6_21xkr"]
|
||||||
[ext_resource type="PackedScene" uid="uid://dy03tqug33fep" path="res://Blends/ground.blend" id="6_344ge"]
|
[ext_resource type="PackedScene" uid="uid://dy03tqug33fep" path="res://Blends/ground.blend" id="6_344ge"]
|
||||||
[ext_resource type="Script" uid="uid://drrp1k2q71hq2" path="res://Scripts/camera_3d.gd" id="7_6bp64"]
|
[ext_resource type="Script" uid="uid://drrp1k2q71hq2" path="res://Scripts/camera_3d.gd" id="7_6bp64"]
|
||||||
|
[ext_resource type="ArrayMesh" uid="uid://k2k1ppv3ycsv" path="res://Blends/Shelf/Shelf.obj" id="8_344ge"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://5gmmgg4cmefr" path="res://Blends/Shelf/color.png" id="9_hptm8"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://q0duenho1u2x" path="res://Blends/Shelf/normal.png" id="10_d1ilt"]
|
||||||
|
|
||||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_jjvhh"]
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_jjvhh"]
|
||||||
sky_top_color = Color(0.654771, 0.60129, 0.578102, 1)
|
sky_top_color = Color(0.654771, 0.60129, 0.578102, 1)
|
||||||
@@ -25,6 +29,14 @@ fog_mode = 1
|
|||||||
fog_density = 1.0
|
fog_density = 1.0
|
||||||
fog_depth_curve = 4.75681
|
fog_depth_curve = 4.75681
|
||||||
|
|
||||||
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_6bp64"]
|
||||||
|
render_priority = 0
|
||||||
|
shader = ExtResource("2_6bp64")
|
||||||
|
|
||||||
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_344ge"]
|
||||||
|
render_priority = 0
|
||||||
|
shader = ExtResource("2_6bp64")
|
||||||
|
|
||||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_21xkr"]
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_21xkr"]
|
||||||
lifetime_randomness = 0.55
|
lifetime_randomness = 0.55
|
||||||
emission_shape = 3
|
emission_shape = 3
|
||||||
@@ -38,6 +50,12 @@ size = Vector2(0.5, 0.5)
|
|||||||
|
|
||||||
[sub_resource type="BoxShape3D" id="BoxShape3D_21xkr"]
|
[sub_resource type="BoxShape3D" id="BoxShape3D_21xkr"]
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_6iyac"]
|
||||||
|
albedo_texture = ExtResource("9_hptm8")
|
||||||
|
normal_enabled = true
|
||||||
|
normal_scale = -1.88
|
||||||
|
normal_texture = ExtResource("10_d1ilt")
|
||||||
|
|
||||||
[node name="Main" type="Node3D"]
|
[node name="Main" type="Node3D"]
|
||||||
|
|
||||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||||
@@ -51,10 +69,12 @@ shadow_enabled = true
|
|||||||
transform = Transform3D(10.951, 0, 0, 0, 1, 0, 0, 0, 1, -54.1402, 0.738562, -56.7411)
|
transform = Transform3D(10.951, 0, 0, 0, 1, 0, 0, 0, 1, -54.1402, 0.738562, -56.7411)
|
||||||
mesh = ExtResource("4_jjvhh")
|
mesh = ExtResource("4_jjvhh")
|
||||||
skeleton = NodePath("../Road")
|
skeleton = NodePath("../Road")
|
||||||
|
surface_material_override/0 = SubResource("ShaderMaterial_6bp64")
|
||||||
|
|
||||||
[node name="Road" type="MeshInstance3D" parent="."]
|
[node name="Road" type="MeshInstance3D" parent="."]
|
||||||
transform = Transform3D(10.9512, 0, 0, 0, 1, 0, 0, 0, 1, -54.4288, 0.584906, -61.8752)
|
transform = Transform3D(10.9512, 0, 0, 0, 1, 0, 0, 0, 1, -54.4288, 0.584906, -61.8752)
|
||||||
mesh = ExtResource("4_jjvhh")
|
mesh = ExtResource("4_jjvhh")
|
||||||
|
surface_material_override/0 = SubResource("ShaderMaterial_344ge")
|
||||||
|
|
||||||
[node name="GPUParticles3D" type="GPUParticles3D" parent="."]
|
[node name="GPUParticles3D" type="GPUParticles3D" parent="."]
|
||||||
transform = Transform3D(3.70763, 0, 0, 0, 2.24982, 0, 0, 0, 3.71542, -7.77808, 10.8809, -60.0289)
|
transform = Transform3D(3.70763, 0, 0, 0, 2.24982, 0, 0, 0, 3.71542, -7.77808, 10.8809, -60.0289)
|
||||||
@@ -127,3 +147,8 @@ mouse_filter = 2
|
|||||||
|
|
||||||
[node name="Marker3D" type="Marker3D" parent="."]
|
[node name="Marker3D" type="Marker3D" parent="."]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.90278, -57.5436)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.90278, -57.5436)
|
||||||
|
|
||||||
|
[node name="Shelf" type="MeshInstance3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.99485, 0.659399, -45.3142)
|
||||||
|
mesh = ExtResource("8_344ge")
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_6iyac")
|
||||||
|
|||||||
@@ -2,15 +2,21 @@ extends Node
|
|||||||
|
|
||||||
@onready var DoubleBeds = preload("res://Scenes/Prefabs/DoubleBeds.tscn")
|
@onready var DoubleBeds = preload("res://Scenes/Prefabs/DoubleBeds.tscn")
|
||||||
@onready var Pot = preload("res://Scenes/Prefabs/Pot.tscn")
|
@onready var Pot = preload("res://Scenes/Prefabs/Pot.tscn")
|
||||||
|
@onready var Battery = preload("res://Scenes/Prefabs/Battery.tscn")
|
||||||
|
@onready var Shelf = preload("res://Scenes/Prefabs/Shelf.tscn")
|
||||||
|
|
||||||
|
signal build_object_selected
|
||||||
|
|
||||||
|
|
||||||
var selected_object_id: int
|
var selected_object_id: int
|
||||||
|
var is_object_selected: bool
|
||||||
|
|
||||||
var global_y = 2.903
|
var global_y = 2.903
|
||||||
|
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
print(DoubleBeds)
|
is_object_selected = false
|
||||||
|
build_object_selected.connect(_on_object_selected)
|
||||||
|
|
||||||
func get_preview_object():
|
func get_preview_object():
|
||||||
var selected_object
|
var selected_object
|
||||||
@@ -19,4 +25,12 @@ func get_preview_object():
|
|||||||
selected_object = DoubleBeds
|
selected_object = DoubleBeds
|
||||||
1:
|
1:
|
||||||
selected_object = Pot
|
selected_object = Pot
|
||||||
|
2:
|
||||||
|
selected_object = Battery
|
||||||
|
3:
|
||||||
|
selected_object = Shelf
|
||||||
return selected_object
|
return selected_object
|
||||||
|
|
||||||
|
|
||||||
|
func _on_object_selected():
|
||||||
|
is_object_selected = true
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ func _input_event(camera: Camera3D, event: InputEvent, event_position: Vector3,
|
|||||||
|
|
||||||
|
|
||||||
func _mouse_enter() -> void:
|
func _mouse_enter() -> void:
|
||||||
if !is_placed and Global.build_mode:
|
if !is_placed and Global.build_mode and BuildManager.is_object_selected:
|
||||||
show_preview()
|
show_preview()
|
||||||
|
|
||||||
func _mouse_exit() -> void:
|
func _mouse_exit() -> void:
|
||||||
|
|||||||
@@ -3,8 +3,12 @@ extends Button
|
|||||||
|
|
||||||
@export var id: int
|
@export var id: int
|
||||||
|
|
||||||
|
func _ready() -> void:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
func _on_pressed() -> void:
|
func _on_pressed() -> void:
|
||||||
BuildManager.selected_object_id = id
|
BuildManager.selected_object_id = id
|
||||||
|
BuildManager.build_object_selected.emit()
|
||||||
print(BuildManager.selected_object_id)
|
print(BuildManager.selected_object_id)
|
||||||
|
|
||||||
|
|||||||
@@ -4,10 +4,13 @@ extends Node3D
|
|||||||
|
|
||||||
@export var cartTop: MeshInstance3D
|
@export var cartTop: MeshInstance3D
|
||||||
@export var mainCamera: Camera3D
|
@export var mainCamera: Camera3D
|
||||||
|
var nav_mesh: NavigationMesh
|
||||||
var previewObject
|
var previewObject
|
||||||
var targetPos
|
var targetPos
|
||||||
|
|
||||||
|
func _ready() -> void:
|
||||||
|
pass
|
||||||
|
|
||||||
func _input(event: InputEvent) -> void:
|
func _input(event: InputEvent) -> void:
|
||||||
if event.is_action_pressed("hide_top"):
|
if event.is_action_pressed("hide_top"):
|
||||||
cartTop.visible = !cartTop.visible
|
cartTop.visible = !cartTop.visible
|
||||||
|
|||||||
22
Shaders/Fuse.gdshader
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
shader_type spatial;
|
||||||
|
uniform sampler2D noise;
|
||||||
|
void vertex() {
|
||||||
|
// Called for every vertex the material is visible on.
|
||||||
|
}
|
||||||
|
|
||||||
|
void fragment() {
|
||||||
|
//ALBEDO = vec3(0.000275,0.0,0.665027);
|
||||||
|
EMISSION = vec3(0.0,0.0,1.0);
|
||||||
|
if( TIME < 1800.0 ) {
|
||||||
|
ALBEDO = texture(noise,UV + TIME / 5.0).rgb;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
ALBEDO = texture(noise,UV - TIME).rgb;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//void light() {
|
||||||
|
// // Called for every pixel for every light affecting the material.
|
||||||
|
// // Uncomment to replace the default light processing function with this one.
|
||||||
|
//}
|
||||||
1
Shaders/Fuse.gdshader.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://4m7bv5x2pfnr
|
||||||
15
Shaders/battery_button.gdshader
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
shader_type spatial;
|
||||||
|
|
||||||
|
void vertex() {
|
||||||
|
// Called for every vertex the material is visible on.
|
||||||
|
}
|
||||||
|
|
||||||
|
void fragment() {
|
||||||
|
ALBEDO = vec3(1.0,0.0,0.0);
|
||||||
|
EMISSION = vec3(1.0,0.0,0.0);
|
||||||
|
}
|
||||||
|
|
||||||
|
//void light() {
|
||||||
|
// // Called for every pixel for every light affecting the material.
|
||||||
|
// // Uncomment to replace the default light processing function with this one.
|
||||||
|
//}
|
||||||
1
Shaders/battery_button.gdshader.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://derm5u32om74e
|
||||||
17
Shaders/battery_glass.gdshader
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
shader_type spatial;
|
||||||
|
uniform sampler2D normal;
|
||||||
|
uniform sampler2D color;
|
||||||
|
void vertex() {
|
||||||
|
// Called for every vertex the material is visible on.
|
||||||
|
}
|
||||||
|
|
||||||
|
void fragment() {
|
||||||
|
ALBEDO = vec3(0.1,0.1,0.1);
|
||||||
|
NORMAL = texture(normal,UV).rgb;
|
||||||
|
ALPHA = 0.4;
|
||||||
|
}
|
||||||
|
|
||||||
|
//void light() {
|
||||||
|
// // Called for every pixel for every light affecting the material.
|
||||||
|
// // Uncomment to replace the default light processing function with this one.
|
||||||
|
//}
|
||||||
1
Shaders/battery_glass.gdshader.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://xn2eixgmefs8
|
||||||
17
Shaders/battery_handle.gdshader
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
shader_type spatial;
|
||||||
|
|
||||||
|
void vertex() {
|
||||||
|
// Called for every vertex the material is visible on.
|
||||||
|
}
|
||||||
|
|
||||||
|
void fragment() {
|
||||||
|
ALBEDO = vec3(0.5,0.5,0.5);
|
||||||
|
METALLIC = 1.0;
|
||||||
|
ROUGHNESS = 0.3;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//void light() {
|
||||||
|
// // Called for every pixel for every light affecting the material.
|
||||||
|
// // Uncomment to replace the default light processing function with this one.
|
||||||
|
//}
|
||||||
1
Shaders/battery_handle.gdshader.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://csc12sk3jp67
|
||||||
17
Shaders/road.gdshader
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
shader_type spatial;
|
||||||
|
|
||||||
|
void vertex() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void fragment() {
|
||||||
|
// Called for every pixel the material is visible on.
|
||||||
|
ALBEDO = vec3(0.3,0.3,0.3);
|
||||||
|
METALLIC = 1.0;
|
||||||
|
ROUGHNESS = 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
//void light() {
|
||||||
|
// // Called for every pixel for every light affecting the material.
|
||||||
|
// // Uncomment to replace the default light processing function with this one.
|
||||||
|
//}
|
||||||
1
Shaders/road.gdshader.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://c5e2qqpg6h4lw
|
||||||
9
Shaders/road.tres
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
[gd_resource type="VisualShader" format=3 uid="uid://b02412t58m7q4"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
code = "shader_type spatial;
|
||||||
|
render_mode blend_mix, depth_draw_opaque, cull_back, diffuse_lambert, specular_schlick_ggx;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
"
|
||||||