Sandbox DecalLogoPlacement
From CryWiki
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.
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.
Set the ProjectionType for the decal to 0.
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.
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.
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.
Result
You can easily "tag" buildings with your own team colors and logos.








