Skip to content

Latest commit

 

History

History
95 lines (90 loc) · 3.14 KB

File metadata and controls

95 lines (90 loc) · 3.14 KB

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:

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
          options:
            log:
              enable: true
              file: realweather.log
            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.

Tip

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

Tip

You can rename the RealWeather extension in your server status embed by setting a "name" in the configuration like so:

extension:
  RealWeather:
    name: MyFancyName  # Optional: default is "RealWeather"

Note

You can use any parameter that Real Weather describes in their discord. I only write a json/toml from whatever you put in the extension configuration to pass that through to Real Weather. That said, it is ALWAYS a good idea to look at what they added or changed, as I cannot keep up with every third party app I support with the bot.