Comrades in Arms Discussion Board
setFog array JIP script. - Printable Version

+- Comrades in Arms Discussion Board (http://forum.ciahome.net)
+-- Forum: Comrades in Arms Life (http://forum.ciahome.net/forumdisplay.php?fid=3)
+--- Forum: Mission Making (http://forum.ciahome.net/forumdisplay.php?fid=8)
+--- Thread: setFog array JIP script. (/showthread.php?tid=2554)



setFog array JIP script. - Windies - 01-26-2014

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.*


Re: setFog array JIP script. - Variable - 01-30-2014

Great! Now we all can have the same fog.


Re: setFog array JIP script. - Persioan MO - 07-09-2014

can u zip this script as .rar or .zip
I can't unzip it with winrar software.
* .7z is difference with other zip files?


Re: setFog array JIP script. - Variable - 07-09-2014

(07-09-2014, 07:02 PM)Persian MO link Wrote: can u zip this script as .rar or .zip
I can't unzip it with winrar software.
* .7z is difference with other zip files?
Persian install 7z. it's the best and can open all types.


Re: setFog array JIP script. - Persioan MO - 07-09-2014

I downloaded the 7z but it can't open the fog script.Give me a error same like other software's.Can someone check it out and let me know if i'm wrong ?


Re: setFog array JIP script. - Outlawz7 - 07-09-2014

The .zip file is corrupt.


Re: setFog array JIP script. - Variable - 07-09-2014

I'll ask Windies to re-upload the file.


Re: setFog array JIP script. - Windies - 07-14-2014

uploaded a copy from my google drive. 7zip opened it fine.