-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbasic_map_config.json
More file actions
148 lines (148 loc) · 6.22 KB
/
Copy pathbasic_map_config.json
File metadata and controls
148 lines (148 loc) · 6.22 KB
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"vehicles": [
{ "id": "vehicle_1", "x": 50, "y": 0, "spawn": false },
{ "id": "vehicle_2", "x": 50, "y": 0, "spawn": false },
{ "id": "vehicle_3", "x": 50, "y": 0, "spawn": false },
{ "id": "vehicle_3", "x": 50, "y": 0, "spawn": false },
{ "id": "vehicle_4", "x": 50, "y": 0, "spawn": false },
{ "id": "vehicle_5", "x": 50, "y": 0, "spawn": false },
{ "id": "vehicle_6", "x": 50, "y": 0, "spawn": false },
{ "id": "vehicle_7", "x": 50, "y": 0, "spawn": false },
{ "id": "vehicle_8", "x": 50, "y": 0, "spawn": false },
{ "id": "vehicle_9", "x": 50, "y": 0, "spawn": false},
{ "id": "vehicle_10", "x": 50, "y": 0, "spawn": false },
{ "id": "vehicle_11", "x": 50, "y": 0, "spawn": false },
{ "id": "vehicle_12", "x": 50, "y": 0, "spawn": false },
{ "id": "vehicle_13", "x": 50, "y": 0, "spawn": false },
{ "id": "vehicle_14", "x": 50, "y": 0, "spawn": false },
{ "id": "vehicle_15", "x": 50, "y": 0, "spawn": false },
{ "id": "vehicle_16", "x": 750, "y": 500, "spawn": false },
{ "id": "vehicle_17", "x": 750, "y": 500, "spawn": false },
{ "id": "vehicle_18", "x": 750, "y": 500, "spawn": false },
{ "id": "vehicle_19", "x": 750, "y": 500, "spawn": false },
{ "id": "vehicle_20", "x": 750, "y": 500, "spawn": false },
{ "id": "vehicle_21", "x": 750, "y": 500, "spawn": false },
{ "id": "vehicle_22", "x": 750, "y": 500, "spawn": false },
{ "id": "vehicle_23", "x": 750, "y": 500, "spawn": false },
{ "id": "vehicle_24", "x": 750, "y": 500, "spawn": false },
{ "id": "vehicle_25", "x": 750, "y": 500, "spawn": false },
{ "id": "vehicle_26", "x": 750, "y": 500, "spawn": false },
{ "id": "vehicle_27", "x": 750, "y": 500, "spawn": false },
{ "id": "vehicle_28", "x": 750, "y": 500, "spawn": false },
{ "id": "vehicle_29", "x": 750, "y": 500, "spawn": false },
{ "id": "vehicle_30", "x": 750, "y": 500, "spawn": false }
],
"traffic_lights": [
{ "id": "traffic_light_left_top", "x": 50, "y": 50 },
{ "id": "traffic_light_left_bottom", "x": 50, "y": 450 },
{ "id": "traffic_light_right_bottom", "x": 750, "y": 450 },
{ "id": "traffic_light_right_top", "x": 750, "y": 50 },
{ "id": "traffic_light_top_mid", "x": 350, "y": 50 },
{ "id": "traffic_light_bottom_mid", "x": 350, "y": 450 },
{ "id": "traffic_light_mid_left", "x": 250, "y": 250 },
{ "id": "traffic_light_mid_right", "x": 450, "y": 250 }
],
"crossings": [
{ "id": "crossing_left_top", "x": 50, "y": 100 },
{ "id": "crossing_left_mid", "x": 50, "y": 250 },
{ "id": "crossing_left_bottom", "x": 50, "y": 400 },
{ "id": "crossing_right_top", "x": 750, "y": 100 },
{ "id": "crossing_right_mid", "x": 750, "y": 250 },
{ "id": "crossing_right_bottom", "x": 750, "y": 400 },
{ "id": "crossing_top_1", "x": 150, "y": 50 },
{ "id": "crossing_top_2", "x": 250, "y": 50 },
{ "id": "crossing_top_3", "x": 450, "y": 50 },
{ "id": "crossing_top_4", "x": 650, "y": 50 },
{ "id": "crossing_mid_1", "x": 150, "y": 250 },
{ "id": "crossing_mid_2", "x": 250, "y": 250 },
{ "id": "crossing_mid_3", "x": 450, "y": 250 },
{ "id": "crossing_mid_4", "x": 650, "y": 250 },
{ "id": "crossing_bottom_1", "x": 150, "y": 450 },
{ "id": "crossing_bottom_2", "x": 250, "y": 450 },
{ "id": "crossing_bottom_3", "x": 450, "y": 450 },
{ "id": "crossing_bottom_4", "x": 650, "y": 450 }
],
"roads": [
{
"id": "left_vertical_road",
"x1": 50, "y1": 0, "x2": 50, "y2": 500,
"capacity": 2,
"color": "gray",
"one_way": true,
"is_spawn_point": true,
"is_despawn_point": true,
"connections": ["top_horizontal_road", "middle_horizontal_road", "bottom_horizontal_road"]
},
{
"id": "right_vertical_road",
"x1": 750, "y1": 500, "x2": 750, "y2": 0,
"capacity": 2,
"color": "gray",
"one_way": true,
"is_spawn_point": true,
"is_despawn_point": true,
"connections": ["top_horizontal_road", "middle_horizontal_road", "bottom_horizontal_road"]
},
{
"id": "top_horizontal_road",
"x1": 750, "y1": 50, "x2": 0, "y2": 50,
"capacity": 2,
"color": "gray",
"one_way": true,
"is_spawn_point": false,
"is_despawn_point": false,
"connections": ["left_vertical_road", "middle_vertical_left", "right_vertical_road"]
},
{
"id": "middle_horizontal_road",
"x1": 0, "y1": 250, "x2": 750, "y2": 250,
"capacity": 2,
"color": "gray",
"one_way": true,
"is_spawn_point": false,
"is_despawn_point": false,
"connections": ["left_vertical_road", "middle_vertical_left", "middle_vertical_right", "right_vertical_road"]
},
{
"id": "bottom_horizontal_road",
"x1": 0, "y1": 450, "x2": 750, "y2": 450,
"capacity": 2,
"color": "gray",
"one_way": true,
"is_spawn_point": false,
"is_despawn_point": true,
"connections": ["left_vertical_road", "middle_vertical_right", "right_vertical_road"]
},
{
"id": "middle_vertical_left",
"x1": 250, "y1": 450, "x2": 250, "y2": 50,
"capacity": 2,
"color": "gray",
"one_way": true,
"is_spawn_point": false,
"is_despawn_point": false,
"connections": ["top_horizontal_road", "middle_horizontal_road"]
},
{
"id": "middle_vertical_right",
"x1": 450, "y1": 50, "x2": 450, "y2": 500,
"capacity": 2,
"color": "gray",
"one_way": true,
"is_spawn_point": true,
"is_despawn_point": true,
"connections": ["middle_horizontal_road", "bottom_horizontal_road"]
}
],
"spawn_points": [
{ "id": "spawn_left", "road_id": "left_vertical_road", "x": 50, "y": 10 },
{ "id": "spawn_right", "road_id": "right_vertical_road", "x": 750, "y": 490 },
{ "id": "spawn_middle", "road_id": "middle_vertical_right", "x": 450, "y": 50 }
],
"despawn_points": [
{ "id": "despawn_left", "road_id": "left_vertical_road", "x": 50, "y": 490 },
{ "id": "despawn_right", "road_id": "right_vertical_road", "x": 750, "y": 10 },
{ "id": "despawn_bottom", "road_id": "bottom_horizontal_road", "x": 10, "y": 450 },
{ "id": "despawn_middle_right", "road_id": "middle_vertical_right", "x": 450, "y": 500 }
]
}