Props godet, make all LOD and update scene with this new object

This commit is contained in:
stilobique-i7
2021-05-24 23:31:33 +02:00
parent 05b9ef9443
commit 3da68d1af0
15 changed files with 2528 additions and 242 deletions
File diff suppressed because one or more lines are too long
Binary file not shown.
+10
View File
@@ -0,0 +1,10 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://assets/props/godet/sm_godet_lod1.mesh" type="ArrayMesh" id=1]
[node name="sm_godet" type="Spatial"]
[node name="sm_godet_lod1" type="MeshInstance" parent="."]
use_in_baked_light = true
mesh = ExtResource( 1 )
material/0 = null
File diff suppressed because one or more lines are too long
@@ -2,21 +2,21 @@
importer="scene" importer="scene"
type="PackedScene" type="PackedScene"
path="res://.import/godet.gltf-9f2acbe14a7dd350dc5e05f72994fb02.scn" path="res://.import/sm_godet_lod0.gltf-727376d6c673bb64dac97da7e428db66.scn"
[deps] [deps]
source_file="res://assets/props/godet/godet.gltf" source_file="res://assets/props/godet/sm_godet_lod0.gltf"
dest_files=[ "res://.import/godet.gltf-9f2acbe14a7dd350dc5e05f72994fb02.scn" ] dest_files=[ "res://.import/sm_godet_lod0.gltf-727376d6c673bb64dac97da7e428db66.scn" ]
[params] [params]
nodes/root_type="Spatial" nodes/root_type="ArrayMesh"
nodes/root_name="Scene Root" nodes/root_name="Scene Root"
nodes/root_scale=1.0 nodes/root_scale=1.0
nodes/custom_script="" nodes/custom_script=""
nodes/storage=0 nodes/storage=0
nodes/use_legacy_names=true nodes/use_legacy_names=false
materials/location=1 materials/location=1
materials/storage=0 materials/storage=0
materials/keep_on_reimport=false materials/keep_on_reimport=false
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
+13 -43
View File
@@ -2,10 +2,10 @@
[ext_resource path="res://assets/props/candle/sm_candle_top.mesh" type="ArrayMesh" id=1] [ext_resource path="res://assets/props/candle/sm_candle_top.mesh" type="ArrayMesh" id=1]
[ext_resource path="res://scenes/levels/warcraft/WarCraft.gd" type="Script" id=2] [ext_resource path="res://scenes/levels/warcraft/WarCraft.gd" type="Script" id=2]
[ext_resource path="res://assets/props/godet/sm_godet.mesh" type="ArrayMesh" id=3]
[ext_resource path="res://assets/props/candle/sm_candlestick.mesh" type="ArrayMesh" id=4] [ext_resource path="res://assets/props/candle/sm_candlestick.mesh" type="ArrayMesh" id=4]
[ext_resource path="res://assets/props/rock floor/materials/MA_rock_floor.material" type="Material" id=5] [ext_resource path="res://assets/props/rock floor/materials/MA_rock_floor.material" type="Material" id=5]
[ext_resource path="res://assets/props/stool b/sm_stool_b.mesh" type="ArrayMesh" id=6] [ext_resource path="res://assets/props/stool b/sm_stool_b.mesh" type="ArrayMesh" id=6]
[ext_resource path="res://assets/props/godet/sm_godet.tscn" type="PackedScene" id=7]
[ext_resource path="res://assets/materials/gray.tres" type="Material" id=8] [ext_resource path="res://assets/materials/gray.tres" type="Material" id=8]
[ext_resource path="res://assets/props/candle/sm_candle_b.mesh" type="ArrayMesh" id=9] [ext_resource path="res://assets/props/candle/sm_candle_b.mesh" type="ArrayMesh" id=9]
[ext_resource path="res://assets/props/growler/sm_growler.mesh" type="ArrayMesh" id=10] [ext_resource path="res://assets/props/growler/sm_growler.mesh" type="ArrayMesh" id=10]
@@ -327,23 +327,14 @@ use_in_baked_light = true
mesh = ExtResource( 10 ) mesh = ExtResource( 10 )
material/0 = null material/0 = null
[node name="sm_godet3" type="MeshInstance" parent="sm_table_right"] [node name="sm_godet" parent="sm_table_right" instance=ExtResource( 7 )]
transform = Transform( 0.869771, 0, 0.493456, 0, 1, 0, -0.493456, 0, 0.869771, 0.124432, 0.85553, -0.0287701 ) transform = Transform( 0.869771, 0, 0.493456, 0, 1, 0, -0.493456, 0, 0.869771, 0.124432, 0.85553, -0.0287701 )
use_in_baked_light = true
mesh = ExtResource( 3 )
material/0 = null
[node name="sm_godet4" type="MeshInstance" parent="sm_table_right"] [node name="sm_godet3" parent="sm_table_right" instance=ExtResource( 7 )]
transform = Transform( 0.979508, 0.200153, 0.0224678, -0.0198889, -0.0148863, 0.999692, 0.200426, -0.979652, -0.0106004, 0.511135, 0.919194, 0.249402 ) transform = Transform( 0.979508, 0.200153, 0.0224678, -0.0198889, -0.0148863, 0.999692, 0.200426, -0.979652, -0.0106004, 0.511135, 0.919194, 0.249402 )
use_in_baked_light = true
mesh = ExtResource( 3 )
material/0 = null
[node name="sm_godet2" type="MeshInstance" parent="sm_table_right"] [node name="sm_godet4" parent="sm_table_right" instance=ExtResource( 7 )]
transform = Transform( -0.236782, -0.0445638, 0.970541, -0.0267146, 0.998868, 0.039347, -0.971196, -0.0166109, -0.237705, 0.291596, 0.864092, -0.00375021 ) transform = Transform( -0.236782, -0.0445638, 0.970541, -0.0267146, 0.998868, 0.039347, -0.971196, -0.0166109, -0.237705, 0.291596, 0.864092, -0.00375021 )
use_in_baked_light = true
mesh = ExtResource( 3 )
material/0 = null
[node name="sm_table_left" parent="." instance=ExtResource( 18 )] [node name="sm_table_left" parent="." instance=ExtResource( 18 )]
transform = Transform( -0.958482, 0, -0.285153, 0, 1, 0, 0.285153, 0, -0.958482, -2.60247, 0.0491341, 2.15903 ) transform = Transform( -0.958482, 0, -0.285153, 0, 1, 0, 0.285153, 0, -0.958482, -2.60247, 0.0491341, 2.15903 )
@@ -354,17 +345,11 @@ use_in_baked_light = true
mesh = ExtResource( 10 ) mesh = ExtResource( 10 )
material/0 = null material/0 = null
[node name="sm_godet2" type="MeshInstance" parent="sm_table_left"] [node name="sm_godet" parent="sm_table_left" instance=ExtResource( 7 )]
transform = Transform( -0.958482, 0.0116327, 0.284916, 0, 0.999168, -0.0407945, -0.285153, -0.0391008, -0.957684, 0.0057888, 0.850618, 0.189056 ) transform = Transform( -0.958482, 0.0116327, 0.284916, 0, 0.999168, -0.0407945, -0.285153, -0.0391008, -0.957684, 0.00593543, 0.863228, 0.188563 )
use_in_baked_light = true
mesh = ExtResource( 3 )
material/0 = null
[node name="sm_godet3" type="MeshInstance" parent="sm_table_left"] [node name="sm_godet2" parent="sm_table_left" instance=ExtResource( 7 )]
transform = Transform( -0.958482, -0.0136413, 0.284827, 0, 0.998855, 0.0478387, -0.285153, 0.0458525, -0.957385, 0.102124, 0.837641, -0.25378 ) transform = Transform( -0.958482, -0.0136413, 0.284827, 0, 0.998855, 0.0478387, -0.285153, 0.0458525, -0.957385, 0.101907, 0.853583, -0.253049 )
use_in_baked_light = true
mesh = ExtResource( 3 )
material/0 = null
[node name="Main Scene Props" type="Spatial" parent="."] [node name="Main Scene Props" type="Spatial" parent="."]
@@ -448,35 +433,20 @@ transform = Transform( 0.5, 0, 0.866025, 0, 1, 0, -0.866025, 0, 0.5, 0.0106606,
[node name="sm_book" parent="Main Scene Props/sm_book3" instance=ExtResource( 46 )] [node name="sm_book" parent="Main Scene Props/sm_book3" instance=ExtResource( 46 )]
transform = Transform( 0.992026, 0, 0.592682, 0, 1.15559, 0, -0.592682, 0, 0.992026, -0.000832617, 0.0791223, -0.012241 ) transform = Transform( 0.992026, 0, 0.592682, 0, 1.15559, 0, -0.592682, 0, 0.992026, -0.000832617, 0.0791223, -0.012241 )
[node name="sm_godet2" type="MeshInstance" parent="Main Scene Props"] [node name="sm_godet" parent="Main Scene Props" instance=ExtResource( 7 )]
transform = Transform( 0.875311, 0.480987, 0.0498184, 0.0206958, 0.0656668, -0.997627, -0.483117, 0.874265, 0.0475244, -0.191043, 0.95253, 0.11484 ) transform = Transform( 0.875311, 0.480987, 0.0498184, 0.0206958, 0.0656668, -0.997627, -0.483117, 0.874265, 0.0475244, -0.191043, 0.95253, 0.11484 )
use_in_baked_light = true
mesh = ExtResource( 3 )
material/0 = null
[node name="sm_godet6" type="MeshInstance" parent="Main Scene Props"] [node name="sm_godet2" parent="Main Scene Props" instance=ExtResource( 7 )]
transform = Transform( 0.706057, 0, -0.708155, 0, 1, 0, 0.708155, 0, 0.706057, -0.112722, 0.901657, 0.00149509 ) transform = Transform( 0.706057, 0, -0.708155, 0, 1, 0, 0.708155, 0, 0.706057, -0.112722, 0.901657, 0.00149509 )
use_in_baked_light = true
mesh = ExtResource( 3 )
material/0 = null
[node name="sm_godet5" type="MeshInstance" parent="Main Scene Props"] [node name="sm_godet6" parent="Main Scene Props" instance=ExtResource( 7 )]
transform = Transform( 0.757895, 0, 0.652376, 0, 1, 0, -0.652376, 0, 0.757895, -0.28474, 0.905096, 0.78228 ) transform = Transform( 0.757895, 0, 0.652376, 0, 1, 0, -0.652376, 0, 0.757895, -0.28474, 0.905096, 0.78228 )
use_in_baked_light = true
mesh = ExtResource( 3 )
material/0 = null
[node name="sm_godet4" type="MeshInstance" parent="Main Scene Props"] [node name="sm_godet5" parent="Main Scene Props" instance=ExtResource( 7 )]
transform = Transform( 0.886172, -0.463214, 0.0114893, -0.0309068, -0.0343508, 0.998932, -0.462324, -0.885581, -0.0447572, -0.0861932, 0.982616, 0.742759 ) transform = Transform( 0.886172, -0.463214, 0.0114893, -0.0309068, -0.0343508, 0.998932, -0.462324, -0.885581, -0.0447572, -0.0861932, 0.982616, 0.742759 )
use_in_baked_light = true
mesh = ExtResource( 3 )
material/0 = null
[node name="sm_godet3" type="MeshInstance" parent="Main Scene Props"] [node name="sm_godet4" parent="Main Scene Props" instance=ExtResource( 7 )]
transform = Transform( 0.690251, 0, 0.72357, 0, 1, 0, -0.72357, 0, 0.690251, -0.333186, 0.901657, 0.177792 ) transform = Transform( 0.690251, 0, 0.72357, 0, 1, 0, -0.72357, 0, 0.690251, -0.333186, 0.901657, 0.177792 )
use_in_baked_light = true
mesh = ExtResource( 3 )
material/0 = null
[node name="sm_growler2" type="MeshInstance" parent="Main Scene Props"] [node name="sm_growler2" type="MeshInstance" parent="Main Scene Props"]
transform = Transform( 0.0876426, 0, -0.996152, 0, 1, 0, 0.996152, 0, 0.0876426, -0.316595, 0.905106, -0.0726386 ) transform = Transform( 0.0876426, 0, -0.996152, 0, 1, 0, 0.996152, 0, 0.0876426, -0.316595, 0.905106, -0.0726386 )