Wrote a script to utilize the new fog system that's JIP compatible.
You simply call it in init.sqf with [[StartDensity,EndDensity], Decay, Altitude, Time in minutes for changes to take effect]. So for example [[.65, .40], .010, 55, 60] execVM "Fog.sqf"; would start with a fog density of .65 with a decay of .010 and an altitude of 55 meters and gradually decrease to a fog density of .40 over 60 minutes.
*quick update to prevent client code from running on the server*
*another small update to fix a typo preventing the script from running*
* New version, somehow an older non working version got placed in the zip.*
You simply call it in init.sqf with [[StartDensity,EndDensity], Decay, Altitude, Time in minutes for changes to take effect]. So for example [[.65, .40], .010, 55, 60] execVM "Fog.sqf"; would start with a fog density of .65 with a decay of .010 and an altitude of 55 meters and gradually decrease to a fog density of .40 over 60 minutes.
*quick update to prevent client code from running on the server*
*another small update to fix a typo preventing the script from running*
* New version, somehow an older non working version got placed in the zip.*