> For the complete documentation index, see [llms.txt](https://docs.bestway.com.ua/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bestway.com.ua/mod-development/creating-settings-templates.md).

# 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="https://2358506489-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2UV9d5d9aTZPISbocWyo%2Fuploads%2FTk0PUKx5XsUiGjaMDSVI%2FSelect%20the%20Settings%20Template.png?alt=media&amp;token=68fc7ec0-6f1f-48e3-aa6e-e604c12a713a" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2358506489-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2UV9d5d9aTZPISbocWyo%2Fuploads%2F2ikJcw3LfNlIrNOSrBde%2FGame%20Settings%20Templates.png?alt=media&amp;token=4f69af0a-a3e6-4e9a-9c1e-8227f2fdf824" 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.

## 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.
