Sandbox IAMapSetup

From CryWiki

Sandbox IAMapSetup
Jump to: navigation, search

Contents

How to Set Up an Instant Action/Team Instant Action Multiplayer Level

Overview

The following walkthrough gives you an overview how to setup an InstantAction/TeamInstantAction multiplayer level.

You can also open one of the original Crysis levels in the Levels/Multiplayer/IA folder and use it as a base. This way you don’t need to import all the entities described in this document.

SpawnPoints

Drag some SpawnPoint entities into your level and rotate them so when player spawn they will have a clear view of their surrounding.

Image:Sandbox_IAMapSetup_image001.jpg

Pickups

Drag weapon and ammo pickups from the Entities/Item list into your level:

Image:Sandbox_IAMapSetup_image002.jpg

In the items properties you need to set: Pickable* Respawn* Timer* (in seconds)

For the initial setup you can choose default weapon configuration such as:

  • SniperScope, Silencer
  • For SCAR/FY71 you have always set additionally SCARNormalAmmo/FY71NormalAmmo as initial setup, or the weapons won’t have a clip.

You can find predefined ammo pickups in your DataBase View when loading pickups_mp.xml

Image:Sandbox_IAMapSetup_image003.jpg

Placing SpectatorPoints

Drag and drop the spectator point entity from the multiplayer entities to important areas of your level.

Image:Sandbox_IAMapSetup_image004.jpg

Rotate it so it the helper human body looks at key game play locations.

Image:Sandbox_IAMapSetup_image005.jpg

Blocking players from leaving the game area

You can build a wall of solids around your gameplay area to block players from leaving. Make sure you assign the materials/special/collision_proxy_nomaterialset material to the solid so it’s only rendered in the editor and not in game mode:

Image:Sandbox_IAMapSetup_image006.jpg

To see them in game mode, use this command: e_debug_draw 1

Placing ForbiddenAreas (killzones)

Create an Area Shape where you don’t want the player to walk around:

Image:Sandbox_IAMapSetup_image007.jpg


Then drag a Multiplayer/ForbiddenArea entity in your level:

Image:Sandbox_IAMapSetup_image008.jpg

Select the shape and click the Pick button and select the ForbiddenArea entity:

Image:Sandbox_IAMapSetup_image009.jpg

Depending on the delay (in seconds) you set in the ForbiddenArea entity the player will lose healthpoints (set in DamagePerSecond) once he walks into the area:

Image:Sandbox_IAMapSetup_image010.jpg

MiniMap

Place the MiniMap helper into the section of which you want to take a screenshot from:

Image:Sandbox_IAMapSetup_image011.jpg

Click on the blue square and move it to the center of your level, then select Use New Mini Map Area:

Image:Sandbox_IAMapSetup_image012.jpg

Adjust the camera height so it covers the complete area where you want the screenshot to be taken from, select a 2048 pixel resolution, then hit *Generate MiniMap*

Image:Sandbox_IAMapSetup_image013.jpg

In your Crysis/Game/Screenshots/Map folder two files will be created: 0000.tga (the screenshot) and 0000.xml (the coordinates).

Image:Sandbox_IAMapSetup_image014.jpg

Let’s rename the 0000.xml to Training.xml (the name of your new level)

The xml always must have the same name as your level folder

Image:Sandbox_IAMapSetup_image015.jpg

Then copy it over to your level directory:

Image:Sandbox_IAMapSetup_image016.jpg

Now edit the xml in notepad by adding the metadata and game rules section (don’t change the startX to mapRadius section as the editor has already created this for you):


<MetaData>
<MiniMap Filename="00000.TGA" startX="698.318481" startY="554.986023" endX="1522.318481" endY="1378.986084" mapRadius="50" />
<Gamerules MP1="InstantAction" MP2="TeamInstantAction"/>
<eens|LoadingScreens screen1="training_Loading.dds" />
<HeaderText text="training" />
<DescriptionText text="This is a test map" />
<Display Name="training" />
</MetaData>


Description of the tags, used in the xml file

MiniMap Filename = name of the screenshot which will be used for the minimap (has to be inside the same folder as the xml)
startX/startY/endX/endY = coordinates (always use the automatic generated coordinates)
mapRadius = visible radius of the radar
Gamerules = use PowerStruggle or InstantAction and TeamInstantAction
LoadingScreens = name of your loading screen file
HeaderText = name of the map in the loading screen
DescriptionText = map description in the loading screen (Use the unicode to make a line break)
Display Name = name of the map in your server creation menu

When you play the game you should see the new MiniMap by pressing TAB key:

Image:Sandbox_IAMapSetup_image017.jpg

Result

When you have done all these steps you should able to select your new multiplayer level (name TRAINING) from the list. You can share the level with others simply by giving them the level folder, so that they can join your game if they have the same version of the level.

Image:Sandbox_IAMapSetup_image018.jpg

See Also

Personal tools