Arma 3 Scripting

Arma 3: Mission Overview

  • Also known as Arma 3 Mission Overview, Mission Overview

Topic · Markdown · JSON · original wiki page

Note

For overview configuration in Operation Flashpoint, ArmA and Arma 2, see Overview.html.

Overview is short summary of a mission displayed in mission selection. It's the first thing player sees from a mission and should not be underestimated; well made overview can immediately capture player's attention, while poorly made one can make him ignore your mission forever.

The overview is visible in the following menus:

Displayed Information

The overview consists of:

Configuration

Two ways how to export a mission exists - either as mission PBO, or as addon PBO. Both are using Description.ext, but addon format also allows configuration in Config.cpp. Campaign missions are listed in Campaign Description.ext, but missions still support Description.ext.

Entries defined in mission Description.ext have the largest priority and will overwrite those in Config.cpp / Campaign Description.ext

Single missions can be locked using keys. In such cases, overview image is transparent and overviewTextLocked is used instead of overviewText. This applies only to single missions, not to mission folders, campaigns or campaign missions.

Description.ext

briefingName = "The Final Countdown";
overviewText = "The nuke is still out there!";
overviewTextLocked = "Finish the Splendid campaign in order to unlock this mission.";
overviewPicture = "overviewPicture_ca.paa";
author = "Stranger";

Config.cpp

class CfgMissions
{
    class Missions
    {
        // Mission subfolder (optional, mission can be defined straight away)
        class MySubfolder
        {
            displayName = "Comanche Missions";
            overviewText = "Scenarios involving your favorite helicopter.";
            overviewPicture = "\a3\fw_f\data\overviewPictureFolder_ca.paa";
            author = "Stranger";

            // Mission itself
            class MyMission
            {
                overviewText = "The nuke is still out there!";
                overviewPicture = "\FW\data\overviewPicture_ca.paa";
                overviewTextLocked = "Finish the Splendid campaign in order to unlock this mission.";
                author = "Stranger";
                overviewScript = "\FW\scripts\overviewScript.sqf";

                directory = "\FW\MyMission.Altis";
            };
        };
    };
    class Campaigns
     {
        // Campaign; its missions are defined in campaign description.ext
        class Splendid
        {
            overviewText = "SURVIVE - ADAPT - WIN";
            overviewPicture = "\a3\missions_f\data\splendid_ca.paa";
            author = "Bohemia Interactive";

            directory = "\FW\Splendid";
        };
    };
};

Sample overviewScript.sqf

#include "\A3\ui_f\hpp\defineCommonGrids.inc"

params ["_display", "_missionClassname"];

private _challengesOverviewGroup = _display displayCtrl 2302;  // Custom UI elements should be created inside this group

private _newControl = _display ctrlCreate ["Rsctext", 10001, _challengesOverviewGroup]; // IDCs higher than 10000 should be used
_newControl ctrlSetPosition [0, 0, 21.5 * GUI_GRID_W, 3.5 * GUI_GRID_H + (0.5 * (safeZoneH - GUI_GRID_HAbs))];
_newControl ctrlCommit 0;
_newControl ctrlSetText "TEST";
_newControl ctrlSetBackgroundColor [1,0,0,0.5];

Campaign Description.ext

class Campaign
{
    firstBattle = Beginning;
    disableMP = 1;

    briefingName = "Splendid";
    author = "Campaign author";
    overviewPicture = "\FW\data\overviewPicture_ca.paa";
    overviewText = "Campaign overview";

    class Beginning
    {
        name = "The Beginning";
        cutscene = ;
        firstMission = mission01;
        end1 = ;
        lost = ;

        class mission01
        {
            briefingName = "Mission name";
            author = "Mission author";
            overviewPicture = "\FW\data\overviewPicture_ca.paa";
            overviewText = "Mission overview";

            template = mission01.Altis;
        };
    };
};