shaneturner12
Tutorial Creator
Hi Trainzers,
As many of you are probably now aware there is an ongoing problem involving passenger trains loading at stations.
I have been doing some investigations into the issue myself, and have found an interesting tidbit in the GenericPassengerStation script file that may shed some light on what is going on.
Observe the comment as well as the script lines above. It appears that part of the problem may now be that the script is not limiting the passenger count to what can fit on the train, which means that there is a chance of an indefinite loading time, as well as explaining why it may be having the other issues that are involved.
This will affect content creators as they will need to find a workaround for that part of the script if they can. It's in the PerformProductLoadAndUnload function.
Shane
As many of you are probably now aware there is an ongoing problem involving passenger trains loading at stations.
I have been doing some investigations into the issue myself, and have found an interesting tidbit in the GenericPassengerStation script file that may shed some light on what is going on.
Code:
int totalAmount = 0;
if (action == ACTION_LOADING)
{
totalAmount = queue.GetQueueCount();
// should really limit to the amount of space on the train,
// however that would be time-consuming and wouldnt achieve much
}
Observe the comment as well as the script lines above. It appears that part of the problem may now be that the script is not limiting the passenger count to what can fit on the train, which means that there is a chance of an indefinite loading time, as well as explaining why it may be having the other issues that are involved.
This will affect content creators as they will need to find a workaround for that part of the script if they can. It's in the PerformProductLoadAndUnload function.
Shane
Last edited: