How smart is the AI and Dispatcher?

Discussion about RailWorks scenario creation.

How smart is the AI and Dispatcher?

Unread postby Wabash1070 » Sun Dec 06, 2015 9:55 am

I'm making a freight scenario on the original NEC route from Frankford Yard to Metuchen Yard and it seems to me that some of the AI aren't very smart in getting to their destination and the Dispatcher wants to do some strange things to some trains. Makes me wonder how smart the AI and Dispatcher are? Hopefully the AI and Dispatcher get a lot smarter in the UE4 version of Train Simulator. Also there is a decent amount of AI traffic in it so i'll have to play around with the AI and see if I can make everything run without issues or holding at signals for 10 minutes.
Driving thru the city towns country side and all over da world.
User avatar
Wabash1070
 
Posts: 32
Joined: Tue Dec 01, 2015 3:23 pm

Re: How smart is the AI and Dispatcher?

Unread postby buzz456 » Sun Dec 06, 2015 10:06 am

What makes you think because we are supposedly going to get prettier pictures that anything else will change?
Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 21041
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida

Re: How smart is the AI and Dispatcher?

Unread postby OldProf » Sun Dec 06, 2015 10:44 am

Sorry to have to be the one to tell you this, but AI engineers and the mythical Dispatcher rely on the smarts of scenario writers. Sometimes, we succeed in convincing both, but mostly we all just get lucky. By the way, that's both the challenge and the fun of scenario writing.
Tom Pallen (Old Prof)

{Win 10 Home 64-bit; Intel Core i7 6700 @ 3.40GHz; 16.0GB Single-Channel @ 1063 MHz (15-15-15-364); 2047MB NVIDIA GeForce GTX 960}
User avatar
OldProf
 
Posts: 2743
Joined: Wed Sep 09, 2009 10:09 am

Re: How smart is the AI and Dispatcher?

Unread postby cnwfan » Sun Dec 06, 2015 10:58 am

The built in dispatcher has always been flakey. The best thing I can suggest is to add destination markers, and then use either way points for AI traffic or stop instructions modified to act as way points (set the speed to 1 mph) for the driver train. Even then, the dispatcher may still throw an error, especially if there is a lot of back and forth along the same route... such as switching a yard. I also doubt the UE4 version of TS will fix this problem, as I suspect the dispatcher problem is more an internal program logic issue than a graphics issue.

Hang in there... you're not alone with this. All of us that have written scenarios have dealt with the dispatcher. It's trial and error, and depending on the complexity of the scenario, you may have to alter the scenario to get it to work with the dispatcher. Also, there are some tutorials on this site regarding scenario building.
************************
Howard (cnwfan)
Waverly, IA
My Flickr railroad photos: https://www.flickr.com/photos/184697503@N06/
cnwfan
 
Posts: 723
Joined: Mon Apr 25, 2011 4:16 pm
Location: Waverly, IA

Re: How smart is the AI and Dispatcher?

Unread postby Wabash1070 » Sun Dec 06, 2015 11:55 am

I know its annoying to deal with the Dispatcher and AI sometimes. Another thing that happens for me is when I test scenarios sometimes the AI will just creep along which means that the AI train is broken. Sometimes the AI work for me and sometimes they don't. Its a real pain too.
Driving thru the city towns country side and all over da world.
User avatar
Wabash1070
 
Posts: 32
Joined: Tue Dec 01, 2015 3:23 pm

Re: How smart is the AI and Dispatcher?

Unread postby OldProf » Sun Dec 06, 2015 2:01 pm

Wabash1070 wrote:I know its annoying to deal with the Dispatcher and AI sometimes. Another thing that happens for me is when I test scenarios sometimes the AI will just creep along which means that the AI train is broken. Sometimes the AI work for me and sometimes they don't. Its a real pain too.


