Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Is there a way to increase the number of cars on my roads? My current layout only has one road coming onto the layout. The layout itself is 100 bases. I would like to get more cars on the roads if possible.
Thanks!
The wiki link in post #2 is 8 years old and, from the screenshots, is for an older version of Trainz.
A more recent wiki page on creating region assets, which includes details on adding carz, is at https://online.ts2009.com/mediaWiki/index.php/How_to_Create_a_Region_Asset
region <kuid:XXXXXX:YYYY> ..............the kuid of your region
carrate 4 ..............an integer 3 to 50 in value to control
the delay between cars being spawned
(smaller value means more carz)
ontheright 1 ..............for countries where we drive on the
right hand side of the road
I've never had an issue with the region overriding local roads so I'm assuming that the local road supersedes what's in the region.
I use carrate 0 all the time on some roads I've reskinned to prevent traffic on them such as dirt roads, and YARN roads I use as concrete industrial areas that I bury the track into.
carrate 4 ..............an integer 3 to 50 in value to control
the delay between cars being spawned
(smaller value means more carz)
Great article, thank you for that. The OP asked how to add more traffic, your Wiki does not address the question. The Wiki I linked to shows basically how to build on what you show in the Region, and in the Route config.txt how to regulate it.
Is it possible that YARN road assets work differently to the normal built in roads? I don't use YARN so I have no idea. If YARN uses its own scripting then the rules will probably be different.
In later TRS19 SP3 beta builds (after 110491) the "carrate" tag will produce an error message and faulty routes so it looks like it is on its way out.
In my case I was experimenting with using road traffic to see the issues that were being reported, particularly in relation to the region asset. I don't use YARN and Yarnish roads and in my current project none my roads allow traffic. I have never really been impressed by the "road traffic thing".
I have raised a ticket with the HelpDesk to see if they can clarify things as there seems to be a conflict between the official documentation from N3V states (maximum of 15 different moving cars) and what some creators are claiming (100 different moving cars in a route). It could simply be that the documentation needs to be updated.
I was experimenting with adding the carrate tag to the config.txt file of the route to see if it would produce more. I was able to edit the file and submit the edit but when I started Driver/Surveyor the route was shown with the red "!" faulty symbol on the thumbnail. This revealed the error message
; <kuid2:45176:100126:1> : Validating <kuid2:45176:100126:1>
- <kuid2:45176:100126:1> : VE44: Tag 'carrate' in the container 'map' is obsolete..
Carrate: No longer Valid. Defined traffic density on road (minimum seconds between each car generated). 0 = No traffic. Number must be greater than 3.