Developers Guide - Developers Guide (original) (raw)

Introduction

This site is for people who develop content or code for rFactor 2. It contains information on the various aspects of the simulation and how to extend it. It is a living document that we will keep updating and extending. We've structured the information based on the different types of extensions you can work on. For each we try to list prerequisites, both in terms of tools and knowledge, and guides that help you with the actual creation process. If you're an end user of rFactor 2, looking for more information about the simulation, please go to the Users Guide.

rFactor 2 provides developers with a platform to make all kinds of extensions. You can add your own cars that include not just new 3D models, but also completely customisable physics and sounds. The simulation can handle anything from the tiniest radio controlled cars up to big trucks and everything in between. Tracks can be added with different layouts for different types of racing, including for example karting. These tracks can support dynamic weather with special rain effects as well as day to night transitions and lighting. There are also various ways to make them come alive, with animated elements and local ambient sounds. Software developers can also extend the simulation through a plugin API that provides telemetry information, scoring as well as ways to interact with the simulation. Such plugins can be used to analyse data, control motion platforms, hook up external controllers and other peripherals and many other things.

Release Notes

Here we outline the effects of each release on modders.

Build 1123 - Upcoming Release (Initially Released 18/1 however reverted on 20/1)

Build 1122 - 22nd December 2020

Build 1122 - 18th November 2020

Full Documentation to be updated in the coming days.

Build 1122 - 21st October 2020

Build 1121 - 4th September 2020

This build release focuses on the release of new modding documentation and tools to allow the use of the new PBR pipeline.

Build 1119 - 4th June 2020

A few weeks ago we released a rather large update to our game which adjusted the lighting calculations in various places on all content. We have now released a small update which focuses on improving the compatibility of those updates with old content, although some content will just need to be updated due to settings used.

Build 1118 - 21st May 2020

This build saw a large update to the graphics engine, with various changes. Beneath is an outline of those changes and possible action that maybe required by modders.

A full recap of the release can be found here: https://www.studio-397.com/2020/05/release-of-build-1118/