/blender-assetto-corsa-tools

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Blender KN5 Exporter

CI

Features

  • File format version 5
  • Blender mesh objects as kn5 geometry
  • Blender image textures as kn5 textures
  • Set material and object settings with JSON
  • Texture mapping with UV maps or flat mapping
  • Multiple materials per object

Current Bugs & Limitations

  • No support for skinned meshes (needed for animations)
  • No support for AI
  • Only geometry of mesh objects will be exported
  • Only textures of type "Image" supported

Requirements

This addon is made for the latest Blender version (currently 3.0.0), others may work but are not supported.

Install

  1. Download the assetto_corsa_tools.zip from the latest Release.
  2. Start Blender
  3. Go to Edit -> Preferences -> Addons
  4. Click "Install..." in the top right and browse to the downloaded zip file
  5. Enable the "Assetto Corsa (.kn5)" addon

Usage

  1. Set up a track scene with geometry and helpers
  2. Go to File -> Export -> Assetto Corsa (.kn5)
  3. Select target folder to save the track. Make sure that a valid settings.json file exists

Notes

This repository was initially created from the Blender 2.76 addon distributed as kn5exporter.zip on Thomas Hagnhofer's website.

Please visit that site for a downloadable example track, and more information on the original implementation.