Skip to main content

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 EngineScript references inside Engine .bin blueprints.
  • Use the built-in Lua 5.0 Inspector in the launcher to verify script paths inside .ap archives and loose RailVehicles/ folders.
  • Custom NeoTSC plugins can subscribe to speed, signal aspect, and station stop events for external hardware (RailDriver, LED destination boards, and announcement systems).