Capture & Hold Setup – Arma Reforger

From Bohemia Interactive Community
Jump to navigation Jump to search
(Another troubleshooting added)
m (Some wiki formatting)
Line 2: Line 2:
Setting up a new '''Capture & Hold''' scenario based is easy, thanks to the Prefab system and already existing '''base world''' available as part of the Capture & Hold mod.
Setting up a new '''Capture & Hold''' scenario based is easy, thanks to the Prefab system and already existing '''base world''' available as part of the Capture & Hold mod.


== Prerequisites that you only need to do once ==
== Prerequisites ==


Before you start "Arma Reforger Tools", you need to get the "'''Capture & Hold"''' Mod subscription:
Before you start Arma Reforger Tools, you need to get the "'''Capture & Hold"''' Mod subscription:
* Start "Arma Reforger".
* Start {{armaR}}.
* Enter the workshop.
* Enter the workshop.
* Subscribe to the official mod "Capture & Hold" by Bohemia Interactive:[[File:Screenshot of the official mod Capture & Hold.png|none|thumb]]
* Subscribe to the official mod "Capture & Hold" by Bohemia Interactive: [[File:Screenshot of the official mod Capture & Hold.png|none|thumb]]
* When the download is finished: End "Arma Reforger".
* Close {{armaR}} When the download is finished.
* Open "Arma Reforger Tools".
* Open Arma Reforger Tools.
* Click on "Add Existing" to add the mod that you just downloaded.  
* Click on "Add Existing" to add the mod that you just downloaded.
* Add the file from this directory: C:\Users\'''[YOUR USER]'''\Documents\My Games\ArmaReforger\addons\CaptureAMPHold_591AF5BDA9F7CE8B\
* Add the file from the {{hl|%userprofile%\Documents\My Games\ArmaReforger\addons\CaptureAMPHold_591AF5BDA9F7CE8B}} directory
* If everything was done correctly your Enfusion Workbench Launcher should now contain the mod and look like this:[[File:Enfusion Workbench Launcher with Capture & Hold.png|none|thumb|306x306px]]
* If everything was done correctly your Enfusion Workbench Launcher should now contain the mod and look like this: [[File:Enfusion Workbench Launcher with Capture & Hold.png|none|thumb|306x306px]]
 


== Creation Steps ==
== Creation Steps ==


* Open "Arma Reforger Tools". If this is not visible in your Steam Library, activate tools in the filter.
* Open Arma Reforger Tools. If this is not visible in your Steam Library, activate tools in the filter.
* Click on "Create New"
* Click on "Create New"
* Give a good Project Name like "CAH The Cowshed by xyz" so that people can search, understand what this is about.
* Give a good Project Name like "CAH The Cowshed by xyz" so that people can search, understand what this is about.
Line 31: Line 32:
File:armareforger-cah 04 saveas.jpg|'''4.''' In the '''File''' context menu select the '''Save World As''' option and pick the scenario's save destination.
File:armareforger-cah 04 saveas.jpg|'''4.''' In the '''File''' context menu select the '''Save World As''' option and pick the scenario's save destination.
File:armareforger-cah 05 save dir.jpg|'''4bis.''' In our case, we select the root directory.
File:armareforger-cah 05 save dir.jpg|'''4bis.''' In our case, we select the root directory.
File:armareforger-cah 06 location.jpg|'''5.''' Find a suitable scenario location. In our example, we chose St Philippe.  
File:armareforger-cah 06 location.jpg|'''5.''' Find a suitable scenario location. In our example, we chose St Philippe.
</gallery>
</gallery>


