Extension “DCS Real Weather Updater”

If you want to use real-time weather in your missions, you can do that by using DCS-real-weather. Download the release zip and unzip it to a directory of your choice on your system running your DCS servers and the DCSServerBot.

[!IMPORTANT] DCSServerBot only supports DCS Real Weather Updater versions from 2.0.0 upwards.

Configuration

The configuration for RealWeather goes into your nodes.yaml:

# config/nodes.yaml
MyNode:
  # [...]
  extensions:
    RealWeather:
      installation: '%USERPROFILE%\Documents\realweather_v2.5.0'
  # [...]
  instances:
    DCS.dcs_serverrelease:
      # [...]
      extensions:
        RealWeather:
          enabled: true     # optional to disable the extension, default: true
          debug: true       # see outputs of RealWeather, default: false
          name: MyFancyName # Optional: default is "RealWeather"
          realweather:
            log:
              enable: true
              file: realweather.log
          options:
            weather:
              enable: true
              icao: PGUM
              icao-list:      # mutually exclusive with icao above!
                - xxxx
                - yyyy
              runway-elevation: 160
              wind:
                enable: true
                minimum: 0
                maximum: 50
                gust-minimum: 0
                gust-maximum: 50
                stability: 0.143
                fixed-reference: false
              clouds:
                enable: true
                fallback-to-legacy: true
                base:
                  minimum: 0
                  maximum: 15000
                presets:
                  default: Preset7
              fog:
                enable: true
                mode: auto
                thickness-minimum: 0
                thickness-maximum: 1000
                visibility-minimum: 0
                visibility-maximum: 6000
              dust:
                enable: true
                visibility-minimum: 300
                visibility-maximum: 3000
              temperature:
                enable: true
              pressure:
                enable: true
            time:
              enable: true
              system-time: true
              offset: '0h5m'
            date:
              enable: true
              system-date: true
              offset: '0'

[!NOTE] You can find a list of supported parameters in the config.toml provided by DCS-real-weather.

Custom ICAO Codes

If you want to set a custom ICAO code (URMM in this case) per mission, you can add them to your mission name like so:

MyFancyMission_ICAO_URMM_whatsoever.miz

ICAO Codes per Terrain / Map

If you want to set a fix ICAO code per map, you can use the terrains option, like in MizEdit:

# config/nodes.yaml
MyNode:
  instances:
    MyInstance:
      extensions:
        RealWeather:
          terrains:
            Caucasus:
              options:
                weather:
                  enable: true
                  icao: UGKO
                  # ... any other config option
            Syria:
              options:
                weather:
                  enable: true
                  icao: OSDI
                  # ... any other config option