Dev's/modders please..........I beg you......will somebody please create a spawn point for trains on maps with tracks? After plenty of trial and error, I finally managed to get a locomotive aligned on a set of tracks using the world editor (had to adjust my mouse movement speed to its lowest setting to do this) and then I foolishly attempted to switch to a different train. Once again, it spawned off to one side of the tracks and fell over. Even when I don't switch trains and all wheels are centered on the tracks, movement causes sparks as if the wheel track width is slightly too wide for the tracks and even taking curves at a greatly reduced speed, often derails the train.
So, here's the thing: BeamNG's respawn/spawn new/replace current behavior is designed for cars and trucks. It's imprecise, but the overwhelming majority of the time, it's precise enough. And while spawn points aren't necessarily a bad idea, by the time the default vehicle has spawned and touched the ground, it has moved a little and won't spawn a rail vehicle in the exact right position. I've got a conceptual solution that uses a teleporter to reposition rail vehicles to the correct location on the corresponding tracks, though I don't plan to take on any rail-based maps at the moment, and newly spawned vehicles will still have to be repositioned at the teleporter if you want them to be railed. Sparks are an inevitability at this point, unless either the wheels and flanges or the rails are given a material with no particle effects, like plastic or ice. It's metal against metal, so every acceleration, deceleration, or corner is going to produce sparks. It doesn't help that the main real-world mechanic of train wheels staying on the tracks, tapered wheels, can't be reliably recreated in Beam.