this clearly suggests we can import a mesh or path exported from blender.
but till yet i never found any information about it.
so, le bluems tool will sadly not help without big effort of manually manipulate the single player traffic.json file.
___________________________________
json file contains:
speed rules:
{"rules":{"laneRoles":[{"speedLimit":150,"name":"Parking","priority":8},
{"speedLimit":92,"name":"Secondary","priority":-4},
{"speedLimit":52,"name":"Main","priority":0},
{"speedLimit":120,"name":"Highway","priority":4}]},
areas to overwrite some rules:
"areas":[{"shapes":[[[2272.8286132813,280.32934570313,-1790.2238769531],
[2266.5651855469,280.3291015625,-1781.4780273438],
[2276.8869628906,280.3291015625,-1778.0396728516],
[2283.7048339844,280.3291015625,-1772.5975341797],
[...]
intersection areas for junctions...
and the path where traffic is drivin along:
"name":"Lane #18","loop":false,"id":18},{"params":[],"priorityOffset":0,"points":
[[87.255981445313,292.919921875,-632.95520019531],[87.16268157959,292.919921875,-588.45043945313]],
[...]
imagine puttin all these coordinates by hand into this file. a nightmare!
we would be definitly faster to draw the path ingame.
one method i could imagine, basicly as workaround:
export the csv file with ai helper tool out of blender for a single road section. (i have freeroam maps in mind)
create ingame the first point of the Lane and then copy from csv into traffic.json.
but think about all the damn brackets... i told a friend already to write a code for it to do the job automatically. but he was to lazy. maybe lebluem is reading here XD
this i get from ai-helper-tool as .csv:
17.6630,0.0000,-41.7668,0.000029
17.6516,0.0000,-41.7653,0.000058
17.6401,0.0000,-41.7639,0.000087
17.6287,0.0000,-41.7625,0.000116
17.6173,0.0000,-41.7610,0.000145
17.6058,0.0000,-41.7596,0.000174
...
iam pretty sure there is a way to tell notepad++ or visual studio code to put brackets infront and at the end + a comma of each row.
I repeat myself, traffic planner suggests to import object files, so i wanna be able to use it!
the lag of sharing the informations how to use specific things cm offers is all over the place.
