Skip to content

Weather

Ingmar Heinrich edited this page Oct 1, 2022 · 1 revision

Weather is a nice element of immersion, but it uses quite a few server resources (@TODO quantify). For weather configuration, find cfgweather.xml in the mission root, and edit it.

Always sunny:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<weather reset="1" enable="1">
    <overcast>
        <current actual="0.0" time="86400" duration="86400" />
        <limits min="0.0" max="0.0" />
        <timelimits min="86400" max="86400" />
        <changelimits min="0.0" max="0.0" />
    </overcast>
    <fog>
        <current actual="0.0" time="86400" duration="86400" />
        <limits min="0.0" max="0.0" />
        <timelimits min="86400" max="86400" />
        <changelimits min="0.0" max="0.0" />
    </fog>
    <rain>
        <current actual="0.0" time="86400" duration="86400" />
        <limit min="0.0" max="0.0" />
        <timelimits min="86400" max="86400" />
        <changelimits min="0.0" max="0.0" />
        <thresholds min="0.0" max="0.0" end="86400" />
    </rain>
    <wind>
        <maxspeed>0</maxspeed>
        <params min="0.0" max="0.0" frequency="86400" />
    </wind>
    <storm density="0.0" threshold="0.0" timeout="86400"/>
</weather>

For shits and giggles, here's some truly doomsday weather:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<weather reset="0" enable="1">
    <overcast>
        <current actual="1.0" time="0" duration="86400" />
        <limits min="1.0" max="1.0" />
        <timelimits min="0" max="0" />
        <changelimits min="1.0" max="1.0" />
    </overcast>
    <fog>
        <current actual="1.0" time="0" duration="86400" />
        <limits min="1.0" max="1.0" />
        <timelimits min="0" max="0" />
        <changelimits min="1.0" max="1.0" />
    </fog>
    <rain>
        <current actual="1.0" time="0" duration="86400" />
        <limit min="1.0" max="1.0" />
        <timelimits min="0" max="0" />
        <changelimits min="1.0" max="1.0" />
        <thresholds min="0.0" max="0.0" end="0" />
    </rain>
    <wind>
        <maxspeed>80</maxspeed>
        <params min="1.0" max="1.0" frequency="86400" />
    </wind>
    <storm density="1.0" threshold="0.1" timeout="2"/>
</weather>
Clone this wiki locally