-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathTestWorld2.tscn
124 lines (105 loc) · 6 KB
/
TestWorld2.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[gd_scene load_steps=9 format=2]
[ext_resource path="res://tracks/track_2.tscn" type="PackedScene" id=1]
[ext_resource path="res://cars/AICar.tscn" type="PackedScene" id=2]
[ext_resource path="res://ChaseCamera.tscn" type="PackedScene" id=3]
[ext_resource path="res://TestWorld2.gd" type="Script" id=4]
[ext_resource path="res://StationaryCamera.tscn" type="PackedScene" id=5]
[sub_resource type="ProceduralSky" id=1]
sky_top_color = Color( 0.211765, 0.313726, 0.552941, 1 )
sky_horizon_color = Color( 0.545098, 0.686275, 0.811765, 1 )
sky_energy = 0.2
ground_bottom_color = Color( 0.211765, 0.313726, 0.552941, 1 )
ground_horizon_color = Color( 0.211765, 0.313726, 0.552941, 1 )
ground_curve = 0.091896
sun_latitude = 50.0
sun_angle_max = 30.0
[sub_resource type="Environment" id=2]
background_mode = 2
background_sky = SubResource( 1 )
background_energy = 5.0
ambient_light_color = Color( 1, 1, 1, 1 )
ambient_light_energy = 0.6
tonemap_mode = 2
[sub_resource type="Curve3D" id=3]
_data = {
"points": PoolVector3Array( 7.98474, 0, -0.326271, -7.98474, 0, 0.326271, -99.892, 0, 7.79801, -0.113068, 0, 5.80966, 0.113068, 0, -5.80966, -111.416, 0, -8.17359, -8.05345, 0, 1.03009, 8.05345, 0, -1.03009, -98.5449, 0, -22.6661, -9.43776, 0, 1.95161, 9.43776, 0, -1.95161, -25.2905, 0, -22.3256, -0.0311069, 0, 7.83885, 0.0311069, 0, -7.83885, -11.5428, 0, -36.882, 7.08705, 0, -0.0646324, -7.08705, 0, 0.0646324, -24.2796, 0, -51.6406, 8.77531, 0, 0.544769, -8.77531, 0, -0.544769, -98.679, 0, -51.6406, 0.37458, 0, 5.52505, -0.37458, 0, -5.52505, -111.817, 0, -67.39, -3.32562, 0, 5.76112, 3.32562, 0, -5.76112, -111.82, 0, -105.014, -8.47038, 0, -0.125305, 8.47038, 0, 0.125305, -94.2312, 0, -118.155, 0.196106, 0, -5.41386, -0.196106, 0, 5.41386, -82.5052, 0, -108.451, -0.326691, 0, -6.80981, 0.326691, 0, 6.80981, -81.2921, 0, -81.9664, -5.36856, 0, -0.26358, 5.36856, 0, 0.26358, -72.3966, 0, -71.2513, -9.12793, 0, 0.503494, 9.12793, 0, -0.503494, -35.3991, 0, -71.8578, 0.00609779, 0, 6.7858, -0.00609779, 0, -6.7858, -21.247, 0, -85.8077, 7.8784, 0, -0.0757294, -7.8784, 0, 0.0757294, -32.973, 0, -97.3315, 0.036438, 0, 5.9965, -0.036438, 0, -5.9965, -42.0708, 0, -108.249, -5.25214, 0, 0.0808868, 5.25214, 0, -0.0808868, -32.3665, 0, -117.347, -8.73079, 0, -0.102692, 8.73079, 0, 0.102692, 6.45056, 0, -116.942, -0.224874, 0, -7.50494, 0.224874, 0, 7.50494, 18.1765, 0, -103.599, -2.06262, 0, -8.12864, 2.06262, 0, 8.12864, 20.2525, 0, -24.1889, -7.12782, 0, 0.158427, 7.12782, 0, -0.158427, 32.549, 0, -13.3262, -3.35271, 0, 5.0526, 3.35271, 0, -5.0526, 46.1925, 0, -20.5824, -0.64621, 0, 9.24307, 0.64621, 0, -9.24307, 48.5313, 0, -100.511, -7.1454, 0, 0.24086, 7.1454, 0, -0.24086, 68.2012, 0, -112.554, -0.0577621, 0, -8.74376, 0.0577621, 0, 8.74376, 88.3303, 0, -99.5554, 0.0412903, 0, -9.05955, -0.0412903, 0, 9.05955, 89.139, 0, -6.55621, 7.13115, 0, -0.0536489, -7.13115, 0, 0.0536489, 74.5826, 0, 8.20235, 0, 0, 0, 0, 0, 0, -99.892, 0, 7.79801 ),
"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 )
}
[node name="TestWorld2" type="Spatial"]
script = ExtResource( 4 )
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource( 2 )
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 0.992736, -0.12031, 2.25421e-10, -0.084633, -0.698347, 0.710738, -0.085509, -0.705575, -0.703457, 0, 42.6672, 0 )
shadow_enabled = true
[node name="DirectionalLight2" type="DirectionalLight" parent="."]
transform = Transform( 1, 0, 0, 0, 0.65482, 0.755785, 0, -0.755785, 0.65482, 2.14166, 42.6672, 0 )
light_energy = 0.5
[node name="StationaryCamera" parent="." instance=ExtResource( 5 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -5.4976, 29.9788, -57.0256 )
far = 150.0
target_path = NodePath("../AICar6")
[node name="ChaseCamera" parent="." instance=ExtResource( 3 )]
current = true
far = 150.0
target_path = NodePath("../AICar6")
[node name="track_2" parent="." instance=ExtResource( 1 )]
[node name="Path" type="Path" parent="."]
curve = SubResource( 3 )
[node name="PathFollow" type="PathFollow" parent="Path"]
transform = Transform( 0.0297841, 0, -0.999556, 0, 1, 0, 0.999556, 0, 0.0297841, -99.892, 0, 7.79801 )
rotation_mode = 4
[node name="AICar" parent="." instance=ExtResource( 2 )]
transform = Transform( -0.00738273, 0, 0.999973, 0, 1, 0, -0.999973, 0, -0.00738273, -0.196298, 0.00621819, 5.7679 )
steering_limit = 12.0
engine_power = 20.0
braking = -20.0
slip_speed = 15.0
traction_slow = 0.9
traction_fast = 0.04
look_ahead = 15.0
[node name="AICar2" parent="." instance=ExtResource( 2 )]
transform = Transform( -0.00738273, 0, 0.999973, 0, 1, 0, -0.999973, 0, -0.00738273, 10.0196, 0.00621819, 5.69247 )
steering_limit = 12.0
engine_power = 20.0
braking = -20.0
slip_speed = 15.0
traction_slow = 0.9
traction_fast = 0.04
look_ahead = 15.0
[node name="AICar3" parent="." instance=ExtResource( 2 )]
transform = Transform( -0.00738273, 0, 0.999973, 0, 1, 0, -0.999973, 0, -0.00738273, 19.307, 0.00621819, 5.62391 )
steering_limit = 12.0
engine_power = 20.0
braking = -20.0
slip_speed = 15.0
traction_slow = 0.9
traction_fast = 0.04
look_ahead = 15.0
[node name="AICar4" parent="." instance=ExtResource( 2 )]
transform = Transform( -0.00738273, 0, 0.999973, 0, 1, 0, -0.999973, 0, -0.00738273, 14.8009, 0.00621819, 9.64723 )
steering_limit = 12.0
engine_power = 20.0
braking = -20.0
slip_speed = 15.0
traction_slow = 0.9
traction_fast = 0.04
look_ahead = 15.0
[node name="AICar5" parent="." instance=ExtResource( 2 )]
transform = Transform( -0.00738273, 0, 0.999973, 0, 1, 0, -0.999973, 0, -0.00738273, 4.48516, 0.00621819, 9.72339 )
steering_limit = 12.0
engine_power = 20.0
braking = -20.0
slip_speed = 15.0
traction_slow = 0.9
traction_fast = 0.04
look_ahead = 15.0
[node name="AICar6" parent="." instance=ExtResource( 2 )]
transform = Transform( -0.00738273, 0, 0.999973, 0, 1, 0, -0.999973, 0, -0.00738273, 24.4123, 0.00621819, 9.57627 )
steering_limit = 12.0
engine_power = 20.0
braking = -20.0
slip_speed = 15.0
traction_slow = 0.9
traction_fast = 0.04
look_ahead = 15.0