openOMSI GitHub Discord
Modding overview

Docs / Making content / Modding overview

Weather

1 min readEdit this pagedocs/MODDING.md

On this page
  1. Live weather of a real place
  2. Climate of a map

Live weather of a real place#

A map can have live weather: add an openomsi_weather.cfg beside its global.cfg. The format and the player's setup are on the Weather page.

Climate of a map#

A map can give its climate in openomsi_climate.cfg. The natural weather preset uses it as its baseline.

[temperature]
-1.5
0.2
4.1
8.9
13.8
17.0
18.9
18.4
14.3
9.2
4.1
0.4

[precipitation]
42
35
41
37
55
68
71
62
49
40
47
50
  • [temperature]: 12 monthly mean temperatures in °C, January to December, one per line.
  • [precipitation]: optional, 12 monthly values in millimetres. Not used yet.

Something wrong or missing? Fix it on GitHub or open an issue.

↑↓ to move↵ to open