In my experience, a creeping AI train usually cannot find its path, which means that either it needs more specific instructions from the scenario writer or its path is simply impossible. I'm assuming (frequently dangerous, but sometimes necessary) that you mean one AI train creeping, not all of them -- which I've never experienced. The danger presented by a creeping AI train is that after doing that for a while, it simply fails, which often results in a failed scenario.

Are you adding and testing one AI at a time?
Tom Pallen (Old Prof)

{Win 10 Home 64-bit; Intel Core i7 6700 @ 3.40GHz; 16.0GB Single-Channel @ 1063 MHz (15-15-15-364); 2047MB NVIDIA GeForce GTX 960}
User avatar
OldProf
 
Posts: 2743
Joined: Wed Sep 09, 2009 10:09 am

Re: How smart is the AI and Dispatcher?

Unread postby Wabash1070 » Mon Dec 07, 2015 2:41 pm

OldProf wrote:
Wabash1070 wrote:I know its annoying to deal with the Dispatcher and AI sometimes. Another thing that happens for me is when I test scenarios sometimes the AI will just creep along which means that the AI train is broken. Sometimes the AI work for me and sometimes they don't. Its a real pain too.


In my experience, a creeping AI train usually cannot find its path, which means that either it needs more specific instructions from the scenario writer or its path is simply impossible. I'm assuming (frequently dangerous, but sometimes necessary) that you mean one AI train creeping, not all of them -- which I've never experienced. The danger presented by a creeping AI train is that after doing that for a while, it simply fails, which often results in a failed scenario.

Are you adding and testing one AI at a time?
sometimes its one AI sometimes it more then one. I add how many I think I might need for the scenario and then once they are all added and my train has all the instructions it needs to do. I test the scenario plus I also have to guess on some of the timings too.
Driving thru the city towns country side and all over da world.
User avatar
Wabash1070
 
Posts: 32
Joined: Tue Dec 01, 2015 3:23 pm

Re: How smart is the AI and Dispatcher?

Unread postby OldProf » Mon Dec 07, 2015 5:53 pm

No, no, no, no, no . . .

Step 1: set up player train with all of its instructions (the only exception to this rule may occur if the player engine is to interact with AI traffic; for example, by picking up cars dropped off by an AI) and make sure that the entire scenario runs as desired.

Step 2: set up one AI engine or train at a time, making sure, train by train, that the scenario runs as desired. Setting up 2 AI trains in a single editing/testing pass is risky; setting up more than two is asking for trouble!

Years of experience and lots of patience behind these words!
Tom Pallen (Old Prof)

{Win 10 Home 64-bit; Intel Core i7 6700 @ 3.40GHz; 16.0GB Single-Channel @ 1063 MHz (15-15-15-364); 2047MB NVIDIA GeForce GTX 960}
User avatar
OldProf
 
Posts: 2743
Joined: Wed Sep 09, 2009 10:09 am

Re: How smart is the AI and Dispatcher?

Unread postby Wabash1070 » Wed Dec 09, 2015 6:15 pm

OldProf wrote:No, no, no, no, no . . .

Step 1: set up player train with all of its instructions (the only exception to this rule may occur if the player engine is to interact with AI traffic; for example, by picking up cars dropped off by an AI) and make sure that the entire scenario runs as desired.

Step 2: set up one AI engine or train at a time, making sure, train by train, that the scenario runs as desired. Setting up 2 AI trains in a single editing/testing pass is risky; setting up more than two is asking for trouble!

Years of experience and lots of patience behind these words!
I set up my train first and then once my train has it orders I add AI to the scenario. I also set the performance and priority of the AI trains so if I want to follow a train I set that AI performance lower and if I want to hold somewhere for a AI train I give it higher priority then my train.
Driving thru the city towns country side and all over da world.
User avatar
Wabash1070
 
Posts: 32
Joined: Tue Dec 01, 2015 3:23 pm


Return to Scenario Creation

Who is online

Users browsing this forum: No registered users and 1 guest