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.

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.

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

This links the mow_classic template to the package with ID "40e43b15-5df8-4623-9b87-dc4eb366961b".

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.

Last updated