by OldProf » Mon Sep 03, 2012 2:11 pm
My portal test scenario for the Hedborough route has now reached version 5b and I've arrived at some interesting conclusions, which perhaps should really be called theories.
As previously mentioned (and now, in my opinion, confirmed) an AI train that emerges from a portal cannot be instructed to perform a drop-off if other AI trains are scheduled to emerge from the same portal.
Once I established this, I took the dropping-off train out of its portal and moved it to another part of the route, from which it could reverse into the Hedborough yard, make its drop-off, and return whence it came (more or less). Why reverse? Because the player engine already uses the yard's Shunt track and the AI train could not enter it, even when the player train was not present. Perhaps a scenario-based track marker would resolve this situation, but I haven't tried that. Compromise is often necessary in scenario writing! Originally, I used only a drop-off instruction followed by a few drive-to instructions to get the AI train into and out of the yard area, but after dropping its wagons on the assigned track the engine did something (I could never see what) that caused a scenario-ending AI collision. So, I added a drive-to instruction before the drop-off instruction, with the result that sometimes it crashes and sometimes it doesn't. The length of the stop involved in the drive-to instruction seems to have something to do with this. I learned to save the scenario before the drop-off and continue it from the save after the collision. The collision did not occur after the continuation, but something else did.
By that point, I had 4 AI trains loaded into each of 2 portals. When the scenario ran without the drop-off AI crashing, all AI trains came out of their portals correctly, but when I had to continue the scenario after a collision, only 2 of the 4 AI trains emerged from each portal.
I'm still testing thie latest version, but will upload it as soon as possible.
"Curiouser and curiouser", as Alice said.
Latest news: This scenario, named Hedborough Portal Test has been uploaded and should be available for download soon. Please give it a try!
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}