cars, cars, cars

soggy

New member
Hello to all.

I am wondering if it is all possible to put more cars onto the spline roads??
I don't want new or different cars, I just want more of them. Is there a "flow rate" and how do I adjust it??

Thanks,
Soggy.
 
The frequency of car spawning is defined by the "carrate" field in a road's config.txt file.

A carrate of 0 equals a no-traffic road. Otherwise, the value is the number of seconds (?) between each car spawning. The value must be 3 or higher. So, a carrate of 3 (the lowest-possible value) means that a car will be spawned every 3 seconds (?). A carrate of 15 equals 15 seconds between each car spawning, 30 equals 30 seconds, and so on.

Note again that the carrate is defined per road asset. As a result, you have to decrease the value of the carrate field in the config.txt file for an individual road asset. So, if you have a set of 4 or so roads that differ only in the center lines (e.g. a set to build a passing zone), you would have to change the carrate field in the config.txt file for each individual road in that set.

I remember from adding custom cars to some of my layouts using TrainzObjectz that there is/was a carrate field defined in the config.txt file for maps also. I do not know exactly what effect this has on the roads in a layout (all of which might have different carrate values), or if it would even work in newer versions of Trainz, but you could try it out by adding, say, a "carrate 3" field in to the config.txt file for one of your layouts, and see what it does.

Regards.
 
Last edited:
Ok????? Thank you for your reply, But how do I get to the thingy that you change it with. LOL! I'm not to good with computers.

Thanks,
Soggy.
 
Ok????? Thank you for your reply, But how do I get to the thingy that you change it with. LOL! I'm not to good with computers.

Thanks,
Soggy.

Well, I believe that you would go into Content Manager, find the map or road asset that you want to change, and either open it for edit, or click any option to open the config.txt. Preferably, do the latter. If the former, then the asset would probably be in your TS2009 installation folder, in the Edit subfolder. (If your are using Windows Vista or Windows 7, then right-click on the TS2009 icon on your desktop, and select Open File Location, and then navigate into the Edit folder).

After making any changes, you would need to commit the asset in Content Manager.

Regards.
 
Back
Top