-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StayInLane gets confused with multi pupose car/track lanes. #705
Comments
This issue should fix #703 too. |
…ing CanConnect() for tracks. include same sized oneway road.
Result from #706 : There is nothing wrong with the picture bellow. Is this issue resolved for all practical purposes? I guess if both roads have mixed tram+car lanes this this gets confused but I cannot find such a road. |
Ill make this issue low priority until someone encounters the problem in practice. |
Just to clarify, is this where a lane supports both road+tracked at same time (like vanilla) but not where a track lane is placed above a separate road lane? |
Mixed bag! |
fixes #703 - stay in lane on junctions (lanes do not crisscross). - When lane arithmetic does not match lanes connections are distributed evenly. the remainder goes to inner/other/center lanes depending on circumstances. - guide message is shown when nothing happens. - changed shortcut key to CTRL+S (which conflicts with mod tools). - I fixed a problem with stay in lane when stay in lane : when stayInLaneMode == None selected node markers disappeared. - I added simple CanConnect() Condition for tracks which mostly solves #705. Asymmetrical tracks and mixed car/tram roads are still unsupported. fixes #617 - stay in lane does not connect if there is only one lane: #617
fixes #703 - stay in lane on junctions (lanes do not crisscross). - When lane arithmetic does not match lanes connections are distributed evenly. the remainder goes to inner/other/center lanes depending on circumstances. - guide message is shown when nothing happens. - changed shortcut key to CTRL+S (which conflicts with mod tools). - I fixed a problem with stay in lane when stay in lane : when stayInLaneMode == None selected node markers disappeared. - I added simple CanConnect() Condition for tracks which mostly solves #705. Asymmetrical tracks and mixed car/tram roads are still unsupported. fixes #617 - stay in lane does not connect if there is only one lane: #617
see #705 (comment)
This part is fixed:
![Screenshot (514)](https://user-images.githubusercontent.com/26344691/74610192-95e34600-50f9-11ea-9150-b8bcad59e19b.png)
This is because the innerSimilarIndex of the track matches the innerSimilarIndex of the road.
There has to be extra check using the
CanConnect
function that I recently introduced.The text was updated successfully, but these errors were encountered: