Complete Code
The following is the complete code for a three-team infiltration game that balances players asymmetrically to create dynamic play experiences.
triad_infiltration_game.verse
using { /Fortnite.com/Devices }
using { /Fortnite.com/FortPlayerUtilities }
using { /Verse.org/Simulation }
using { /Verse.org/Random }
using { /UnrealEngine.com/Temporary/Diagnostics }
triad_infiltration_log_channel := class(log_channel){}
triad_infiltration := class(creative_device):
invisibility.verse
using { /Fortnite.com/Devices }
using { /Fortnite.com/Characters }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
triad_invisibility_log_channel := class(log_channel){}
invisibility_manager := class(creative_device):
Logger:log = log{Channel := triad_invisibility_log_channel}
item_capture_manager.verse
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /Fortnite.com/Characters }
using { /UnrealEngine.com/Temporary/Diagnostics }
using { /UnrealEngine.com/Temporary/SpatialMath }
triad_item_capture_log_channel := class(log_channel){}
item_capture_manager := class(creative_device):
On Your Own
By completing this guide, you’ve learned how to use Verse to create a game that balances teams of players asymmetrically.
Using what you’ve learned, try to do the following:
Try playing with different parameters for the Infiltrators, Attackers, and Defenders to create your ideal play experience. What if the Infiltrators had melee weapons? What if the Defenders were invisible as well?
Can the Infiltrators and Attackers fight over the same objective? Can you change the victory condition?