Mission Export: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Checkbox|yes}}" to "{{Icon|checked}}")
m (Text replacement - "{{ExternalLink|" to "{{Link|")
 
(8 intermediate revisions by 2 users not shown)
Line 19: Line 19:
=== Installation ===
=== Installation ===


Put missions/campaigns in following folders or in folders of the same names in [[Modfolders|mod subfolders]].
Put missions/campaigns in following folders or in folders of the same names in [[Arma: Mod Folders|mod subfolders]].


==== Singleplayer Missions ====
==== Singleplayer Missions ====
Line 36: Line 36:
# Select 'Export to single-missions' or 'Export to multiplayer missions', depending on type of your mission
# 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.
Mission [[PBO]] was created in Missions or MPMissions folder in the game's root.
* You can publish the mission directly from Editor in [Arma 3] to [http://steamcommunity.com/workshop/browse?appid=107410 Steam Workshop] . Click on the Steam icon and provide necessary data: name, description, tags and image.  
* You can publish the mission directly from Editor in [Arma 3] to {{Link|link= http://steamcommunity.com/workshop/browse?appid=107410|text= Steam Workshop}} . Click on the Steam icon and provide necessary data: name, description, tags and image.  


==== External ====
==== External ====
Line 42: Line 42:




{{ArgTitle|Addon Format|2||
{{ArgTitle|2|Addon Format||
{{GVI|arma1|1.00}}
{{GVI|arma1|1.00}}
{{GVI|arma2|1.00}}
{{GVI|arma2|1.00}}
{{GVI|arma2oa|1.51}}
{{GVI|arma2oa|1.50}}
{{GVI|arma3|0.50}}
{{GVI|arma3|0.50}}
{{GVI|tkoh|1.00}}}}
{{GVI|tkoh|1.00}}}}


[[{{arma1}}]] introduced mission export based on addon structure, giving designers more control of PBO structure.
[[:Category:ArmA: Armed Assault|{{arma1}}]] 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.
Missions or campaigns can be grouped in single PBO (like official missions) or with other supporting addons like new objects or functions.


Line 56: Line 56:
=== Installation ===
=== Installation ===


Put missions/campaigns in following folder or in folder of the same names in [[Modfolders|mod subfolders]].
Put missions/campaigns in following folder or in folder of the same names in [[Arma: Mod Folders|mod subfolders]].
  {{Color|green|%ROOT%}}\Addons
  {{Color|green|%ROOT%}}\Addons


Line 86: Line 86:
};
};
};
};
};</syntaxhighlight></li>
};
</syntaxhighlight></li>
<li>Pack addon folder using [[BinPBO]] or other preferred packing tool. It's recommended '''not''' to binarize it.</li>
<li>Pack addon folder using [[BinPBO]] or other preferred packing tool. It's recommended '''not''' to binarize it.</li>
</ol>
</ol>
Line 140: Line 141:




[[Category: Mission Editor]]
[[Category: 2D Editor]]
{{GameCategory|ofp| Editing}}
{{GameCategory|ofp| Missions}}
{{GameCategory|arma1| Mission Editing}}
{{GameCategory|arma1| Editing}}
{{GameCategory|arma2|Editing}}
[[Category: Take On Helicopters: Editing]]

Latest revision as of 16:22, 4 January 2023

Two export methods are available, both with certain pros and cons.


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 file 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. It's recommended not to use any large files (pictures, sounds, ...) to prevent it.

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.

  • You can publish the mission directly from Editor in [Arma 3] to Steam Workshop . Click on the Steam icon and provide necessary data: name, description, tags and image.

External

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


Addon Format

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. No file size limitations exists.

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 CfgPatches and CfgMissions classes (example: MyMission\config.cpp)
    class CfgPatches
    {
    	class MyAddonClass
    	{
    		units[] = {};
    		weapons[] = {};
    		requiredVersion = 1.0;
    		requiredAddons[] = {};
    	};
    };
    class CfgMissions
    {
    	class Missions
    	{
    		class MyMissionClass
    		{
    			directory = "MyMission\MissionFolder.World";
    		};
    	};
    };
    
  4. Pack addon folder using BinPBO or other preferred packing tool. It's recommended not to binarize it.


Format Comparison

Feature Mission Format Addon Format
Ingame Export Checked Unchecked
External Export Checked Checked
Multiple missions in one file Unchecked Checked
Custom addon in mission file Unchecked Checked
Localized mission name Unchecked Checked
Designer controlled subfolders Unchecked Checked
User controlled subfolders Checked Unchecked
Ingame download of MP mission Checked Unchecked