# Rock and cliff entities

## **Asset location in resources**

To create cliffs and ravines with sharp edges that restrict the free movement of units, use asset entities from the `landscape\rock` folder.

<figure><img src="/files/1ynBP12GXTAjJcloQ2lU" alt=""><figcaption><p>Placing cliff entities</p></figcaption></figure>

## **Placing Cliff entities on the map**

It is recommended to align the placed cliff and rock entities to zero height in their properties. To do this, change the `constrain` parameter from `ground` to `zero`.

**Blending Seamlessly**

After placing cliff entities on the map, you need to visually smooth the seams between the ground surface and the cliff entity surfaces. Let's go through the smoothing process step by step.

1. Select the entity.
2. Find the `materials` block in the entity's properties.
3. In layer 1 of the `textures` block, select a material that matches the ground surface material at the intended seams.

<figure><img src="/files/UkYZxhiH3p2rOQn4e6bp" alt=""><figcaption><p>Selecting matching ground material</p></figcaption></figure>

4. Adjust the `tiles` parameter in the cliff entity's properties to visually match the material detail on the entity with the material detail on the ground surface.

<figure><img src="/files/Aw7pKVkbIC9DYBVrPLCH" alt=""><figcaption><p>Adjusting tiles parameter in the cliff entity material to match the ground material</p></figcaption></figure>

4. Smooth the heights of the ground surface using the \[Heights] brush so that the ground surface transitions smoothly into the cliff entity surface.

<figure><img src="/files/JP01giFVKmuw4QF9QwO7" alt=""><figcaption><p>Smoothing Heights with the Heights Brush</p></figcaption></figure>

5. If necessary, use the \[Polygons] brush to subdivide the ground surface mesh at the seams with cliff entities. This will allow for a more precise transition between the ground surface and the cliff entity.

<figure><img src="/files/ExWw6DcbXgIWDmHFi64j" alt=""><figcaption><p>Subdividing mesh for seamless transition</p></figcaption></figure>

As a result of the above steps, the seams between the ground surface and the cliff entities will become visually unnoticeable.

**Additional Options**

If the result is not satisfactory, use the additional options:

1. Use the `diffuse_color` parameter in the `materials` block of the cliff entity's properties to tint the entity's material to match the ground surface material.

<figure><img src="/files/ditGlaoAItzpoEUZoaAO" alt=""><figcaption><p>Tinting entity material with diffuse color</p></figcaption></figure>

2. The `uv_ratio` parameter allows you to adjust the tiling texture of the material for entities with rectangular texture layouts. For example, the `cliff_big_01` entity by default has `uv_ratio x=2, y=1`.

<figure><img src="/files/KR14I1Xpq8QG8JCtH1Yv" alt=""><figcaption><p>Adjusting UV Ratio for Texture Tiling</p></figcaption></figure>

3. Change the material mask in the entity's properties. To do this, select the cliff entity, find and change the mask by which the layer 1 material is applied to the entity. The masks are located in the folder with the entity.

<figure><img src="/files/ZqNDyC5g0ogAeXL7mCHG" alt=""><figcaption><p>Changing material mask for better blending</p></figcaption></figure>

4. To enhance the visual effect and create additional natural cover for units, you can diversify the surface with [stone entities](/editor/map-editor/specifics-of-map-editing/stone-entities.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bestway.com.ua/editor/map-editor/specifics-of-map-editing/creating-terrain-folds/rock-and-cliff-entities.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
