Mod Releases • Re: [Mod] Advanced Trains [advtrains] [2.8.0]
Luanti Forums - Index page [Unofficial]
February 13, 2026
Looks great, here's my notes (nothing bad I swear):
Code:
"Train Max Speed", cmd = "SM""Brake to Stop", cmd = "B0""Emergency Braking", cmd = "BB""Speed 2 Only In + Direction", cmd = "I+S2;""Stop, Wait 3s, Slow Start to Max Speed", cmd = "B0WD3S2WD2SM""Stop, Open Doors Left, Evict Passengers, Close Doors and Continue at Speed 2", cmd = "B0WD2OLKD2OCD2S2""Speed 3, Couple, Confirm Stopped, Reverse", cmd = "S3CplS0WD2RS3""If + Direction Speed Max Else Stop", cmd = "I+SMEB0;"
I've adjusted the snippet above slightly. B0 is an instantaneous command, so you have to pause the ATC with W until the speed is actually 0 before continuing otherwise the train may keep rolling (while braking) as the doors open after D2 if the initial speed is too high.
Also noted the passenger eviction due to K, missing ; on the last if command, and just a bit of comma-action to help identify the stages of the commands :) Also, ATC doesn't care about whitespaces between commands, so feel free to space them out a little for readability, especially with the longer strings
Statistics: Posted by Maverick2797 — Fri Feb 13, 2026 03:50
Discussion in the ATmosphere