Skip to main content

Format

This documentation is for version 2.0, and likely won't be supported or work in older versions.

This page covers the format used by trains in 2.0. Please note:

  • All trains should have CanCollide disabled for everything except the gliders
  • It's highly recommended to have CanTouch disabled where it's not needed - this massively reduces lag when moving
  • Trains should not exceed the size limits, which are currently as follows. Note that trains that exceed these limits will be auto detected and a log message will be sent to HR
    • 11 studs wide
    • 15 studs high, not including any transparent parts

Structure

Any bullet point that does not have a specified type is a Folder.

  • [Train Name] - Anything in square brackets will be ignored and not shown in the Driving U and other placesI
    • Audio
      • Format not finalised for this folder - will come soon
    • Carriages
      • [Carriage Number] - Must be in the correct order and not missing any numbers
        • DetectionParts
        • Displays
        • Doors
        • Lights - Required - 
        • Seats - Optional - Contains Seat parts for players to enter
        • DriveSeat: VehicleSeat - Required in first, optional in last - Seat that the user will enter to control the train, isn't actually referenced by the main scripts (config values are instead)
        • CarriageModel: Model - Required - Contains the carriage model itself - usually BaseParts - no required children
    • Couplers
    • Rods
    • Config