CfgMissions

From Bohemia Interactive Community
Revision as of 09:44, 4 November 2011 by Str (talk | contribs)
Jump to navigation Jump to search

CfgMissions contains list of all playable content available for players in ingame menus. It's core of missions exported in Addon Format.

Classes

Intro- duced in Param name Description

Template:Table Config Item

Campaigns

Campaign definitions

class Campaigns { class HarvestRed { directory = "ca\missions\campaign"; }; };

Template:Table Config Item

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"; }; }; };

Template:Table Config Item

Tutorial

Tutorial scenarios. Structure same as Missions.

Template:Table Config Item

TimeTrials

Time Trial scenarios. Structure same as Missions.

Template:Table Config Item

MPMissions

Multiplayer missions.

Template:Table Config Item

Templates

Singleplayer templates. Accessable through <My Missions> in SP missions list.
class Templates
{
	class ST_BasicEast
	{
		directory = "ca\missions\Templates\Basic.East";
	};
};

Template:Table Config Item

MPTemplates

Multiplayer templates. Accessable through <My Missions> in MP missions list.

Template:Table Config Item

Procedural

Procedural missions. Exclusive for Armory.


Params

Following params works for all mission/campaign classes placed in parent classes listed above.

Intro- duced in Param name Type Description Compatibility

Template:Table Config Item

directory

String
  • Missions - path to mission folder (where mission.sqm is placed)
  • Campaigns - path to folder where campaign description.ext is placed

directory = "ca\missions\Scenarios\SP_WarWelcome.utes";

Template:Table Config Item

briefingName

String Mission name overriding name set in Intel menu. Not in Campaigns

Template:Table Config Item

overviewText

String Custom overview description Not in MPMissions and MPTemplates

Template:Table Config Item

overviewPicture

String Path to custom overview picture Not in MPMissions and MPTemplates

Template:Table Config Item

author

String Content Authorship signature Not in MPMissions and MPTemplates

You can also put any Description.ext param in mission class.


Examples