.TRUCK File Extension

Rigs of Rods Vehicle Definition File

Developer Rigs of Rods Team
3.7  |  11 Votes

What is a TRUCK file?

A TRUCK file is a plain text file that contains data used to simulate a vehicle (or other object) in Rigs of Rods, a free and open-source vehicle simulator. It defines a vehicle's characteristics, including the vehicle's name, type (truck, plane, train, boat), and composition. TRUCK files may also use the .boat, .airplane, .train, .machine, .car, .trailer, .load, or .fixed extensions, depending on the type of vehicle they describe.

More Information

Screenshot of a .truck file in Microsoft Visual Studio Code
TRUCK file open in Microsoft Visual Studio Code

Rigs of Rods is a vehicle simulator that implements soft-body physics to simulate vehicle motion and collisions. You can create custom vehicles with Rigs of Rods, then save them as TRUCK files. After saving a TRUCK file, you can share it with other Rigs of Rods users, who can then import the vehicle into their simulator installations.

Each TRUCK file must contain the following sections:

  • Title: Sets the vehicle's name
  • Globals: Sets the vehicle's mass and material
  • Nodes/Nodes2: Sets the vehicle's structural definition
  • Beams: Connects the vehicle's nodes
  • Cameras: Positions the vehicle in space; used to measure the vehicle's pitch and role and orient its cameras
  • Cinecam: Sets the position of the in-vehicle camera
  • End: Tells Rigs of Rods to stop processing the TRUCK file

Additionally, each TRUCK file contains specific subsections you can use to determine what type of vehicle the file defines. For example, a TRUCK file that defines:

  • A Rigs of Rods truck contains an engine section
  • A Rigs of Rods airplane contains a turboprops, turbojets, or pistonprops section
  • A Rigs of Rods boat contains a screwprops section

TRUCK files also usually contain additional metadata sections, which specify a vehicle's author, ID, category, file format version, and other information.

How to open a TRUCK file

You can open a TRUCK file, view its contents, and edit its contents in any text or source code editor, such as Microsoft Visual Studio Code (cross-platform) or GitHub Atom (cross-platform).

You can also open a TRUCK file in some 3D modeling applications, such as Blender with the Rigs of Rods N/B Import/Export plug-in installed (cross-platform). This allows you to view and edit the TRUCK file's nodes and beams visually, instead of as text.

Finally, you can import a TRUCK file into Rigs of Rods (Windows, Linux) for use as a Rigs of Rods vehicle. Typically, finished TRUCK files are packed within .ZIP archives, which Rigs of Rods users place in the game's mods directory. Users can then select the vehicles the ZIP file contains from within Rigs of Rods.

Open over 400 file formats with File Viewer Plus.Free Download

Programs that open TRUCK files

Verified by FileInfo.com

The FileInfo.com team has independently researched the Rigs of Rods Vehicle Definition file format and Mac, Windows, and Linux apps listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified.

If you would like to suggest any additions or updates to this page, please let us know.