Add-on Instructions for Developers


Contents
Related Links

Overview

This document describes the Prepar3D preferred method for development and installation of add-on material.

Add-on Compilation Settings

For add-on libraries and executables, it is recommended that all software add-ons be developed using Visual Studio 2013. Further, the Platform Toolset should be set to v120 and the Targeted Framework should be .NET Framework Version 4.5.1. These settings will help ensure consistency and compatibility for all new development.

Add-on Content Error Reporting

It is essential to turn Content Error Reporting on while developing add-on content as every error or invalid implementation in content can slow down the overall program. Content errors can have a cascading effect, as in most programming, and even cause correct implementations to fail in practice. For the best results and most effective products turn Content Error Reporting on during development and fix anything that is reported.

Content Error reporting can be turned on in the General -> Simulation Settings Screen or by setting ContentErrorLogging=1 in Prepar3D.cfg's [MAIN] section.

Add-on Directory Structure

In addition to library (DLL) and application (EXE) add-on developers, those developing add-on content (SimObjects, Scenery, Effects, Scenarios, etc.) should also adhere to these guidelines.

When creating an add-on for Prepar3D, the directory structure are expected to be adhered to help maintain consistency.

NOTE: Please be aware that Prepar3D's base installation files should never be modified by developers. Instead, use an accepted way of distributing Add-ons.