8000 GitHub - CuriousMike56/ror_blender_tools: Collection of Blender add-ons for use with Rigs of Rods. Contains updated RoR Truck Import/Export addons.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Collection of Blender add-ons for use with Rigs of Rods. Contains updated RoR Truck Import/Export addons.

Notifications You must be signed in to change notification settings

CuriousMike56/ror_blender_tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RoR Blender Add-ons

A collection of Blender add-ons to assist in Rigs of Rods mod development.

Truck Import/Export

Updated versions of the RoR Truck (.truck) Import/Export add-ons created by ulteq.

New features

  • Drag and drop & multi-file import
  • Textured submesh (texcoords) support with material import and backmesh preservation, based on Thomas' Blender 2.49 addons texcoords
  • nodes2 support, a first for any editor nodes2
  • Automatic import of all node comment lines as vertex groups vertex_group

Fixes

  • Compatibility with Blender 4.2.x LTS
  • Files exporting without an extension
  • detacher_group preventing beam import
  • Greatly improved beam export, beams are now correctly assigned to their appropriate set_beam_defaults and detacher_group beam_export

Usage

Importing

To import a Truck file, click File -> Import -> Truck (.truck) CM and select your file. You can also drag & drop the file into the 3D viewport. The file should successfully import and (if applicable) display the submesh texture.

When importing a submesh mod, ensure the material file and texture are in the same directory as the Truck file.

Exporting

Once you're ready to export, click File -> Export -> Truck (.truck) CM and select the file to export to.

By default the exporter appends .export to the file extension to prevent overwriting. The intended use case is to copy the new sections from the output file and paste them into the original file.

If you prefer, Overwrite file can be enabled prior to exporting. This is not recommended as no exporter has ever been capable of perfectly preserving the majority of Truck files.

Beam generator

Simple add-on that generates beams between selected nodes. Originally part of an old BeamNG JBeam exporter, it has been separated into its own add-on & updated for Blender 4.2.

beamgen

Installation

  1. Download this repository as a ZIP (green Code button)
  2. Open the ZIP, drag and drop the ror_*_cm folders into

"%appdata%\Blender Foundation\Blender\4.2\scripts\addons"

(Paste into Run dialog to get there quickly)

  1. Launch Blender and go to Edit -> Preferences -> Add-ons
  2. Enable all CM RoR Tools add-ons.

addons

Known issues

  • Only Blender 4.2.x LTS is currently supported. Newer Blender versions along with Linux compatibility is untested.
  • Importing submesh faces may result in additional unwanted beams. This behavior is also present in all previous importers.
  • When exporting a nodes2 N/B, new nodes will be numbered. This works OK as nodes2 is backwards compatible with numbered nodes.

Disclaimer

These updates have been made possible thanks to GitHub Copilot, 99.5% of the new code was written by it.

As a result these will not replace the existing add-ons, I don't want to submit AI-generated code to any of the official repositories.

The current add-ons haven't seen a major update since ulteq ended development in 2019, this started as an experiment to see how far I could get (answer: quite far) with improving these add-ons as someone with little knowledge with Python.

About

Collection of Blender add-ons for use with Rigs of Rods. Contains updated RoR Truck Import/Export addons.

Resources

Stars

Watchers

Forks

Languages

0