Mission Export: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 69: Line 69:
};
};
};</pre></li>
};</pre></li>
<li>Pack addon folder using [[BinPBO]] or other preffered packing tool.</li>
<li>Pack addon folder using [[BinPBO]] or other preffered packing tool. It's recommended '''not''' to binarize it.</li>
</ol>
</ol>



Revision as of 14:10, 8 November 2011

Two export methods are available, both with certain pros and cons. However, Mission format is considered obsolete and lacks any support (e.g. newly introduced features are available only for Addon format).

Mission Format

Older export variant working since Arma: Cold War Assault. Mission PBO contains only mission folder itself and additional options are limited, e.g. you cannot have multiple missions in one fil and in case you need mission specific addon, it has to be created separately.

Multiplayer missions are sent by server to every connected user, occasionally leading to increased bandwidth.

File itself is always named in following format

<mission name>.<world Name>.pbo

Examples:

TopGun.abel.pbo
SpyGame.Chernarus.pbo
Domino.ProvingGrounds_PMC.pbo

World name matches the class in CfgWorlds.pbo


Installation

Put missions/campaigns in following folders or in folders of the same names in mod subfolders.

Singleplayer Missions

%ROOT%\Missions

Multiplayer Missions

%ROOT%\MPMissions

Campaigns

%ROOT%\Campaigns


Export

Ingame

  1. When in mission editor, click on Save button.
  2. Select 'Export to single-missions' or 'Export to multiplayer missions', depending on type of your mission

Mission PBO was created in Missions or MPMissions folder in the game's root.


External

  1. Pack mission folder using BinPBO or other preffered packing tool.



Addon Format

Template:Versions Armed Assault introduced mission export based on addon structure, giving designers more control of PBO structure. Missions or campaigns can be grouped in single PBO (like official missions) or with other supporting addons like new objects or functions.

Multiplayer missions has to be installed before the game is run.

Installation

Put missions/campaigns in following folder or in folder of the same names in mod subfolders.

%ROOT%\Addons


Export

BinPBO
  1. Create folder with name of the addon (example: MyMission)
  2. Copy mission folder into the addon folder (example: MyMission\MissionFolder.World)
  3. Create Config.cpp in addon folder with CfgMissions class (example: MyMission\config.cpp)
    class CfgMissions
    {
    	class Missions
    	{
    		class MyMissionClass
    		{
    			directory = "MyMission\MissionFolder.World";
    		};
    	};
    };
  4. Pack addon folder using BinPBO or other preffered packing tool. It's recommended not to binarize it.


Format Comparison

Feature Mission Format Addon Format
Ingame Export Template:task/ Template:task
External Export Template:task/ Template:task/
Multiple missions in one file Template:task Template:task/
Custom addon in mission file Template:task Template:task/
Content Authorship Template:task Template:task/
Localized mission name Template:task Template:task/
Designer controlled subfolders Template:task Template:task/
User controlled subfolders Template:task/ Template:task
Ingame download of mission Template:task/ Template:task