Skip to content

Specialized Controls

BlueFinBima edited this page Aug 20, 2023 · 2 revisions

Specialized Controls

information about special controls, their design, usage, and implementation is contained here

DCS Monitor Setup Script Appender

This came about from an enhancement request #742 where the user wanted a Lua variable set in the Monitor Setup script file created by the DCS Monitor Setup Interface. This control is implemented as a Viewport which has a property for the Lua to be appended to the Monitor Setup file. The Lua gets persisted in the ViewportSetupFile as a single property DCSMonitorSetupAdditionalLua and also in the profile which contains the control. Both are needed to ensure that preflight checks for any monitor file changes receive the "ok". This particular control type is now checked for in the Patching Plugin, so that it is not added to the model viewports which are displayed in miniature, or persisted as a rectangle in the ViewportSetupFile JSON.

In order to protect the adventurous noob, the control is hidden in the toolbox, and a template for the specific use case requested in the enhancement was created (Export MFD in VR).

Clone this wiki locally