MP End Game – Arma 3

From Bohemia Interactive Community
Jump to navigation Jump to search
m (arma 3 cat)
m (Text replacement - "[[Arma 3 " to "[[Arma 3: ")
 
(55 intermediate revisions by 7 users not shown)
Line 1: Line 1:
[[Category:{{Name|arma3}}]]
{{TOC|side}}
{{GVI|a3|1.42|category}}<br><br>
{{GVI| arma3|1.42}}
 
= End Game - Scenario Guideline =
= End Game - Scenario Guideline =


'''DISCLAIMER'''
{{Feature|informative|
 
Here you can find information on how to create your own '''{{Link|link= http://dev.arma3.com/post/oprep-end-game|text= End Game}}''' scenarios.
Here you can find information on how to create your own '''[http://dev.arma3.com/post/oprep-end-game End Game]''' scenarios. Be introduced introduced to the individual system components, how they work together, and finally learn how to set up the '''End Game''' scenario.
Be introduced to the individual system components, how they work together, and finally learn how to set up the '''End Game''' scenario.
 
}}
'''LIMITATIONS'''


{{Feature|important|
The current issues and limitations are:
The current issues and limitations are:


* '''West vs East vs Resistance'''
* '''West vs East vs Resistance'''
** Currently, the only supported playable sides are ''[https://community.bistudio.com/wiki/west west]'' (BLUFOR) and ''[https://community.bistudio.com/wiki/east east]'' (OPFOR), and the common enemy is ''[https://community.bistudio.com/wiki/resistance resistance]'' (Independent)'','' which is AI controlled.
** Currently, the only supported playable sides are ''[[west]]'' ([[blufor|BLUFOR]]) and ''[[east]]'' ([[opfor|OPFOR]]), and the common enemy is ''[[resistance]]'' ([[independent|Independent]])'','' which is AI controlled.
** The plan is to re-factor the related code to support all kinds of side combinations.
** The plan is to re-factor the related code to support all kinds of side combinations.
}}


'''HOW TO ACCESS MODULES AND LOGICS'''
A [[Arma 3: Asset Samples|sample]] is available in [[:Category:Arma 3: Official Tools|Arma 3 Tools]].




===<u>Modules</u>===
== How to access modules and logics ==


When inside the Editor, navigate to''' Modules (F7)''' and double click on the map. The modules selection window will appear.<br /> Set the ''Category'' to '''Objectives,''' and here you can see all '''End Game Modules''' listed.
=== Modules ===
 
When inside the Editor, navigate to''' Modules (F7)''' and double click on the map. The modules selection window will appear.<br> Set the ''Category'' to '''Objectives,''' and here you can see all '''End Game Modules''' listed.


[[File:Arma3 EndGame_1.jpg|600px]]
[[File:Arma3 EndGame_1.jpg|600px]]


=== Logics ===


===<u>Logics</u>===
When inside the Editor, navigate to '''Units (F1)''' and double click on the map. The unit selection window will appear.<br> Set the ''side'' to '''Game Logic''' (note this is only possible after placing a player unit) and the ''class'' to '''Objects'''. Here you will find '''End Game''' specific''' Game Logics.'''


When inside the Editor, navigate to '''Units (F1)''' and double click on the map. The unit selection window will appear.<br /> Set the ''side'' to '''Game Logic''' (note this is only possible after placing a player unit) and the ''class'' to '''Objects'''. Here you will find '''End Game''' specific''' Game Logics.'''
[[File:arma3 endgame randomizer.jpg|600px]]


[[File:Arma3 EndGame_2.jpg|600px]]


'''END GAME OBJECTIVES INSTANCE'''
== Objectives Instance ==


 
=== Objectives Instance ===
=== <u>Objectives Instance</u> ===


The '''End Game Objectives Instance''' is what controls the flow of the whole End Game scenario. It decides when and which objectives should be visible and handles changes in their state.
The '''End Game Objectives Instance''' is what controls the flow of the whole End Game scenario. It decides when and which objectives should be visible and handles changes in their state.
Line 43: Line 44:
[[File:Arma3 EndGame_3.jpg|600px]]
[[File:Arma3 EndGame_3.jpg|600px]]


'''OBJECTIVE TYPES'''


== Objective Types ==


=== <u>Start Game Objective</u> ===
=== Start Game Objective ===


The ''Start Game Objective'' handles the initial phase of the '''End Game''' by requiring players to '''Establish FOB'''.<br /> The succeed radius tells the objective the distance from its location that no enemy is within, so the objective can succeed. So, when attacking the enemy location to establish the FOB, players are required to eliminate all the enemies within the given radius.
The ''Start Game Objective'' handles the initial phase of the '''End Game''' by requiring players to '''Establish FOB'''.<br> The succeed radius tells the objective the distance from its location that no enemy is within, so the objective can succeed. So, when attacking the enemy location to establish the FOB, players are required to eliminate all the enemies within the given radius.


[[File:Arma3 EndGame_4.jpg|600px]]
[[File:Arma3 EndGame_4.jpg|600px]]




=== <u>Middle Game Objective</u> ===
=== Middle Game Objective ===


The ''Middle Game Objective'' is part of the second phase of '''End Game''' and requires players to move to a location and download Intel from an electronic device.
The ''Middle Game Objective'' is part of the second phase of '''End Game''' and requires players to move to a location and download Intel from an electronic device.
Line 59: Line 60:
[[File:Arma3 EndGame_5.jpg|600px]]
[[File:Arma3 EndGame_5.jpg|600px]]


=== End Game Objective ===


=== <u>End Game Objective</u> ===
The ''End Game Objective'' handles the last phase of''' End Game''' by requiring players to pick up important schematics from a location and upload them to their HQ.<br> The team which is able to complete the upload will win the match.
 
The ''End Game Objective'' handles the last phase of''' End Game''' by requiring players to pick up important schematics from a location and upload them to their HQ.<br /> The team which is able to complete the upload will win the match.


[[File:Arma3 EndGame_6.jpg|600px]]
[[File:Arma3 EndGame_6.jpg|600px]]


'''GAME LOGIC TYPES'''


== Game Logic Types ==


=== <u>Objective Randomizer</u> ===
=== Objective Randomizer ===


The '''Randomizer Game Logic''' allows for objective randomization. If two or more objectives are synced to a '''Randomizer''' that in turn is synced with the '''End Game Objectives Instance''' module, one of those objectives will be selected at random on mission start.
The '''Randomizer Game Logic''' allows for objective randomization. If two or more objectives are synced to a '''Randomizer''' that in turn is synced with the '''End Game Objectives Instance''' module, one of those objectives will be selected at random on mission start.
Line 79: Line 79:
[[File:Arma3 EndGame_7.jpg|600px]]
[[File:Arma3 EndGame_7.jpg|600px]]


'''SCENARIO CONFIGURATION'''


== Scenario Configuration ==


=== <u>Intel</u> ===
=== Intel ===


When inside the '''Editor''', enter the '''Intel''' properties. Here you are able to set mission parameters such as the mission '''Name''', mission '''Description''', the initial '''Time of Day''' and '''Weather'''.
When inside the '''Editor''', enter the '''Intel''' properties. Here you are able to set mission parameters such as the mission '''Name''', mission '''Description''', the initial '''Time of Day''' and '''Weather'''.
Line 92: Line 92:
[[File:Arma3 EndGame_9.jpg|600px]]
[[File:Arma3 EndGame_9.jpg|600px]]


=== Revive and Respawn ===


=== <u>Revive and Respawn</u> ===
'''End Game''' was made with group respawn in mind, and although you are free to try different respawn types, the following configuration is the suggested one. You will need to add a few lines to your '''[[Description.ext|description.ext]]'''.
 
'''End Game''' was made with group respawn in mind, and although you are free to try different respawn types, the following configuration is the suggested one. You will need to add a few lines to your [https://community.bistudio.com/wiki/Description.ext '''description.ext'''].


'''Description.ext'''
'''Description.ext'''
   
   
  respawn = 3;  
  [[Description.ext#respawn|respawn]] = 3;
  respawnDelay = 30;  
  [[Description.ext#respawnDelay|respawnDelay]] = 30;
  respawnVehicleDelay = 0;  
  [[Description.ext#respawnVehicleDelay|respawnVehicleDelay]] = 0;
  respawnTemplates[] = {"Revive", "MenuPosition"}; // Enable Revive and Respawn Menu  
  [[Description.ext#respawnTemplates|respawnTemplates<nowiki>[]</nowiki>]] = {"Revive", "MenuPosition"}; // Enable Revive and Respawn Menu  
  respawnOnStart = -1;  
  [[Description.ext#respawnOnStart|respawnOnStart]] = -1;
  respawnDialog = 1;  
  [[Description.ext#respawnDialog|respawnDialog]] = 1;
  disabledAI = 1;
  [[Description.ext#disabledAI|disabledAI]] = 1;
 


=== <u>Shared Objectives</u> ===
=== Shared Objectives ===


To enable the '''Shared Objectives''' you'll need to add a few lines to your [https://community.bistudio.com/wiki/Description.ext '''description.ext'''].
To enable the '''Shared Objectives''' you'll need to add a few lines to your '''[[Description.ext|description.ext]]'''.


'''Description.ext'''
'''Description.ext'''
<syntaxhighlight lang="cpp">
taskManagement_markers2D = 1; //0: do not use new 2D markers (default), 1: replace task markers with new 2D markers  
class CfgTaskEnhancements
taskManagement_markers3D = 1; //0: do not use new 3D markers (default), 1: replace task waypoints with new 3D markers  
{
taskManagement_propagate = 1; //0: do not propagate (default), 1: propagate shared tasks to subordinates  
enable = 1; // 0: disable new task features (default), 1: enable new task features & add new task markers and task widgets into the map
taskManagement_drawDist  = 2500; //3D marker draw distance (default: 2000)
3d = 1; // 0: do not use new 3D markers (default), 1: replace task waypoints with new 3D markers
 
3dDrawDist = 10000; // 3D marker draw distance (default: 2000)
share = 1; // 0: do not count assigned players (default), 1: count how many players have the task assigned
propagate = 1; // 0: do not propagate (default), 1: propagate shared tasks to subordinates
};
</syntaxhighlight>


=== <u>Garbage Manager</u> ===
=== Garbage Manager ===


In order to keep the game from slowing down because of dozens of destroyed vehicles and hundreds of bodies, you may enable and configure the '''Garbage Manager''' within your [https://community.bistudio.com/wiki/Description.ext '''description.ext'''].
In order to keep the game from slowing down because of dozens of destroyed vehicles and hundreds of bodies, you may enable and configure the '''Garbage Manager''' within your '''[[Description.ext|description.ext]]'''.


'''Description.ext'''
'''Description.ext'''
   
   
  corpseManagerMode = 1; //Type of removed bodies: 0 - none, 1 - all, 2 - only respawnable, 3 - only non-respawnable  
  [[Description.ext#corpseManagerMode|corpseManagerMode]] = 1; //Type of removed bodies: 0 - none, 1 - all, 2 - only respawnable, 3 - only non-respawnable  
  corpseLimit = 10; //Max number of bodies which can be available at the same time. When exceeded, start deleting immediately.  
  [[Description.ext#corpseLimit|corpseLimit]] = 10; //Max number of bodies which can be available at the same time. When exceeded, start deleting immediately.  
  corpseRemovalMinTime = 120; //Minimal time in seconds a body stays in the scene (can't be removed sooner).  
  [[Description.ext#corpseRemovalMinTime|corpseRemovalMinTime]] = 120; //Minimal time in seconds a body stays in the scene (can't be removed sooner).  
  corpseRemovalMaxTime = 240; //Maximal time in seconds after which a dead body is removed (can't stay longer)  
  [[Description.ext#corpseRemovalMaxTime|corpseRemovalMaxTime]] = 240; //Maximal time in seconds after which a dead body is removed (can't stay longer)  
   
   
  wreckManagerMode = 1; //Type of removed wrecks: 0 - none, 1 - all, 2 - only respawnable, 3 - only non-respawnable  
  [[Description.ext#wreckManagerMode|wreckManagerMode]] = 1; //Type of removed wrecks: 0 - none, 1 - all, 2 - only respawnable, 3 - only non-respawnable  
  wreckLimit = 5; //Max number of wrecks which can be available at the same time. When exceeded, start deleting immediately.  
  [[Description.ext#wreckLimit|wreckLimit]] = 5; //Max number of wrecks which can be available at the same time. When exceeded, start deleting immediately.  
  wreckRemovalMinTime = 120; //Minimal time in seconds a wreck stays in the scene (can't be removed sooner).  
  [[Description.ext#wreckRemovalMinTime|wreckRemovalMinTime]] = 120; //Minimal time in seconds a wreck stays in the scene (can't be removed sooner).  
  wreckRemovalMaxTime = 240; //Maximal time in seconds after which a wreck is removed (can't stay longer)
  [[Description.ext#wreckRemovalMaxTime|wreckRemovalMaxTime]] = 240; //Maximal time in seconds after which a wreck is removed (can't stay longer)


=== Header and Missions Parameters ===


=== <u>Header and Missions Parameters</u> ===
To wrap up the [[Description.ext|description.ext]] configuration, you may set a few parameters such as scenario author, how many players the scenario supports, and even what parameters will be available in the lobby.
 
To wrap up the [https://community.bistudio.com/wiki/Description.ext description.ext] configuration, you may set a few parameters such as scenario author, how many players the scenario supports, and even what parameters will be available in the lobby.


'''Description.ext'''
'''Description.ext'''
   
   
  author = "Author";  
  [[Description.ext#author|author]] = "Author";
  onLoadName = "On Load Name";  
  [[Description.ext#onLoadName|onLoadName]] = "On Load Name";
  briefingName = "Briefing Name";  
  [[Description.ext#briefingName|briefingName]] = "Briefing Name";
  onLoadMission = ""On Load Mission;  
  [[Description.ext#onLoadMission|onLoadMission]] = "On Load Mission";
  overviewText = "Overview Text";  
  [[Description.ext#overviewText|overviewText]] = "Overview Text";
  overviewPicture = "\a3\Missions_F_MP_Mark\Data\Marksmen_scenario01_overview_CA.paa";  
  [[Description.ext#overviewPicture|overviewPicture]] = "\a3\Missions_F_MP_Mark\Data\Marksmen_scenario01_overview_CA.paa";
  class Header  
  class [[Description.ext#header|Header]]
  {  
  {  
gameType = CTF;
gameType = CTF;
minPlayers = 1;
minPlayers = 1;
maxPlayers = 16;
maxPlayers = 16;
  };  
  };
  class Params  
  class [[Description.ext#params|Params]]
  {  
  {  
#define DAYTIMEHOUR_DEFAULT 12  
#define DAYTIMEHOUR_DEFAULT 12  
#define WEATHER_DEFAULT  25  
#define WEATHER_DEFAULT  25  
#define DEBUGCONSOLE_DEFAULT   0
#define DEBUGCONSOLE_DEFAULT   0
   
   
#define TIMEACCELERATION_DEFAULT  10
#define TIMEACCELERATION_DEFAULT  10
#include "\a3\functions_f\Params\paramDaytimeHour.hpp"
#include "\a3\functions_f\Params\paramDaytimeHour.hpp"
#include "\a3\functions_f\Params\paramWeather.hpp"
#include "\a3\functions_f\Params\paramWeather.hpp"
#include "\a3\functions_f\Params\paramDebugConsole.hpp"
#include "\a3\functions_f\Params\paramDebugConsole.hpp"
   
   
#include "\a3\Functions_F_MP_Mark\Params\paramTimeAcceleration.hpp"  
#include "\a3\Functions_F_MP_Mark\Params\paramTimeAcceleration.hpp"  
  };
  };


'''SCENARIO SETUP'''
Please note that Param templates currently don't work with PBO missions manually copied to MPMissions folder.
Unpacked missions, Steam missions and missions which are part of an addon work correctly.
See {{Link|Mission Parameters}} for more info.




=== <u>Placing Player Slots</u> ===
== Scenario Setup ==
 
=== Placing Player Slots ===


Place your playable units for both '''BLUFOR''' and '''OPFOR'''. Again, please note the current limitations, only BLUFOR and OPFOR can be player-controlled.
Place your playable units for both '''BLUFOR''' and '''OPFOR'''. Again, please note the current limitations, only BLUFOR and OPFOR can be player-controlled.
Line 178: Line 183:
[[File:Arma3 EndGame_10.jpg|600px]]
[[File:Arma3 EndGame_10.jpg|600px]]


=== Respawn Markers ===


=== <u>Respawn Markers</u> ===
Place a '''Marker''' at the players' initial position that will assign the initial respawn position.
 
Then make sure to call it '''respawn_west''' and '''respawn_east''' depending whether for '''WEST''' (BLUFOR) or '''EAST''' (OPFOR).
Place a '''Marker''' at the players' initial position that will assign the initial respawn position. Then make sure to call it '''respawn_west''' and '''respawn_east''' depending whether for '''WEST''' (BLUFOR) or '''EAST''' (OPFOR).


[[File:Arma3 EndGame_11.jpg|600px]]
[[File:Arma3 EndGame_11.jpg|600px]]


=== Headquarters Entity ===


=== <u>Headquarters Entity</u> ===
The '''Headquarters Entity''' serves as the speaker for the side.
 
This entity is the HQ which gives players hints on how or what they have to do during the mission.<br>
The '''Headquarters Entity''' serves as the speaker for the side. This entity is the HQ which gives players hints on how or what they have to do during the mission.<br /> Make sure to place a '''Headquarters Entity''' by selecting '''Modules (F7)''' and navigating to the '''Intel''' category.<br /> Also, '''make sure to name this module'''. Its name will be used later so we can reference this entity. For the ''west'' entity name it '''BIS_west_speaker''' and for the ''east'' entity name it '''BIS_east_speaker'''.
Make sure to place a '''Headquarters Entity''' by selecting '''Modules (F7)''' and navigating to the '''Intel''' category.<br>
Also, '''make sure to name this module'''. Its name will be used later so we can reference this entity.
For the ''west'' entity name it '''BIS_west_speaker''' and for the ''east'' entity name it '''BIS_east_speaker'''. Make sure to set the correct side of the HQ entity within the module.


[[File:Arma3 EndGame_12.jpg|600px]]
[[File:Arma3 EndGame_12.jpg|600px]]


=== Objectives Instance ===


=== <u>Objectives Instance</u> ===
Select '''Modules (F7)''' and navigate to the '''Objectives''' category. Place the '''End Game Objectives Instance''' module.
 
This will tell the game to initialize the End Game systems on mission start.<br>
Select '''Modules (F7)''' and navigate to the '''Objectives''' category. Place the '''End Game Objectives Instance''' module. This will tell the game to initialize the End Game systems on mission start.<br /> The module has one property, the '''End Game Threshold''', which tells the system how many Intel packages a side must download for the last phase to start, during the middle game stage, or '''Stage 2'''.
The module has one property, the '''End Game Threshold''', which tells the system how many Intel packages a side must download for the last phase to start, during the middle game stage, or '''Stage 2'''.<br><br>
'''End Game Threshold''' - The amount of retrieve intel tasks a side must complete in order to succeed the 2nd stage and move to the 3th and final stage.<br>
'''Warmup Delay''' - The amount of time in seconds players are locked in the warmup phase at the start of the scenario.


[[File:Arma3 EndGame_13.jpg|600px]]
[[File:Arma3 EndGame_13.jpg|600px]]


=== Start Game Objectives ===


=== <u>Start Game Objectives</u> ===
So now, let's place our our first objectives. These will be the '''Start Game Objective''', and each playable side must have their own unique one.
 
So select '''Modules (F7)''' and double click on the map. After the modules selection window appears, navigate to the '''Objectives''' category and, for each side, place a '''EndGame Start Game Objective''' where you want the side to Establish their FOB.
So now, let's place our our first objectives. These will be the '''Start Game Objective''', and each playable side must have their own unique one.<br /> So select '''Modules (F7)''' and double click on the map. After the modules selection window appears, navigate to the '''Objectives''' category and, for each side, place a '''End Game Start Game Objective''' where you want the side to Establish their FOB.<br />'''Do not forget to add one for each of the playable sides.'''
Within the module itself, you '''must''' set the side which will be tasked with this objective.<br>Every Start Game Objective modules must be synchronized with the Objectives Instance module.
{{Feature|informative|Do not forget to add at least one for each of the playable sides.}}
* '''Attacking Side''' - The side which will be tasked to this objective
* '''Succeed Radius''' - The radius in which at least one player of the side doing this objective must be and the radius in which no enemy units can be
* '''Restriction Radius''' - The radius in which players are confined until they complete this objective


[[File:Arma3 EndGame_14.jpg|600px]]
[[File:Arma3 EndGame_14.jpg|600px]]
Line 208: Line 224:
[[File:Arma3 EndGame_15.jpg|600px]]
[[File:Arma3 EndGame_15.jpg|600px]]


=== Middle Game Objective ===


=== <u>Middle Game Objective</u> ===
A '''Middle Game Objective (MGO)''' is what could be called a '''Retrieve Intel''' objective.
These are the objectives which require players to move to their location and ''download some intel'' from the object connected to the ''objective module''.


A '''Middle Game Objective (MGO)''' is what could be called a '''Retrieve Intel''' objective. These are the objectives which require players to move to their location and ''download some intel'' from the object connected to the ''objective module''.
To place a Middle Game Objective select '''Modules (F7)''' and double click on the map. Once the modules window appears, navigate to the '''Objectives''' category and select the '''EndGame Simple Objective'''.<br>
Each '''MGO''' requires an object which is used to download Intel from, for example a car, UAV or a computer.<br>
Go ahead and place any object you would like, then name it, for example, ''BIS_downloadPoint_1'' and put this exact name in the module's '''"Downloadable Object"''' field.<br>
Every Middle Game Objective modules must be synchronized with the Objectives Instance module.


To place a Middle Game Objective select '''Modules (F7)''' and double click on the map. Once the modules window appears, navigate to the '''Objectives''' category and select the '''EndGame Simple Objective'''.<br /> Each '''MGO''' requires an object which is used to download Intel from, for example a car, UAV or a computer.<br /> Go ahead and place any object you would like, then name it, for example, ''BIS_downloadPoint_1'' and put this exact name in the module's '''"Downloadable Object"''' field.
Any '''triggers''' connected to the module defines the mission objects' relation with the connected objective.
 
For example, if you have a trigger connected to the module, any mission objects inside it will be set as '''owned by the objective''' and will be hidden / deleted when the object is.<br><br>
Any '''triggers''' connected to the module defines the mission objects' relation with the connected objective. For example, if you have a trigger connected to the module, any mission objects inside it will be set as '''owned by the objective''' and will be hidden / deleted when the object is.
'''Note that the object to be downloaded from will be indestructible until one of the competing sides downloads intel from it.'''
It is also good practice to lock vehicles (if used as download object) so players can't board and drive it away.<br><br>
* '''Downloadable Object''' - The name of the object to use as download source
* '''Download Radius''' - The radius in which download will be available (Non-Functional)
* '''Task Description''' - The description of this objective, for example, "Download intel from UAV"
* '''Instant Download''' - Whether the download should be instant, if so, download is succeeded after interaction with object


[[File:Arma3 EndGame_16.jpg|600px]]
[[File:Arma3 EndGame_16.jpg|600px]]
Line 221: Line 247:
[[File:Arma3 EndGame_17.jpg|600px]]
[[File:Arma3 EndGame_17.jpg|600px]]


=== Randomizer Logic ===


=== <u>Randomizer Logic</u> ===
'''Randomizer''' logics can be used to randomize '''Middle Game Objectives''', so if more then one objective is connected to a randomizer, one at random will be selected at '''mission start'''.
 
The objectives not selected '''will be deleted''', along with their '''owned objects'''.
'''Randomizer''' logics can be used to randomize '''Middle Game Objectives''', so if more then one objective is connected to a randomizer, one at random will be selected at '''mission start'''. The objectives not selected '''will be deleted''', along with their '''owned objects'''.


[[File:Arma3 EndGame_18.jpg|600px]]
[[File:Arma3 EndGame_18.jpg|600px]]


 
=== End Game Objective ===
=== <u>End Game Objective</u> ===


The '''End Game Objective''' is the objective which handles the last phase of the game mode. It defines the possible '''pickup / upload''' locations and how long the match can take when in the last phase.
The '''End Game Objective''' is the objective which handles the last phase of the game mode. It defines the possible '''pickup / upload''' locations and how long the match can take when in the last phase.


So start by selecting '''Modules (F7)''', navigate to the '''Objectives''' category and place a '''EndGame End Game Objective'''.<br /> After placing our module, let's place one '''Pickup''' and one '''Upload''' object. A pickup object is the object that is referred to as '''Schematics''', and it's the object players need to pick up and use to upload the data. The upload object is the object used to upload the '''Schematics''' to HQ.
So start by selecting '''Modules (F7)''', navigate to the '''Objectives''' category and place a '''EndGame End Game Objective'''.<br>
 
After placing our module, let's place one '''Pickup''' and at least two '''Upload''' objects.
If multiple pickups / uploads are provided, one of each is selected at random on mission start.
A pickup object is the object that is referred to as '''Schematics''', and it is the object players need to pick up and use to upload the data.
The upload objects are the objects used to upload the '''Schematics''' to HQ.<br>Every End Game Objective modules must be synchronized with the Objectives Instance module.
{{Feature|informative|One Pickup object and at least two upload objects are needed, if more are provided, these will be randomized.}}
* '''Time Limit''' - The time limit for the 3th phase, if time limit is reached before one of the sides winning, the mission will end as a draw
* '''Pickup Objects''' - List of all available pickup objects
* '''Upload Objects''' - List of all upload objects (At least 2 are required, one per side or more)
* '''Note that the objects used as Schematics will be indestructible.'''


[[File:Arma3 EndGame_19.jpg|600px]]
[[File:Arma3 EndGame_19.jpg|600px]]
Line 242: Line 273:




=== <u>Resulting Layout</u> ===
=== Resulting Layout ===


You should get something similar to the picture on the right.
You should get something similar to the picture on the right.
Line 248: Line 279:
[[File:Arma3 EndGame_21.jpg|600px]]
[[File:Arma3 EndGame_21.jpg|600px]]


=== Respawn Points ===


=== <u>Respawn Points</u> ===
You can add positions which are turned into respawn points after an event. For example, a player of a side entering an objective area will unlock any respawn points available for that objective.<br>
 
The system handles 3 kinds of respawn points:
You can add positions which are turned into respawn points after an event. For example, a player of a side entering an objective area will unlock any respawn points available for that objective.<br /> The system handles 3 kinds of respawn points:


* '''Respawn Point logic''' connected to the '''Start Game Objective'''
* '''Respawn Point logic''' connected to the '''Start Game Objective'''
Line 270: Line 301:


[[File:Arma3 EndGame_24.jpg|600px]]
[[File:Arma3 EndGame_24.jpg|600px]]
=== Vehicle Respawn Modules ===
For any placed vehicles in the scenario, you may add a respawn module synchronized to them, making them respawn after being destroyed, damaged and/or abandoned.
Such module can be found under''' Modules (F7) &gt; Multiplayer &gt; Vehicle Respawn'''.
=== Final Notes ===
{{Feature|important|If one of the competing sides has no players at the moment when the third and last phase starts, the match will end with the side with players being the winner.}}
{{GameCategory|arma3|MP Modes}}
[[Category:Introduced with Arma 3 version 1.42]]

Latest revision as of 10:38, 6 May 2024

Arma 3 logo black.png1.42

End Game - Scenario Guideline

Here you can find information on how to create your own End Game scenarios. Be introduced to the individual system components, how they work together, and finally learn how to set up the End Game scenario.
The current issues and limitations are:
  • West vs East vs Resistance
    • Currently, the only supported playable sides are west (BLUFOR) and east (OPFOR), and the common enemy is resistance (Independent), which is AI controlled.
    • The plan is to re-factor the related code to support all kinds of side combinations.

A sample is available in Arma 3 Tools.


How to access modules and logics

Modules

When inside the Editor, navigate to Modules (F7) and double click on the map. The modules selection window will appear.
Set the Category to Objectives, and here you can see all End Game Modules listed.

Arma3 EndGame 1.jpg

Logics

When inside the Editor, navigate to Units (F1) and double click on the map. The unit selection window will appear.
Set the side to Game Logic (note this is only possible after placing a player unit) and the class to Objects. Here you will find End Game specific Game Logics.

arma3 endgame randomizer.jpg


Objectives Instance

Objectives Instance

The End Game Objectives Instance is what controls the flow of the whole End Game scenario. It decides when and which objectives should be visible and handles changes in their state.

The Objectives Instance is also responsible for the stage progression / selection, and only one instance may be placed per scenario, otherwise an error will be triggered.

Arma3 EndGame 3.jpg


Objective Types

Start Game Objective

The Start Game Objective handles the initial phase of the End Game by requiring players to Establish FOB.
The succeed radius tells the objective the distance from its location that no enemy is within, so the objective can succeed. So, when attacking the enemy location to establish the FOB, players are required to eliminate all the enemies within the given radius.

Arma3 EndGame 4.jpg


Middle Game Objective

The Middle Game Objective is part of the second phase of End Game and requires players to move to a location and download Intel from an electronic device.

Arma3 EndGame 5.jpg

End Game Objective

The End Game Objective handles the last phase of End Game by requiring players to pick up important schematics from a location and upload them to their HQ.
The team which is able to complete the upload will win the match.

Arma3 EndGame 6.jpg


Game Logic Types

Objective Randomizer

The Randomizer Game Logic allows for objective randomization. If two or more objectives are synced to a Randomizer that in turn is synced with the End Game Objectives Instance module, one of those objectives will be selected at random on mission start.

The objectives that are not selected, are cleared and all related objects are deleted.

In the example on the right, both Objective 1 and Objective 2 have a 50% chance to be selected. The one which is not selected at mission start, will be deleted along with its related objects.

Arma3 EndGame 7.jpg


Scenario Configuration

Intel

When inside the Editor, enter the Intel properties. Here you are able to set mission parameters such as the mission Name, mission Description, the initial Time of Day and Weather.

Arma3 EndGame 8.jpg

Add a mission name and description. Also, make sure Independent is friendly to Nobody. This will make the Independent side the common enemy for players.

Arma3 EndGame 9.jpg

Revive and Respawn

End Game was made with group respawn in mind, and although you are free to try different respawn types, the following configuration is the suggested one. You will need to add a few lines to your description.ext.

Description.ext

respawn = 3;
respawnDelay = 30;
respawnVehicleDelay = 0;
respawnTemplates[] = {"Revive", "MenuPosition"}; // Enable Revive and Respawn Menu 
respawnOnStart = -1;
respawnDialog = 1;
disabledAI = 1;

Shared Objectives

To enable the Shared Objectives you'll need to add a few lines to your description.ext.

Description.ext

class CfgTaskEnhancements
{
	enable		= 1;		// 0: disable new task features (default), 1: enable new task features & add new task markers and task widgets into the map
	3d			= 1;		// 0: do not use new 3D markers (default), 1: replace task waypoints with new 3D markers
	3dDrawDist	= 10000;	// 3D marker draw distance (default: 2000)
	share		= 1;		// 0: do not count assigned players (default), 1: count how many players have the task assigned
	propagate	= 1;		// 0: do not propagate (default), 1: propagate shared tasks to subordinates
};

Garbage Manager

In order to keep the game from slowing down because of dozens of destroyed vehicles and hundreds of bodies, you may enable and configure the Garbage Manager within your description.ext.

Description.ext

corpseManagerMode = 1; //Type of removed bodies: 0 - none, 1 - all, 2 - only respawnable, 3 - only non-respawnable 
corpseLimit = 10; //Max number of bodies which can be available at the same time. When exceeded, start deleting immediately. 
corpseRemovalMinTime = 120; //Minimal time in seconds a body stays in the scene (can't be removed sooner). 
corpseRemovalMaxTime = 240; //Maximal time in seconds after which a dead body is removed (can't stay longer) 

wreckManagerMode = 1; //Type of removed wrecks: 0 - none, 1 - all, 2 - only respawnable, 3 - only non-respawnable 
wreckLimit = 5; //Max number of wrecks which can be available at the same time. When exceeded, start deleting immediately. 
wreckRemovalMinTime = 120; //Minimal time in seconds a wreck stays in the scene (can't be removed sooner). 
wreckRemovalMaxTime = 240; //Maximal time in seconds after which a wreck is removed (can't stay longer)

Header and Missions Parameters

To wrap up the description.ext configuration, you may set a few parameters such as scenario author, how many players the scenario supports, and even what parameters will be available in the lobby.

Description.ext

author = "Author";
onLoadName = "On Load Name";
briefingName = "Briefing Name";
onLoadMission = "On Load Mission";
overviewText = "Overview Text";
overviewPicture = "\a3\Missions_F_MP_Mark\Data\Marksmen_scenario01_overview_CA.paa";
class Header 
{ 
	gameType = CTF;
	minPlayers = 1;
	maxPlayers = 16;
};
class Params 
{ 
	#define DAYTIMEHOUR_DEFAULT 12 
	#define WEATHER_DEFAULT  25 
	#define DEBUGCONSOLE_DEFAULT   0

	#define TIMEACCELERATION_DEFAULT  10
	#include "\a3\functions_f\Params\paramDaytimeHour.hpp"
	#include "\a3\functions_f\Params\paramWeather.hpp"
	#include "\a3\functions_f\Params\paramDebugConsole.hpp"

	#include "\a3\Functions_F_MP_Mark\Params\paramTimeAcceleration.hpp" 
};

Please note that Param templates currently don't work with PBO missions manually copied to MPMissions folder. Unpacked missions, Steam missions and missions which are part of an addon work correctly. See Mission Parameters for more info.


Scenario Setup

Placing Player Slots

Place your playable units for both BLUFOR and OPFOR. Again, please note the current limitations, only BLUFOR and OPFOR can be player-controlled.

Arma3 EndGame 10.jpg

Respawn Markers

Place a Marker at the players' initial position that will assign the initial respawn position. Then make sure to call it respawn_west and respawn_east depending whether for WEST (BLUFOR) or EAST (OPFOR).

Arma3 EndGame 11.jpg

Headquarters Entity

The Headquarters Entity serves as the speaker for the side. This entity is the HQ which gives players hints on how or what they have to do during the mission.
Make sure to place a Headquarters Entity by selecting Modules (F7) and navigating to the Intel category.
Also, make sure to name this module. Its name will be used later so we can reference this entity. For the west entity name it BIS_west_speaker and for the east entity name it BIS_east_speaker. Make sure to set the correct side of the HQ entity within the module.

Arma3 EndGame 12.jpg

Objectives Instance

Select Modules (F7) and navigate to the Objectives category. Place the End Game Objectives Instance module. This will tell the game to initialize the End Game systems on mission start.
The module has one property, the End Game Threshold, which tells the system how many Intel packages a side must download for the last phase to start, during the middle game stage, or Stage 2.

End Game Threshold - The amount of retrieve intel tasks a side must complete in order to succeed the 2nd stage and move to the 3th and final stage.
Warmup Delay - The amount of time in seconds players are locked in the warmup phase at the start of the scenario.

Arma3 EndGame 13.jpg

Start Game Objectives

So now, let's place our our first objectives. These will be the Start Game Objective, and each playable side must have their own unique one. So select Modules (F7) and double click on the map. After the modules selection window appears, navigate to the Objectives category and, for each side, place a EndGame Start Game Objective where you want the side to Establish their FOB. Within the module itself, you must set the side which will be tasked with this objective.
Every Start Game Objective modules must be synchronized with the Objectives Instance module.

Do not forget to add at least one for each of the playable sides.
  • Attacking Side - The side which will be tasked to this objective
  • Succeed Radius - The radius in which at least one player of the side doing this objective must be and the radius in which no enemy units can be
  • Restriction Radius - The radius in which players are confined until they complete this objective

Arma3 EndGame 14.jpg

Arma3 EndGame 15.jpg

Middle Game Objective

A Middle Game Objective (MGO) is what could be called a Retrieve Intel objective. These are the objectives which require players to move to their location and download some intel from the object connected to the objective module.

To place a Middle Game Objective select Modules (F7) and double click on the map. Once the modules window appears, navigate to the Objectives category and select the EndGame Simple Objective.
Each MGO requires an object which is used to download Intel from, for example a car, UAV or a computer.
Go ahead and place any object you would like, then name it, for example, BIS_downloadPoint_1 and put this exact name in the module's "Downloadable Object" field.
Every Middle Game Objective modules must be synchronized with the Objectives Instance module.

Any triggers connected to the module defines the mission objects' relation with the connected objective. For example, if you have a trigger connected to the module, any mission objects inside it will be set as owned by the objective and will be hidden / deleted when the object is.

Note that the object to be downloaded from will be indestructible until one of the competing sides downloads intel from it. It is also good practice to lock vehicles (if used as download object) so players can't board and drive it away.

  • Downloadable Object - The name of the object to use as download source
  • Download Radius - The radius in which download will be available (Non-Functional)
  • Task Description - The description of this objective, for example, "Download intel from UAV"
  • Instant Download - Whether the download should be instant, if so, download is succeeded after interaction with object

Arma3 EndGame 16.jpg

Arma3 EndGame 17.jpg

Randomizer Logic

Randomizer logics can be used to randomize Middle Game Objectives, so if more then one objective is connected to a randomizer, one at random will be selected at mission start. The objectives not selected will be deleted, along with their owned objects.

Arma3 EndGame 18.jpg

End Game Objective

The End Game Objective is the objective which handles the last phase of the game mode. It defines the possible pickup / upload locations and how long the match can take when in the last phase.

So start by selecting Modules (F7), navigate to the Objectives category and place a EndGame End Game Objective.
After placing our module, let's place one Pickup and at least two Upload objects. A pickup object is the object that is referred to as Schematics, and it is the object players need to pick up and use to upload the data. The upload objects are the objects used to upload the Schematics to HQ.
Every End Game Objective modules must be synchronized with the Objectives Instance module.

One Pickup object and at least two upload objects are needed, if more are provided, these will be randomized.
  • Time Limit - The time limit for the 3th phase, if time limit is reached before one of the sides winning, the mission will end as a draw
  • Pickup Objects - List of all available pickup objects
  • Upload Objects - List of all upload objects (At least 2 are required, one per side or more)
  • Note that the objects used as Schematics will be indestructible.

Arma3 EndGame 19.jpg

Arma3 EndGame 20.jpg


Resulting Layout

You should get something similar to the picture on the right.

Arma3 EndGame 21.jpg

Respawn Points

You can add positions which are turned into respawn points after an event. For example, a player of a side entering an objective area will unlock any respawn points available for that objective.
The system handles 3 kinds of respawn points:

  • Respawn Point logic connected to the Start Game Objective
    • It is unlocked when the owner side establishes their FOB.
  • BLUFOR / OPFOR game logics connected to a Simple Objective
    • These are unlocked when a player of a side enters an objective area.
  • Respawn Point logic connected to an Upload object which is used by the End Game Objective
    • It is unlocked when the last phase starts and serves as a position for the upload defenders to respawn at.

Where to find the logics?

  • BLUFOR / OPFOR game logics can be found under Units (F1) > Game Logics > Sides.
  • Respawn Point logics can be found under Units (F1) > Game Logics > Positions.

Arma3 EndGame 22.jpg

Arma3 EndGame 23.jpg

Arma3 EndGame 24.jpg

Vehicle Respawn Modules

For any placed vehicles in the scenario, you may add a respawn module synchronized to them, making them respawn after being destroyed, damaged and/or abandoned. Such module can be found under Modules (F7) > Multiplayer > Vehicle Respawn.

Final Notes

If one of the competing sides has no players at the moment when the third and last phase starts, the match will end with the side with players being the winner.