diff --git a/scenes/maps/OffisMi.tscn b/scenes/maps/OffisMi.tscn index 7d85098..4170f36 100644 --- a/scenes/maps/OffisMi.tscn +++ b/scenes/maps/OffisMi.tscn @@ -1,19 +1,6 @@ -[gd_scene load_steps=10 format=3 uid="uid://18evx7g8m824"] +[gd_scene load_steps=6 format=3 uid="uid://18evx7g8m824"] [ext_resource type="PackedScene" uid="uid://833q6upr0s1k" path="res://scenes/special/spawnpoint.tscn" id="1_cgcr3"] -[ext_resource type="Texture2D" uid="uid://c88oa7ckhmvoh" path="res://textures/prototype-textures/Prototype_grey_32x32px.png" id="1_nwbha"] -[ext_resource type="Material" uid="uid://ce3nlcqhn1a1u" path="res://textures/materials/red.material" id="2_vpguy"] -[ext_resource type="Texture2D" uid="uid://ck67mpfdplgo8" path="res://textures/prototype-textures/Prototype_orange_ochre_32x32px.png" id="3_q4doe"] - -[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rbwrc"] -albedo_texture = ExtResource("1_nwbha") -uv1_scale = Vector3(0.1, 0.1, 0.1) -uv1_triplanar = true - -[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_xwpjv"] -albedo_texture = ExtResource("3_q4doe") -uv1_scale = Vector3(0.1, 0.1, 0.1) -uv1_triplanar = true [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_efxfa"] @@ -23,216 +10,71 @@ sky_material = SubResource("ProceduralSkyMaterial_efxfa") [sub_resource type="Environment" id="Environment_n1nic"] background_mode = 2 sky = SubResource("Sky_e5cvk") -ambient_light_source = 3 -ambient_light_color = Color(0.0666667, 0.0235294, 0.129412, 1) +ambient_light_source = 1 +ambient_light_color = Color(0.133333, 0.0666667, 0.231373, 1) ambient_light_energy = 8.35 -reflected_light_source = 2 tonemap_mode = 3 tonemap_exposure = 0.95 tonemap_white = 4.37 -[node name="test_polygon" type="Node3D"] +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_8g7wu"] + +[node name="OffisMi" type="Node3D"] transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 26.508, 0, 0) +[node name="WorldEnvironment" type="WorldEnvironment" parent="."] +environment = SubResource("Environment_n1nic") + [node name="CSGCombiner3D" type="CSGCombiner3D" parent="."] transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0, 0, 0) use_collision = true [node name="street" type="CSGBox3D" parent="CSGCombiner3D"] -transform = Transform3D(200, 0, 0, 0, 300, 0, 0, 0, 200, -244.068, 66.1137, -14.1194) -size = Vector3(1.98291, 0.503906, 2.3484) -material = SubResource("StandardMaterial3D_rbwrc") +transform = Transform3D(159.419, 0, 0, 0, 5.00683, 0, 0, 0, 185.961, -71.3788, 32.6358, -34.6318) +material_override = SubResource("StandardMaterial3D_8g7wu") +size = Vector3(1.13598, 13, 1.19824) [node name="street_sub" type="CSGBox3D" parent="CSGCombiner3D/street"] -transform = Transform3D(0.93, 0, 0, 0, 0.99, 0, 0, 0, 0.94, 0.00422084, 0.148959, -0.000665724) +transform = Transform3D(0.999999, 0, 0, 0, 1, 0, 0, 0, 1, 0.00775909, -0.0569553, 0.00497252) +material_override = SubResource("StandardMaterial3D_8g7wu") operation = 2 -size = Vector3(2.11789, 0.804687, 2.45102) -material = ExtResource("2_vpguy") +size = Vector3(1.11625, 11.6663, 1.15152) -[node name="box[os]" type="CSGBox3D" parent="CSGCombiner3D/street"] -transform = Transform3D(0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0.622217, -0.199541, -1.00318) -size = Vector3(1.50629, 1.00721, 1.50778) -material = SubResource("StandardMaterial3D_xwpjv") - -[node name="box2" type="CSGBox3D" parent="CSGCombiner3D/street/box[os]"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.232529, -0.164506, 1.25757) -size = Vector3(1.04123, 0.678194, 1.08446) -material = SubResource("StandardMaterial3D_xwpjv") - -[node name="box3" type="CSGBox3D" parent="CSGCombiner3D/street/box[os]"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.194044, 4.71815) -size = Vector3(1.50629, 1.3953, 1.50778) -material = SubResource("StandardMaterial3D_xwpjv") - -[node name="box4" type="CSGBox3D" parent="CSGCombiner3D/street/box[os]"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 4.14056) -size = Vector3(1.50629, 1.00721, 1.50778) -material = SubResource("StandardMaterial3D_xwpjv") - -[node name="box5" type="CSGBox3D" parent="CSGCombiner3D/street/box[os]"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.971855, -0.164506, 3.93179) -size = Vector3(1.04123, 0.678194, 1.08446) -material = SubResource("StandardMaterial3D_xwpjv") - -[node name="box6" type="CSGBox3D" parent="CSGCombiner3D/street/box[os]"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0472702, 7.8889) -size = Vector3(1.50629, 1.10175, 1.50778) -material = SubResource("StandardMaterial3D_xwpjv") - -[node name="box7" type="CSGBox3D" parent="CSGCombiner3D/street/box[os]/box6"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.04727, 1.09568) -size = Vector3(1.50629, 1.00721, 1.50778) -material = SubResource("StandardMaterial3D_xwpjv") - -[node name="box8" type="CSGBox3D" parent="CSGCombiner3D/street/box[os]/box6/box7"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.212309, -0.164506, 1.08915) -size = Vector3(1.04123, 0.678194, 1.08446) -material = SubResource("StandardMaterial3D_xwpjv") - -[node name="box[cs]" type="CSGBox3D" parent="CSGCombiner3D/street"] -transform = Transform3D(-0.1, 0, 8.74228e-09, 0, 0.1, 0, -8.74228e-09, 0, -0.1, -0.60374, -0.199541, 1.00616) -size = Vector3(1.50629, 1.00721, 1.50778) -material = SubResource("StandardMaterial3D_xwpjv") - -[node name="box2" type="CSGBox3D" parent="CSGCombiner3D/street/box[cs]"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.232529, -0.164506, 1.25757) -size = Vector3(1.04123, 0.678194, 1.08446) -material = SubResource("StandardMaterial3D_xwpjv") - -[node name="box3" type="CSGBox3D" parent="CSGCombiner3D/street/box[cs]"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.194044, 4.71815) -size = Vector3(1.50629, 1.3953, 1.50778) -material = SubResource("StandardMaterial3D_xwpjv") - -[node name="box4" type="CSGBox3D" parent="CSGCombiner3D/street/box[cs]"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 4.14056) -size = Vector3(1.50629, 1.00721, 1.50778) -material = SubResource("StandardMaterial3D_xwpjv") - -[node name="box5" type="CSGBox3D" parent="CSGCombiner3D/street/box[cs]"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.971855, -0.164506, 3.93179) -size = Vector3(1.04123, 0.678194, 1.08446) -material = SubResource("StandardMaterial3D_xwpjv") - -[node name="box6" type="CSGBox3D" parent="CSGCombiner3D/street/box[cs]"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0472702, 7.8889) -size = Vector3(1.50629, 1.10175, 1.50778) -material = SubResource("StandardMaterial3D_xwpjv") - -[node name="box7" type="CSGBox3D" parent="CSGCombiner3D/street/box[cs]/box6"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.04727, 1.09568) -size = Vector3(1.50629, 1.00721, 1.50778) -material = SubResource("StandardMaterial3D_xwpjv") - -[node name="box8" type="CSGBox3D" parent="CSGCombiner3D/street/box[cs]/box6"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.212309, -0.211776, 2.18483) -size = Vector3(1.04123, 0.678194, 1.08446) -material = SubResource("StandardMaterial3D_xwpjv") - -[node name="house[cs]" type="CSGBox3D" parent="CSGCombiner3D"] -transform = Transform3D(40, 0, 0, 0, 80, 0, 0, 0, 80, -400.068, 11.6565, -186.564) +[node name="indoors" type="CSGBox3D" parent="CSGCombiner3D"] +transform = Transform3D(100, 0, 0, 0, 100, 0, 0, 0, 100, 118.286, 24.8046, 4.05123) size = Vector3(1.98291, 0.503906, 1.4407) -material = SubResource("StandardMaterial3D_xwpjv") -[node name="house_sub" type="CSGBox3D" parent="CSGCombiner3D/house[cs]"] -transform = Transform3D(0.92, 0, 0, 0, 0.9, 0, 0, 0, 0.96, -0.0160205, 0, 0) +[node name="indoors_sub" type="CSGBox3D" parent="CSGCombiner3D/indoors"] +transform = Transform3D(0.9, 0, 0, 0, 0.9, 0, 0, 0, 0.9, -0.0101299, 0, 0) operation = 2 -size = Vector3(2.10019, 0.503906, 1.4407) -material = SubResource("StandardMaterial3D_xwpjv") +size = Vector3(2.0871, 0.503906, 1.4407) -[node name="door_house" type="CSGBox3D" parent="CSGCombiner3D/house[cs]"] -transform = Transform3D(0.503765, 0, 0, 0, 0.134818, 0, 0, 0, 0.0118971, -0.0536485, -0.00606109, 0.696579) +[node name="door_left" type="CSGBox3D" parent="CSGCombiner3D"] +transform = Transform3D(10, 0, 0, 0, 19.5, 0, 0, 0, 10, 21.5201, 22.7882, -43.9167) operation = 2 -size = Vector3(1, 2.81519, 5) -material = SubResource("StandardMaterial3D_xwpjv") +size = Vector3(1, 1.24609, 1.53955) -[node name="roof_porch" type="CSGPolygon3D" parent="CSGCombiner3D/house[cs]"] -transform = Transform3D(-2.02415e-08, 0, 0.397644, 0, 0.318244, 0, -0.463072, 0, -1.73816e-08, 0.992785, 0.246994, 0.666835) -polygon = PackedVector2Array(-1, 0, 1.17256, 0.871638, 1.17423, 0.0159316) -depth = 5.0 -material = SubResource("StandardMaterial3D_rbwrc") - -[node name="porch" type="CSGPolygon3D" parent="CSGCombiner3D/house[cs]"] -transform = Transform3D(0.277503, 0, 0, 0, 0.04, 0, 0, 0, 0.028, -0.98546, -0.257268, 1.11665) -polygon = PackedVector2Array(0, 0, 0, 1, 7, 1, 7, 0) -depth = 14.4 -material = SubResource("StandardMaterial3D_xwpjv") - -[node name="dais" type="CSGPolygon3D" parent="CSGCombiner3D/house[cs]"] -transform = Transform3D(0.025, 0, 0, 0, 0.625, 0, 0, 0, 0.00625, 0.794181, -0.372653, 1.12114) -polygon = PackedVector2Array(0, 0, 0, 1, 7, 1, 7, 0) -depth = 14.4 -material = SubResource("StandardMaterial3D_rbwrc") - -[node name="dais2" type="CSGPolygon3D" parent="CSGCombiner3D/house[cs]"] -transform = Transform3D(0.025, 0, 0, 0, 0.625, 0, 0, 0, 0.00625, -0.985529, -0.372653, 1.12114) -polygon = PackedVector2Array(0, 0, 0, 1, 7, 1, 7, 0) -depth = 14.4 -material = SubResource("StandardMaterial3D_rbwrc") - -[node name="roof" type="CSGBox3D" parent="CSGCombiner3D/house[cs]"] -transform = Transform3D(-0.5, 0, 4.37114e-08, 0, 0.375, 0, -2.18557e-08, 0, -0.25, -0.00909543, 0.640003, -0.303319) -size = Vector3(3.99767, 2.05802, 3.42455) -material = SubResource("StandardMaterial3D_rbwrc") - -[node name="house[os]" type="CSGBox3D" parent="CSGCombiner3D"] -transform = Transform3D(-40, 0, -3.8147e-06, 0, 80, 0, 1.90735e-06, 0, -80, -85.6572, 11.8334, 157.291) -size = Vector3(1.98291, 0.503906, 1.4407) -material = SubResource("StandardMaterial3D_xwpjv") - -[node name="house_sub" type="CSGBox3D" parent="CSGCombiner3D/house[os]"] -transform = Transform3D(0.92, 0, 0, 0, 0.9, 0, 0, 0, 0.96, -0.0160203, 0, 0) +[node name="door_right" type="CSGBox3D" parent="CSGCombiner3D"] +transform = Transform3D(10, 0, 0, 0, 10, 0, 0, 0, 10, 21.0247, 25.3519, 33.9889) operation = 2 -size = Vector3(2.10019, 0.503906, 1.4407) -material = SubResource("StandardMaterial3D_xwpjv") +size = Vector3(1, 3.05762, 5) -[node name="door_house" type="CSGBox3D" parent="CSGCombiner3D/house[os]"] -transform = Transform3D(0.503765, 0, 0, 0, 0.134818, 0, 0, 0, 0.0118971, -0.0536485, -0.00606109, 0.696579) -operation = 2 -size = Vector3(1, 2.81519, 5) -material = SubResource("StandardMaterial3D_xwpjv") - -[node name="roof_porch" type="CSGPolygon3D" parent="CSGCombiner3D/house[os]"] -transform = Transform3D(-2.02415e-08, 0, 0.397644, 0, 0.318244, 0, -0.463072, 0, -1.73816e-08, 0.992785, 0.246994, 0.666835) -polygon = PackedVector2Array(-1, 0, 1.17256, 0.871638, 1.17423, 0.0159316) -depth = 5.0 -material = SubResource("StandardMaterial3D_rbwrc") - -[node name="porch" type="CSGPolygon3D" parent="CSGCombiner3D/house[os]"] -transform = Transform3D(0.277503, 0, 0, 0, 0.04, 0, 0, 0, 0.028, -0.98546, -0.257268, 1.11665) +[node name="dais" type="CSGPolygon3D" parent="CSGCombiner3D"] +transform = Transform3D(10, 0, 0, 0, 10, 0, 0, 0, 10, -10, 0.587306, 76.1409) polygon = PackedVector2Array(0, 0, 0, 1, 7, 1, 7, 0) depth = 14.4 -material = SubResource("StandardMaterial3D_xwpjv") -[node name="pillar1" type="CSGPolygon3D" parent="CSGCombiner3D/house[os]"] -transform = Transform3D(0.025, 0, 0, 0, 0.625, 0, 0, 0, 0.00625, 0.794181, -0.372653, 1.12114) -polygon = PackedVector2Array(0, 0, 0, 1, 7, 1, 7, 0) -depth = 14.4 -material = SubResource("StandardMaterial3D_rbwrc") - -[node name="pillar2" type="CSGPolygon3D" parent="CSGCombiner3D/house[os]"] -transform = Transform3D(0.025, 0, 0, 0, 0.625, 0, 0, 0, 0.00625, -0.985529, -0.372653, 1.12114) -polygon = PackedVector2Array(0, 0, 0, 1, 7, 1, 7, 0) -depth = 14.4 -material = SubResource("StandardMaterial3D_rbwrc") - -[node name="roof" type="CSGBox3D" parent="CSGCombiner3D/house[os]"] -transform = Transform3D(-0.5, 0, 4.37114e-08, 0, 0.375, 0, -2.18557e-08, 0, -0.25, -0.00909567, 0.638935, -0.303319) -size = Vector3(3.99767, 2.05802, 3.42455) -material = SubResource("StandardMaterial3D_rbwrc") +[node name="ramp" type="CSGPolygon3D" parent="CSGCombiner3D"] +transform = Transform3D(10, 0, 0, 0, 10, 0, 0, 0, 10, -20, 0.559414, -30.6844) +polygon = PackedVector2Array(-1, 0, 1, 1, 1, 0) +depth = 3.72 [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."] -transform = Transform3D(-4.6386e-08, 1.9128, -0.584111, 5.68374e-08, 0.584111, 1.9128, 2, 2.77639e-08, -6.79067e-08, -44.6165, 124.745, -6.56245e-06) -light_angular_distance = 11.76 -shadow_enabled = true -shadow_bias = 0.665 +transform = Transform3D(-4.37114e-08, 0.422618, -0.906308, 0, 0.906308, 0.422618, 1, 1.84732e-08, -3.9616e-08, -68.4262, 84.9077, -2.99101e-06) [node name="spawnpoint" parent="." instance=ExtResource("1_cgcr3")] -transform = Transform3D(2.31248, 0, 0, 0, 3.73308, 0, 0, 0, 3.56885, -16.2815, -1.47684, -44.2) +transform = Transform3D(4, 0, 0, 0, 4, 0, 0, 0, 4, -16.854, 0.629008, 2.82309) team = 1 [node name="spawnpoint2" parent="." instance=ExtResource("1_cgcr3")] -transform = Transform3D(2.31133, 0, 0, 0, 4, 0, 0, 0, 4, -35.693, 12.3245, -9.84145) - -[node name="WorldEnvironment" type="WorldEnvironment" parent="."] -environment = SubResource("Environment_n1nic") +transform = Transform3D(4, 0, 0, 0, 4, 0, 0, 0, 4, 23.9201, 0.425767, -1.07893)