I want to make my own mode of transport based on the train. The main problem is that I need that my transport could not ride on the rails from the original game, but only on mine, and accordingly the train from the original game could not ride on my rails, it is desirable not to come into conflict with mods like Realistic electric train
I looked in the documentation, I don't see a variable that would determine which rails a train can travel on.
Is this even possible? Cargo Ships is not considered, it simply States that the ship can only be placed on the water, same as rails, in other respects it is a normal railway.
Train restriction
Re: Train restriction
No, it's not possible.
Cargo ships uses collision mask to restrict placement, but if you build a connecting path between water and land, ships will travel on rails.
Cargo ships uses collision mask to restrict placement, but if you build a connecting path between water and land, ships will travel on rails.
Re: Train restriction
Right, the only way is for script to perform the check every time an entity is placed to ensure it matches, and delete it otherwise.
My mods: Multiple Unit Train Control, Smart Artillery Wagons
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk