Ground Fog - Guide

alright... seems that no one actualy know how to pay attention to a file or dont have the time to realy look at it so let me help you again my friend

this is because of this

Code:
                class Item1
        {
            side="LOGIC";
            class Vehicles
            {
                items=1;
                class Item0
                {
                    position[]={-143.93861,0.52647489,2319.5012};
                    id=50;
                    side="LOGIC";
                    vehicle="FunctionsManager";
                    leader=1;
                    lock="UNLOCKED";
                    skill=0.60000002;
                };
            };
        };
};

class Item2
        {
            side="LOGIC";
            class Vehicles
            {
                items=1;
                class Item0
                {
                    position[]={4902.23,2408.26,0};
                    id=3;
                    side="LOGIC";
                    vehicle="Logic";
                    leader=1;
                    skill=0.60000002;
                    init="[this,10000,10000] exec ""custom\fog\fog.sqs""";
                };
            };
        };
     };

Between class Item1 and 2 i see 4 closing brackets }; }; }; };

you should het rid of the 4th one !!!!!!

but only the 4th one at the end of Item1 part.


the 4th }: will actualy tell the script that thats the end opf the hole part.


so what actualy happens is the script stops reading after Item1 ... causing the server to stop loading



hope it help.


if you need some extra and quick help my friend add me on skype jordy-dormans@live.nl


ill help you when i have time to.

good luck
 
Script fog.sqs not found! Fog.sqs file is located in the Mission folder

Code:
class Item1
        {
            side="LOGIC";
            class Vehicles
            {
                items=1;
                class Item0
                {
                    position[]={-143.93861,0.52647489,2319.5012};
                    id=50;
                    side="LOGIC";
                    vehicle="FunctionsManager";
                    leader=1;
                    lock="UNLOCKED";
                    skill=0.60000002;
                };
            };
        };
        class Item2
        {
            side="LOGIC";
            class Vehicles
            {
                items=1;
                class Item0
                {
                    position[]={6288.5488,304.98645,7825.8896};
                    id=3;
                    side="LOGIC";
                    vehicle="Logic";
                    leader=1;
                    skill=0.60000002;
                    init="[this,10000,10000] exec ""fog.sqs""";
                };
            };
        };
    };

Code:
_Center = _this select 0

_dist1=_this select 1
_dist2= _this select 2
_height=-0.3
_Rradius=550
#bigloop
@(Player distance _Center)<_dist2
_i=0
#loop
_Cloudalpha=1
?((Player distance _Center)>_dist1):_Cloudalpha= 1-(((Player distance _Center) - _dist1)/(_dist2- _dist1))
_radius=(random 10)+random _Rradius
_angle=(random 360)
_size = 5
_col = 1
_CC=[_col,_col,_col,.3*_Cloudalpha]
drop ["\ca\data\cl_basic", "", "Billboard", 8+random 1,8+random 1,  [(getpos Player select 0)+_radius*(sin(_angle)),(getpos Player select 1)+_radius*(cos(_angle)),_height],[0,0,0],5 , 0.2, 0.1568, 0,[_size], [[_col,_col,_col,0],_CC,_CC,_CC,_CC,_CC,_CC,[_col,_col,_col,0]], [0],0,0,"", "",""]
_i=_i+1
?(_i<1800):goto "loop"
~1
goto "bigloop"
 
Last edited:

hekut146

Well-Known Member
Plese help, i try to install this script to taviana map (origins 1.7.9.5) i sont see fog (don't spawning)...

1-2 years ago i try this script to chernarus map and this work... don't work in tavi... please help

i put fogs.sqs in DayZ_Overpoch_13.Tavi folider
in mission.sqm i change items=2; to items=3; in class Groups
and add
class Item2
{
side="LOGIC";
class Vehicles
{
items=1;
class Item0
{
position[]={6288.5488,304.98645,7825.8896};
id=3;
side="LOGIC";
vehicle="Logic";
leader=1;
skill=0.60000002;
init="[this, 10000, 10000, 7, 19] exec ""fogs.sqs""";
};
};
};
after Item1 block
 
Top