Arma 3 Scripting

Arma 3: MP Combat Patrol

  • Also known as Arma 3 MP Combat Patrol, MP Combat Patrol

Topic · Markdown · JSON · original wiki page

Arma 3 v1.72

Combat Patrol is a game mode which can be easily set up on any map and offers short, randomized CQB scenarios on a location selected by the players. The system scans for any predefined map locations like towns or villages and allows players to vote for them. Custom locations can also be added.

Creating custom scenarios

Note

While it is technically possible to play Combat Patrol in singleplayer, it is recommended to set up a multiplayer scenario instead, mainly due to respawn.

  1. Open the mission editor.
  2. Set respawn setting to Custom Position (Attributes > Multiplayer > Respawn > Respawn on Custom Position). Set the Respawn Delay in the same window to any wanted value, preferably > 0 seconds.
  3. In the Rulesets directly below, check "Show respawn counter" and "Substract respawn tickets".
  4. (Optional) Enable Revive.
  5. (Optional) Uncheck "Enable AI" in the Lobby section.
  6. Place playable units (the team conducting the patrol) somewhere far from any possible target locations. Make sure they are all in the same group. As of build 1.94, full support for all factions is available.
  7. Place the Combat Patrol Init module. It can be found under Systems (F5) > Combat Patrol.
  8. Save the scenario in MPMissions.

Now the scenario is ready to be played - see below for further scenario customisation possibilities.

Combat Patrol modules description

Apart from the aforementioned Combat Patrol Init, here are other modules that can be used:

Using Scenario Parameters

Parameters are editable in the MP lobby and offer even more control over various scenario rules. To be able to use them in a scenario, find the scenario directory (usually in Documents\Arma 3\MPMissions) and create a new file inside it. Name this file description.ext and put this inside:

class Params
{
    class BIS_CP_startingDaytime
    {
        title = "$STR_A3_CombatPatrol_params_1";
        values[] = { -1, 0, 1, 2, 3, 4 };
        texts[] = {
            "$STR_A3_BIS_fnc_RespawnMenuPosition_random",
            "$STR_A3_CombatPatrol_params_2",
            "$STR_A3_CombatPatrol_params_3",
            "$STR_A3_CombatPatrol_params_4",
            "$STR_A3_CombatPatrol_params_5",
            "$STR_A3_CombatPatrol_params_6"
        };

        default = 1;
    };

    class BIS_CP_weather
    {
        title = "$STR_A3_rscattributeovercast_title";
        values[] = { -1, 0, 1, 2, 3 };
        texts[] = { "$STR_A3_BIS_fnc_RespawnMenuPosition_random", "$STR_A3_CombatPatrol_params_7", "$STR_A3_CombatPatrol_params_8", "$STR_A3_CombatPatrol_params_9", "$STR_A3_CombatPatrol_params_10" };
        default = 1;
    };

    class BIS_CP_garrison
    {
        title = "$STR_A3_CombatPatrol_params_11";
        values[] = { 0, 1, 2 };
        texts[] = { "$STR_A3_CombatPatrol_params_12", "$STR_A3_CombatPatrol_params_13", "$STR_A3_CombatPatrol_params_14" };
        default = 0;
    };

    class BIS_CP_reinforcements
    {
        title = "$STR_A3_CombatPatrol_params_15";
        values[] = { 0, 1, 2 };
        texts[] = { "$STR_A3_CombatPatrol_params_12", "$STR_A3_CombatPatrol_params_13", "$STR_A3_CombatPatrol_params_16" };
        default = 0;
    };

    class BIS_CP_showInsertion
    {
        title = "$STR_A3_CombatPatrol_params_17";
        values[] = { 1, 0 };
        texts[] = { "$STR_A3_CfgVehicles_ModuleStrategicMapImage_f_arguments_shadow_values_yes_0", "$STR_A3_CfgVehicles_ModuleStrategicMapImage_f_arguments_shadow_values_no_0" };
        default = 0;
    };

    class BIS_CP_tickets
    {
        title = "$STR_A3_CombatPatrol_params_18";
        values[] = { 5, 10, 20, 50, 100 };
        texts[] = { "5", "10", "20", "50", "100" };
        default = 20;
    };

    class BIS_CP_enemyFaction
    {
        title = "$STR_A3_CombatPatrol_params_19";
        values[] = { 0, 1, 2 };
        texts[] = { "$STR_A3_CfgFactionClasses_OPF_f0", "$STR_A3_CfgFactionClasses_IND_f0", "$STR_A3_BIS_fnc_RespawnMenuPosition_random" };
        default = 2;
    };

    class BIS_CP_locationSelection
    {
        title = "$STR_A3_CombatPatrol_params_20";
        values[] = { 0, 1 };
        texts[] = { "$STR_A3_CombatPatrol_params_21", "$STR_A3_BIS_fnc_RespawnMenuPosition_random" };
        default = 0;
    };

    class BIS_CP_objective
    {
        title = "$STR_A3_CombatPatrol_params_22";
        values[] = {-1, 1, 2, 3 };
        texts[] = { "$STR_A3_BIS_fnc_RespawnMenuPosition_random", "$STR_A3_CombatPatrol_params_26", "$STR_A3_CombatPatrol_params_27", "$STR_A3_CombatPatrol_params_28" };
        default = -1;
    };
};

Not all of the settings have to be used; check in-game to see what they offer and feel free to add/remove the wanted ones.