This repository has been archived on 2024-05-27. You can view files and clone it, but cannot push or open issues or pull requests.
test/town/town_scene.tscn

424 lines
40 KiB
Text
Raw Normal View History

2024-05-27 17:35:59 +01:00
[gd_scene load_steps=38 format=3 uid="uid://d0ygmqpylq0wy"]
[ext_resource type="PackedScene" uid="uid://dfdgytsvtqxwv" path="res://town/truck_town.glb" id="1_x0dmm"]
[ext_resource type="Script" path="res://spedometer.gd" id="2"]
[ext_resource type="Texture2D" uid="uid://b2g4dq0w72e68" path="res://town/materials/grass.webp" id="4_cymw0"]
[ext_resource type="Material" uid="uid://bdjiubscxkdn6" path="res://town/materials/cement.tres" id="5_83ty7"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_2k12y"]
sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
ground_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
[sub_resource type="Sky" id="Sky_1gf0c"]
sky_material = SubResource("ProceduralSkyMaterial_2k12y")
[sub_resource type="Environment" id="Environment_dauhq"]
background_mode = 2
sky = SubResource("Sky_1gf0c")
tonemap_mode = 2
tonemap_white = 6.0
glow_intensity = 0.5
glow_blend_mode = 1
fog_enabled = true
fog_light_color = Color(0.62, 0.6014, 0.6014, 1)
fog_density = 0.0015
fog_sky_affect = 0.0
[sub_resource type="InputEventAction" id="InputEventAction_a4722"]
action = &"cycle_speedometer_unit"
[sub_resource type="Shortcut" id="Shortcut_msvqx"]
events = [SubResource("InputEventAction_a4722")]
[sub_resource type="Gradient" id="Gradient_jks6h"]
offsets = PackedFloat32Array(0)
colors = PackedColorArray(1, 1, 1, 0.25098)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_m8ylb"]
gradient = SubResource("Gradient_jks6h")
width = 128
height = 128
[sub_resource type="Gradient" id="Gradient_1rnu2"]
offsets = PackedFloat32Array(0.00645161)
colors = PackedColorArray(1, 0, 0, 0.25098)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_xu6xc"]
gradient = SubResource("Gradient_1rnu2")
width = 128
height = 128
[sub_resource type="BoxMesh" id="BoxMesh_x3c0g"]
size = Vector3(4096, 1, 4096)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_0ud3l"]
albedo_texture = ExtResource("4_cymw0")
roughness = 0.8
uv1_scale = Vector3(128, 64, 1)
texture_filter = 5
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_gearx"]
data = PackedVector3Array(-2048, 0.5, 2048, 2048, 0.5, 2048, -2048, -0.5, 2048, 2048, 0.5, 2048, 2048, -0.5, 2048, -2048, -0.5, 2048, 2048, 0.5, -2048, -2048, 0.5, -2048, 2048, -0.5, -2048, -2048, 0.5, -2048, -2048, -0.5, -2048, 2048, -0.5, -2048, 2048, 0.5, 2048, 2048, 0.5, -2048, 2048, -0.5, 2048, 2048, 0.5, -2048, 2048, -0.5, -2048, 2048, -0.5, 2048, -2048, 0.5, -2048, -2048, 0.5, 2048, -2048, -0.5, -2048, -2048, 0.5, 2048, -2048, -0.5, 2048, -2048, -0.5, -2048, 2048, 0.5, 2048, -2048, 0.5, 2048, 2048, 0.5, -2048, -2048, 0.5, 2048, -2048, 0.5, -2048, 2048, 0.5, -2048, -2048, -0.5, 2048, 2048, -0.5, 2048, -2048, -0.5, -2048, 2048, -0.5, 2048, 2048, -0.5, -2048, -2048, -0.5, -2048)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_g7q2f"]
data = PackedVector3Array(-2048, 0.5, 2048, 2048, 0.5, 2048, -2048, -0.5, 2048, 2048, 0.5, 2048, 2048, -0.5, 2048, -2048, -0.5, 2048, 2048, 0.5, -2048, -2048, 0.5, -2048, 2048, -0.5, -2048, -2048, 0.5, -2048, -2048, -0.5, -2048, 2048, -0.5, -2048, 2048, 0.5, 2048, 2048, 0.5, -2048, 2048, -0.5, 2048, 2048, 0.5, -2048, 2048, -0.5, -2048, 2048, -0.5, 2048, -2048, 0.5, -2048, -2048, 0.5, 2048, -2048, -0.5, -2048, -2048, 0.5, 2048, -2048, -0.5, 2048, -2048, -0.5, -2048, 2048, 0.5, 2048, -2048, 0.5, 2048, 2048, 0.5, -2048, -2048, 0.5, 2048, -2048, 0.5, -2048, 2048, 0.5, -2048, -2048, -0.5, 2048, 2048, -0.5, 2048, -2048, -0.5, -2048, 2048, -0.5, 2048, 2048, -0.5, -2048, -2048, -0.5, -2048)
[sub_resource type="BoxMesh" id="BoxMesh_n528d"]
size = Vector3(1990, 1, 93.75)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_aijyr"]
albedo_texture = ExtResource("4_cymw0")
roughness = 0.8
uv1_scale = Vector3(128, 2, 1)
texture_filter = 5
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_mb5rx"]
data = PackedVector3Array(-995, 0.5, 47.017, 995, 0.5, 47.017, -995, -0.5, 47.017, 995, 0.5, 47.017, 995, -0.5, 47.017, -995, -0.5, 47.017, 995, 0.5, -47.017, -995, 0.5, -47.017, 995, -0.5, -47.017, -995, 0.5, -47.017, -995, -0.5, -47.017, 995, -0.5, -47.017, 995, 0.5, 47.017, 995, 0.5, -47.017, 995, -0.5, 47.017, 995, 0.5, -47.017, 995, -0.5, -47.017, 995, -0.5, 47.017, -995, 0.5, -47.017, -995, 0.5, 47.017, -995, -0.5, -47.017, -995, 0.5, 47.017, -995, -0.5, 47.017, -995, -0.5, -47.017, 995, 0.5, 47.017, -995, 0.5, 47.017, 995, 0.5, -47.017, -995, 0.5, 47.017, -995, 0.5, -47.017, 995, 0.5, -47.017, -995, -0.5, 47.017, 995, -0.5, 47.017, -995, -0.5, -47.017, 995, -0.5, 47.017, 995, -0.5, -47.017, -995, -0.5, -47.017)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_3wmyg"]
data = PackedVector3Array(-995, 0.5, 47.017, 995, 0.5, 47.017, -995, -0.5, 47.017, 995, 0.5, 47.017, 995, -0.5, 47.017, -995, -0.5, 47.017, 995, 0.5, -47.017, -995, 0.5, -47.017, 995, -0.5, -47.017, -995, 0.5, -47.017, -995, -0.5, -47.017, 995, -0.5, -47.017, 995, 0.5, 47.017, 995, 0.5, -47.017, 995, -0.5, 47.017, 995, 0.5, -47.017, 995, -0.5, -47.017, 995, -0.5, 47.017, -995, 0.5, -47.017, -995, 0.5, 47.017, -995, -0.5, -47.017, -995, 0.5, 47.017, -995, -0.5, 47.017, -995, -0.5, -47.017, 995, 0.5, 47.017, -995, 0.5, 47.017, 995, 0.5, -47.017, -995, 0.5, 47.017, -995, 0.5, -47.017, 995, 0.5, -47.017, -995, -0.5, 47.017, 995, -0.5, 47.017, -995, -0.5, -47.017, 995, -0.5, 47.017, 995, -0.5, -47.017, -995, -0.5, -47.017)
[sub_resource type="Curve3D" id="Curve3D_6vskq"]
_data = {
"points": PackedVector3Array(0.543398, -0.103395, 1.65241, -0.543398, 0.103395, -1.65241, 3.28336, 5.28308, -55.2298, -0.833012, -0.217682, 2.2701, 0.833012, 0.217682, -2.2701, 3.56751, 6.35417, -60.6377, -0.0791855, 0.892603, 1.8625, 0.0791855, -0.892603, -1.8625, 5.02051, 4.0616, -66.9724, -0.149003, 0.23034, 1.52293, 0.149003, -0.23034, -1.52293, 5.94106, 1.27618, -73.7061, 0.152164, 0.0198116, 0.82222, -0.152164, -0.0198116, -0.82222, 6.24068, 1.29284, -81.1135, 0.709167, -0.00765228, 0.797897, -0.709167, 0.00765228, -0.797897, 1.66464, 0.49591, -92.5504, 1.86497, 0.492211, 1.35976, -1.86497, -0.492211, -1.35976, -5.43053, -0.176876, -98.7249, 3.65234, 0.403153, 0.595093, -3.65234, -0.403153, -0.595093, -14.2107, -2.83686, -102.669, 2.41666, 0.162499, -0.433556, -2.41666, -0.162499, 0.433556, -23.5045, -3.81825, -104.349, 2.69847, 0.0319109, -1.39461, -2.69847, -0.0319109, 1.39461, -32.5873, -4.93983, -102.986, 0, 0, 0, 0, 0, 0, -41.6334, -4.712, -100.865, 0, 0, 0, 0, 0, 0, -46.381, -4.47723, -99.9369, 1.76731, -0.395488, -0.332947, -1.76731, 0.395488, 0.332947, -48.5051, -4.01378, -99.6217, 1.47411, -0.793471, -0.42971, -1.47411, 0.793471, 0.42971, -52.9601, -1.59774, -98.743, 1.40203, -0.0544708, -0.311745, -1.40203, 0.0544708, 0.311745, -57.3469, -0.190034, -97.9515, 1.23469, 0.514086, -0.296593, -1.23469, -0.514086, 0.296593, -61.54, -0.983026, -97.2347, 1.78854, 0.324845, -0.419327, -1.78854, -0.324845, 0.419327, -65.8922, -3.47315, -96.0933, 4.19576, 0.234449, -0.89743, -4.19576, -0.234449, 0.89743, -72.3135, -4.084, -94.5145, 1.25638, 0.000484467, 10.8308, -1.25638, -0.000484467, -10.8308, -85.2469, -4.12423, -100.301, -2.00005, 0.315476, 0.567215, 2.00005, -0.315476, -0.567215, -79.6224, -4.49219, -111.463, -7.05647, 0.0288595, -2.48302, 6.90189, -0.0282273, 2.42863, -62.2289, -4.22628, -112.062, 0.259935, -0.461171, -3.92209, -0.738754, 1.31068, 11.1469, -57.1626, -4.54992, -98.6082, 2.09652, -0.278773, -0.0627518, -2.09652, 0.278773, 0.0627518, -73.0278, -2.4152, -85.6188, 2.88116, -0.17606, -0.0584183, -2.88116, 0.17606, 0.0584183, -83.2919, -2.37169, -84.7517, 3.23965, -0.202814, -1.03859, -3.23965, 0.202814, 1.03859, -101.697, -1.14444, -83.4727, 2.30534, -0.119607, -2.03248, -2.30534, 0.119607, 2.03248, -117.54, 0.480612, -77.5978, 1.62395, -0.460591, -1.66295, -1.62395, 0.460591, 1.66295, -128.78, 2.73801, -72.081, 0.623291, -0.0807109, -1.60843, -0.623291, 0.0807109, 1.60843, -142.737, 4.67136, -61.0967, -0.62944, -0.367424, -3.50014, 0.62944, 0.367424, 3.50014, -144.324, 4.46733, -50.0448, -1.81136, -0.102165, -1.03172, 1.81136, 0.102165, 1.03172, -137.273, 4.46672, -42.9261, -0.912231, -0.160881, -0.155205, 0.912231, 0.160881, 0.155205, -130.732, 4.37322, -42.3592, -1.12225, 0.309475, -0.159954, 1.12225, -0.309475, 0.159954, -127.167, 4.13784, -41.615, -1.44321, 0.289954, -0.16938, 1.44321, -0.289954, 0.16938, -123.841, 2.59092, -41.3764, -1.71183, 0.232457, -0.163383, 1.71183, -0.232457, 0.163383, -119.037, 2.92625, -40.5647, -1.65579, 0.0589757, -0.114311, 1.65579, -0.0589757, 0.114311, -115.158, 1.3437, -40.4409, -1.32726, 0.0452385, -0.0909462, 1.32726, -0.0452385, 0.0909462, -109.915, 2.63164, -39.7556, -1.40851, 0.0955319, -0.112408, 1.40851, -0.0955319, 0.112408, -106.253, 0.993988, -39.5967, -1.74428, 0.116143, -0.0901184, 1.74428, -0.116143, 0.0901184, -98.305, -0.669029, -38.2801, -1.98921, -1.76747, 0.459106, 1.98921, 1.76747, -0.459106, -87.2684, 1.03817, -38.1925, 0, 0, 0, 0, 0, 0, -80.2635, 2.10998, -38.466),
"tilts": PackedFloat32Array(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, 0, 0, 0, 0, 0, 0, 0)
}
point_count = 40
[sub_resource type="TorusMesh" id="TorusMesh_jqadq"]
inner_radius = 3.5
outer_radius = 7.0
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_5qgna"]
albedo_color = Color(0.215902, 0.215902, 0.215902, 1)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_smisc"]
data = PackedVector3Array(-1.3394, 0, -3.2336, 0, 1.2374, -4.0126, 0, 0, -3.5, -1.3394, 0, -3.2336, -1.5355, 1.2374, -3.7071, 0, 1.2374, -4.0126, -1.5355, 1.2374, -3.7071, 0, 1.75, -5.25, 0, 1.2374, -4.0126, -1.5355, 1.2374, -3.7071, -2.0091, 1.75, -4.8504, 0, 1.75, -5.25, -2.0091, 1.75, -4.8504, 0, 1.2374, -6.4874, 0, 1.75, -5.25, -2.0091, 1.75, -4.8504, -2.4826, 1.2374, -5.9936, 0, 1.2374, -6.4874, -2.4826, 1.2374, -5.9936, 0, 0, -7, 0, 1.2374, -6.4874, -2.4826, 1.2374, -5.9936, -2.6788, 0, -6.4672, 0, 0, -7, -2.6788, 0, -6.4672, 0, -1.2374, -6.4874, 0, 0, -7, -2.6788, 0, -6.4672, -2.4826, -1.2374, -5.9936, 0, -1.2374, -6.4874, -2.4826, -1.2374, -5.9936, 0, -1.75, -5.25, 0, -1.2374, -6.4874, -2.4826, -1.2374, -5.9936, -2.0091, -1.75, -4.8504, 0, -1.75, -5.25, -2.0091, -1.75, -4.8504, 0, -1.2374, -4.0126, 0, -1.75, -5.25, -2.0091, -1.75, -4.8504, -1.5355, -1.2374, -3.7071, 0, -1.2374, -4.0126, -1.5355, -1.2374, -3.7071, 0, 0, -3.5, 0, -1.2374, -4.0126, -1.5355, -1.2374, -3.7071, -1.3394, 0, -3.2336, 0, 0, -3.5, -2.4749, 0, -2.4749, -1.5355, 1.2374, -3.7071, -1.3394, 0, -3.2336, -2.4749, 0, -2.4749, -2.8373, 1.2374, -2.8373, -1.5355, 1.2374, -3.7071, -2.8373, 1.2374, -2.8373, -2.0091, 1.75, -4.8504, -1.5355, 1.2374, -3.7071, -2.8373, 1.2374, -2.8373, -3.7123, 1.75, -3.7123, -2.0091, 1.75, -4.8504, -3.7123, 1.75, -3.7123, -2.4826, 1.2374, -5.9936, -2.0091, 1.75, -4.8504, -3.7123, 1.75, -3.7123, -4.5873, 1.2374, -4.5873, -2.4826, 1.2374, -5.9936, -4.5873, 1.2374, -4.5873, -2.6788, 0, -6.4672, -2.4826, 1.2374, -5.9936, -4.5873, 1.2374, -4.5873, -4.9497, 0, -4.9497, -2.6788, 0, -6.4672, -4.9497, 0, -4.9497, -2.4826, -1.2374, -5.9936, -2.6788, 0, -6.4672, -4.9497, 0, -4.9497, -4.5873, -1.2374, -4.5873, -2.4826, -1.2374, -5.9936, -4.5873, -1.2374, -4.5873, -2.0091, -1.75, -4.8504, -2.4826, -1.2374, -5.9936, -4.5873, -1.2374, -4.5873, -3.7123, -1.75, -3.7123, -2.0091, -1.75, -4.8504, -3.7123, -1.75, -3.7123, -1.5355, -1.2374, -3.7071, -2.0091, -1.75, -4.8504, -3.7123, -1.75, -3.7123, -2.8373, -1.2374, -2.8373, -1.5355, -1.2374, -3.7071, -2.8373, -1.2374, -2.8373, -1.3394, 0, -3.2336, -1.5355, -1.2374, -3.7071, -2.8373, -1.2374, -2.8373, -2.4749, 0, -2.4749, -1.3394, 0, -3.2336, -3.2336, 0, -1.3394, -2.8373, 1.2374, -2.8373, -2.4749, 0, -2.4749, -3.2336, 0, -1.3394, -3.7071, 1.2374, -1.5355, -2.8373, 1.2374, -2.8373, -3.7071, 1.2374, -1.5355, -3.7123, 1.75, -3.7123, -2.8373, 1.2374, -2.8373, -3.7071, 1.2374, -1.5355, -4.8504, 1.75, -2.0091, -3.7123, 1.75, -3.7123, -4.8504, 1.75, -2.0091, -4.5873, 1.2374, -4.5873, -3.7123, 1.75, -3.7123, -4.8504, 1.75, -2.0091, -5.9936, 1.2374, -2.4826, -4.5873, 1.2374, -4.5873, -5.9936, 1.2374, -2.4826, -4.9497, 0, -4.9497, -4.5873, 1.2374, -4.5873, -5.9936, 1.2374, -2.4826, -6.4672, 0, -2.6788, -4.9497, 0, -4.9497, -6.4672, 0, -2.6788, -4.5873, -1.2374, -4.5873, -4.9497, 0, -4.9497, -6.4672, 0, -2.6788, -5.9936, -1.2374, -2.4826, -4.5873, -1.2374, -4.5873, -5.9936, -1.2374, -2.4826, -3.7123, -1.75, -3.7123, -4.5873, -1.2374, -4.5873, -5.9936, -1.2374, -2.4826, -4.8504, -1.75, -2.0091, -3.7123, -1.75, -3.7123, -4.8504, -1.75, -2.0091, -2.8373, -1.2374, -2.8373, -3.7123, -1.75, -3.7123, -4.8504, -1.75, -2.0091, -3.7071, -1.2374, -1.5355, -2.8373, -1.2374, -2.8373, -3.7071, -1.2374, -1.5355, -2.4749, 0, -2.4749, -2.8373, -1.2374, -2.8373, -3.7071, -1.2374, -1.5355, -3.2336, 0, -1.3394, -2.4749, 0, -2.4749, -3.5, 0, 0, -3.7071, 1.2374, -1.5355, -3.2336, 0, -1.3394, -3.5, 0, 0, -4.0126, 1.2374, 0, -3.7071, 1.2374, -1.5355, -4.0126, 1.2374, 0, -4.8504, 1.75, -2.0091, -3.7071, 1.2374, -1.5355, -4.0126, 1.2374, 0, -5.25, 1.75, 0, -4.8504, 1.75, -2.0091, -5.25, 1.75, 0, -5.9936, 1.2374, -2.4826, -4.8504, 1.75, -2.0091, -5.25, 1.75, 0, -6.4874, 1.2374, 0, -5.9936, 1.2374, -2.4826, -6.4874, 1.2374, 0, -6.4672, 0, -2.6788, -5.9936, 1.2374, -2.4826, -6.4874, 1.2374, 0, -7, 0, 0, -6.4672, 0, -2.6788, -7, 0, 0, -5.9936, -1.2374, -2.4826, -6.4672, 0, -2.6788, -7, 0, 0, -6.4874, -1.2374, 0, -5.9936, -1.2374, -2.4826, -6.4874, -1.2374, 0, -4.8504, -1.75, -2.0091, -5.9936, -1.2374, -2.4826, -6.4874, -1.2374, 0,
[sub_resource type="PrismMesh" id="PrismMesh_xglk4"]
left_to_right = 0.0
size = Vector3(4, 2, 4)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_kamav"]
albedo_color = Color(1, 0.666667, 0.176471, 1)
[sub_resource type="PrismMesh" id="PrismMesh_3jdtn"]
left_to_right = 0.0
size = Vector3(4, 1, 4)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_ykfn8"]
data = PackedVector3Array(-2, 1, 2, 2, -1, 2, -2, -1, 2, -2, 1, -2, -2, -1, -2, 2, -1, -2, -2, 1, 2, -2, 1, -2, 2, -1, 2, -2, 1, -2, 2, -1, -2, 2, -1, 2, -2, 1, -2, -2, 1, 2, -2, -1, -2, -2, 1, 2, -2, -1, 2, -2, -1, -2, -2, -1, 2, 2, -1, 2, -2, -1, -2, 2, -1, 2, 2, -1, -2, -2, -1, -2)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_4aeas"]
data = PackedVector3Array(-2, 0.5, 2, 2, -0.5, 2, -2, -0.5, 2, -2, 0.5, -2, -2, -0.5, -2, 2, -0.5, -2, -2, 0.5, 2, -2, 0.5, -2, 2, -0.5, 2, -2, 0.5, -2, 2, -0.5, -2, 2, -0.5, 2, -2, 0.5, -2, -2, 0.5, 2, -2, -0.5, -2, -2, 0.5, 2, -2, -0.5, 2, -2, -0.5, -2, -2, -0.5, 2, 2, -0.5, 2, -2, -0.5, -2, 2, -0.5, 2, 2, -0.5, -2, -2, -0.5, -2)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_e2cnd"]
data = PackedVector3Array(-2, 1, 2, 2, -1, 2, -2, -1, 2, -2, 1, -2, -2, -1, -2, 2, -1, -2, -2, 1, 2, -2, 1, -2, 2, -1, 2, -2, 1, -2, 2, -1, -2, 2, -1, 2, -2, 1, -2, -2, 1, 2, -2, -1, -2, -2, 1, 2, -2, -1, 2, -2, -1, -2, -2, -1, 2, 2, -1, 2, -2, -1, -2, 2, -1, 2, 2, -1, -2, -2, -1, -2)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_8ool4"]
data = PackedVector3Array(-2, 0.5, 2, 2, -0.5, 2, -2, -0.5, 2, -2, 0.5, -2, -2, -0.5, -2, 2, -0.5, -2, -2, 0.5, 2, -2, 0.5, -2, 2, -0.5, 2, -2, 0.5, -2, 2, -0.5, -2, 2, -0.5, 2, -2, 0.5, -2, -2, 0.5, 2, -2, -0.5, -2, -2, 0.5, 2, -2, -0.5, 2, -2, -0.5, -2, -2, -0.5, 2, 2, -0.5, 2, -2, -0.5, -2, 2, -0.5, 2, 2, -0.5, -2, -2, -0.5, -2)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_ru3pl"]
data = PackedVector3Array(-2, 1, 2, 2, -1, 2, -2, -1, 2, -2, 1, -2, -2, -1, -2, 2, -1, -2, -2, 1, 2, -2, 1, -2, 2, -1, 2, -2, 1, -2, 2, -1, -2, 2, -1, 2, -2, 1, -2, -2, 1, 2, -2, -1, -2, -2, 1, 2, -2, -1, 2, -2, -1, -2, -2, -1, 2, 2, -1, 2, -2, -1, -2, 2, -1, 2, 2, -1, -2, -2, -1, -2)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_stwys"]
data = PackedVector3Array(-2, 0.5, 2, 2, -0.5, 2, -2, -0.5, 2, -2, 0.5, -2, -2, -0.5, -2, 2, -0.5, -2, -2, 0.5, 2, -2, 0.5, -2, 2, -0.5, 2, -2, 0.5, -2, 2, -0.5, -2, 2, -0.5, 2, -2, 0.5, -2, -2, 0.5, 2, -2, -0.5, -2, -2, 0.5, 2, -2, -0.5, 2, -2, -0.5, -2, -2, -0.5, 2, 2, -0.5, 2, -2, -0.5, -2, 2, -0.5, 2, 2, -0.5, -2, -2, -0.5, -2)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_04800"]
data = PackedVector3Array(-2, 1, 2, 2, -1, 2, -2, -1, 2, -2, 1, -2, -2, -1, -2, 2, -1, -2, -2, 1, 2, -2, 1, -2, 2, -1, 2, -2, 1, -2, 2, -1, -2, 2, -1, 2, -2, 1, -2, -2, 1, 2, -2, -1, -2, -2, 1, 2, -2, -1, 2, -2, -1, -2, -2, -1, 2, 2, -1, 2, -2, -1, -2, 2, -1, 2, 2, -1, -2, -2, -1, -2)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_248tl"]
data = PackedVector3Array(-2, 0.5, 2, 2, -0.5, 2, -2, -0.5, 2, -2, 0.5, -2, -2, -0.5, -2, 2, -0.5, -2, -2, 0.5, 2, -2, 0.5, -2, 2, -0.5, 2, -2, 0.5, -2, 2, -0.5, -2, 2, -0.5, 2, -2, 0.5, -2, -2, 0.5, 2, -2, -0.5, -2, -2, 0.5, 2, -2, -0.5, 2, -2, -0.5, -2, -2, -0.5, 2, 2, -0.5, 2, -2, -0.5, -2, 2, -0.5, 2, 2, -0.5, -2, -2, -0.5, -2)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_nhcrh"]
data = PackedVector3Array(-2, 1, 2, 2, -1, 2, -2, -1, 2, -2, 1, -2, -2, -1, -2, 2, -1, -2, -2, 1, 2, -2, 1, -2, 2, -1, 2, -2, 1, -2, 2, -1, -2, 2, -1, 2, -2, 1, -2, -2, 1, 2, -2, -1, -2, -2, 1, 2, -2, -1, 2, -2, -1, -2, -2, -1, 2, 2, -1, 2, -2, -1, -2, 2, -1, 2, 2, -1, -2, -2, -1, -2)
[node name="TownScene" type="Node3D"]
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_dauhq")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.506501, -0.706305, -0.494561, -4.63342e-08, -0.573577, 0.819152, -0.862239, -0.414901, -0.290517, 11.0084, 12.3453, -31.3148)
light_energy = 1.45
shadow_enabled = true
shadow_bias = 0.015
shadow_blur = 1.5
directional_shadow_mode = 0
directional_shadow_max_distance = 80.0
[node name="TruckTown" parent="." instance=ExtResource("1_x0dmm")]
[node name="InstancePos" type="Marker3D" parent="."]
transform = Transform3D(1.31134e-07, 0, -1, 0, 1, 0, 1, 0, 1.31134e-07, 8, 3.36405, -16)
[node name="Spedometer" type="Button" parent="."]
custom_minimum_size = Vector2(140, 40)
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -164.0
offset_top = -64.0
offset_right = -24.0
offset_bottom = -24.0
grow_horizontal = 0
grow_vertical = 0
focus_mode = 0
action_mode = 0
shortcut = SubResource("Shortcut_msvqx")
shortcut_feedback = false
shortcut_in_tooltip = false
text = "Speed: ???"
script = ExtResource("2")
[node name="Back" type="Button" parent="."]
offset_left = 24.0
offset_top = 24.0
offset_right = 92.0
offset_bottom = 56.0
text = "« Back"
[node name="TouchTurnLeft" type="Control" parent="."]
layout_mode = 3
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
grow_vertical = 2
[node name="TurnLeft" type="TouchScreenButton" parent="TouchTurnLeft"]
modulate = Color(1, 1, 1, 0)
position = Vector2(0, -256)
scale = Vector2(2.5, 4)
texture_normal = SubResource("GradientTexture2D_m8ylb")
texture_pressed = SubResource("GradientTexture2D_xu6xc")
passby_press = true
action = "turn_left"
visibility_mode = 1
[node name="TouchReverse" type="Control" parent="."]
layout_mode = 3
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
grow_horizontal = 2
grow_vertical = 2
[node name="Reverse" type="TouchScreenButton" parent="TouchReverse"]
modulate = Color(1, 1, 1, 0)
position = Vector2(-256, -256)
scale = Vector2(4, 4)
texture_normal = SubResource("GradientTexture2D_m8ylb")
texture_pressed = SubResource("GradientTexture2D_xu6xc")
passby_press = true
action = "reverse"
visibility_mode = 1
[node name="TouchTurnRight" type="Control" parent="."]
layout_mode = 3
anchors_preset = 6
anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
grow_horizontal = 0
grow_vertical = 2
[node name="TurnRight" type="TouchScreenButton" parent="TouchTurnRight"]
modulate = Color(1, 1, 1, 0)
position = Vector2(-320, -256)
scale = Vector2(2.5, 4)
texture_normal = SubResource("GradientTexture2D_m8ylb")
texture_pressed = SubResource("GradientTexture2D_xu6xc")
passby_press = true
action = "turn_right"
visibility_mode = 1
[node name="Ground" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -29, -5.86, 2064.6)
cast_shadow = 0
mesh = SubResource("BoxMesh_x3c0g")
surface_material_override/0 = SubResource("StandardMaterial3D_0ud3l")
[node name="StaticBody3D" type="StaticBody3D" parent="Ground"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ground/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_gearx")
[node name="Ground2" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -29, -5.86, -2125.13)
cast_shadow = 0
mesh = SubResource("BoxMesh_x3c0g")
surface_material_override/0 = SubResource("StandardMaterial3D_0ud3l")
[node name="StaticBody3D" type="StaticBody3D" parent="Ground2"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ground2/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_g7q2f")
[node name="Ground3" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1082.19, -5.86, -30.267)
cast_shadow = 0
mesh = SubResource("BoxMesh_n528d")
surface_material_override/0 = SubResource("StandardMaterial3D_aijyr")
[node name="StaticBody3D" type="StaticBody3D" parent="Ground3"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ground3/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_mb5rx")
[node name="Ground4" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1027.31, -5.86, -30.248)
cast_shadow = 0
mesh = SubResource("BoxMesh_n528d")
surface_material_override/0 = SubResource("StandardMaterial3D_aijyr")
[node name="StaticBody3D" type="StaticBody3D" parent="Ground4"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ground4/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_3wmyg")
[node name="Racetrack" type="CSGPolygon3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.225899, 0)
calculate_tangents = false
use_collision = true
polygon = PackedVector2Array(-1.5, 1, -1.4, 1, -1.3, 0.9, -1.2, 0.9, 2.2, 0.9, 2.3, 0.9, 2.4, 1, 2.5, 1, 2.4, 0.9, 2, 0.1, 2, 0, 1.9, -0.1, -0.9, -0.1, -1, 0, -1, 0.1, -1.4, 0.9)
mode = 2
path_node = NodePath("Path3D")
path_interval_type = 0
path_interval = 0.5
path_simplify_angle = 2.0
path_rotation = 1
path_local = true
path_continuous_u = true
path_u_distance = 20.0
path_joined = false
smooth_faces = true
material = ExtResource("5_83ty7")
[node name="Path3D" type="Path3D" parent="Racetrack"]
curve = SubResource("Curve3D_6vskq")
[node name="HugeTire" type="MeshInstance3D" parent="Racetrack"]
transform = Transform3D(-4.29291e-08, 0.982104, 0.188341, -1, -4.37114e-08, -6.16922e-16, 8.23266e-09, -0.188341, 0.982104, -43, -2.7741, -101.158)
mesh = SubResource("TorusMesh_jqadq")
skeleton = NodePath("../..")
surface_material_override/0 = SubResource("StandardMaterial3D_5qgna")
metadata/_edit_group_ = true
[node name="StaticBody3D" type="StaticBody3D" parent="Racetrack/HugeTire"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Racetrack/HugeTire/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_smisc")
[node name="Ramp" type="MeshInstance3D" parent="Racetrack"]
transform = Transform3D(0.984808, 0, 0.173648, 0, 1, 0, -0.173648, 0, 0.984808, -36, -4.13, -106.8)
mesh = SubResource("PrismMesh_xglk4")
surface_material_override/0 = SubResource("StandardMaterial3D_kamav")
metadata/_edit_group_ = true
[node name="RampStart" type="MeshInstance3D" parent="Racetrack/Ramp"]
transform = Transform3D(1, 0, 1.49012e-08, 0, 1, 0, -1.49012e-08, 0, 1, 1, -0.5, 7.62939e-06)
mesh = SubResource("PrismMesh_3jdtn")
skeleton = NodePath("../..")
surface_material_override/0 = SubResource("StandardMaterial3D_kamav")
[node name="StaticBody3D" type="StaticBody3D" parent="Racetrack/Ramp"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Racetrack/Ramp/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_ykfn8")
[node name="Ramp2" type="MeshInstance3D" parent="Racetrack"]
transform = Transform3D(0.984808, 0, 0.173648, 0, 1, 0, -0.173648, 0, 0.984808, -34.366, -4.13, -98.138)
mesh = SubResource("PrismMesh_xglk4")
surface_material_override/0 = SubResource("StandardMaterial3D_kamav")
metadata/_edit_group_ = true
[node name="RampStart" type="MeshInstance3D" parent="Racetrack/Ramp2"]
transform = Transform3D(1, 0, 1.49012e-08, 0, 1, 0, -1.49012e-08, 0, 1, 1, -0.5, 7.62939e-06)
mesh = SubResource("PrismMesh_3jdtn")
skeleton = NodePath("../..")
surface_material_override/0 = SubResource("StandardMaterial3D_kamav")
[node name="StaticBody3D" type="StaticBody3D" parent="Racetrack/Ramp2/RampStart"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Racetrack/Ramp2/RampStart/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_4aeas")
[node name="StaticBody3D" type="StaticBody3D" parent="Racetrack/Ramp2"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Racetrack/Ramp2/StaticBody3D"]
transform = Transform3D(1, 0, 1.49012e-08, 0, 1, 0, -1.49012e-08, 0, 1, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_e2cnd")
[node name="Ramp3" type="MeshInstance3D" parent="Racetrack"]
transform = Transform3D(0.984808, 0, 0.173648, 0, 1, 0, -0.173648, 0, 0.984808, -80.4018, -4.13, -101.536)
mesh = SubResource("PrismMesh_xglk4")
surface_material_override/0 = SubResource("StandardMaterial3D_kamav")
metadata/_edit_group_ = true
[node name="RampStart" type="MeshInstance3D" parent="Racetrack/Ramp3"]
transform = Transform3D(1, 0, 1.49012e-08, 0, 1, 0, -1.49012e-08, 0, 1, 1, -0.5, 7.62939e-06)
mesh = SubResource("PrismMesh_3jdtn")
skeleton = NodePath("../..")
surface_material_override/0 = SubResource("StandardMaterial3D_kamav")
[node name="StaticBody3D" type="StaticBody3D" parent="Racetrack/Ramp3/RampStart"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Racetrack/Ramp3/RampStart/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_8ool4")
[node name="StaticBody3D" type="StaticBody3D" parent="Racetrack/Ramp3"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Racetrack/Ramp3/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_ru3pl")
[node name="Ramp4" type="MeshInstance3D" parent="Racetrack"]
transform = Transform3D(-0.984808, 0, -0.173648, 0, 1, 0, 0.173648, 0, -0.984808, -62.2203, -4.13, -104.798)
mesh = SubResource("PrismMesh_xglk4")
surface_material_override/0 = SubResource("StandardMaterial3D_kamav")
metadata/_edit_group_ = true
[node name="RampStart" type="MeshInstance3D" parent="Racetrack/Ramp4"]
transform = Transform3D(1, 0, 1.49012e-08, 0, 1, 0, -1.49012e-08, 0, 1, 1, -0.5, 7.62939e-06)
mesh = SubResource("PrismMesh_3jdtn")
skeleton = NodePath("../..")
surface_material_override/0 = SubResource("StandardMaterial3D_kamav")
[node name="StaticBody3D" type="StaticBody3D" parent="Racetrack/Ramp4/RampStart"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Racetrack/Ramp4/RampStart/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_stwys")
[node name="StaticBody3D" type="StaticBody3D" parent="Racetrack/Ramp4"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Racetrack/Ramp4/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_04800")
[node name="Ramp5" type="MeshInstance3D" parent="Racetrack"]
transform = Transform3D(-0.984808, 0, -0.173648, 0, 1, 0, 0.173648, 0, -0.984808, -89.0271, -4.13, -100.015)
mesh = SubResource("PrismMesh_xglk4")
surface_material_override/0 = SubResource("StandardMaterial3D_kamav")
metadata/_edit_group_ = true
[node name="RampStart" type="MeshInstance3D" parent="Racetrack/Ramp5"]
transform = Transform3D(1, 0, 1.49012e-08, 0, 1, 0, -1.49012e-08, 0, 1, 1, -0.5, 7.62939e-06)
mesh = SubResource("PrismMesh_3jdtn")
skeleton = NodePath("../..")
surface_material_override/0 = SubResource("StandardMaterial3D_kamav")
[node name="StaticBody3D" type="StaticBody3D" parent="Racetrack/Ramp5/RampStart"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Racetrack/Ramp5/RampStart/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_248tl")
[node name="StaticBody3D" type="StaticBody3D" parent="Racetrack/Ramp5"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Racetrack/Ramp5/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_nhcrh")
[connection signal="pressed" from="Spedometer" to="Spedometer" method="_on_spedometer_pressed"]