Script_Trains will control all train functions, such as speed adjustment, horn, bell, sounds.
Vehicle_Train_Box will be a normal vehicle like the following.
datablock WheeledVehicleData(BoxTrain)
{
//blah
}
function BoxTrain::onadd(%this, %obj)
{
parent::onadd(%this,%obj);
%obj.isTrain = true;
%obj.hornDelay = 85;
TrainMOD.addTrain(%obj, "BoxTrain");
}