We can easily add gameplay, such as for a Capture the Flag (CTF) mission, to a scene by using Visual3D's All-in-One toolset. This can be done by adding reusable gameplay components (assets), such as Scenarios, Entities, Abilities and Actions, into your scene, by drag-dropping them from the Asset Explorer onto the Scene Editor viewport or onto your scene or the entities in it, and then configuring their properties using the Object Editor. Also, you can define your own library of custom component classes, in C# with Visual Studio or with any other .NET language, as is described in more detail in this tutorial, and have them appear automatically in Asset Explorer for you use as building blocks in designing your world, the entities in it, their behavior in your gameplay/simulation scenarios.
Find RobotWarGame scenario in the Asset Explorer. It is located here: Scripting-> AI->Scenarios. Then drag and drop it onto the scene. On the scene will be set up game entities by default and UI set.


Scenario will appear in the World Explorer in folder Scenarios. To its properties can be edited in the Object Editor, select it in World Explorer.

Select Battle Mode. In addition to CTF, there are two modes, it is a fight between two teams against each other Command 3v3 and Free For All where everyone plays for themselves.

By default, as combatants used Assault Droids but you can use other characters, for example Lizardmans. To do this, change the property SpawnPrefab using Object Explorer.

Change the placement of entities to a more appropriate for the scene. You can move, change size and orientation of objects such as flag home, avatars home. Or choose another model. For example, we have chosen tower.mesh for avatar home.

You can customize the display of the required UI. To do this, select the scenario in World Explorer, so that its properties can be edited in the Object Editor. You will see the following properties, which are responsible for displaying the UI :

After pressing will start the game. With the help of Battle Console, you can join the team, choose number of points to win or to respawn additional combatants.

