CfgMissions: Difference between revisions
No edit summary |
Killzone Kid (talk | contribs) (→MPMissions: example with class naming rule) |
||
Line 105: | Line 105: | ||
==== MPMissions ==== | ==== MPMissions ==== | ||
| Multiplayer missions. Structure same as [[#Missions|Missions]]. | | Multiplayer missions. Structure same as [[#Missions|Missions]]. | ||
<syntaxhighlight lang=cpp> | |||
class CfgMissions | |||
{ | |||
class MPMissions | |||
{ | |||
//--- ZEUS | |||
class MP_ZGM_m14 /* class name MUST match the name in the 'directory' path */ | |||
{ | |||
briefingName = $STR_A3_MasterTanoa_missionName; | |||
directory = "A3\missions_f_exp\mpscenarios\mp_zgm_m14.Tanoa"; /* <--- match */ | |||
}; | |||
}; | |||
}; | |||
</syntaxhighlight> | |||
<!-----------------------------------------------------------> | <!-----------------------------------------------------------> | ||
{{Table Config Item|arma}} | {{Table Config Item|arma}} | ||
==== Templates ==== | ==== Templates ==== | ||
| Singleplayer templates. Accessable through ''<My Missions>'' in SP missions list. | | Singleplayer templates. Accessable through ''<My Missions>'' in SP missions list. |
Revision as of 13:02, 11 July 2016
CfgMissions contains list of all playable content available for players in ingame menus. It's core of missions exported in Addon Format.
Classes
Introduced in | Param name | Description
Campaigns |
Regular campaigns. For information on how to configure the campaigns themselves, please see the Campaign Description.ext page.
Episodic Campaigns |
Arma 3 has introduced the ability to configure episodic campaigns, as seen with the official The East Wind campaign. Missions |
Singleplayer missions. Menu name can vary in different projects:
You can also group your missions into subfolders
Tutorial |
Tutorial scenarios. Structure same as Missions.
TimeTrials |
Time Trial scenarios. Structure same as Missions.
MPMissions |
Multiplayer missions. Structure same as Missions.
class CfgMissions
{
class MPMissions
{
//--- ZEUS
class MP_ZGM_m14 /* class name MUST match the name in the 'directory' path */
{
briefingName = $STR_A3_MasterTanoa_missionName;
directory = "A3\missions_f_exp\mpscenarios\mp_zgm_m14.Tanoa"; /* <--- match */
};
};
};
Templates |
Singleplayer templates. Accessable through <My Missions> in SP missions list.
class Templates { class ST_BasicEast { directory = "ca\missions\Templates\Basic.East"; }; }; MPTemplates |
Multiplayer templates. Accessable through <My Missions> in MP missions list.
Procedural |
Procedural missions. Exclusive for Armory. |
---|
Params
Following params works for all mission/campaign classes placed in parent classes listed above.
Introduced in | Param name | Type | Description | Compatibility
directory |
String |
briefingName |
String | Mission name overriding name set in Intel menu. | Not in Campaigns
overviewText |
String | Custom overview description | Not in MPMissions and MPTemplates
overviewPicture |
String | Path to custom overview picture | Not in MPMissions and MPTemplates
author |
String | Content Authorship signature | Not in MPMissions and MPTemplates |
---|
You can also put any Description.ext param in mission class.
Examples
Arma 2: Operation Arrowhead Missions |
---|
For simplicity, every parent class contains only one mission example |
|
Arma 2: Private Military Company Missions |
---|
|
Arma 3 Missions |
---|
|