Radio codes

In MDT's sidebar, players can find "Radio codes" tab, where they can check or find all radio codes, that are specified in configuration file.

Below you can find example of how to create codes category and add items to it.

  1. Locate Config.RadioCodes in your config file.

  2. Create new object inside RadioCodes table.

  3. Each category must have three properties:

    • name - This can't be used multiple times as it's used to identify given codes category

    • label - What you put here, will be used when displaying the category in MDT "Radio codes" tab

    • items - In this table, you will create objects with all codes from given category

  4. To add items to category, create new object in items and add these properties:

    • label - Highlighted label of radio code

    • description - Here you can describe, what given code means

Config.RadioCodes = {
    {
        name = "example",
        label = "Example",
        items = {
            label = "Example 1.1",
            description = "Description of Example 1.1"
        }
    }
}

Last updated