# Grass brush template configuration

The `grass.set` file, located in the `scene\set\` directory, defines patterns  used by [the **Grass** brush](/editor/map-editor/3-landscape-editor/grass-editor.md) in the Landscape Editor to generate vegetation.

Each grass pattern specifies a list of entity models and the density parameters for their placement on the ground surface. All models must be prepared in advance and placed in the `scene\entity` folder.

> **Syntax**
>
> ```
> {"pattern_name"
>     {models
>         {"entity_name" "texmod_name"}
>         {...}
>     }
>     {dencity N}
> }
> ```

<table><thead><tr><th width="169.16015625">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><code>pattern_name</code></td><td>A unique identifier for the template (template name), enclosed in double quotes. <br>The list of template names appears in <a href="/pages/O30zhhSFHL4ZviF9ffvd#the-grass-patterns-list">the <strong>Patterns</strong> window </a>under the <strong>Grass</strong> tab of the Landscape Editor.</td></tr><tr><td><code>models</code></td><td>A block containing a list of models that will be randomly spawned on the ground surface when painting with the selected brush template. <br>For each model, specify its name in the game resources and, optionally, a texture modifier name (the texture modifier can be omitted if the model has only one texture variant).</td></tr><tr><td><code>dencity</code></td><td>A numeric parameter that determines the object spawn density per square meter. The higher the number, the denser the vegetation. <br><strong>Recommended values:</strong><br><code>0.5</code> — sparse grass<br><code>1.0</code> — medium density<br><code>2.0+</code> — densely overgrown terrain</td></tr></tbody></table>

**Example: `sunflower`** template

```
{"sunflower"
    {models
        {"sunflower_01" "green"}
        {"sunflower_02" "green"}
        {"sunflower_03" "green2"}
    }
    {dencity 1}
}
```

***

{% hint style="info" %}
[Wind behavior settings](/game-settings/wind-behavior-settings.md) for grass models
{% endhint %}


---

# 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/game-settings/grass-brush-template-configuration.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.
