Documentation
Русский
  • Gem RTS v1 Documentation
  • Foundational Knowledge
    • Game local files and Player Profile locations
    • Game resource architecture
      • Packages
      • Package file structure
    • Basic knowledge about configuration files
      • Include instruction
      • Define instruction
      • Mod instruction
  • Mod Development
    • Creating mod
    • Advanced package configuration
    • Creating Settings templates
  • Editor
    • Camera control in the Editor
    • Useful Editor shortcuts and Console commands
    • Map Editor
      • Creating a new map
      • Scene Editor
      • Entity Editor
      • Landscape Editor
        • Heights Editor
        • Polygons Editor
        • Terrains Editor
        • Color Editor
        • Flags Editor
        • Material Editor
        • Grass Editor
        • Foliage Editor
      • Water Editor
      • Specifics of Map Editing
        • Creating destroyed vehicle entities for map entourage
        • Creating terrain folds
          • Creating Ground Surface relief
          • Rock and cliff entities
        • Stone entities
        • Entity for water sound effects
        • Building entities
      • Creating a minimap
    • Mission Editor
      • Mission Properties Editor
    • FX Editor
    • Environment Editor
      • Basic knowledge about HDR
      • Creating environment preset
      • Setting Environment preset parameters
    • Debug Tools
      • Console
      • Debug Processes Window
      • Render Layer List Window
    • Simulation Mode
  • Textures and Materials
    • Physically Based Rendering
      • Texture compression formats in GEM RTS
      • PBR parameters
      • Texture Conversion in Gem RTS
      • Texture conversion to PBR materials using Nvidia Texture Exporter
  • Modeling
    • 3ds Max Plugin
    • Vehicle Model Setup Pipeline
      • Bone hierarchy in vehicle models
        • Body
        • Turret
        • Engine
        • Gun
        • Secondary bones
        • Transmission
          • Сhassis mechanisms
  • Localization
    • Variable strings in localization
    • Adding a new localization language
  • Game settings
    • Movement on slopes
    • Configuration of movement types for human units
    • Configuring entity interaction with wind
    • Sensor
    • User control sound
Powered by GitBook
On this page
  • Switching Settings Templates
  • Location and structure of Settings Templates
  • Icons for Setting templates
  • Connecting Additional Packages
  • Localization
  1. Mod Development

Creating Settings templates

Last updated 9 months ago

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.