This section will show you how to add the Verse script and place the Verse device to customize gameplay.
Navigate to Verse > Verse Explorer to create a Verse script.
Then, right-click your project file name and select Add new Verse file to project.
Select Verse Device and give it a name then click Create. In this tutorial, the Verse device is named Stronghold_Game_Manager.
Double-click the device’s verse file to bring up the Verse script. Copy and paste the code below.
using { /Fortnite.com/AI }
using { /Fortnite.com/Characters }
using { /Fortnite.com/Devices }
using { /Fortnite.com/Game }
using { /UnrealEngine.com/Temporary/Diagnostics }
using { /UnrealEngine.com/Temporary/SpatialMath }
using { /Verse.org/Simulation }
using { /Verse.org/Verse }
# The Stronghold is a game mode in which the goal is for players to eliminate all hostile enemies at a heavily guarded Stronghold
Next, navigate to Verse > Build Verse Code to compile the Verse script.
Navigate to All/"Project Name"/CreativeDevices/ and select your Verse device.
Then, drag your Verse device onto your map. This will only appear after compiling the Verse script.
With your Verse device selected, navigate to the Details panel and update the User Options as shown below.
| Option | Value | Explanation |
|---|---|---|
Visible in Game | True | This device will be visible during the game. |
Enabled at Game Start | True | This device will be enabled when the game begins. |
Guards_InitialSpawners | 7 Array elements | Click the plus sign to add three elements to this setting. |
0 | Guard Spawner Init | This is an array of all the devices used to spawn the initial Guards at the stronghold. |
1 | Guard Spawner Sniper Tower 1 | This is an array of all the devices used to spawn the initial Guards at the stronghold. |
2 | Guard Spawner Sniper Tower 2 | This is an array of all the devices used to spawn the initial Guards at the stronghold. |
3 | Guard Spawner Investigate Crash | This is an array of all the devices used to spawn the crash site Guards. |
4 | Guard Spawner Initial Move to Sniper A | This is an array of all the devices used to move a set of Guard spawners. |
5 | Guard Spawner Initial Move to Sniper B | This is an array of all the devices used to move a set of Guard spawners. |
4 | Guard Spawner Init Patrol | This is an array of all the devices used to move a set of patrol Guards. |
GuardsInitialSpawnersAdditional | Guard Spawner Init Additional | Spawns an additional set of guards. |
GuardReinforcementSpawners | Guard Spawner Reinforcement_East | Spawns reinforcement guards for a certain area. |
GuardReinforcementSpawners | Guard Spawner Reinforcement_North | Spawns reinforcement guards for a certain area. |
GuardReinforcementSpawners | Guard Spawner Reinforcement_West | Spawns reinforcement guards for a certain area. |
GuardReinforcementSpawnersAdditional | Guard Spawner Reinforcement_East_Additional | Spawns additional reinforcement guards for a certain area. |
GuardReinforcementSpawnersAdditional | Guard Spawner Reinforcement_West_Additional | Spawns additional reinforcement guards for a certain area. |
Objective Tracker | Tracker | Displays the stronghold objectives and elimination count. |
MessageDeviceReinforcement | HUD Message Device Reinforcement | Displays the reinforcement on-screen message. |
MessageDeviceFallback | HUD Message Device Fallback | Displays the fallback on-screen message. |
EndGameVictoryDeviceUndetected | End Game Device Undetected | Displays the victory and undetected end screen. |
EndGameVictoryDeviceDetected | End Game Device Detected | Displays the victory and detected end screen. |
EndGameFailDevice | End Game Device Fail | Displays the failed end screen because the player ran out of lives. |
PlayerRetries | 2 | Determines the number of lives the player has to try to complete the stronghold successfully. If the player runs out of lives, the stronghold is failed. |
ReinforcementLeashReferernce | Leash Position Stronghold | The Leash Position devices use its position as the origin of the reinforcement leash. |
FallbackLeashReference | Leash Position Fallback | The Leash Position device uses its position as the origin of the fallback leash. |
LeashesToDisableForFallback | 5 Array elements | Determines the leashes to disable for guards to fallback. |
0 | Guards Leash Position 1 | Determines the outer radius for the stronghold leash. |
1 | Guards Leash Position 2 | Determines in centimeters the inner radius for the defend fallback leash. Must be smaller than the outer radius. |
2 | Reinforcement Leash Position | Determines the reinforcement leash position. |
3 | Sniper tower 1 leash position | Determines the leash position for the first sniper tower. |
4 | Spiper tower 2 leash position | Determines the leash position for the second sniper tower. |
Explosive Device | Explosive Device | References the Explosive Barrel device. |