Line 37: Line 38:
Drag and drop the following elements from the Resource Browser into the world:<gallery widths="600" heights="400" perrow="1">
Drag and drop the following elements from the Resource Browser into the world:<gallery widths="600" heights="400" perrow="1">
File:armareforger-cah 07 gamemode.jpg|'''1.''' From {{hl|CaptureAndHold/Prefabs/MP/Modes/CaptureAndHold}} drag {{hl|GameMode_CaptureAndHold.et}}
File:armareforger-cah 07 gamemode.jpg|'''1.''' From {{hl|CaptureAndHold/Prefabs/MP/Modes/CaptureAndHold}} drag {{hl|GameMode_CaptureAndHold.et}}
File:armareforger-cah 08 managers.jpg|'''2.''' From {{hl|Prefabs/MP/Managers/Factions}} drag the {{hl|FactionManager_USxUSSR.et}}  and from {{hl|Prefabs/MP/Managers/Loadouts}} drag the {{hl|LoadoutManager_USxUSSR.et}}  
File:armareforger-cah 08 managers.jpg|'''2.''' From {{hl|Prefabs/MP/Managers/Factions}} drag the {{hl|FactionManager_USxUSSR.et}}  and from {{hl|Prefabs/MP/Managers/Loadouts}} drag the {{hl|LoadoutManager_USxUSSR.et}}
File:armareforger-cah 09 area.jpg|'''3.''' From {{hl|CaptureAndHoldPrefabs/MP/Modes/CaptureAndHold/Areas}} drag {{hl|CaptureAndHoldArea_Major.et}}
File:armareforger-cah 09 area.jpg|'''3.''' From {{hl|CaptureAndHoldPrefabs/MP/Modes/CaptureAndHold/Areas}} drag {{hl|CaptureAndHoldArea_Major.et}}
File:armareforger-cah 10 area setup.jpg|'''4.''' While the '''SCR_CaptureAndHoldArea''' entity is still selected, adjust the shape as desired.  
File:armareforger-cah 10 area setup.jpg|'''4.''' While the '''SCR_CaptureAndHoldArea''' entity is still selected, adjust the shape as desired.
File:armareforger-cah 11 spawns.jpg|'''5.''' From {{hl|Core*/Prefabs/MP/Spawning}} drag {{hl|SpawnPoint_US.et}} and from {{hl|Core*/Prefabs/MP/Spawning}} drag {{hl|SpawnPoint_USSR.et}} <br>''*Core is the {{armaR}} core data folder''
File:armareforger-cah 11 spawns.jpg|'''5.''' From {{hl|Core*/Prefabs/MP/Spawning}} drag {{hl|SpawnPoint_US.et}} and from {{hl|Core*/Prefabs/MP/Spawning}} drag {{hl|SpawnPoint_USSR.et}} <br>''*Core is the {{armaR}} core data folder''
</gallery>
</gallery>
Line 51: Line 52:
<gallery mode="traditional" widths=600px heights=400px perrow=1>
<gallery mode="traditional" widths=600px heights=400px perrow=1>
File:armareforger-cah_12_play.jpg|'''1.''' Make sure that the '''Play from camera position''' option is disabled and press the '''Play''' button.
File:armareforger-cah_12_play.jpg|'''1.''' Make sure that the '''Play from camera position''' option is disabled and press the '''Play''' button.
File:armareforger-cah_13_test.jpg|'''2.''' Verify that the scenario is working as intended - capture points, respawn, etc. Drawing of the area trigger can help visualising its coverage.  
File:armareforger-cah_13_test.jpg|'''2.''' Verify that the scenario is working as intended - capture points, respawn, etc. Drawing of the area trigger can help visualising its coverage.
File:armareforger-cah_14_disable_drawing.jpg|'''3.''' Press Escape to return to the Edit mode. Select the '''SCR_CaptureAndHoldArea''' entity and uncheck '''Draw Shape'''.
File:armareforger-cah_14_disable_drawing.jpg|'''3.''' Press Escape to return to the Edit mode. Select the '''SCR_CaptureAndHoldArea''' entity and uncheck '''Draw Shape'''.
</gallery>
</gallery>
Line 97: Line 98:
Last, but not least is to '''publish''' the mod in the Bohemia Interactive Workshop for other people to see and play!
Last, but not least is to '''publish''' the mod in the Bohemia Interactive Workshop for other people to see and play!


=== Changeable details of the CAH-Gameplay ===
=== Settings ===
 
This is added as additional information so that you get up and running with a simple version first and then start worrying about the details.
This is added as additional information so that you get up and running with a simple version first and then start worrying about the details.


==== Score that will end the game ====
==== Score Ending ====
 
* Hierarchy Window: Select the object "GameMode_CaptureAndHold"
* Hierarchy Window: Select the object "GameMode_CaptureAndHold"  
* Object Properties: Select "SCR_ScoringSystemComponent"
* Object Properties: Select "SCR_ScoringSystemComponent"
* In the settings for "Scoring:Actions" change the Score Limit[[File:CAH Score.png|none|thumb|Set the score to end the CAH game.]]
* In the settings for "Scoring:Actions" change the Score Limit[[File:CAH Score.png|none|thumb|Set the score to end the CAH game.]]


==== Time that will end the game ====
==== Time Ending ====
 
* Hierarchy Window: Select the object "GameMode_CaptureAndHold"
* Hierarchy Window: Select the object "GameMode_CaptureAndHold"  
* Object Properties: Select "SCR_CaptureAndHoldManager"
* Object Properties: Select "SCR_CaptureAndHoldManager"
* In the settings for "End Game Duration" change the value which is given in seconds
* In the settings for "End Game Duration" change the value which is given in seconds


Line 119: Line 119:


==== Kill Feed ====
==== Kill Feed ====
It can be thrilling to leave the default values for this but for some communities the fun starts when they get more details in the "Kill Feed".  
It can be thrilling to leave the default values for this but for some communities the fun starts when they get more details in the "Kill Feed".


With this setting there will be no secrets about who was eliminated by whom.
With this setting there will be no secrets about who was eliminated by whom.
Line 131: Line 131:


==== Can't initialize the game (World Editor won't start) ====
==== Can't initialize the game (World Editor won't start) ====
"World Editor and some other game depended features will not be available. But rest of workbench will be functional."  
"World Editor and some other game depended features will not be available. But rest of workbench will be functional."
[[File:world-editor-does-not-start.jpg|none|thumb|485x485px]]
[[File:world-editor-does-not-start.jpg|none|thumb|485x485px]]


