Lua 5.0 & Engine Scripts
Train Simulator Classic rolling stock uses compiled Lua 5.0 (.out) and .lua simulation scripts for cab safety systems (ATB, PZB, LZB, AWS), traction curves, and doors.
Inspecting & Running Scripts
- NeoTSC detects
EngineScriptreferences inside Engine.binblueprints. - Use the built-in Lua 5.0 Inspector in the launcher to verify script paths inside
.aparchives and looseRailVehicles/folders. - Custom NeoTSC plugins can subscribe to speed, signal aspect, and station stop events for external hardware (RailDriver, LED destination boards, and announcement systems).