This tutorial shows you how to create and set up multiplayer levels from with the CRYENGINE SDK.
Drag several SpawnPoint entities into your level and rotate them so that when players spawn they will have a clear view of their surroundings.
Spawnpoints are found in the creation panel: Entity\Others\SpawnPoint
Pic1: SpawnPoint placed
In the SDK by default, players will spawn with a few weapons and lots of ammo. To ensure players always have a weapon and ammo, drag several weapons into the level, preferably close to the spawn points.
Typically you would want to set up various types of weapons, as well as various ammo pickups. Weapons can be added from the Create Object tool -> Entity -> Items list into your level:
Pic2: Weapon added
For Weapons and AmmoPickups entities, in the Entity Properties (which you can find by selecting the Weapon or AmmoPickup item and opening the Properties tool) you need to set:
You can add or remove weapons, items and ammo from players starting equipment by going to Game -> Edit Equipment-Packs. Refer to the tutorial for more information.
If you place SpawnGroups you will be able to specify different equipment packs for each SpawnGroup.
A SpawnGroup allows you to group SpawnPoints together. This can be used to create team-oriented Multiplayer levels, as well as assign various capabilities or equipment packs to players.
Place a SpawnGroup from the Create Object tool -> Entity -> Multiplayer -> SpawnGroup.
After dragging the entity into the Perspective view, link the SpawnGroup to as many SpawnPoints as you wish by selecting Pick Target under a SpawnGroup's properties.
Pic3: Linking the SpawnGroup to SpawnPoints
Next, it is important to rename the link as "Spawn" or "SpawnGroup".
Pic4: Providing a link name
Now set up a second SpawnGroup for the other group of SpawnPoints.
Drag and drop the spectator point entity from the multiplayer entities to important areas of your level so that users can see the action while they are re-spawning.
Pic5: Placing a Spectator points.
When players connect to a server their cameras will travel to the spectator point. Spectator Points can be found in the Entity section in the Multiplayer directory.
If you have no spectator points the spectators will start viewing from 0,0,0 position.
Rotate it so the Y+ (green arrow) of the helper looks at key gameplay locations. It is a good idea to place the SpectatorPoint somewhere in the air to give an overview of the area.
You can use the Designer Tool to build a wall of simple geometry around your gameplay area to block players from leaving. Make sure you assign the materials/special/collision_proxy_entitiesonly
material to the designer objects so it's only rendered in the editor and not in game mode.
Please see the Terrain Minimaps section for help creating a Mini Map. Setting up a multiplayer specific UI, however, is beyond the scope of this tutorial.
Export the level to the game engine, so you can to see your level in its most up to date version in real game mode. For help exporting a level, please see the Exporting a Level for Playing tutorial.
Please see Level XML setup for more information on setting up the level .XML file.