Line 140: Line 140:
You want to continue working on a project, open it but cannot find your world file?
You want to continue working on a project, open it but cannot find your world file?


'''Solution:''' Is the official CAH from Bohemia in your overview of projects? Probably not - add it again like described on top of this page.{{GameCategory|armaR|Modding|Tutorials|Scenario}}
'''Solution:''' Is the official CAH from Bohemia in your overview of projects? Probably not - add it again like described on top of this page.
 
 
{{GameCategory|armaR|Modding|Tutorials|Scenario}}

Revision as of 13:15, 11 August 2023

Setting up a new Capture & Hold scenario based is easy, thanks to the Prefab system and already existing base world available as part of the Capture & Hold mod.

Prerequisites

Before you start Arma Reforger Tools, you need to get the "Capture & Hold" Mod subscription:

  • Start Arma Reforger.
  • Enter the workshop.
  • Subscribe to the official mod "Capture & Hold" by Bohemia Interactive:
    Screenshot of the official mod Capture & Hold.png
  • Close Arma Reforger When the download is finished.
  • Open Arma Reforger Tools.
  • Click on "Add Existing" to add the mod that you just downloaded.
  • Add the file from the %userprofile%\Documents\My Games\ArmaReforger\addons\CaptureAMPHold_591AF5BDA9F7CE8B directory
  • If everything was done correctly your Enfusion Workbench Launcher should now contain the mod and look like this:
    Enfusion Workbench Launcher with Capture & Hold.png


Creation Steps

  • Open Arma Reforger Tools. If this is not visible in your Steam Library, activate tools in the filter.
  • Click on "Create New"
  • Give a good Project Name like "CAH The Cowshed by xyz" so that people can search, understand what this is about.
  • Important: Don't forget to activate the "CaptureAndHold" in Dependencies.
    Create CAH in Enfusion Workbench.png

Initial Setup

Start by opening the mod in Workbench and launch the World Editor from either the Quick Launch screen or Editors context menu.

Scenario Setup

Drag and drop the following elements from the Resource Browser into the world:

For automatic deletion of dead bodies and destroyed vehicles, the CaptureAndHold/Prefabs/MP/Managers/Garbage/CaptureAndHoldGarbageManager_Small.et or similar can be added into the world.

Now save the scenario and proceed.

System Test

Once done, save your changes once more and close the World Editor.

It is highly recommended to use BohemiaInteractive-prepared scenarios for inspiration and usage examples of individual features and components available in Arma Reforger and the Capture & Hold mod.

Scenario Header

To launch the scenario in-game a Scenario header (named MissionHeader) config must be created.

Exit the World Editor and return to the Resource Browser.

In the Resource Browser find your mod root directory and create a "Missions" directory inside.

Open the newly created Mission Header config.

In the World field, navigate to and select the world file. In our example it is the MyScenario.ent in the mod's root directory.

In-Game Test

Launching Arma Reforger with this newly created mod enabled should allow you to see the and launch the scenario directly:

Ship It

Now that the scenario can be launched from the game, only a few things remain. Testing the scenario in multiplayer is important, making sure that there are enough spawn points and other gameplay details.

Last, but not least is to publish the mod in the Bohemia Interactive Workshop for other people to see and play!

Settings

This is added as additional information so that you get up and running with a simple version first and then start worrying about the details.

Score Ending

  • Hierarchy Window: Select the object "GameMode_CaptureAndHold"
  • Object Properties: Select "SCR_ScoringSystemComponent"
  • In the settings for "Scoring:Actions" change the Score Limit
    Set the score to end the CAH game.

Time Ending

  • Hierarchy Window: Select the object "GameMode_CaptureAndHold"
  • Object Properties: Select "SCR_CaptureAndHoldManager"
  • In the settings for "End Game Duration" change the value which is given in seconds
CAH Duration.png

Scoring: Multipliers

You can adjust several actions so that they will have a bigger impact on the game / scoring.

CAH Score Multipliers.png

Kill Feed

It can be thrilling to leave the default values for this but for some communities the fun starts when they get more details in the "Kill Feed".

With this setting there will be no secrets about who was eliminated by whom.

CAH Kill Feed.png

Activate Unconsciousness

If you want to use it, you must activate it in the GameMode_CaptureAndHold. By default it is deactivated:

capture-and-hold unconsciousness.png

Troubleshooting

Can't initialize the game (World Editor won't start)

"World Editor and some other game depended features will not be available. But rest of workbench will be functional."

world-editor-does-not-start.jpg


Solution: Delete the official CAH from "... \My Games\ArmaReforger\addons". If the error remains, delete all addons.

Opening an existing project but world file is not shown

You want to continue working on a project, open it but cannot find your world file?

Solution: Is the official CAH from Bohemia in your overview of projects? Probably not - add it again like described on top of this page.