I'm experimenting with this at the moment. I've made a duplicate batch of crossings with thier own LUA with settings of WARN_DISTANCE = 300.0, CLOSE_DISTANCE = 200.00, PASS_DISTANCE = -20.0. for the 20mph section of my route and WARN_DISTANCE = 100.0, CLOSE_DISTANCE = 50.00, PASS_DISTANCE = -20.0. for a couple of switching sections in which the switches are close to the crossings and so avoids activation when you're not actually going to cross. They both work perfectly with all different lengths of train etc... It's actually pretty cool finishing of some switching then rolling up to the crossing at 2mph, watching cars cross right infront of you until you activate it then notch up across it

I'll fiddle around with the S-Line section which is 45mph and 1 mile long trains and see what happens. We could upload a short and medium batch of crossings to go with your default ones so that no one has to edit and scripts

What do you think?