Is AI stupid on purpose?

I run a very large route (667 baseboards) with multiple routes and 20+ trains. When I just observe the AI drives ok. But When I take control of a train and drive about an hour I observe that some trains just stop even on simple routes with no switches. I have a loop line and the trains seem stuck sometimes in between signals. I think Dermmy is right and the cause is that there is too much CPU load. Does Trainz see each consist as a train (even if it's stationary with no AI attached to it?). Or does it work different. Anyway. If I just observe it drives ok but I think I will try to limit the active consists on my route.
 
. Does Trainz see each consist as a train (even if it's stationary with no AI attached to it?)...

Yes, for the most part it does, and the program checks regularly every single loose car to see if it is still loose. There is however a 'sleep' script available in some rolling stock which in effect turns a consist without a locomotive into what amounts to a scenery object. If you can find a traincar with the script you can copy it into all the rolling stock that is 'loose' on your route. That will free up a fair bit of computer resources for more important work....
 
Why can't NV3 write code into the program to identify consists without a locomotive and turn it into a scenery object. Why should it be left up to the individual content creator?
 
Tutorials 5, 8, 12 and 14 here do a very good job of working with AI issues. Chuck has spent a very long time working with the AI and has found many solutions to get them to work correctly!
 
Thanks for the tips. Does anyone know a car with the sleep script? Is there one on the download station? Then I can download it and copy the script to the sleepy consists :).
 
Thanks for the tips. Does anyone know a car with the sleep script? Is there one on the download station? Then I can download it and copy the script to the sleepy consists :).

Look for the freight cars made by Sniper297. These have the script in there.

In order to get it to work, you need to edit the config.txt file and possible edit the carz (forgot the name) - script to reference the train car. I did this for a bunch of content then gave up because of the gazillion freight cars on my system.

John
 
Look for the freight cars made by Sniper297. These have the script in there.

In order to get it to work, you need to edit the config.txt file and possible edit the carz (forgot the name) - script to reference the train car. I did this for a bunch of content then gave up because of the gazillion freight cars on my system.

John


Wil do. Thanks for helping me out. :).
 
Back
Top