Add table

This commit is contained in:
Sofia 2024-08-18 21:35:08 +03:00
parent c584dd1f92
commit 8b00b5aae4
11 changed files with 115 additions and 9 deletions

BIN
models/blueprint.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://hpaqpdc1hfm8"
path.s3tc="res://.godot/imported/blueprint.png-0781e2e88ef02c1bb57d3f041984b57e.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://models/blueprint.png"
dest_files=["res://.godot/imported/blueprint.png-0781e2e88ef02c1bb57d3f041984b57e.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
models/bp_uv.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

34
models/bp_uv.png.import Normal file
View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://csvovetdpbr4l"
path="res://.godot/imported/bp_uv.png-cce68b65f268b94ba56c1d10c6ac6633.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://models/bp_uv.png"
dest_files=["res://.godot/imported/bp_uv.png-cce68b65f268b94ba56c1d10c6ac6633.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=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=1

BIN
models/table.blend Normal file

Binary file not shown.

BIN
models/table.blend1 Normal file

Binary file not shown.

BIN
models/table.fbx Normal file

Binary file not shown.

37
models/table.fbx.import Normal file
View File

@ -0,0 +1,37 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://diwlyi146eroa"
path="res://.godot/imported/table.fbx-415aca57b7dfeb0f13560cf5d938d1b3.scn"
[deps]
source_file="res://models/table.fbx"
dest_files=["res://.godot/imported/table.fbx-415aca57b7dfeb0f13560cf5d938d1b3.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=true
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
fbx/importer=0
fbx/allow_geometry_helper_nodes=false
fbx/embedded_image_handling=1

Binary file not shown.

View File

@ -28,6 +28,10 @@ project/assembly_name="gmtk24"
enabled=PackedStringArray("res://addons/func_godot/plugin.cfg") enabled=PackedStringArray("res://addons/func_godot/plugin.cfg")
[filesystem]
import/blender/enabled=false
[importer_defaults] [importer_defaults]
texture={ texture={

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=113 format=4 uid="uid://8po7ftboqq4k"] [gd_scene load_steps=112 format=4 uid="uid://8po7ftboqq4k"]
[ext_resource type="CameraAttributesPhysical" uid="uid://cxyj2tvfksjl6" path="res://scenes/hazy_env_camera_attrs.tres" id="1_r2j1d"] [ext_resource type="CameraAttributesPhysical" uid="uid://cxyj2tvfksjl6" path="res://scenes/hazy_env_camera_attrs.tres" id="1_r2j1d"]
[ext_resource type="LightmapGIData" uid="uid://bp05p4yab2ukx" path="res://scenes/demo/demo.lmbake" id="2_2ehlo"] [ext_resource type="LightmapGIData" uid="uid://bp05p4yab2ukx" path="res://scenes/demo/demo.lmbake" id="2_2ehlo"]
@ -8,10 +8,9 @@
[ext_resource type="Material" uid="uid://cobb5bm4y7nk7" path="res://textures/steel.tres" id="6_gip8a"] [ext_resource type="Material" uid="uid://cobb5bm4y7nk7" path="res://textures/steel.tres" id="6_gip8a"]
[ext_resource type="Material" uid="uid://bpikku6t3gxi5" path="res://textures/white.tres" id="7_70h1h"] [ext_resource type="Material" uid="uid://bpikku6t3gxi5" path="res://textures/white.tres" id="7_70h1h"]
[ext_resource type="Material" uid="uid://dgf570wtqn17j" path="res://textures/steel_fence.tres" id="8_dovc4"] [ext_resource type="Material" uid="uid://dgf570wtqn17j" path="res://textures/steel_fence.tres" id="8_dovc4"]
[ext_resource type="Script" path="res://scripts/BuildingBlockCreator.cs" id="9_3oghc"]
[ext_resource type="PackedScene" uid="uid://wjbuh7jk50nm" path="res://scenes/player.tscn" id="10_3xiy2"] [ext_resource type="PackedScene" uid="uid://wjbuh7jk50nm" path="res://scenes/player.tscn" id="10_3xiy2"]
[ext_resource type="PackedScene" uid="uid://c670g1qg5gaug" path="res://scenes/interface/pause_menu.tscn" id="11_lav3p"] [ext_resource type="PackedScene" uid="uid://c670g1qg5gaug" path="res://scenes/interface/pause_menu.tscn" id="11_lav3p"]
[ext_resource type="Material" uid="uid://bq5oqyuwekryv" path="res://textures/building_block.tres" id="11_riqpg"] [ext_resource type="PackedScene" uid="uid://diwlyi146eroa" path="res://models/table.fbx" id="11_mit2f"]
[sub_resource type="ArrayMesh" id="ArrayMesh_kaiip"] [sub_resource type="ArrayMesh" id="ArrayMesh_kaiip"]
lightmap_size_hint = Vector2i(1030, 566) lightmap_size_hint = Vector2i(1030, 566)
@ -1021,12 +1020,6 @@ shape = SubResource("ConvexPolygonShape3D_ldbum")
[node name="entity_17_brush_6_collision_shape" type="CollisionShape3D" parent="FuncGodotMap/entity_17_func_buildingblock"] [node name="entity_17_brush_6_collision_shape" type="CollisionShape3D" parent="FuncGodotMap/entity_17_func_buildingblock"]
shape = SubResource("ConvexPolygonShape3D_i1n6v") shape = SubResource("ConvexPolygonShape3D_i1n6v")
[node name="BuildingBlockCreator" type="Node3D" parent="." node_paths=PackedStringArray("TrenchbroomMap")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, -7.84902)
script = ExtResource("9_3oghc")
TrenchbroomMap = NodePath("../FuncGodotMap")
BuildingBlockMaterial = ExtResource("11_riqpg")
[node name="ReflectionProbes" type="Node3D" parent="."] [node name="ReflectionProbes" type="Node3D" parent="."]
[node name="ReflectionProbe" type="ReflectionProbe" parent="ReflectionProbes"] [node name="ReflectionProbe" type="ReflectionProbe" parent="ReflectionProbes"]
@ -1060,3 +1053,6 @@ size = Vector3(43.3174, 26.5295, 43.4319)
[node name="Player" parent="." instance=ExtResource("10_3xiy2")] [node name="Player" parent="." instance=ExtResource("10_3xiy2")]
[node name="PauseMenu" parent="." instance=ExtResource("11_lav3p")] [node name="PauseMenu" parent="." instance=ExtResource("11_lav3p")]
[node name="table" parent="." instance=ExtResource("11_mit2f")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.73135, 0, 1.00218)