Portal problems

andynick

New member
I have rolling stock in a layout that I've given a unique name and configured to carry a certain product. This was done using the property button in Surveyor. The portal is set to load empty cars and unload full cars and return train after a certain period. When the cars come back they are loaded with a different product than the one I set the car to. The car has also lost the unique name, and has reverted to the original name.

Does anyone know if there's any way I can keep this from continuing?
Any help would be greatly appreciated.
 
To be honest you have to config the prod in the ccp as a default product
The portal only does what the cars default is...........



Dave =)
 
The scripting language does not have any functionality that allows the script to change or set the name of an object, whether that object is a wagon, loco or building, etc.

Therefore any vehicle that is sent into a portal will be returned with a system provided unique name, in much the same way that they are assigned a name when originally placed in surveyor.

This is the same for all scripted items such as rules and driver commands.

As for wagon loads, only the default load is used (i.e. the first load defined in the config file). Portals are limited in this way simply because it would become complicated to determine the possible loads for each vehicle and whether that load is allowed by the vehicle. Let alone to provide an interface to set those loads up.

Best bet would be to look for a driver command that lets you specifiy the product to load into the vehicles. Don't know if one is available, but its worth a check. I do know that there is a driver command called "InstantLoad" (kuid2:67585:1017:1) that will load the vehicles but i don't know if you can select the product that it loads. Would be worth a look.
 
Back
Top