diff --git a/scenes/levels/WarCraft.tscn b/scenes/levels/WarCraft.tscn index 73dd80d..cc86bfd 100644 --- a/scenes/levels/WarCraft.tscn +++ b/scenes/levels/WarCraft.tscn @@ -4,7 +4,6 @@ [ext_resource path="res://assets/props/table/table.gltf" type="PackedScene" id=2] [ext_resource path="res://assets/props/stool b/stool b.gltf" type="PackedScene" id=3] [ext_resource path="res://assets/hdri/tx_night_place.hdr" type="Texture" id=4] -[ext_resource path="res://assets/props/book/book.gltf" type="PackedScene" id=5] [ext_resource path="res://scenes/levels/WarCraft.gd" type="Script" id=6] [ext_resource path="res://assets/props/dagger/dagger.mesh" type="ArrayMesh" id=7] [ext_resource path="res://assets/props/growler/growler.gltf" type="PackedScene" id=8] @@ -16,6 +15,7 @@ [ext_resource path="res://assets/props/candle/candle top.gltf" type="PackedScene" id=14] [ext_resource path="res://assets/props/candle/candle d.gltf" type="PackedScene" id=15] [ext_resource path="res://assets/props/candle/candle b.gltf" type="PackedScene" id=16] +[ext_resource path="res://assets/props/book/Book.mesh" type="ArrayMesh" id=17] [sub_resource type="CubeMesh" id=1] @@ -124,22 +124,31 @@ transform = Transform( -0.958482, 0.0116327, 0.284916, 0, 0.999168, -0.0407945, [node name="Main Scene Props" type="Spatial" parent="."] -[node name="book3" parent="Main Scene Props" instance=ExtResource( 5 )] +[node name="Book" type="MeshInstance" parent="Main Scene Props"] transform = Transform( 0.259561, 0, 0.965727, 0.0582327, 0.99818, -0.0156514, -0.963969, 0.0602995, 0.259089, 0.13025, 0.92072, -0.458817 ) +use_in_baked_light = true +mesh = ExtResource( 17 ) +material/0 = null -[node name="book4" parent="Main Scene Props/book3" instance=ExtResource( 5 )] -transform = Transform( 0.0229642, -0.00339183, -0.999731, 0.0393653, 0.999223, -0.00248598, 0.998961, -0.0392976, 0.0230802, 0.00279957, 0.066205, -0.000443451 ) +[node name="Book" type="MeshInstance" parent="Main Scene Props/Book"] +transform = Transform( 0.0229641, -0.00339183, -0.999731, 0.0393653, 0.999223, -0.00248598, 0.998961, -0.0392976, 0.0230803, 0.00279957, 0.066205, -0.000443451 ) +use_in_baked_light = true +mesh = ExtResource( 17 ) +material/0 = null -[node name="book5" parent="Main Scene Props/book3/book4" instance=ExtResource( 5 )] -transform = Transform( 0.86032, -0.0497817, -0.507318, 0.0471006, 0.998725, -0.0181282, 0.507573, -0.00829894, 0.861568, 0.00110053, 0.0706179, -0.00503531 ) +[node name="Book2" type="MeshInstance" parent="Main Scene Props/Book/Book"] +transform = Transform( 0.86032, -0.0497817, -0.507318, 0.0471006, 0.998725, -0.0181282, 0.507573, -0.00829895, 0.861568, 0.00110056, 0.070618, -0.00503534 ) +use_in_baked_light = true +mesh = ExtResource( 17 ) +material/0 = null -[node name="candlestick" parent="Main Scene Props/book3/book4/book5" instance=ExtResource( 10 )] -transform = Transform( 1.0529, 0.0554018, 1.03432, -0.125744, 1.4708, 0.049222, -1.02814, -0.123146, 1.05321, 0.0432135, 0.0688529, -0.083811 ) +[node name="candlestick" parent="Main Scene Props/Book/Book/Book2" instance=ExtResource( 10 )] +transform = Transform( 1.0543, -0.0109484, 1.03432, -0.0329634, 1.4758, 0.0492217, -1.03385, -0.0582193, 1.05321, 0.0299356, 0.0326172, -0.0690778 ) -[node name="candle top" parent="Main Scene Props/book3/book4/book5/candlestick" instance=ExtResource( 14 )] +[node name="candle top" parent="Main Scene Props/Book/Book/Book2/candlestick" instance=ExtResource( 14 )] transform = Transform( 1.16981, 0, 0, 0, 1.63542, 0, 0, 0, 1.16981, 0, 0.125719, 0 ) -[node name="OmniLight" type="OmniLight" parent="Main Scene Props/book3/book4/book5/candlestick/candle top"] +[node name="OmniLight" type="OmniLight" parent="Main Scene Props/Book/Book/Book2/candlestick/candle top"] transform = Transform( 0.578774, 2.62765e-08, 7.00709e-08, -1.41016e-14, 0.413994, -1.0233e-07, -1.13687e-13, 1.06581e-14, 0.578773, 0, 0.0874847, 0 ) light_color = Color( 0.960784, 0.611765, 0.00784314, 1 ) light_energy = 2.0 @@ -148,6 +157,11 @@ omni_range = 0.6 [node name="table" parent="Main Scene Props" instance=ExtResource( 2 )] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.082685, 0.0325576, 0.290515 ) +[node name="dagger" type="MeshInstance" parent="Main Scene Props"] +transform = Transform( -0.242904, -0.97005, -4.24022e-08, 0, -4.37114e-08, 1, -0.97005, 0.242904, 1.06177e-08, 0.441892, 0.938817, 0.531178 ) +mesh = ExtResource( 7 ) +material/0 = null + [node name="stool b" parent="Main Scene Props" instance=ExtResource( 3 )] transform = Transform( -0.232037, 0, -0.972707, 0, 1, 0, 0.972707, 0, -0.232037, -2.91873, 0.0130518, 0.702275 ) @@ -163,14 +177,23 @@ transform = Transform( 0.892389, 0, -0.451267, 0, 1, 0, 0.451267, 0, 0.892389, 1 [node name="stool b3" parent="Main Scene Props" instance=ExtResource( 3 )] transform = Transform( 0.839193, 0, 0.543834, 0, 1, 0, -0.543834, 0, 0.839193, 0.474083, 0.013052, -1.39025 ) -[node name="book" parent="Main Scene Props" instance=ExtResource( 5 )] -transform = Transform( 0.5, 0, 0.866025, 0, 1, 0, -0.866025, 0, 0.5, 0, 0.923053, 1 ) +[node name="Book3" type="MeshInstance" parent="Main Scene Props"] +transform = Transform( 0.5, 0, 0.866025, 0, 1, 0, -0.866025, 0, 0.5, 0.0106606, 0.961322, 0.981535 ) +use_in_baked_light = true +mesh = ExtResource( 17 ) +material/0 = null -[node name="book2" parent="Main Scene Props/book" instance=ExtResource( 5 )] -transform = Transform( 0.992026, 0, 0.592682, 0, 1.15559, 0, -0.592682, 0, 0.992026, 0, 0.075138, 0 ) +[node name="Book" type="MeshInstance" parent="Main Scene Props/Book3"] +transform = Transform( 0.992026, 0, 0.592682, 0, 1.15559, 0, -0.592682, 0, 0.992026, -0.000832438, 0.0791223, -0.012241 ) +use_in_baked_light = true +mesh = ExtResource( 17 ) +material/0 = null -[node name="book4" parent="Main Scene Props" instance=ExtResource( 5 )] -transform = Transform( 0.121753, 0.000848586, -0.99256, -0.0631162, 0.997982, -0.00688895, 0.990551, 0.0634853, 0.121561, 0.491102, 0.902354, -0.103352 ) +[node name="Book2" type="MeshInstance" parent="Main Scene Props"] +transform = Transform( 0.122577, 0.0288089, -0.992041, -0.0361233, 0.999045, 0.0245489, 0.991801, 0.0328267, 0.1235, 0.493033, 0.936805, -0.0856308 ) +use_in_baked_light = true +mesh = ExtResource( 17 ) +material/0 = null [node name="godet" parent="Main Scene Props" instance=ExtResource( 9 )] transform = Transform( 0.706057, 0, -0.708155, 0, 1, 0, 0.708155, 0, 0.706057, -0.112722, 0.901657, 0.00149509 ) @@ -250,7 +273,5 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 0, 0 ) interior = true data = SubResource( 4 ) -[node name="dagger" type="MeshInstance" parent="."] -transform = Transform( -0.242904, -0.97005, -4.24022e-08, 0, -4.37114e-08, 1, -0.97005, 0.242904, 1.06177e-08, 0.441892, 0.938817, 0.531178 ) -mesh = ExtResource( 7 ) -material/0 = null +[node name="BakedLightmap" type="BakedLightmap" parent="Lighting"] +environment_mode = 1