Arma 3 Scripting

Arma 3: Virtual Reality Custom Courses

  • Also known as Arma3: Virtual Reality Custom Courses

Topic · Markdown · JSON · original wiki page

Here is a basic guide on how to configure your own VR training courses. If there are some community Courses configured, a new selector will appear with a list of the Courses. This selector will have different colour than the official ones.

Config

class CfgVRCourses
{
    class Default;
    class MyCourse1 : Default
    {
        title = "Course Name";
        icon = "\A3\Structures_F_Bootcamp\VR\Helpers\Data\VR_Symbol_default_CA.paa";
        class Stages
        {
            class Stage1
            {
                title = "Stage 1 Name";
                function = "BIS_fnc_VRFunctionName1";
            };
            class Stage2
            {
                title = "Stage 2 Name";
                function = "BIS_fnc_VRFunctionName2";
            };
            class Stage3
            {
                title = "Stage 3 Name";
                function = "BIS_fnc_VRFunctionName3";
            };
        };
    };
};

icon: Path to icon that will be shown on a billboard throughout the Course.

title: Text that will be shown ingame during Course selection or when loading a Stage.

function: Function to run for each Stage. Must be defined in cfgFunctions (see the Arma 3 functions library, VR functions are usually defined in category "VR").

Functions

Stage functions are typically FSMs (you can get the FSM Editor here). There are certain guidelines to follow:

Stage function example

To help you understand how a typical Stage FSM may look like, here's a link to a basic Stage function (it's a slightly tweaked Stage 2 of the Launchers Course):

The End!

« I hope I covered everything here. Have fun creating your own VR Courses! » – Jezuro