map rework

This commit is contained in:
dise 2024-02-26 17:49:09 +03:00
parent 0f0217713a
commit 981496275f
1 changed files with 104 additions and 29 deletions

View File

@ -1,6 +1,9 @@
[gd_scene load_steps=6 format=3 uid="uid://18evx7g8m824"]
[gd_scene load_steps=17 format=3 uid="uid://18evx7g8m824"]
[ext_resource type="Texture2D" uid="uid://c3av50dv5s2in" path="res://textures/texture_01.png" id="1_8ti66"]
[ext_resource type="PackedScene" uid="uid://833q6upr0s1k" path="res://scenes/special/spawnpoint.tscn" id="1_cgcr3"]
[ext_resource type="Texture2D" uid="uid://cs0ysba50acxp" path="res://textures/texture_04_2.png" id="2_0x222"]
[ext_resource type="Texture2D" uid="uid://csohimxn5k7s6" path="res://textures/texture_02_4.png" id="3_nb3k4"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_efxfa"]
@ -17,7 +20,32 @@ tonemap_mode = 3
tonemap_exposure = 0.95
tonemap_white = 4.37
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_8g7wu"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_g72ew"]
albedo_texture = ExtResource("1_8ti66")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_5ul34"]
albedo_texture = ExtResource("1_8ti66")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mo833"]
albedo_texture = ExtResource("2_0x222")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_gknsm"]
albedo_texture = ExtResource("1_8ti66")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_5fe7k"]
albedo_texture = ExtResource("2_0x222")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_nuewr"]
albedo_texture = ExtResource("3_nb3k4")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2igg8"]
albedo_texture = ExtResource("1_8ti66")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_dgv5c"]
albedo_texture = ExtResource("1_8ti66")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_82k5s"]
albedo_texture = ExtResource("2_0x222")
[node name="OffisMi" type="Node3D"]
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 26.508, 0, 0)
@ -30,51 +58,98 @@ 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(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)
transform = Transform3D(114.865, 0, 0, 0, 114.75, 0, 0, 0, 100, -94.7638, 29.0171, 49.6965)
size = Vector3(1.98291, 0.503906, 2.3484)
material = SubResource("StandardMaterial3D_g72ew")
[node name="street_sub" type="CSGBox3D" parent="CSGCombiner3D/street"]
transform = Transform3D(0.999999, 0, 0, 0, 1, 0, 0, 0, 1, 0.00775909, -0.0569553, 0.00497252)
material_override = SubResource("StandardMaterial3D_8g7wu")
transform = Transform3D(0.932139, 0, 0, 0, 0.990478, 0, 0, 0, 0.937784, 0.00422084, 0.148959, -0.000665724)
operation = 2
size = Vector3(1.11625, 11.6663, 1.15152)
size = Vector3(2.11789, 0.804687, 2.45102)
material = SubResource("StandardMaterial3D_5ul34")
[node name="rectangle" type="CSGPolygon3D" parent="CSGCombiner3D/street"]
transform = Transform3D(0.230574, 0, 0, 0, 0.0597226, 0, 0, 0, 0.0685314, 0.768884, -0.157425, 0.211728)
material = SubResource("StandardMaterial3D_mo833")
[node name="rectangle2" type="CSGPolygon3D" parent="CSGCombiner3D/street"]
transform = Transform3D(0.230574, 0, 0, 0, 0.0597226, 0, 0, 0, 0.0685315, 0.768884, -0.113228, 0.401006)
material = SubResource("StandardMaterial3D_mo833")
[node name="rectangle3" type="CSGPolygon3D" parent="CSGCombiner3D/street"]
transform = Transform3D(0.230574, 0, 0, 0, 0.0597226, 0, 0, 0, 0.0685315, 0.768884, -0.0713433, 0.591806)
material = SubResource("StandardMaterial3D_mo833")
[node name="rectangle4" type="CSGPolygon3D" parent="CSGCombiner3D/street"]
transform = Transform3D(0.230574, 0, 0, 0, 0.0597226, 0, 0, 0, 0.0685315, 0.768884, -0.0362043, 0.792436)
material = SubResource("StandardMaterial3D_mo833")
[node name="rectangle5" type="CSGPolygon3D" parent="CSGCombiner3D/street"]
transform = Transform3D(0.230574, 0, 0, 0, 0.0597226, 0, 0, 0, 0.236716, 0.768884, -0.00999936, 1.14895)
material = SubResource("StandardMaterial3D_mo833")
[node name="dais" type="CSGPolygon3D" parent="CSGCombiner3D/street"]
transform = Transform3D(0.0409573, 0, 0, 0, 0.0871463, 0, 0, 0, 0.1, 0.725809, -0.253949, 0.0644438)
polygon = PackedVector2Array(0, 0, 0, 1, 7, 1, 7, 0)
depth = 14.4
material = SubResource("StandardMaterial3D_gknsm")
[node name="ramp" type="CSGPolygon3D" parent="CSGCombiner3D/street"]
transform = Transform3D(0.0870587, 0, 0, 0, 0.084865, 0, 0, 0, 0.1, 0.638346, -0.252508, 0.064335)
polygon = PackedVector2Array(-1, 0, 1, 1, 1.27846, 0.0544852)
depth = 5.0
material = SubResource("StandardMaterial3D_5fe7k")
[node name="cylinder" type="CSGCylinder3D" parent="CSGCombiner3D/street"]
transform = Transform3D(0.123391, 0, 0, 0, 0.14237, 0, 0, 0, 0.138962, -0.0247507, -0.252259, -0.865729)
material = SubResource("StandardMaterial3D_nuewr")
[node name="cylinder2" type="CSGCylinder3D" parent="CSGCombiner3D/street"]
transform = Transform3D(0.123391, 0, 0, 0, 0.14237, 0, 0, 0, 0.138962, -0.0206293, -0.170675, -0.579647)
material = SubResource("StandardMaterial3D_nuewr")
[node name="cylinder3" type="CSGCylinder3D" parent="CSGCombiner3D/street"]
transform = Transform3D(0.123391, 0, 0, 0, 0.14237, 0, 0, 0, 0.138962, -0.0206293, -0.116729, -0.291069)
material = SubResource("StandardMaterial3D_nuewr")
[node name="cylinder4" type="CSGCylinder3D" parent="CSGCombiner3D/street"]
transform = Transform3D(0.222549, 0, 0, 0, 0.173733, 0, 0, 0, 0.244257, -0.0206293, -0.0843449, -0.00388241)
material = SubResource("StandardMaterial3D_nuewr")
[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)
[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)
transform = Transform3D(0.9, 0, 0, 0, 0.9, 0, 0, 0, 0.9, -0.0160205, 0, 0)
operation = 2
size = Vector3(2.0871, 0.503906, 1.4407)
size = Vector3(2.10019, 0.503906, 1.4407)
material = SubResource("StandardMaterial3D_2igg8")
[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)
[node name="door_center" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(10, 0, 0, 0, 10, 0, 0, 0, 10, 18.1119, 25.2616, 5.79655)
operation = 2
size = Vector3(1, 1.24609, 1.53955)
size = Vector3(1, 3.07569, 5)
material = SubResource("StandardMaterial3D_dgv5c")
[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(1, 3.05762, 5)
[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
[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)
[node name="ramp2" type="CSGPolygon3D" parent="CSGCombiner3D"]
transform = Transform3D(-10, 0, 1.01333e-06, 0, 9.31659, 0, -8.74228e-07, 0, -11.5912, 32.1621, 0.607408, -15.8906)
polygon = PackedVector2Array(-1, 0, 1, 1, 1.27846, 0.0544852)
depth = 3.72
material = SubResource("StandardMaterial3D_82k5s")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
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)
transform = Transform3D(-8.74228e-08, 0.845236, -1.81262, 0, 1.81262, 0.845236, 2, 3.69464e-08, -7.9232e-08, -150.131, 124.745, -6.56245e-06)
[node name="DirectionalLight3D2" type="DirectionalLight3D" parent="DirectionalLight3D"]
transform = Transform3D(-0.974707, 1.21025e-08, -0.223488, 4.34577e-09, 1, 5.54761e-08, 0.223488, 5.96046e-08, -0.974707, 53.6944, 48.8626, -146.432)
[node name="DirectionalLight3D3" type="DirectionalLight3D" parent="DirectionalLight3D"]
transform = Transform3D(0.925554, -2.03326e-09, 0.378616, 2.1968e-09, 1, 6.99426e-09, -0.378616, -6.51286e-16, 0.925554, 31.1673, 0, 0)
[node name="spawnpoint" parent="." instance=ExtResource("1_cgcr3")]
transform = Transform3D(4, 0, 0, 0, 4, 0, 0, 0, 4, -16.854, 0.629008, 2.82309)
transform = Transform3D(2.31248, 0, 0, 0, 3.73308, 0, 0, 0, 3.56885, 0.708866, 2.06979, 7.38256)
team = 1
[node name="spawnpoint2" parent="." instance=ExtResource("1_cgcr3")]
transform = Transform3D(4, 0, 0, 0, 4, 0, 0, 0, 4, 23.9201, 0.425767, -1.07893)
transform = Transform3D(2.31133, 0, 0, 0, 4, 0, 0, 0, 4, 1.49121, 1.52818, -9.84145)