Docs / Reference / Content formats
Weather and lighting
On this page
Weather (.owt)#
A weather preset lives in Weather\.
[name]
Light rain
[fog]
8000
1
[clouds]
Overcast
1
[precip]
1
80
0
0
0
[temp]
12
10| Keyword | Parameters |
|---|---|
[name], [description] ... [end] |
Name and text |
[fog] |
Visibility (m), fog density |
[clouds] |
Type, value: -1 clear, Cumulus 1..3, Overcast 1 |
[precip] |
Five numbers: kind (0 none, 1 rain, 2 snow), strength (0..255), three more |
[groundwet] |
Three numbers; the first is the ground wetness (0..255) |
[snow], [snowOnRoad] |
Snow lies; snow lies on the road too |
[wind] |
Direction (degrees), speed (m/s) |
[temp] |
Temperature (°C), dew point (°C) |
[press] |
Air pressure (hPa, default 1013) |
- The second
[temp]value is the dew point, not the humidity: saturated weathers such as ground fog write 9/9. openOMSI turns it intoWeather_AbsHum(g/m³) as OMSI does. - The cloud cover is drawn from
Texture\clouds.tga(a grey density map) as a layer about 1500 m up, drifting with the wind.
openOMSI moves weather forward through the hours and can use live weather (see
Weather and seasons). OMSI's [currWeather_ICAO] (weather from an airport's METAR report)
is read too: visibility, wind, temperature and dew point, pressure, cloud cover and
rain/drizzle/snow.
envir.cfg#
| Keyword | Parameters |
|---|---|
[sky_textures] |
Day, twilight, night sky |
[twilight_start_end] |
Sun altitudes of twilight |
[lightcolor_A], [lightcolor_B], [lightcolor_C] |
5 RGB stops each (nadir, twilight start, sunrise, twilight end, zenith) for direct sun, light from above and ambient |
[cloudtype] |
Name, texture, height, code |
Something wrong or missing? Fix it on GitHub or open an issue.