I have been working to update YARNish road assets to build 4.7 PBR and to correct a number of issues that have previously existed. I have run into an issue that seems to show that multi-lane roads such as a four lane highway do not appear to be working correctly in TRS19. I ran a test where I created seven of these roads and put them in a blank route that I use for testing purposes. The only difference between each of the roads was the numlanes parameter. See this video below which shows the roads in action in TRS19 (build 110491):
The roads to the far left has the numlanes parameter set to 0. Each road further to the right from that one increments the numlanes parameter by 1 until you reach the far right road which has numlanes set to 6. As you can see in the video nothing changes and the traffic stays the same and is in the wrong lane (ie; the fast lane). Note: I am using U.S. roads here with driving to the right.
Here is my code for the road:
Am I missing something here?
BTW I tried a version of this road with attached invisible road splines, which worked correctly, but could not get it to connect to a YARNish mocrossing based four lane intersection. For more on that see this thread:
https://forums.auran.com/trainz/sho...blem-with-4-lane-road-connecting-with-an-exit
Bob
The roads to the far left has the numlanes parameter set to 0. Each road further to the right from that one increments the numlanes parameter by 1 until you reach the far right road which has numlanes set to 6. As you can see in the video nothing changes and the traffic stays the same and is in the wrong lane (ie; the fast lane). Note: I am using U.S. roads here with driving to the right.
Here is my code for the road:
Code:
username "SAP_US_Asphalt_4L_Highway_Spline_1_TEST0"
trainz-build 4.7
category-class "SR"
kind "track"
istrack 0
visible-on-minimap 0
category-era "1950s;1960s;1970s;1980s;1990s;2000s;2010s"
category-region "00;US"
author "MSGSapper"
description "A U.S.55MPH asphalt four-lane road spline with no sidewalk, with a shoulder, and divided by a central barrier spline 10 meters in length compatible with all YARNish road assets. Use this for building all your higways. Uses non-parallax PBR textures. This road spline works very well with PBR ground textures. My thanks to Madeline Usher, who is the original creator of the YARN road system. Crack texture overlay courtesy of dinorius_redundicus. I have also included all my Blender 2.91 project files for this content item in a sub-folder called 'blender_files'. Before trying to access them be sure to first read the 'instructions_read_first.txt' file in that folder. I have also included the markings overlay texture file for re-skinning purposes using your own road texture."
license "You may re-skin this item without requesting permission from me as long as you only distribute it on the Auran DLS and make it freeware. You must add the following to the item description field: 'Thanks to Madeline Usher, who is the original creator of the YARN road system. Crack texture overlay courtesy of dinorius_redundicus.'."
isroad 1
carrate 10
traffic-speed 24.5872
category-keyword "highway;interstate;road;msgsapper"
isfreeway 0
numlanes 0
mesh-table
{
default
{
mesh "road.trainzmesh"
auto-create 1
lod-level 0
}
}
track
{
mesh-length 10
track-lod-tree
{
high-detail
{
mesh "default"
subdivisions 1
}
low-detail
{
mesh "default"
subdivisions 1
}
}
}
thumbnails
{
0
{
image "$screenshot_240-180$.jpg"
width 240
height 180
}
}
kuid-table
{
}
kuid <kuid:439337:106189>
Am I missing something here?
BTW I tried a version of this road with attached invisible road splines, which worked correctly, but could not get it to connect to a YARNish mocrossing based four lane intersection. For more on that see this thread:
https://forums.auran.com/trainz/sho...blem-with-4-lane-road-connecting-with-an-exit
Bob