bugged-racing/scenes/scarab_track_level.tscn

211 lines
66 KiB
Plaintext
Raw Normal View History

2021-11-21 22:08:52 +00:00
[gd_scene load_steps=12 format=2]
[ext_resource path="res://assets/dirttrack.png" type="Texture" id=1]
[ext_resource path="res://scenes/base_track_level.tscn" type="PackedScene" id=2]
[sub_resource type="PlaneMesh" id=11]
[sub_resource type="SpatialMaterial" id=17]
albedo_texture = ExtResource( 1 )
uv1_scale = Vector3( 5, 10, 2 )
[sub_resource type="ConcavePolygonShape" id=13]
data = PoolVector3Array( 1, 0, 1, -1, 0, 1, 1, 0, -1, -1, 0, 1, -1, 0, -1, 1, 0, -1 )
[sub_resource type="Curve3D" id=23]
_data = {
"points": PoolVector3Array( 0, 0, 0, 0, 0, 0, 3.56098, 6.79493e-06, 44.2431, 0, 0, 0, 0, 0, 0, 35.9606, -0.00172424, 49.393, 0, 0, 0, 0, 0, 0, 60.7327, -0.340378, 53.7332, -28.0316, -6.79493e-06, -2.79074, 28.0316, 6.79493e-06, 2.79074, 119.855, 6.79493e-06, 56.6539, 0, 0, 0, 0, 0, 0, 148.354, 6.79493e-06, 84.6931, -21.1443, 0, 15.6284, 21.1443, 0, -15.6284, 192.941, 6.79493e-06, 99.4022, 0, 0, 0, 0, 0, 0, 196.158, 6.79493e-06, 67.226, 28.4989, 0, 8.27387, -28.4989, 0, -8.27387, 146.055, 6.79493e-06, 27.2357, 0.29155, -0.0872116, -6.83425, -0.29155, 0.0872116, 6.83425, 100.82, 0.802876, 36.225, -0.588051, -0.269503, -13.1614, 0.588051, 0.269503, 13.1614, 100.735, 8.07007, 55.498, 0, 0, 0, 0, 0, 0, 99.94, 1.31321, 75.5579, 0, 0, 0, 0, 0, 0, 100.564, -0.16198, 76.8885, 29.4182, 0, -8.73353, -29.4182, 0, 8.73353, 54.5832, 6.79493e-06, 115.49, 0, 0, 0, 0, 0, 0, -34.5907, 6.79493e-06, 121.006, 22.5233, 0, 36.3131, -22.5233, 0, -36.3131, -109.056, 6.79493e-06, 77.7982, 0, 0, 0, 0, 0, 0, -124.224, 6.79493e-06, -14.1337, -45.0466, 0, 20.225, 45.0466, 0, -20.225, -77.7987, 6.79493e-06, -81.7036, 0, 0, 0, 0, 0, 0, 0.343376, 6.79493e-06, -71.5911, 0, 0, 0, 0, 0, 0, 34.4757, 0.135811, -54.9734, 0, 0, 0, 0, 0, 0, 51.1266, 8.80813, -44.4577, 0, 0, 0, 0, 0, 0, 67.8292, 0.310024, -34.0731, 0, 0, 0, 0, 0, 0, 115.258, 6.79493e-06, -10.4564, 0, 0, 0, 0, 0, 0, 167.659, 6.79493e-06, 9.30897, -20.6847, 0, 3.21761, 20.6847, 0, -3.21761, 236.149, 6.79493e-06, 30.4533, 10.5721, 0, 35.3938, -10.5721, 0, -35.3938, 283.493, 6.79493e-06, -23.7865, 0, 0, 0, 0, 0, 0, 236.149, 6.79493e-06, -73.4297, 35.3937, 0, 2.75795, -35.3937, 0, -2.75795, 182.368, 6.79493e-06, -92.2757, 25.7409, 0, -5.51591, -25.7409, 0, 5.51591, 106.525, 6.79493e-06, -94.1144, 0, 0, 0, 0, 0, 0, 63.6478, -0.290527, -68.571, 16.0881, 0, -1.83864, -16.0881, 0, 1.83864, 30.6809, 6.79493e-06, -28.8428, 20.6847, 0, -12.8705, -20.6847, 0, 12.8705, -39.647, 6.79493e-06, -30.6814, -31.2568, 0, -12.8705, 31.2568, 0, 12.8705, -59.5626, -0.598405, 28.0616, 0, 0, 0, 0, 0, 0, 3.56098, 6.79493e-06, 44.2431 ),
"tilts": PoolRealArray( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 )
}
up_vector_enabled = false
[sub_resource type="SpatialMaterial" id=22]
albedo_color = Color( 0.309804, 0.235294, 0.121569, 1 )
[sub_resource type="CylinderMesh" id=18]
top_radius = 10.0
bottom_radius = 10.0
height = 50.0
[sub_resource type="SpatialMaterial" id=19]
albedo_texture = ExtResource( 1 )
uv1_scale = Vector3( 1, 200, 1 )
[sub_resource type="SphereMesh" id=20]
radius = 10.0
height = 6.0
[sub_resource type="ConvexPolygonShape" id=21]
points = PoolVector3Array( 0, -0.143305, -9.98867, 0, 0.142717, -9.98867, 0.977748, -0.143305, -9.94174, 0, -0.426977, -9.89872, -0.979704, -0.143305, -9.94174, 0, 0.42639, -9.89872, 0.977748, 0.142717, -9.94174, -0.979704, 0.142717, -9.94174, 1.94767, -0.143305, -9.79703, 1.93007, -0.426977, -9.70904, 0.969926, -0.426977, -9.85179, 0, -0.707713, -9.71881, -0.971882, -0.426977, -9.85179, -1.93203, -0.426977, -9.70904, -1.94963, -0.143305, -9.79703, 0, 0.707126, -9.71881, 0.969926, 0.42639, -9.85179, -0.971882, 0.42639, -9.85179, 1.93007, 0.42639, -9.70904, 1.94767, 0.142717, -9.79703, -1.94963, 0.142717, -9.79703, -1.93203, 0.42639, -9.70904, 2.89804, -0.143305, -9.56042, 1.89488, -0.707713, -9.53304, 2.87262, -0.426977, -9.47242, 0.952327, -0.707713, -9.67188, 0.92495, -0.981402, -9.40594, 0, -0.981402, -9.45091, -0.926905, -0.981402, -9.40594, -0.954282, -0.707713, -9.67188, -1.89683, -0.707713, -9.53304, -2.87458, -0.426977, -9.47242, -2.9, -0.143305, -9.56042, 0, 0.980814, -9.45091, 0.92495, 0.980814, -9.40594, 0.952327, 0.707126, -9.67188, -0.954282, 0.707126, -9.67188, -0.926905, 0.980814, -9.40594, 1.89488, 0.707126, -9.53304, -1.89683, 0.707126, -9.53304, 2.87262, 0.42639, -9.47242, 2.89804, 0.142717, -9.56042, -2.9, 0.142717, -9.56042, -2.87458, 0.42639, -9.47242, 3.82104, -0.143305, -9.22994, 3.7878, -0.426977, -9.14585, 1.84208, -0.981402, -9.26905, 2.81983, -0.707713, -9.30034, 2.7416, -0.981402, -9.04417, 1.77363, -1.24628, -8.92293, 0.88975, -1.24628, -9.05395, 0, -1.24628, -9.09697, -0.891706, -1.24628, -9.05395, -1.77559, -1.24628, -8.92293, -1.84403, -0.981402, -9.26905, -2.74356, -0.981402, -9.04417, -2.82178, -0.707713, -9.30034, -3.78975, -0.426977, -9.14585, -3.82299, -0.143305, -9.22994, 0, 1.24569, -9.09697, 0.88975, 1.24569, -9.05395, -0.891706, 1.24569, -9.05395, 1.77363, 1.24569, -8.92293, 1.84208, 0.980814, -9.26905, -1.84403, 0.980814, -9.26905, -1.77559, 1.24569, -8.92293, 2.7416, 0.980814, -9.04417, 2.81983, 0.707126, -9.30034, -2.82178, 0.707126, -9.30034, -2.74356, 0.980814, -9.04417, 3.7878, 0.42639, -9.14585, 3.82104, 0.142717, -9.22994, -3.82299, 0.142717, -9.22994, -3.78975, 0.42639, -9.14585, 4.70688, -0.143305, -8.80951, 4.66581, -0.426977, -8.73129, 3.7174, -0.707713, -8.97964, 3.61571, -0.981402, -8.73129, 2.63992, -1.24628, -8.70587, 1.68759, -1.50059, -8.49467, 0.848685, -1.50059, -8.61983, 0, -1.50059, -8.66089, -0.850641, -1.50059, -8.61983, -1.68955, -1.50059, -8.49467, -2.64188, -1.24628, -8.70587, -3.61767, -0.981402, -8.73129, -3.71935, -0.707713, -8.97964, -4.66777, -0.426977, -8.73129, -4.70883, -0.143305, -8.80951, 0, 1.5, -8.66089, 0.848685, 1.5, -8.61983, -0.850641, 1.5, -8.61983, 1.68759, 1.5, -8.49467, 2.63992, 1.24569, -8.70587, -1.68955, 1.5, -8.49467, -2.64188, 1.24569, -8.70587, 3.61571, 0.980814, -8.73129, 3.7174, 0.707126, -8.97964, -3.71935, 0.707126, -8.97964, -3.61767, 0.980814, -8.73129, 4.66581, 0.42639, -8.73129, 4.70688, 0.142717, -8.80951, -4.70883, 0.142717, -8.80951, -4.66777, 0.42639, -8.73129, 5.54774, -0.143305, -8.30695, 4.57977, -0.707713, -8.57094, 5.49885, -0.426977, -8.23068, 5.39717, -0.707713, -8.08206, 4.45462, -0.981402, -8.33432, 3.48078, -1.24628, -8.40472, 2.51281, -1.50059, -8.28739, 3.31261, -1.50059, -8.00189, 2.36419, -1.74021, -7.79656, 1.58786, -1.74021, -7.99016, 0.797842, -1.74021, -8.10749, 0, -1.74021, -8.1466, -0.799798, -1.74021, -8.10749, -1.58982, -1.74021, -7.99016, -2.36615, -1.74021, -7.79656, -2.51477, -1.50059, -8.28739, -3.31457, -1.50059, -8.00189, -3.48274, -1.24628, -8.40472, -4.45658, -0.981402, -8.33432, -4.58173, -0.707713, -8.57094, -5.39912, -0.707713, -8.08206, -5.50081, -0.426977, -8.23068, -5.5497, -0.143305, -8.30695, 0, 1.73962, -8.1466, 0.797842, 1.73962, -8.10749, 1.58786, 1.73962, -7.99016, -0.799798, 1.73962, -8.10749, -1.58982, 1.73962, -7.99016, 2.36419, 1.73962, -7.79656, 2.51281, 1.5, -8.28739, 3.31261, 1.5, -8.00189, 3.48078, 1.24569, -8.40472, -2.51477, 1.5, -8.28739, -2.36615, 1.73962, -7.79656, -3.48274, 1.24569, -8.40472, -3.31457, 1.5, -8.00189, 4.45462, 0.980814, -8.33432, 4.57977, 0.7071
[node name="Spatial2" instance=ExtResource( 2 )]
[node name="Track" parent="." index="1"]
track_path = NodePath("../Path")
checkpoint_count = 25
2021-11-21 22:14:08 +00:00
checkpoint_polygon = PoolVector2Array( -10, -0.1, -4, 15, 4, 15, 10, -0.1 )
2021-11-21 22:08:52 +00:00
[node name="StaticBody" type="StaticBody" parent="." index="2"]
transform = Transform( 99.9785, 0, 0, 0, 99.9785, 0, 0, 0, 99.9785, 0, 0, 0 )
[node name="MeshInstance" type="MeshInstance" parent="StaticBody" index="0"]
transform = Transform( 6.13726, 0, 0, 0, 6.13726, 0, 0, 0, 6.13726, 0, 0, 0 )
mesh = SubResource( 11 )
material/0 = SubResource( 17 )
[node name="CollisionShape" type="CollisionShape" parent="StaticBody" index="1"]
transform = Transform( 6.13726, 0, 0, 0, 6.13726, 0, 0, 0, 6.13726, 0, 0, 0 )
shape = SubResource( 13 )
[node name="Path" type="Path" parent="." index="3"]
curve = SubResource( 23 )
[node name="CSGCombiner" type="CSGCombiner" parent="Path" index="0"]
material_override = SubResource( 22 )
[node name="CSGPolygon" type="CSGPolygon" parent="Path/CSGCombiner" index="0"]
invert_faces = true
2021-11-21 22:14:08 +00:00
polygon = PoolVector2Array( -5, 0.01, -5, 1, 5, 1, 5, 0.01 )
2021-11-21 22:08:52 +00:00
mode = 2
path_node = NodePath("../..")
path_interval_type = 0
2021-11-22 17:53:31 +00:00
path_interval = 5.0
2021-11-21 22:08:52 +00:00
path_simplify_angle = 0.0
path_rotation = 2
path_local = true
path_continuous_u = true
path_u_distance = 1.0
path_joined = true
material = SubResource( 22 )
[node name="CSGBox" type="CSGBox" parent="Path/CSGCombiner" index="1"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 10, 0 )
operation = 2
2021-11-22 17:53:31 +00:00
snap = 0.1
2021-11-21 22:08:52 +00:00
width = 589.656
height = 19.4136
depth = 443.585
[node name="DistanceObjects" type="MeshInstance" parent="." index="4"]
transform = Transform( 3.36189, 0, 0, 0, -3.70805e-07, -8.48302, 0, 594.84, -2.60013e-05, -279.877, 0, 221.75 )
mesh = SubResource( 18 )
material/0 = SubResource( 19 )
[node name="DistanceObjects2" type="MeshInstance" parent="." index="5"]
transform = Transform( 1.2834, 549.79, -2.40321e-05, 0, -3.70805e-07, -8.48302, -3.10728, 227.079, -9.92593e-06, 1163.1, 0, 816.758 )
mesh = SubResource( 18 )
material/0 = SubResource( 19 )
[node name="DistanceObjects3" type="MeshInstance" parent="." index="6"]
transform = Transform( -3.35373, 41.4317, -2.58272e-08, 0, -2.60013e-05, -8.48302, -0.234162, -593.395, 3.69904e-07, 536.554, 0, 414.048 )
mesh = SubResource( 18 )
material/0 = SubResource( 19 )
[node name="DistanceObjects4" type="MeshInstance" parent="." index="7"]
transform = Transform( -0.942895, -570.965, 3.55922e-07, 0, -2.60013e-05, -8.48302, 3.22696, -166.832, 1.03998e-07, 657.204, 0, -307.363 )
mesh = SubResource( 18 )
material/0 = SubResource( 19 )
[node name="StaticBody2" type="StaticBody" parent="." index="8"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 47.389, -1.10313, 51.5569 )
[node name="MeshInstance" type="MeshInstance" parent="StaticBody2" index="0"]
mesh = SubResource( 20 )
material/0 = SubResource( 22 )
[node name="CollisionShape" type="CollisionShape" parent="StaticBody2" index="1"]
shape = SubResource( 21 )
[node name="StaticBody3" type="StaticBody" parent="." index="9"]
transform = Transform( 1, 0, 0, 0, 9.79142, 0, 0, 0, 1, 174.419, -1.10312, 77.9563 )
[node name="MeshInstance" type="MeshInstance" parent="StaticBody3" index="0"]
mesh = SubResource( 20 )
material/0 = SubResource( 22 )
[node name="CollisionShape" type="CollisionShape" parent="StaticBody3" index="1"]
shape = SubResource( 21 )
[node name="StaticBody4" type="StaticBody" parent="." index="10"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 199.033, -1.10312, 21.7978 )
[node name="MeshInstance" type="MeshInstance" parent="StaticBody4" index="0"]
mesh = SubResource( 20 )
material/0 = SubResource( 22 )
[node name="CollisionShape" type="CollisionShape" parent="StaticBody4" index="1"]
shape = SubResource( 21 )
[node name="CSGCombiner" type="CSGCombiner" parent="." index="11"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 100.489, 0, 55.8228 )
operation = 1
use_collision = true
[node name="CSGBox" type="CSGBox" parent="CSGCombiner" index="0"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.57617, 0 )
width = 7.84393
height = 7.4203
depth = 11.4247
material = SubResource( 22 )
[node name="CSGBox2" type="CSGBox" parent="CSGCombiner" index="1"]
transform = Transform( 1, 0, 0, 0, 0.88476, -0.466047, 0, 0.466047, 0.88476, 0, -0.383888, 13.5167 )
width = 7.65568
height = 6.2314
depth = 20.9779
material = SubResource( 22 )
[node name="CSGBox3" type="CSGBox" parent="CSGCombiner" index="2"]
transform = Transform( -1, 4.07431e-08, 7.73482e-08, 0, 0.88476, -0.466047, -8.74228e-08, -0.466047, -0.88476, 0, -0.383888, -13.4055 )
width = 7.65568
height = 6.2314
depth = 20.9779
material = SubResource( 22 )
[node name="CSGCylinder" type="CSGCylinder" parent="CSGCombiner" index="3"]
transform = Transform( -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0, 1, 0, 1.08443, 0 )
operation = 2
radius = 4.51348
height = 16.3311
sides = 20
material = SubResource( 22 )
[node name="CSGCombiner2" type="CSGCombiner" parent="." index="12"]
transform = Transform( 0.504995, 0, 0.863122, 0, 1, 0, -0.863122, 0, 0.504995, 51.266, 0, -45.3142 )
operation = 1
use_collision = true
[node name="CSGBox" type="CSGBox" parent="CSGCombiner2" index="0"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.57617, 0 )
width = 7.84393
height = 7.4203
depth = 11.4247
material = SubResource( 22 )
[node name="CSGBox2" type="CSGBox" parent="CSGCombiner2" index="1"]
transform = Transform( 1, 0, 0, 0, 0.88476, -0.466047, 0, 0.466047, 0.88476, 0, -0.383888, 13.5167 )
width = 7.65568
height = 6.2314
depth = 20.9779
material = SubResource( 22 )
[node name="CSGBox3" type="CSGBox" parent="CSGCombiner2" index="2"]
transform = Transform( -1, 4.07431e-08, 7.73482e-08, 0, 0.88476, -0.466047, -8.74228e-08, -0.466047, -0.88476, 0, -0.383888, -13.4055 )
width = 7.65568
height = 6.2314
depth = 20.9779
material = SubResource( 22 )
[node name="CSGCylinder" type="CSGCylinder" parent="CSGCombiner2" index="3"]
transform = Transform( -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0, 1, 0, 1.08443, 0 )
operation = 2
radius = 4.51348
height = 16.3311
sides = 20
material = SubResource( 22 )
2021-11-22 17:53:31 +00:00
[node name="DirectionalLight" type="DirectionalLight" parent="." index="13"]
transform = Transform( 0.851306, 0, -0.52467, 0, 1, 0, 0.52467, 0, 0.851306, 0, 35.584, 0 )
light_energy = 5.0
shadow_enabled = true