Page MenuHomeFeedback Tracker

Fog not working (cfgweather.xml)
Closed, ResolvedPublic

Description

I've changed to the new weather config but I'm not able to make it foggy anymore. Anyone have a clue?

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- 'reset' and 'enable' are a bool, and therefore supports: 0/1, true/false, yes/no -->
<!-- 'reset' controls whether you want to load in the weather from storage or not (false by default) -->
<!-- 'enable' controls whether this file is enabled or not (true by default) -->
<weather reset="0" enable="0">
    <overcast>
        <!-- Initial conditions of the overcast (target value, time to change, how long will it stay) -->
        <current actual="0.45" time="120" duration="240" />
        <!-- What is the range of the overcast value (0..1) -->
        <limits min="0.3" max="1.0" />
        <!-- How long does it take to the overcast to change from one value to other (time in seconds) -->
        <timelimits min="600" max="900" />
        <!-- How much should the overcast change (0..1) -->
        <changelimits min="0.0" max="1.0" />
    </overcast>
    <fog>
        <!-- Initial conditions of the fog (target value, time to change, how long will it stay) -->
        <current actual="0.8" time="120" duration="240" />
        <!-- What is the range of the fog value (0..1) -->
        <limits min="0.8" max="1.0" />
        <!-- How long does it take to the fog to change from one value to other (time in seconds) -->
        <timelimits min="900" max="1800" />
        <!-- How much should the fog change (0..1) -->
        <changelimits min="0.0" max="1.0" />
    </fog>
    <rain>
        <!-- Initial conditions of the rain (target value, time to change, how long will it stay), restricted by thresholds (see below) -->
        <current actual="0.0" time="60" duration="120" />
        <!-- What is the range of the rain value (0..1) -->
        <limits min="0.0" max="1.0" />
        <!-- How long does it take to the rain to change from one value to other (time in seconds) -->
        <timelimits min="60" max="120" />
        <!-- How much should the rain change (0..1) -->
        <changelimits min="0.0" max="1.0" />
        <!-- What range of the overcast value allows the rain to be preset (min, max overcast value, time in seconds it takes for rain to stop if the overcast is outside of the specified range) -->
        <thresholds min="0.7" max="1.0" end="60" />
    </rain>
    <windMagnitude>
        <!-- Initial conditions of the wind magnitude (target value, time to change, how long will it stay), restricted by thresholds (see below) -->
        <current actual="8.0" time="120" duration="240" />
        <!-- What is the range of the wind magnitude value in m/s -->
        <limits min="0.0" max="20.0" />
        <!-- How long does it take to the wind magnitude to change from one value to other (time in seconds) -->
        <timelimits min="120" max="240" />
        <!-- How much should the wind change -->
        <changelimits min="0.0" max="20.0" />
    </windMagnitude>
    <windDirection>
        <!-- Initial conditions of the wind direction(target value, time to change, how long will it stay), restricted by thresholds (see below) -->
        <current actual="0.0" time="120" duration="240" />
        <!-- What is the range of the wind direction (angle in radians) -->
        <limits min="-3.14" max="3.14" />
        <!-- How long does it take to the wind direction to change from one value to other (time in seconds) -->
        <timelimits min="60" max="120" />
        <!-- How much should the wind change direction -->
        <changelimits min="-1.0" max="1.0" />
    </windDirection>
    <!-- Snowfall should always remain at 0 for this world. -->
    <snowfall>
        <!-- Initial conditions of the snowfall (target value, time to change, how long will it stay), restricted by thresholds (see below) -->
        <current actual="0.0" time="0" duration="32768" />
        <!-- What is the range of the snowfall value (0..1) -->
        <limits min="0.0" max="0.0" />
        <!-- How long does it take to the snowfall to change from one value to other (time in seconds) -->
        <timelimits min="300" max="3600" />
        <!-- How much should the snowfall change (0..1) -->
        <changelimits min="0.0" max="0.0" />
        <!-- What range of the overcast value allows the snowfall to be preset (min, max overcast value, time in seconds it takes for snowfall to stop if the overcast is outside of the specified range) -->
        <thresholds min="1.0" max="1.0" end="120" />
    </snowfall>
    <!-- Lightning density (0..1), threshold for the lightning appearance (tied to the overcast value, 0..1), time (seconds) between the lightning strikes -->
    <storm density="1.0" threshold="0.8" timeout="45"/>
</weather>

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
General

Event Timeline

Geez changed the task status from New to Need More Info.Tue, Apr 22, 2:59 PM
Geez added a subscriber: Geez.

Hello FreaknPwNed.
With the config you have provided we have foggy weather on our testing server. Is there something else that could be wrong?

Geez added a comment.Tue, Apr 22, 2:59 PM

We have noticed you do not have it enabled in this line:

<weather reset="0" enable="0">

Could that be the issue?

We have noticed you do not have it enabled in this line:

<weather reset="0" enable="0">

Could that be the issue?

That might be the issue! I copied this file from https://github.com/BohemiaInteractive/DayZ-Central-Economy/blob/master/dayzOffline.chernarusplus/cfgweather.xml

Looks to be fixed. I had to make sure reset="1" to see my changes, without waiting.

Geez closed this task as Resolved.Tue, Apr 22, 7:01 PM
Geez claimed this task.