CartoonrBOY
Member
Hey there. I've found a solution to the fog in DayZ.
To add this effect:
1. Unpack your Mission.PBO.
2. Find the init.sqf int the root of your Mission.PBO.
Add at the bottom:
Code:
// Extra Local actions:if(local player)then{
[] execVM "nofog.sqf";};
3. Then make a file called nofog.sqf and put this in:
Code:
setviewdistance 9000;
bis_fog =0;
setviewdistance 9050;0 setovercast 0;0 setrain 0;//0 setfog 0;0 setfog bis_fog;
[] spawn {
_delay =3;
sleep 0.01;
while{true}do{
_delay setovercast 0;
_delay setrain 0;
_delay setfog bis_fog;
sleep _delay ;
};};
Copy this file into your Mission root folder.
4. Repack your Mission.PBO.
You now have no fog, massive view distance and it never rains.
I take no credit for this work. All code by Audio Rejectz's.
Last edited: