Fix Passengers Queuing in Road or AI Driving on Pavement on Left-Path Maps Solution!

Rhys

Veteran Member
Mar 20, 2016
1,427
A number of days ago, we were lucky to stumble across a supporter on the OMSI 2 Add-On London Facebook page who had given us a short tutorial in a fix which could change the way left path maps are developed in the future. I've tested the method out on London and it works phenomenally!

Ironically, the answer has been there all along, but the solution was hidden in the German section of the Official OMSI forums, a place most UK/HK Developers are unlikely to look in.

Synopsis
The current issue with left path maps generally is with setting the AI Buses to approach bus stops correctly. Currently, many of us developers only know how to achieve this by setting the "Entrance/Exit Number" of a bus stop cube to allow entries from the left hand side. However, this led to a compromising conflict caused by two methods which all left path map developers do, as explained below.

Option A: If the bus stop cube was placed by the kerb (which both Cotterell or BOTW currently utilises at request stops), then the AI would always mount the kerb when coming to a halt at the bus stop, this however would keep passengers on the paving area.

Option B: If the bus stop cube was placed outwards, more into the road, as London previously utilises, as well as the majority of left path maps, then passengers would walk out into the road prior to board the bus, however AI would remain on the road.


Below is a short tutorial explaining how to avoid both those issues stated above I'll be using Marble Arch, an area included in the add-on to explain the fix.

Tutorial

Step 1: The Global.cfg file
Locate the map folder that you wish to make this fix on, in my case, its "OMSI 2/Maps/London". Inside the map folder (London), look for "Global.cfg" and open it up, in a program such as Notepad/Notepad ++ etc...

Example_C.PNG

Once opened, you will need to add the variable tag [LHT] somewhere below the "NextIDCode". Save the document and close it.

Step 2: The Bus Stop Cube Position
Open up OMSI 2 Editor, click on a bus stop cube, and drag it so it's now placed by the kerb, similar to how you would with right hand path maps.

Example_A.PNG


Step 3: The Bus Stop Cube Options

Lastly, you will now need to open up the options for the bus stop cube (seen located underneath "Load Directory" on the right tab) and scroll down to where it says "Entrance/Exit Side". You would have noticed that by adding the [LHT] tag in the global.cfg file, it has reversed the entry/exit numbers for Left and Right. Ensure that the number is changed to "0".
Example_B.PNG

Press save, and continue to do the last two steps to each and every bus stop cube.

Below are the results of the fix tested out in the game with an AI Bus :)



Rhys
 
Last edited:

lubukesh

Well-Known Member
Apr 10, 2016
110
Presumably if you have not changed the bus stop cube settings in the first place (i.e. it is still set to "0" by default) then all you have to do is add the [LHT] tag to the global.cfg file and no need to change all the bus stop cubes?
 
  • Like
Reactions: Lukeo

mrmoose

Well-Known Member
Jul 30, 2016
45
Correct! Although for the best results - you may need to re-position them closer to the kerb than previously.
 

Jacobthebus

Weeeeeeeeeee
Mar 7, 2016
1,048
I think that this is a major break through! It's a shame that it can't be applied to all LHT maps in one big sweep, but it's definitely a massive leap in the right direction. I think we owe massive amounts to the gentleman or gentlewomen who discovered this, his discovery will be infamous among the RHD community, I'm sure!
 

The British Gamer

Hotel? Trivago.
Dec 29, 2016
1,163
Great discovery Rhys. I can't wait for London to come out as my man is getting it for my birthday!!!!!! Can't wait to drive the new route master and the other cool buses on London. For now, bye.
 
D

Deleted member 422

Great discovery Rhys. I can't wait for London to come out as my man is getting it for my birthday!!!!!! Can't wait to drive the new route master and the other cool buses on London. For now, bye.
There is no longer a NRM in the AddOn. It has been replaced. Also, seeing as there is no release date, you might have to wait a little longer...
 

werdo

New Member
Jan 10, 2017
7
A number of days ago, we were lucky to stumble across a supporter on the OMSI 2 Add-On London Facebook page who had given us a short tutorial in a fix which could change the way left path maps are developed in the future. I've tested the method out on London and it works phenomenally!

Ironically, the answer has been there all along, but the solution was hidden in the German section of the Official OMSI forums, a place most UK/HK Developers are unlikely to look in.

Synopsis
The current issue with left path maps generally is with setting the AI Buses to approach bus stops correctly. Currently, many of us developers only know how to achieve this by setting the "Entrance/Exit Number" of a bus stop cube to allow entries from the left hand side. However, this led to a compromising conflict caused by two methods which all left path map developers do, as explained below.

Option A: If the bus stop cube was placed by the kerb (which both Cotterell or BOTW currently utilises at request stops), then the AI would always mount the kerb when coming to a halt at the bus stop, this however would keep passengers on the paving area.

Option B: If the bus stop cube was placed outwards, more into the road, as London previously utilises, as well as the majority of left path maps, then passengers would walk out into the road prior to board the bus, however AI would remain on the road.


Below is a short tutorial explaining how to avoid both those issues stated above I'll be using Marble Arch, an area included in the add-on to explain the fix.

Tutorial

Step 1: The Global.cfg file
Locate the map folder that you wish to make this fix on, in my case, its "OMSI 2/Maps/London". Inside the map folder (London), look for "Global.cfg" and open it up, in a program such as Notepad/Notepad ++ etc...

View attachment 4964
Once opened, you will need to add the variable tag [LHT] somewhere below the "NextIDCode". Save the document and close it.

Step 2: The Bus Stop Cube Position
Open up OMSI 2 Editor, click on a bus stop cube, and drag it so it's now placed by the kerb, similar to how you would with right hand path maps.

View attachment 4960

Step 3: The Bus Stop Cube Options

Lastly, you will now need to open up the options for the bus stop cube (seen located underneath "Load Directory" on the right tab) and scroll down to where it says "Entrance/Exit Side". You would have noticed that by adding the [LHT] tag in the global.cfg file, it has reversed the entry/exit numbers for Left and Right. Ensure that the number is changed to "0".
View attachment 4961
Press save, and continue to do the last two steps to each and every bus stop cube.

Below are the results of the fix tested out in the game with an AI Bus :)



Rhys
This my friend is extremely useful.Thank you :)