# Creating Settings templates

## Switching Settings Templates

The Settings template selection window appears in two cases:

* On the first launch of the game.
* When selecting it in the **GAME** OPTIONS.

<figure><img src="/files/g28Z1Z5Nyf1NS5wGmx5l" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/DfeoCarRvxkp3qzEgMJJ" alt=""><figcaption></figcaption></figure>

## Location and structure of Settings Templates

Settings templates are located in the directory: `main\global\interface\profiles`.\
Each template contains a set of options that can partially or fully override the current settings stored in `.opt` files.

## &#x20;Icons for Setting templates

For each settings template, you can set icons for two states:

* **normal** — the state when the user isn’t interacting with the icon;
* **selected** — the state when the template is chosen.

For example, for the **default** template, the icons are located in the following paths:

* `main\global\interface\profiles\default\icon.tga` — for the normal state
* `main\global\interface\profiles\default\icon_selected.tga` — for the selected state

## Connecting Additional Packages

Settings templates can also be used to connect additional packages. \
To ensure that specific packages are connected when selecting a template, they need to be specified in the configuration file: `main\global\interface\options_template_packages.set`.

<details>

<summary><strong>Example</strong></summary>

```plaintext
{
    mow_classic
    {
        "40e43b15-5df8-4623-9b87-dc4eb366961b"
    }
}
```

This links the **mow\_classic** template to the package with ID `"40e43b15-5df8-4623-9b87-dc4eb366961b"`.

</details>

## Localization

The texts related to the localization of the settings template selection window are located in files like:

`main\<language>\interface\text\profiles.lng`.

This file needs to be configured to ensure that the settings template selection window displays the texts in the desired language.


---

# 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/mod-development/creating-settings-templates.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.
