Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Objects like brushes and entities can be placed on layers which are basically a mechanism to group objects logically. Each layer can be stored as a separate .lyr file on the harddiskhard disk. Having the layer files stored separately on disk allows to do collaborative editing, since the layer files can be checked in individually in a revision control system like Perforce.

...

Click the Import Layer button to import a layer that was exported previously. Locate your layer using the Open File dialog.

Layer Settings

To change layer settings, right click on a layer and select Settings in the popup menu. The same dialog box as for creating a new layer will be displayed. Change the settings and click OK.

Setting

Description

Visible

Does the same thing as the layer hide/show icon.

Frozen

Does the same thing as the layer freeze/unfreeze icon.

Export Layer Pak

 

Default Loaded

This layer will be loaded by default.

External

When this checkbox is enabled, the layer will be stored as a separate .lyr file on disk, enabling better use of version control systems. The layer will automatically be exported when your level is saved, and imported on loading. Unchecking this box will make the layer part of the .cry file again and the external .lyr file will no longer be updated. External layers are indicated by an underlined layer name.

Export to Game

When this checkbox is enabled, the layer will be exported to the game when you use File -> Export to engine. Uncheck this if you don't wish to see the objects contained in the layer in pure game mode.

Brushes Have Physics

Brushes within a layer with this disabled will not have physics. This is good for distance background objects to save on performance.

Assigning Objects to Layers

...

Double clicking on an icon will make all layers change their state of hide/show or frozen/unfrozen, depending on which icon was selected.

...

Grouping Layers

To change layer settings, right click on a layer and select Settings in the popup menu. The same dialog box as for creating a new layer will be displayed. Change the settings and click OK.

...

Setting

...

Description

...

Visible

...

Does the same thing as the layer hide/show icon.

...

Frozen

...

Does the same thing as the layer freeze/unfreeze icon.

...

Export Layer Pak

...

 

...

Default Loaded

...

This layer will be loaded by default.

...

External

...

When this checkbox is enabled, the layer will be stored as a separate .lyr file on disk, enabling better use of version control systems. The layer will automatically be exported when your level is saved, and imported on loading. Unchecking this box will make the layer part of the .cry file again and the external .lyr file will no longer be updated. External layers are indicated by an underlined layer name.

...

Export to Game

...

When this checkbox is enabled, the layer will be exported to the game when you use File -> Export to engine. Uncheck this if you don't wish to see the objects contained in the layer in pure game mode.

...

Brushes Have Physics

...

group layers, simply hold CTRL and drag one layer onto another. The layer that is dragged will then become a sub-layer of the layer you dropped it onto.

To ungroup the layers, hold CTRL and drag the layer you wish to ungroup into the empty space below (or the very bottom of the layer list). It will then be released back into its own main layer.

Image Added

Image Added

Grouped Layers

Ungrouped layers