Mission Export: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category: ArmA 2: Editing" to "[[Category:Arma 2: Editing")
m (Some wiki formatting, removal of Versions template)
Line 1: Line 1:
{{SideTOC}}
Two export methods are available, both with certain pros and cons.
Two export methods are available, both with certain pros and cons.


== Mission 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 file and in case you need mission specific addon, it has to be created separately.
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.


Line 7: Line 10:


File itself is always named in following format
File itself is always named in following format
  <span style="color:green"><mission name></span>.<span style="color:green"><world Name></span>.pbo
  {{Color|green|&lt;mission name&gt;}}.{{Color|green|&lt;world name&gt;}}.pbo
Examples:
Examples:
  TopGun.abel.pbo
  TopGun.abel.pbo
Line 14: Line 17:
World name matches the class in ''CfgWorlds''.pbo
World name matches the class in ''CfgWorlds''.pbo


=== 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 [[Modfolders|mod subfolders]].
==== Singleplayer Missions ====
==== Singleplayer Missions ====
  <span style="color:green">%ROOT%</span>\Missions
  {{Color|green|%ROOT%}}\Missions
 
==== Multiplayer Missions ====
==== Multiplayer Missions ====
  <span style="color:green">%ROOT%</span>\MPMissions
  {{Color|green|%ROOT%}}\MPMissions
 
==== Campaigns ====
==== Campaigns ====
  <span style="color:green">%ROOT%</span>\Campaigns
  {{Color|green|%ROOT%}}\Campaigns


=== Export ===


=== Export ===
==== Ingame ====
==== Ingame ====
# When in mission editor, click on [[Mission_Editor#Save_As|Save]] button.
# When in mission editor, click on [[Mission_Editor#Save_As|Save]] button.
Line 31: Line 37:
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 [http://steamcommunity.com/workshop/browse?appid=107410 Steam Workshop] . Click on the Steam icon and provide necessary data: name, description, tags and image.  


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




<br style="clear:both;">
{{ArgTitle|Addon Format|2||
== Addon Format ==
{{GVI|arma|1.00}}
{{Versions|
{{GVI|arma2|1.00}}
[[Image:arma_1.00.gif]]
{{GVI|arma2oa|1.51}}
[[Image:arma2_1.00.gif]]
{{GVI|arma3|0.50}}
[[Image:arma2oa_1.51.gif]]
{{GVI|tkoh|1.00}}}}
[[Image:TKOH_1.00.gif]]
 
[[Image:arma3_0.50.gif]]
[[{{arma}}]] introduced mission export based on addon structure, giving designers more control of PBO structure.
|-4}}
Missions or campaigns can be grouped in single PBO (like official missions) or with other supporting addons like new objects or functions.
[[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.
Multiplayer missions has to be installed before the game is run. No file size limitations exists.


=== 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 [[Modfolders|mod subfolders]].
  <span style="color:green">%ROOT%</span>\Addons
  {{Color|green|%ROOT%}}\Addons


=== Export ===


=== Export ===
[[File:BinPBO.jpg|thumb|BinPBO]]
[[File:BinPBO.jpg|thumb|BinPBO]]
<ol>
<ol>
Line 61: Line 66:
<li>Copy [[Mission_Editor:_External#Mission_Folder|mission folder]] into the addon folder (example: ''MyMission\MissionFolder.World'')</li>
<li>Copy [[Mission_Editor:_External#Mission_Folder|mission folder]] into the addon folder (example: ''MyMission\MissionFolder.World'')</li>
<li>Create [[Config.cpp]] in addon folder with [[CfgPatches]] and [[CfgMissions]] classes (example: ''MyMission\config.cpp'')
<li>Create [[Config.cpp]] in addon folder with [[CfgPatches]] and [[CfgMissions]] classes (example: ''MyMission\config.cpp'')
<pre>
<syntaxhighlight lang="cpp">
class CfgPatches
class CfgPatches
{
{
Line 81: Line 86:
};
};
};
};
};</pre></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 88: Line 93:
== Format Comparison ==
== Format Comparison ==


{| class="wikitable" width="50%"
{| class="wikitable" style="text-align: center"
! Feature
! style="min-width: 20em" | Feature
! Mission Format
! Mission Format
! Addon Format
! Addon Format


|-
|-
| Ingame Export
| style="text-align: left" | Ingame Export
| style="text-align:center;"| {{task/}}
| {{task/}}
| style="text-align:center;"| {{task}}
| {{task}}


|-
|-
| External Export
| style="text-align: left" | External Export
| style="text-align:center;"| {{task/}}
| {{task/}}
| style="text-align:center;"| {{task/}}
| {{task/}}


|-
|-
| Multiple missions in one file
| style="text-align: left" | Multiple missions in one file
| style="text-align:center;"| {{task}}
| {{task}}
| style="text-align:center;"| {{task/}}
| {{task/}}


|-
|-
| Custom addon in mission file
| style="text-align: left" | Custom addon in mission file
| style="text-align:center;"| {{task}}
| {{task}}
| style="text-align:center;"| {{task/}}
|{{task/}}


|-
|-
| Localized mission name
| style="text-align: left" | Localized mission name
| style="text-align:center;"| {{task}}
| {{task}}
| style="text-align:center;"| {{task/}}
| {{task/}}


|-
|-
| Designer controlled subfolders
| style="text-align: left" | Designer controlled subfolders
| style="text-align:center;"| {{task}}
| {{task}}
| style="text-align:center;"| {{task/}}
| {{task/}}


|-
|-
| User controlled subfolders
| style="text-align: left" | User controlled subfolders
| style="text-align:center;"| {{task/}}
| {{task/}}
| style="text-align:center;"| {{task}}
| {{task}}


|-
|-
| Ingame download of MP mission
| style="text-align: left" | Ingame download of MP mission
| style="text-align:center;"| {{task/}}
| {{task/}}
| style="text-align:center;"| {{task}}
| {{task}}
|}
|}


[[Category: Mission Editor]]
[[Category: Mission Editor]]

Revision as of 19:27, 17 May 2020

Template:SideTOC 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.


2

-wrong parameter ("Arma") defined!-1.00 Logo A2.png1.00 A2 OA Logo.png1.51 Arma 3 logo black.png0.50

tkoh logo small.png1.00

Arma 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 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/
Localized mission name Template:task Template:task/
Designer controlled subfolders Template:task Template:task/
User controlled subfolders Template:task/ Template:task
Ingame download of MP mission Template:task/ Template:task