Sandbox DecalLogoPlacement

From CryWiki

Sandbox DecalLogoPlacement
Jump to: navigation, search

Contents

How to Place your Team Logo as a Decal on a Wall

Overview

This quick tutorial covers one aspect of the Decal tool. You will learn how to place a picture on a plain wall.
This can be used to display your team logo, graffiti pictures or direction arrows.

Preparation

Load a level with buildings which have flat walls, or place an appropriate object in your level.


Placing a Decal in the Level

Selecting the decal entity

To place a decal in the game, you have to first activate Follow Terrain, then go into the Misc Object Type library located in the RollupBar and select Decal.

Image:Sandbox_DecalLogoPlacement_image005.png

Image:Sandbox_DecalLogoPlacement_image007.png

Placing a decal in the level

Select the decal by clicking the mouse button, and then move the mouse into the perspective viewport. The follow terrain tool that was previously selected will snap the new object to the terrain as you move it around.

Click the mouse button to place down the decal in its current position. You can then move/rotate/scale the decal using the usual methods.

decal_01.png Extracted from Logo_decal.zip

Set the ProjectionType for the decal to 0.

projectiontype.png


Assigning the decal material

If you want to create your own material with your own textures, please refer to the material editor reference documentation. If you place the .mtl file and the texture within the Game folder of your Cryengine installation, it will work locally on your computer. You would need to set up a MOD with the respective folders associated to be able to transfer the assets to other computers. For this tutorial, we keep it simple and use an existing decal.

Note
A Decal Material has to be marked with the Decal Flag in the Shader Generation Parameters in the material options, as shown below.

Image:Sandbox_DecalLogoPlacement_image011.png


Open the Material Editor and choose an appropriate material from the Material Library.
Go to Materials/Decals/Numbers, choose number 1 and apply it to the decal entity you just created.


decal_number1.png Extracted from Logo_decal.zip

decal_02.png Extracted from Logo_decal.zip


Project it onto the object

Select the decal entity, activate Reorientate and use Mouse shortcuts to place the decal:

  • Hold down CTRL and click the mouse button to move the decal to the desired position.
  • Hold down ALT and click the mouse button to scale the decal along the local x/y-axis.
  • Hold down CTRL+ALT and click the mouse button to rotate the decal around the local z-axis.

decal_03.png Extracted from Logo_decal.zip

Result

You can easily "tag" buildings with your own team colors and logos.

See Also

Personal tools