CfgMissions: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "Arma 2" to "[[{{arma2}}]]") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(17 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
CfgMissions contains list of all playable content available for players in ingame menus. It | {{TOC|side}} | ||
[[CfgMissions]] contains list of all playable content available for players in ingame menus. | |||
It is core of missions exported in [[Mission Export#Addon Format|Addon Format]]. | |||
== Classes == | == Classes == | ||
{| class="wikitable sortable" | |||
{| class="wikitable sortable align-center-col-1" | |||
! Introduced in | ! Introduced in | ||
! Param name | ! Param name | ||
! class="unsortable"| Description | ! class="unsortable" | Description | ||
|- | |||
{{ | | {{GVI|arma1|1.00}} | ||
| | |||
==== Campaigns ==== | ==== Campaigns ==== | ||
|Regular campaigns. For information on how to configure the campaigns themselves, please see [[Campaign_Description.ext|the Campaign Description.ext page]]. | | Regular campaigns. For information on how to configure the campaigns themselves, please see [[Campaign_Description.ext|the Campaign Description.ext page]]. | ||
< | <syntaxhighlight lang="cpp"> | ||
class Campaigns | |||
{ | { | ||
class Bootcamp | class Bootcamp | ||
{ | { | ||
directory = "A3\Missions_F_Bootcamp\Campaign"; | directory = "A3\Missions_F_Bootcamp\Campaign"; | ||
filterGroup = 3; | filterGroup = 3; // Only bootcamp campaign will be listed in Campaign dialogue invoked by Bootcamp button. | ||
// include the campaign description.ext to make its content re-usable outside of the campaign | |||
#include "\A3\Missions_F_Bootcamp\Campaign\description.ext" | #include "\A3\Missions_F_Bootcamp\Campaign\description.ext" | ||
}; | }; | ||
};</ | }; | ||
</syntaxhighlight> | |||
|- | |||
{{ | | {{GVI|arma3|1.00}} | ||
| | |||
==== Episodic Campaigns ==== | ==== Episodic Campaigns ==== | ||
| | | {{arma3}} has introduced the ability to configure episodic campaigns, as seen with the official The East Wind campaign.<br> | ||
Upon expanding the main tree, you will see all available episodes which, when expanded as well, function as a regular campaign.<br> | Upon expanding the main tree, you will see all available episodes which, when expanded as well, function as a regular campaign.<br> | ||
For information on how to configure the campaigns themselves, please see [[ | For information on how to configure the campaigns themselves, please see [[Campaign Description.ext]]. | ||
< | <syntaxhighlight lang="cpp"> | ||
class Campaigns | |||
{ | { | ||
class RootCampaign | class RootCampaign | ||
{ | { | ||
// Each of these definitions are applied to the root campaign | |||
briefingName = "$STR_A3_CampaignName"; | |||
overviewText = $STR_A3_CampaignOverview; | overviewText = "$STR_A3_CampaignOverview"; | ||
author = $STR_A3_Bohemia_Interactive; | author = "$STR_A3_Bohemia_Interactive"; | ||
overviewPicture = "a3\Missions_F_EPA\data\img\Campaign_overview_CA.paa"; | overviewPicture = "a3\Missions_F_EPA\data\img\Campaign_overview_CA.paa"; | ||
campaigns[] = {StageA, StageB, StageC}; | // Classes of episodes included | ||
campaigns[] = { "StageA", "StageB", "StageC" }; | |||
class StageA | class StageA | ||
{ | { | ||
directory = "A3\Missions_F_EPA\Campaign"; | directory = "A3\Missions_F_EPA\Campaign"; | ||
// include the campaign description.ext to make it is content re-usable outside of the campaign | |||
#include "\A3\Missions_F_EPA\Campaign\description.ext" | #include "\A3\Missions_F_EPA\Campaign\description.ext" | ||
}; | }; | ||
class StageB | class StageB | ||
{ | { | ||
directory = "A3\Missions_F_EPA\CampaignDummy"; | directory = "A3\Missions_F_EPA\CampaignDummy"; | ||
}; | }; | ||
class StageC | class StageC | ||
{ | { | ||
Line 55: | Line 67: | ||
}; | }; | ||
}; | }; | ||
};</ | }; | ||
</syntaxhighlight> | |||
|- | |||
{{ | | {{GVI|arma1|1.00}} | ||
| | |||
==== Missions ==== | ==== Missions ==== | ||
|Singleplayer missions. Menu name can vary in different projects: | | Singleplayer missions. Menu name can vary in different projects: | ||
; {{GameCategory|arma0|link= y}} | |||
: Singleplayer | |||
; {{GameCategory|arma1|link= y}} | |||
: Missions | |||
; {{GameCategory|arma2|link= y}} | |||
< | : Scenarios | ||
; {{GameCategory|arma3|link= y}} | |||
: Scenarios | |||
; {{GameCategory|tkoh|link= y}} | |||
: Challenges | |||
<syntaxhighlight lang="cpp"> | |||
class Missions | |||
{ | { | ||
class SP_WarWelcome | class SP_WarWelcome | ||
Line 72: | Line 93: | ||
directory = "ca\missions\Scenarios\SP_WarWelcome.utes"; | directory = "ca\missions\Scenarios\SP_WarWelcome.utes"; | ||
}; | }; | ||
};</ | }; | ||
</syntaxhighlight> | |||
You can also group your missions into subfolders | You can also group your missions into subfolders | ||
< | <syntaxhighlight lang="cpp"> | ||
class Missions | |||
{ | { | ||
class PMC_Missions | class PMC_Missions | ||
{ | { | ||
//--- Subfolder name | |||
displayName="$STR_pmc_scenarios_name"; | displayName = "$STR_pmc_scenarios_name"; | ||
overview="ca\missions2_pmc\overview.html"; | //--- Subfolder overview | ||
overview = "ca\missions2_pmc\overview.html"; | |||
//--- List of missions | |||
class SPP01_PMC | class SPP01_PMC | ||
{ | { | ||
Line 89: | Line 114: | ||
}; | }; | ||
}; | }; | ||
};</ | }; | ||
</syntaxhighlight> | |||
|- | |||
{{ | | {{GVI|arma1|1.00}} | ||
| | |||
==== Tutorial ==== | ==== Tutorial ==== | ||
| Tutorial scenarios. Structure same as [[#Missions|Missions]]. | | Tutorial scenarios. Structure same as [[#Missions|Missions]]. | ||
|- | |||
{{ | | {{GVI|tkoh|1.00}} | ||
| | |||
==== TimeTrials ==== | ==== TimeTrials ==== | ||
| Time Trial scenarios. Structure same as [[#Missions|Missions]]. | | Time Trial scenarios. Structure same as [[#Missions|Missions]]. | ||
|- | |||
{{ | | {{GVI|arma1|1.00}} | ||
| | |||
==== MPMissions ==== | ==== MPMissions ==== | ||
| Multiplayer missions. Structure same as [[#Missions|Missions]]. | | Multiplayer missions. Structure same as [[#Missions|Missions]]. | ||
<syntaxhighlight lang=cpp> | <syntaxhighlight lang="cpp"> | ||
class CfgMissions | class CfgMissions | ||
{ | { | ||
Line 111: | Line 140: | ||
{ | { | ||
//--- ZEUS | //--- ZEUS | ||
class MP_ZGM_m14 / | class MP_ZGM_m14 // class name MUST match the name in the 'directory' path | ||
{ | { | ||
briefingName = $STR_A3_MasterTanoa_missionName; | briefingName = "$STR_A3_MasterTanoa_missionName"; | ||
directory = "A3\missions_f_exp\mpscenarios\mp_zgm_m14.Tanoa"; / | directory = "A3\missions_f_exp\mpscenarios\mp_zgm_m14.Tanoa"; // <--- match | ||
}; | }; | ||
}; | }; | ||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|- | |||
| {{GVI|arma1|1.00}} | |||
| | |||
==== Templates ==== | ==== Templates ==== | ||
| Singleplayer templates. | | Singleplayer templates. Accessible through ''<My Missions>'' in SP missions list. | ||
<syntaxhighlight lang="cpp"> | |||
class Templates | |||
{ | |||
class ST_BasicEast | |||
{ | |||
directory = "ca\missions\Templates\Basic.East"; | |||
}; | |||
}; | |||
</syntaxhighlight> | |||
|- | |||
{{ | | {{GVI|arma1|1.00}} | ||
| | |||
==== MPTemplates ==== | ==== MPTemplates ==== | ||
| Multiplayer templates. | | Multiplayer templates. Accessible through ''<My Missions>'' in MP missions list. | ||
|- | |||
{{ | | {{GVI|arma1|1.00}} | ||
| | |||
==== Procedural ==== | ==== Procedural ==== | ||
| Procedural missions. Exclusive for [[Armory]]. | | Procedural missions. Exclusive for [[Armory]]. | ||
Line 145: | Line 179: | ||
== Params == | == Params == | ||
Following params works for all mission/campaign classes placed in parent classes listed above. | Following params works for all mission/campaign classes placed in parent classes listed above. | ||
{| class="wikitable sortable" | {| class="wikitable sortable align-center-col-1" | ||
! Introduced in | ! Introduced in | ||
! Param name | ! Param name | ||
! Type | ! Type | ||
! class="unsortable"| Description | ! class="unsortable" | Description | ||
! Compatibility | ! Compatibility | ||
|- | |||
{{ | | {{GVI|arma1|1.00}} | ||
| | |||
==== directory ==== | ==== directory ==== | ||
|[[String]] | | [[String]] | ||
| | | | ||
* Missions - path to [[ | * Missions - path to [[Mission Editor: External#Mission Folder|mission folder]] (where mission.sqm is placed) | ||
* Campaigns - path to folder where campaign description.ext is placed | * Campaigns - path to folder where campaign description.ext is placed | ||
< | <syntaxhighlight lang="cpp">directory = "ca\missions\Scenarios\SP_WarWelcome.utes";</syntaxhighlight> | ||
| {{n/a}} | |||
|- | |||
{{ | | {{GVI|tkoh|1.00}} | ||
| | |||
==== briefingName ==== | ==== briefingName ==== | ||
|[[String]] | | [[String]] | ||
| Mission name overriding name set in [[ | | Mission name overriding name set in [[Mission Editor: Intel#Name|Intel menu]]. | ||
| Not in Campaigns | | Not in Campaigns | ||
|- | |||
{{ | | {{GVI|tkoh|1.00}} | ||
| | |||
==== overviewText ==== | ==== overviewText ==== | ||
|[[String]] | | [[String]] | ||
| Custom [[Content_Overview|overview description]] | | Custom [[Content_Overview|overview description]] | ||
| Not in MPMissions and MPTemplates | | Not in MPMissions and MPTemplates | ||
|- | |||
{{ | | {{GVI|tkoh|1.00}} | ||
| | |||
==== overviewPicture ==== | ==== overviewPicture ==== | ||
|[[String]] | | [[String]] | ||
| Path to custom [[Content_Overview|overview picture]] | | Path to custom [[Content_Overview|overview picture]] | ||
| Not in MPMissions and MPTemplates | | Not in MPMissions and MPTemplates | ||
|- | |||
{{ | | {{GVI|tkoh|1.00}} | ||
| | |||
==== author ==== | ==== author ==== | ||
|[[String]] | | [[String]] | ||
| [[Content Authorship]] signature | | [[Content Authorship]] signature | ||
| Not in MPMissions and MPTemplates | | Not in MPMissions and MPTemplates | ||
Line 195: | Line 236: | ||
== Examples == | == Examples == | ||
{| class="wikitable mw-collapsible mw-collapsed" width="100%" | {| class="wikitable mw-collapsible mw-collapsed" width="100%" | ||
! [[ | ! [[{{arma2oa}}]] Missions | ||
|- | |- | ||
| ''For simplicity, every parent class contains only one mission example'' | | ''For simplicity, every parent class contains only one mission example'' | ||
|- | |- | ||
| | | | ||
< | <syntaxhighlight lang="cpp"> | ||
class CfgMissions | |||
{ | { | ||
class Missions | class Missions | ||
{ | { | ||
class SP_Benchmark //03 | class SP_Benchmark // 03 | ||
{ | { | ||
directory = "ca\missions_e\scenarios\SPE1_Benchmark1.takistan"; | directory = "ca\missions_e\scenarios\SPE1_Benchmark1.takistan"; | ||
}; | }; | ||
}; | }; | ||
class MPMissions | class MPMissions | ||
{ | { | ||
Line 219: | Line 261: | ||
}; | }; | ||
}; | }; | ||
class MPTemplates | class MPTemplates | ||
{ | { | ||
Line 226: | Line 269: | ||
} | } | ||
}; | }; | ||
class Templates | class Templates | ||
{ | { | ||
Line 233: | Line 277: | ||
}; | }; | ||
}; | }; | ||
class Campaigns | class Campaigns | ||
{ | { | ||
class Arrowhead | class Arrowhead | ||
{ | { | ||
directory = "ca\missions_e\campaign"; | |||
}; | }; | ||
}; | }; | ||
class Tutorial | class Tutorial | ||
{ | { | ||
Line 247: | Line 293: | ||
}; | }; | ||
}; | }; | ||
class Procedural | class Procedural | ||
{ | { | ||
class Armory | class Armory | ||
{ | { | ||
onLoadMission = $STR_LIB_ONLOAD; | onLoadMission = "$STR_LIB_ONLOAD"; | ||
debriefing = 0; | debriefing = 0; | ||
playerKilledScript = "\ca\missions\armory\data\scripts\respawn.sqf"; | playerKilledScript = "\ca\missions\armory\data\scripts\respawn.sqf"; | ||
Line 258: | Line 305: | ||
}; | }; | ||
}; | }; | ||
};</ | }; | ||
</syntaxhighlight> | |||
|} | |} | ||
Line 265: | Line 313: | ||
|- | |- | ||
| | | | ||
< | <syntaxhighlight lang="cpp"> | ||
class CfgMissions | |||
{ | { | ||
class Missions | class Missions | ||
Line 271: | Line 320: | ||
class PMC_Missions | class PMC_Missions | ||
{ | { | ||
displayName="$STR_pmc_scenarios_name"; | displayName = "$STR_pmc_scenarios_name"; | ||
overview="ca\missions2_pmc\overview.html"; | overview = "ca\missions2_pmc\overview.html"; | ||
class SPP01_PMC | class SPP01_PMC | ||
{ | { | ||
directory = "ca\missions2_pmc\scenarios\SPP03.ProvingGrounds_PMC"; | directory = "ca\missions2_pmc\scenarios\SPP03.ProvingGrounds_PMC"; | ||
}; | }; | ||
class SPP02_PMC | class SPP02_PMC | ||
{ | { | ||
directory = "ca\missions2_pmc\scenarios\SPP02.ProvingGrounds_PMC"; | directory = "ca\missions2_pmc\scenarios\SPP02.ProvingGrounds_PMC"; | ||
}; | }; | ||
class SPP03_PMC | class SPP03_PMC | ||
{ | { | ||
directory = "ca\missions2_pmc\scenarios\SPP01.Takistan"; | directory = "ca\missions2_pmc\scenarios\SPP01.Takistan"; | ||
}; | }; | ||
class SPPXX_PMC | class SPPXX_PMC | ||
{ | { | ||
Line 291: | Line 344: | ||
}; | }; | ||
}; | }; | ||
class Templates | class Templates | ||
{ | { | ||
Line 298: | Line 352: | ||
}; | }; | ||
}; | }; | ||
};</ | }; | ||
</syntaxhighlight> | |||
|} | |} | ||
{| class="wikitable mw-collapsible mw-collapsed" width="100%" | {| class="wikitable mw-collapsible mw-collapsed" width="100%" | ||
! | ! {{GameCategory|arma3|link= y}} Missions | ||
|- | |- | ||
| | | | ||
< | <syntaxhighlight lang="cpp"> | ||
class CfgMissions | |||
{ | { | ||
// Campaigns | |||
class Campaigns | class Campaigns | ||
{ | { | ||
class RootCampaign | class RootCampaign | ||
{ | { | ||
// Each of these definitions are applied to the root campaign | |||
briefingName = "$STR_A3_CampaignName"; | |||
overviewText = $STR_A3_CampaignOverview; | overviewText = "$STR_A3_CampaignOverview"; | ||
author = $STR_A3_Bohemia_Interactive; | author = "$STR_A3_Bohemia_Interactive"; | ||
overviewPicture = "a3\Missions_F_EPA\data\img\Campaign_overview_CA.paa"; | overviewPicture = "a3\Missions_F_EPA\data\img\Campaign_overview_CA.paa"; | ||
// Classes of episodes included | |||
campaigns[] = {StageA, StageB, StageC}; | campaigns[] = { "StageA", "StageB", "StageC" }; | ||
class StageA | class StageA | ||
{ | { | ||
directory = "A3\Missions_F_EPA\Campaign"; | directory = "A3\Missions_F_EPA\Campaign"; | ||
// include the campaign description.ext to make it is content re-usable outside of the campaign | |||
#include "\A3\Missions_F_EPA\Campaign\description.ext" | #include "\A3\Missions_F_EPA\Campaign\description.ext" | ||
}; | }; | ||
class StageB | class StageB | ||
{ | { | ||
directory = "A3\Missions_F_EPA\CampaignDummy"; | directory = "A3\Missions_F_EPA\CampaignDummy"; | ||
}; | }; | ||
class StageC | class StageC | ||
{ | { | ||
Line 335: | Line 394: | ||
}; | }; | ||
}; | }; | ||
// Showcase missions | |||
class Showcases | class Showcases | ||
{ | { | ||
displayName = $STR_A3_CFGMISSIONS_SHOWCASES0; | displayName = "$STR_A3_CFGMISSIONS_SHOWCASES0"; | ||
briefingName = $STR_A3_CFGMISSIONS_SHOWCASES0; | briefingName = "$STR_A3_CFGMISSIONS_SHOWCASES0"; | ||
author = $STR_A3_Bohemia_Interactive; | author = "$STR_A3_Bohemia_Interactive"; | ||
overviewPicture = "a3\Missions_F_Beta\data\img\Campaign_overview_CA.paa"; | overviewPicture = "a3\Missions_F_Beta\data\img\Campaign_overview_CA.paa"; | ||
overviewText = $STR_A3_CFGMISSIONS_SHOWCASES0; | overviewText = "$STR_A3_CFGMISSIONS_SHOWCASES0"; | ||
class Showcase_Combined_arms | class Showcase_Combined_arms | ||
{ | { | ||
briefingName = $STR_A3_Showcase_Combined_Arms_Mission_Name; | briefingName = "$STR_A3_Showcase_Combined_Arms_Mission_Name"; | ||
directory = "a3\Missions_F_Beta\Showcases\Showcase_Combined_arms.Stratis"; | directory = "a3\Missions_F_Beta\Showcases\Showcase_Combined_arms.Stratis"; | ||
}; | }; | ||
}; | }; | ||
// Multiplayer missions | |||
class MPMissions | class MPMissions | ||
{ | { | ||
class MP_COOP_m01 | class MP_COOP_m01 | ||
{ | { | ||
briefingName=" | briefingName = "$STR_A3_MP_COOP_m01_briefingName"; | ||
directory = "A3\missions_f\mpscenarios\MP_COOP_m01.Stratis"; | directory = "A3\missions_f\mpscenarios\MP_COOP_m01.Stratis"; | ||
}; | }; | ||
}; | }; | ||
// Challenges | |||
class Challenges | class Challenges | ||
{ | { | ||
briefingName = $STR_A3_CHALLENGES_NAME; | briefingName = "$STR_A3_CHALLENGES_NAME"; | ||
overviewText = $STR_A3_CHALLENGES_OVERVIEW; | overviewText = "$STR_A3_CHALLENGES_OVERVIEW"; | ||
overviewPicture = "\a3\Missions_F_Beta\data\img\Challenges_overview_CA.paa"; | overviewPicture = "\a3\Missions_F_Beta\data\img\Challenges_overview_CA.paa"; | ||
// Firing Drills | |||
author = $STR_A3_Bohemia_Interactive; | author = "$STR_A3_Bohemia_Interactive"; | ||
class Firing_Drills | class Firing_Drills | ||
{ | { | ||
briefingName = $STR_A3_FIRING_DRILLS_NAME; | briefingName = "$STR_A3_FIRING_DRILLS_NAME"; | ||
overviewText = $STR_A3_FIRING_DRILLS_OVERVIEW; | overviewText = "$STR_A3_FIRING_DRILLS_OVERVIEW"; | ||
overviewPicture = "\a3\Missions_F_Beta\data\img\FiringDrills_overview_CA.paa"; | overviewPicture = "\a3\Missions_F_Beta\data\img\FiringDrills_overview_CA.paa"; | ||
author = $STR_A3_Bohemia_Interactive; | author = "$STR_A3_Bohemia_Interactive"; | ||
class SP_FD04 | |||
class SP_FD04 // Green | |||
{ | { | ||
directory = "a3\Missions_F_Beta\Challenges\firing_drills\sp_fd04.stratis"; | directory = "a3\Missions_F_Beta\Challenges\firing_drills\sp_fd04.stratis"; | ||
briefingName = $STR_A3_FIRING_DRILLS_SP_FD04_NAME; | briefingName = "$STR_A3_FIRING_DRILLS_SP_FD04_NAME"; | ||
overviewText = $STR_A3_FIRING_DRILLS_SP_FD04_OVERVIEW; | overviewText = "$STR_A3_FIRING_DRILLS_SP_FD04_OVERVIEW"; | ||
overviewPicture = "\a3\Missions_F_Beta\data\img\SP_FD04_overview_CA.paa"; | overviewPicture = "\a3\Missions_F_Beta\data\img\SP_FD04_overview_CA.paa"; | ||
author = $STR_A3_Bohemia_Interactive; | author = "$STR_A3_Bohemia_Interactive"; | ||
}; | }; | ||
}; | }; | ||
}; | }; | ||
};</ | }; | ||
</syntaxhighlight> | |||
|} | |} | ||
{{GameCategory|arma1|Editing}} | |||
{{GameCategory|arma2|Editing}} | |||
{{GameCategory|arma3|Editing}} | |||
[[Category: Take On Helicopters: Editing]] | [[Category: Take On Helicopters: Editing]] | ||
Latest revision as of 19:42, 3 February 2024
CfgMissions contains list of all playable content available for players in ingame menus. It is core of missions exported in Addon Format.
Classes
Introduced in | Param name | Description |
---|---|---|
1.00 |
Campaigns |
Regular campaigns. For information on how to configure the campaigns themselves, please see the Campaign Description.ext page.
class Campaigns
{
class Bootcamp
{
directory = "A3\Missions_F_Bootcamp\Campaign";
filterGroup = 3; // Only bootcamp campaign will be listed in Campaign dialogue invoked by Bootcamp button.
// include the campaign description.ext to make its content re-usable outside of the campaign
#include "\A3\Missions_F_Bootcamp\Campaign\description.ext"
};
};
|
1.00 |
Episodic Campaigns |
Arma 3 has introduced the ability to configure episodic campaigns, as seen with the official The East Wind campaign. Upon expanding the main tree, you will see all available episodes which, when expanded as well, function as a regular campaign. class Campaigns
{
class RootCampaign
{
// Each of these definitions are applied to the root campaign
briefingName = "$STR_A3_CampaignName";
overviewText = "$STR_A3_CampaignOverview";
author = "$STR_A3_Bohemia_Interactive";
overviewPicture = "a3\Missions_F_EPA\data\img\Campaign_overview_CA.paa";
// Classes of episodes included
campaigns[] = { "StageA", "StageB", "StageC" };
class StageA
{
directory = "A3\Missions_F_EPA\Campaign";
// include the campaign description.ext to make it is content re-usable outside of the campaign
#include "\A3\Missions_F_EPA\Campaign\description.ext"
};
class StageB
{
directory = "A3\Missions_F_EPA\CampaignDummy";
};
class StageC
{
directory = "A3\Missions_F_EPA\CampaignDummy2";
};
};
};
|
1.00 |
Missions |
Singleplayer missions. Menu name can vary in different projects:
class Missions
{
class SP_WarWelcome
{
directory = "ca\missions\Scenarios\SP_WarWelcome.utes";
};
};
You can also group your missions into subfolders class Missions
{
class PMC_Missions
{
//--- Subfolder name
displayName = "$STR_pmc_scenarios_name";
//--- Subfolder overview
overview = "ca\missions2_pmc\overview.html";
//--- List of missions
class SPP01_PMC
{
directory = "ca\missions2_pmc\scenarios\SPP03.ProvingGrounds_PMC";
};
};
};
|
1.00 |
Tutorial |
Tutorial scenarios. Structure same as Missions. |
1.00 |
TimeTrials |
Time Trial scenarios. Structure same as Missions. |
1.00 |
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
};
};
};
|
1.00 |
Templates |
Singleplayer templates. Accessible through <My Missions> in SP missions list.
class Templates
{
class ST_BasicEast
{
directory = "ca\missions\Templates\Basic.East";
};
};
|
1.00 |
MPTemplates |
Multiplayer templates. Accessible through <My Missions> in MP missions list. |
1.00 |
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 |
---|---|---|---|---|
1.00 |
directory |
String |
directory = "ca\missions\Scenarios\SP_WarWelcome.utes";
|
N/A |
1.00 |
briefingName |
String | Mission name overriding name set in Intel menu. | Not in Campaigns |
1.00 |
overviewText |
String | Custom overview description | Not in MPMissions and MPTemplates |
1.00 |
overviewPicture |
String | Path to custom overview picture | Not in MPMissions and MPTemplates |
1.00 |
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 |
class CfgMissions
{
class Missions
{
class SP_Benchmark // 03
{
directory = "ca\missions_e\scenarios\SPE1_Benchmark1.takistan";
};
};
class MPMissions
{
class MPE_HikeInTheHills
{
directory = "ca\missions_e\MPScenarios\MPE1_HikeInTheHills.Takistan";
};
};
class MPTemplates
{
class MTE_Deathmatch
{
directory = "ca\missions_e\MPTemplates\MPTE_Deathmatch";
}
};
class Templates
{
class ST_BasicEast
{
directory = "ca\missions_e\Templates\Basic.East";
};
};
class Campaigns
{
class Arrowhead
{
directory = "ca\missions_e\campaign";
};
};
class Tutorial
{
class TE01
{
directory = "ca\missions_e\Bootcamp\TE01_Basic_controls.Zargabad";
};
};
class Procedural
{
class Armory
{
onLoadMission = "$STR_LIB_ONLOAD";
debriefing = 0;
playerKilledScript = "\ca\missions\armory\data\scripts\respawn.sqf";
onPauseScript = "\ca\missions\armory\data\scripts\pauseOnload.sqf";
onCheat = "[_this] call LIB_onCheatFunction";
};
};
};
|
Arma 2: Private Military Company Missions |
---|
class CfgMissions
{
class Missions
{
class PMC_Missions
{
displayName = "$STR_pmc_scenarios_name";
overview = "ca\missions2_pmc\overview.html";
class SPP01_PMC
{
directory = "ca\missions2_pmc\scenarios\SPP03.ProvingGrounds_PMC";
};
class SPP02_PMC
{
directory = "ca\missions2_pmc\scenarios\SPP02.ProvingGrounds_PMC";
};
class SPP03_PMC
{
directory = "ca\missions2_pmc\scenarios\SPP01.Takistan";
};
class SPPXX_PMC
{
directory = "ca\missions2_pmc\scenarios\SPP00.Zargabad";
};
};
};
class Templates
{
class SupplyDrop
{
directory = "ca\missions2_PMC\Templates\SupplyDrop.West";
};
};
};
|
Arma 3 Missions |
---|
class CfgMissions
{
// Campaigns
class Campaigns
{
class RootCampaign
{
// Each of these definitions are applied to the root campaign
briefingName = "$STR_A3_CampaignName";
overviewText = "$STR_A3_CampaignOverview";
author = "$STR_A3_Bohemia_Interactive";
overviewPicture = "a3\Missions_F_EPA\data\img\Campaign_overview_CA.paa";
// Classes of episodes included
campaigns[] = { "StageA", "StageB", "StageC" };
class StageA
{
directory = "A3\Missions_F_EPA\Campaign";
// include the campaign description.ext to make it is content re-usable outside of the campaign
#include "\A3\Missions_F_EPA\Campaign\description.ext"
};
class StageB
{
directory = "A3\Missions_F_EPA\CampaignDummy";
};
class StageC
{
directory = "A3\Missions_F_EPA\CampaignDummy2";
};
};
};
// Showcase missions
class Showcases
{
displayName = "$STR_A3_CFGMISSIONS_SHOWCASES0";
briefingName = "$STR_A3_CFGMISSIONS_SHOWCASES0";
author = "$STR_A3_Bohemia_Interactive";
overviewPicture = "a3\Missions_F_Beta\data\img\Campaign_overview_CA.paa";
overviewText = "$STR_A3_CFGMISSIONS_SHOWCASES0";
class Showcase_Combined_arms
{
briefingName = "$STR_A3_Showcase_Combined_Arms_Mission_Name";
directory = "a3\Missions_F_Beta\Showcases\Showcase_Combined_arms.Stratis";
};
};
// Multiplayer missions
class MPMissions
{
class MP_COOP_m01
{
briefingName = "$STR_A3_MP_COOP_m01_briefingName";
directory = "A3\missions_f\mpscenarios\MP_COOP_m01.Stratis";
};
};
// Challenges
class Challenges
{
briefingName = "$STR_A3_CHALLENGES_NAME";
overviewText = "$STR_A3_CHALLENGES_OVERVIEW";
overviewPicture = "\a3\Missions_F_Beta\data\img\Challenges_overview_CA.paa";
// Firing Drills
author = "$STR_A3_Bohemia_Interactive";
class Firing_Drills
{
briefingName = "$STR_A3_FIRING_DRILLS_NAME";
overviewText = "$STR_A3_FIRING_DRILLS_OVERVIEW";
overviewPicture = "\a3\Missions_F_Beta\data\img\FiringDrills_overview_CA.paa";
author = "$STR_A3_Bohemia_Interactive";
class SP_FD04 // Green
{
directory = "a3\Missions_F_Beta\Challenges\firing_drills\sp_fd04.stratis";
briefingName = "$STR_A3_FIRING_DRILLS_SP_FD04_NAME";
overviewText = "$STR_A3_FIRING_DRILLS_SP_FD04_OVERVIEW";
overviewPicture = "\a3\Missions_F_Beta\data\img\SP_FD04_overview_CA.paa";
author = "$STR_A3_Bohemia_Interactive";
};
};
};
};
|