Capture & Hold Setup – Arma Reforger
No edit summary |
|||
(2 intermediate revisions by 2 users not shown) | |||
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. | ||
{{GVI|armaR|1.2.1}} '''Capture & Hold''' is now packed in base game ({{Link/Enfusion|armaR|worlds/CaptureAndHold/CAH_BaseWorld.ent}}) instead of the official mod. | |||
Line 21: | Line 10: | ||
* Click on "Create New" | * Click on "Create New" | ||
* Give a good Project Name like "CAH The Cowshed by xyz" so that people can search for it and also directly understand what this is about. | * Give a good Project Name like "CAH The Cowshed by xyz" so that people can search for it and also directly understand what this is about. | ||
=== Initial Setup === | === Initial Setup === | ||
Start by opening the | Start by opening the Workbench and launch the World Editor from either the Quick Launch screen or Editors context menu. | ||
<gallery widths="600" heights="400" perrow="1"> | <gallery widths="600" heights="400" perrow="1"> | ||
File:armareforger-cah 01 baseworld.jpg|'''1.''' Navigate to {{hl| | File:armareforger-cah 01 baseworld.jpg|'''1.''' Navigate to {{hl|Worlds/CaptureAndHold}} and open one of the following world files (world icon): the '''CAH_BaseWorld.ent''' for Everon or '''CAH_BaseWorld_Arland.ent''' for Arland. | ||
File:armareforger-cah 02 newworld.jpg|'''2.''' In the '''File''' context menu, select the '''New World''' option. | File:armareforger-cah 02 newworld.jpg|'''2.''' In the '''File''' context menu, select the '''New World''' option. | ||
File:armareforger-cah 03 subscene.jpg|'''3.''' Make sure that the '''Sub-scene (of current world)''' option is selected in the dialog. | File:armareforger-cah 03 subscene.jpg|'''3.''' Make sure that the '''Sub-scene (of current world)''' option is selected in the dialog. | ||
Line 39: | Line 27: | ||
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| | File:armareforger-cah 07 gamemode.jpg|'''1.''' From {{hl|Prefabs/MP/Modes/CaptureAndHold}} drag {{hl|GameMode_CaptureAndHold.et}} | ||
File:armareforger-cah 08 managers.jpg|'''2.''' From {{hl| | 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| | File:armareforger-cah 09 area.jpg|'''3.''' From {{hl|Prefabs/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| | File:armareforger-cah 11 spawns.jpg|'''5.''' From {{hl|Prefabs/MP/Spawning}} drag {{hl|SpawnPoint_US.et}} and {{hl|SpawnPoint_USSR.et}} <br>'' | ||
</gallery> | </gallery> | ||
Line 60: | Line 48: | ||
Once done, save your changes once more and close the World Editor. | Once done, save your changes once more and close the World Editor. | ||
{{Feature|informative|It is highly recommended to use {{Name|bi}}-prepared scenarios for inspiration and usage examples of individual features and components available in {{armaR}} | {{Feature|informative|It is highly recommended to use {{Name|bi}}-prepared scenarios for inspiration and usage examples of individual features and components available in {{armaR}}.}} | ||
=== Scenario Header === | === Scenario Header === | ||
Line 100: | Line 88: | ||
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! | ||
Important: Until your | Important: Until your masterpiece has been tested, you should use Visibility: "Private" (only for you) or "Test" (Test mod category that can be enabled in the Workbench filter). | ||
{{Feature|informative|See {{Link|Arma Reforger:Mod Publishing Process}}.}} | {{Feature|informative|See {{Link|Arma Reforger:Mod Publishing Process}}.}} | ||
Line 140: | Line 128: | ||
# Select your instance of CAH GameMode | # Select your instance of CAH GameMode | ||
# Select SCR_BaseGameMode | # Select {{hl|SCR_BaseGameMode}} | ||
# Scroll down and select "Garbage System Config" and click on the search icon | # Scroll down and select "Garbage System Config" and click on the search icon | ||
# Select "Override" in the right mouse button menu for GarbageSystem.conf | # Select "Override" in the right mouse button menu for GarbageSystem.conf | ||
Line 158: | Line 146: | ||
# Select "only destroyed" | # Select "only destroyed" | ||
# Define Lifetime and the distance a living player has to have when the class is deleted. | # Define Lifetime and the distance a living player has to have when the class is deleted. | ||
=== Common Issues === | |||
==== 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]] | ||
'''Solution:''' Delete the official CAH from "... \My Games\ArmaReforger\addons". If the error remains, delete all addons. | '''Solution:''' Delete the official CAH from "... \My Games\ArmaReforger\addons". If the error remains, delete all addons. | ||
==== Editor crashes when using the garbage collector ==== | ==== Editor crashes when using the garbage collector ==== | ||
'''Solution:''' | '''Solution:''' Do not use it. A developer stated said that it is not needed anymore. | ||
==== Repair your C&H scenario after version 1 of Arma Reforger ==== | ==== Repair your C&H scenario after version 1 of Arma Reforger ==== | ||
Sadly, with version 1 of | Sadly, with version 1 of {{armaR}} all Capture And Hold Scenarios have to be repaired and re-published. | ||
* Open your scenario. | * Open your scenario. | ||
* Accept this message with "Yes".[[File:cah-repair-message2023-12-26 15 07 30-Window.png|none|thumb]]Place a new CaptureAndHold area as described above since it was removed while validating. Do not worry about the Garbage Collector: It is gone for good. | * Accept this message with "Yes".[[File:cah-repair-message2023-12-26 15 07 30-Window.png|none|thumb]]Place a new CaptureAndHold area as described above since it was removed while validating. Do not worry about the Garbage Collector: It is gone for good. | ||
==== Repair your C&H scenario after version 1.2 of Arma Reforger ==== | |||
With version 1.2 the official Capture And Hold Scenarios was implemented in the game and you have to remove the dependency from your scenario and re-publish it. | |||
* 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. | |||
** 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 ''addon.gproj'' from the <var>%userprofile%\Documents\My Games\ArmaReforger\addons\CaptureAMPHold_591AF5BDA9F7CE8B</var> directory | |||
Open your scenario and start fixing the problem like this: | |||
* In Workshop/Options delete the dependency CAH | |||
* Save | |||
* Restart Workbench (Otherwise there seems to be an error with the selection of category) | |||
* Publish | |||
* Don't give up - try again. | |||
{{GameCategory|armaR|Modding|Tutorials|Scenario}} | After you have fixed your scenario, it is important to delete the official Capture&Hold from .<var>%userprofile%\Documents\My Games\ArmaReforger\addons\CaptureAMPHold_591AF5BDA9F7CE8B</var> Otherwise Reforger will run into errors. CAUTION: Move the official Capture&Hold to a safe location, as you will need to copy it back for adjustments to other maps. {{GameCategory|armaR|Modding|Tutorials|Scenario}} |
Latest revision as of 19:26, 22 December 2024
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.
1.2.1 Capture & Hold is now packed in base game (worlds/CaptureAndHold/CAH_BaseWorld.ent) instead of the official mod.
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 for it and also directly understand what this is about.
Initial Setup
Start by opening the 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:
Note: The GarbageManager is not necessary anymore.
Now save the scenario and proceed.
System Test
Once done, save your changes once more and close the World Editor.
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:
Publish it to the Workshop
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!
Important: Until your masterpiece has been tested, you should use Visibility: "Private" (only for you) or "Test" (Test mod category that can be enabled in the Workbench filter).
Additional Settings Information
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
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
Scoring: Multipliers
You can adjust several actions so that they will have a bigger impact on the game / scoring.
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.
Activate Unconsciousness
If you want to use it, you must activate it in the GameMode_CaptureAndHold. By default it is deactivated:
GarbageManager - Delete bodies from map
2024-03 This got disabled for now and is not available - might come back so this documentation stays. If you are annoyed of too many bodies in your CAH areas, you need to make these adjustments:
- Select your instance of CAH GameMode
- Select SCR_BaseGameMode
- Scroll down and select "Garbage System Config" and click on the search icon
- Select "Override" in the right mouse button menu for GarbageSystem.conf
This will create a copy of the locked file into your scenario folder so that you are able to edit it.
The system will automatically open the new folder:
Open the file and edit it.
This example shows how dead bodies are deleted after 180 seconds when player are further away than 3 meters.
- Add a new class filter
- Select "only destroyed"
- Define Lifetime and the distance a living player has to have when the class is deleted.
Common Issues
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."
Solution: Delete the official CAH from "... \My Games\ArmaReforger\addons". If the error remains, delete all addons.
Editor crashes when using the garbage collector
Solution: Do not use it. A developer stated said that it is not needed anymore.
Repair your C&H scenario after version 1 of Arma Reforger
Sadly, with version 1 of Arma Reforger all Capture And Hold Scenarios have to be repaired and re-published.
- Open your scenario.
- Accept this message with "Yes".Place a new CaptureAndHold area as described above since it was removed while validating. Do not worry about the Garbage Collector: It is gone for good.
Repair your C&H scenario after version 1.2 of Arma Reforger
With version 1.2 the official Capture And Hold Scenarios was implemented in the game and you have to remove the dependency from your scenario and re-publish it.
- 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.
- 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 addon.gproj from the %userprofile%\Documents\My Games\ArmaReforger\addons\CaptureAMPHold_591AF5BDA9F7CE8B directory
Open your scenario and start fixing the problem like this:
- In Workshop/Options delete the dependency CAH
- Save
- Restart Workbench (Otherwise there seems to be an error with the selection of category)
- Publish
- Don't give up - try again.
After you have fixed your scenario, it is important to delete the official Capture&Hold from .%userprofile%\Documents\My Games\ArmaReforger\addons\CaptureAMPHold_591AF5BDA9F7CE8B Otherwise Reforger will run into errors. CAUTION: Move the official Capture&Hold to a safe location, as you will need to copy it back for adjustments to other maps.