Missions in ArmA 2/3

From Nitradopedia EN
Jump to: navigation, search
Arma3 wiki.jpg

Rent your own Prepaid ArmA 3 server! nitrado.net

To start and use specific missions in ArmA 2 and 3, you need to specify them in the server.cfg file.

The prerequisite for using a mission is that it has been added to the "MPMissions" folder in the root arma directory.


Uploading a Mission

Uploading a mission file is not difficult. This is done using FTP. We want to upload the mission file to "arma\mpmissions". We'll use "Example.Altis" as our mission name for this article. We would place it into the mpmissions folder, creating this path: "arma/mpmissions/Example.Altis".


Setting the Mission

In order to change the mission to the desired one, you will need to edit server.cfg. This is located in "arma/config/server.cfg".


NOTE: The server must be stopped while making edits to this file, or changes will not be saved!


In this configuration file, many settings can be adjusted, including the map the server is currently running. The settings for the map can be found by default at the bottom of this file, and if unedited, should look like:

[...]

// MISSIONS CYCLE
class Missions {
    class Coop01{
	template = MP_COOP_m01.Stratis;
	difficulty = "Regular";
    };
};

In general, it follows this pattern:

[...]

// MISSIONS CYCLE
class Missions {
    class Name of Mission{
	template = Mission; 
	difficulty = "Difficulty";
    };
};

Where "template =" is written, should follow the name of your desired mission. For our example, we would have it look like "template = Example.Altis;"
NOTE: For map names with white spaces, you can either replace the space with "%20", or the whole name can be surrounded by quotation marks.

The following are accepted values for difficulties (unless custom difficulties have been configured):

  • recruit
  • regular
  • veteran
  • mercenary

Several Missions

For multiple missions, it should look like:

[...]

// MISSIONS CYCLE
class Missions {
    class Name of the first mission{
	template = Mission;
	difficulty = "Difficulty";
    };
    class Name of the next mission{
	template = Mission;
	difficulty = "Difficulty";
    };
};

When the first mission ends, the next one will be started automatically.

List of all Installed Missions

To select from the available missions, you would empty the mission list. The server.cfg should look like this:
NOTE: The server must be stopped while making edits to files, or changes may be lost!


[...]

// MISSIONS CYCLE
class Missions {
};