How to make one way streets in OMSI and OMSI 2?
Easy one way streets
OMSI 2
Making one way streets in OMSI is fairly simple, especially if you already have a spline with paths but you just want all of them to have the same direction.
I will use, probably, the most popular spline in OMSI, RQ_9,5_2spur_6,5m_Sidewalk from ADDON Simple Streets.
You can read more about Splines here (web disk article), but quickly - the first number is the type of traffic (0 = cars, 1 = pedestrians, 2 = rails, 3 = airplanes) and the last number is direction (0 = forward, 1 = backwards, 2 = both).
So here, we will ignore the first and the last segment (because they are type 1, which is pedestrians) and change value of the second segment to 0 and now we have an one way street going forward.
[path]
1
-4.049
0.250
0.981
2
[path]
0
-1.625
0.100
3.030
0 # we changed this value, it was 1
[path]
0
1.625
0.100
3.030
0
[path]
1
4.049
0.250
0.981
2`