Ground Fog - Guide

scottieo321

We added [GMT+2] to our server name coz we are in this time Zone, so set your time prefered on your timezone.


StevenWaudby


check your .RPT for errors.

Cannot load mission Sometimes maens that one class is already defined in your mission.sqm
If you're not sure what went wrong post your RPT log here.

Also try firstpage Guide first. If u did it it like on the first page it should run.
 
scottieo321

We added [GMT+2] to our server name coz we are in this time Zone, so set your time prefered on your timezone.


StevenWaudby


check your .RPT for errors.

Cannot load mission Sometimes maens that one class is already defined in your mission.sqm
If you're not sure what went wrong post your RPT log here.

Also try firstpage Guide first. If u did it it like on the first page it should run.

This is all thats in my RPT.

#ationproject_e\visual_fixedunittypeiconsbasedonweaponry\config.bin/CfgWeapons/SCAR_H_LNG_Sniper/
Updating base class FakeWeapon->SCAR_H_Base, by ca\communityconfigurationproject_e\visual_fixedunittypeiconsbasedonweaponry\config.bin/CfgWeapons/SCAR_H_LNG_Sniper_SD/
Updating base class FakeWeapon->Rifle, by ca\communityconfigurationproject_e\visual_fixedunittypeiconsbasedonweaponry\config.bin/CfgWeapons/BAF_L86A2_ACOG/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/Offroad_SPG9_Gue/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/HMMWV_Ambulance/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/HMMWV_Avenger/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/USMC_Soldier/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/USMC_Soldier_AT/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/Profiteer2/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/M119/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/DSHkM_Mini_TriPod/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/SearchLight/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/Igla_AA_pod_East/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/RU_Soldier/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/2b14_82mm/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/M252/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/M2HD_mini_TriPod/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/MK19_TriPod/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/C130J/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/T34/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_BaseWeakYellow/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_BaseMediumOrange/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_BaseMediumPale/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_BaseStrongPale/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_EP1/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Cable_EP1/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Street1_decor_EP1/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Small_EP1/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Street1_EP1/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Street2_EP1/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lampa_Ind_EP1/
 
Well this doesnt look like a full .RPT to me.
However does your mission.sqm look like this ?
mission.sqm

arround line 36 has to be edited
Code:
        };
        class Groups
        {
                items=3;
                class Item0
                {

this is item 1 (not full code)
Code:
                 items=3;
                 class Item0
                 {
                         side="WEST";
                         class Vehicles
                         {
                                 items=100;
                                 class Item0

this is item 2
Code:
                };
                class Item1
                {
                        side="LOGIC";
                        class Vehicles
                        {
                                items=1;
                                class Item0
                                {
                                        position[]={708.96582,35.858719,3533.1272};
                                        id=50;
                                        side="LOGIC";
                                        vehicle="FunctionsManager";
                                        leader=1;
                                        lock="UNLOCKED";
                                        skill=0.60000002;
                                };
                        };

this is tiem 3
Code:
                };
                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""";
                                };
                        };
                 };
 


Ive got fog working on my server.
I did try the op way, but I found a much easier way to do it.

Ive got mine to trigger at a certain time at night.
With colour filters, wind & dust effects, full moon and clear night sky.

I take it you aren't willing to share this gem with us?
 
i have some problems with this script. i installed this on my dayz epoch server, the normal script worked pretty good. the fog spawns and everithing is ok.

but if i install the night trigger, the fog wont spawn at night.

does anyone have a solution for this?
 
I got this installed but only I can see it when playing on "Very High" but players with graphical settings on "Normal" can't see it .. how can I set it so everyone can see it? Because now players that play on normal settings are in advantage... please some help :)
 
All works great, good fog no issues, EXCEPT it spams my .rpt log with
"Wrong text element 'null'"
Here's is what i have.
fog.sqs=
Code:
_Center = _this select 0
_dist1=_this select 1
_dist2= _this select 2
 
?(count _this > 3):_endNight=_this select 3;_startNight=_this select 4; goto "nighttest"
?(count _this == 3):goto "bigloop"
 
#nighttest
_hours = Date select 3
?((_hours>=_endNight) && (_hours<_startNight)): goto "waittoactivate"
 
#bigloop
@(Player distance _Center)<_dist2
_i=0
#loop
_height=-0.4
_Rradius=500
_Cloudalpha=1
?((Player distance _Center)>_dist1):_Cloudalpha= 1-(((Player distance _Center) - _dist1)/(_dist2- _dist1))
_radius=(random 10)+random _Rradius
_angle=(random 360)
_size = 20
_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
?(count _this == 3): goto "bigloop"
goto "nighttest"
 
 
 
#waittoactivate
~300
goto "[B][COLOR=#ff0000]nighttest[/COLOR][/B]"

changed the height, Rradius, and _size =.
Still cant fig out why the .rpt though. This is the night only code for whole map btw.
 
if i am running a dedicated server, and place this on the server ftp, will EVERYONE see my fog? According to this, its CLIENT SIDE only http://www.armaholic.com/page.php?id=13102

also, does your settings have to be a certain way in video settings to SEE the fog?

For example, post processing effects lags my PC, and I have alot of things set to low and disabled, will I still be able to see the fog?

more over, will those with slow pcs with settings turn down even be able to see it? yes no?
 
if i am running a dedicated server, and place this on the server ftp, will EVERYONE see my fog? According to this, its CLIENT SIDE only http://www.armaholic.com/page.php?id=13102

also, does your settings have to be a certain way in video settings to SEE the fog?

For example, post processing effects lags my PC, and I have alot of things set to low and disabled, will I still be able to see the fog?

more over, will those with slow pcs with settings turn down even be able to see it? yes no?

I don't know about that script, but the one this thread is about is downloaded with the mission file and runs on each users pc. So they all see fog, but maybe not the exact same as it's rendered individually on each PC.

I have disabled post processing and can see fog fine. I just tried setting all settings to low and I could still see fog. Again, I am using the script from this thread, not the one you are linking to, but I would assume it's the same.

---------------------------------------------------------------------

Here's some gameplay with the nightfog that Deezit posted. It really makes a big difference:

http://www.twitch.tv/stridstiss/b/440151970
 
mission.sqm

Code:
class Item99
                {
                    position[]={-18725.248,379.55328,25889.797};
                    azimut=-17.0839;
                    id=95;
                    side="WEST";
                    vehicle="Survivor1_DZ";
                    player="PLAY CDG";
                    skill=0.60000002;
                    init="this enableSimulation false;this allowDammage false;this disableAI 'FSM';this disableAI 'ANIM';this disableAI 'MOVE';";
                };
            };
        };
        class Item1
        {
            side="LOGIC";
            class Vehicles
            {
                items=1;
                class Item0
                {
                    position[]={708.96582,35.858719,3533.1272};
                    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""";
                };
            };
        };
    };
    class Markers

fog.sqs

Code:
_Center = _this select 0
_dist1=_this select 1
_dist2= _this select 2
 
_height=-0.3
_Rradius=250
#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"

I am trying to get fog across the whole map. I've been messing with it for a few hours and skimming threw this post still no luck, any help would be nice.
 
Oh wow. I just took a picture of the fog and edited it a bit. This could be a wallpaper haha.

a8d6a0e8-904b-4834-a9b7-83c4b7c62ad1.jpg

I have in fact stolen this for my server loading screen, hope you don't mind :p
 
Does anyone with Overwatch 0.2.5 have this working? I did a search for "fog" in DayZ Commander and Overwatch servers and no one has it listed.

I can't get it working.
 
I think I know the problem and will confirm later when my server's time is during the time the script will run, BUT I think it is my Blur AH because that was causing two other scripts not to work. Blur is working on the fix.
 
Hey guys, I'm new to scripting and I've managed to implement this on a local server but for some reason as soon as it goes "Live" the fog doesn't spawn. Any ideas or pointers would be much appreciated! Where should I be looking?
 
Hey guys, I'm new to scripting and I've managed to implement this on a local server but for some reason as soon as it goes "Live" the fog doesn't spawn. Any ideas or pointers would be much appreciated! Where should I be looking?
Make sure you edit the number correctly in the mission.sqm and if you use the night only make sure your server goes to night. But it seems that you might be missing the mission portion as long as you haven't really changed anything over.
 
im working on dayz CC 1.8.3 server.

I wanted to spawn fog all over the map

from 19:00 till 7:00

fog NEVER appaers ..

my mission.sqm

by default looks like this :
Code:
#include "\z\addons\dayz_code\system\mission\mission.sqm"

if someone of you got this script working on 1.8.3 chernarus please send me your files
 
Cheers andrew for replying. Is it possible to be slightly more specific about what I haven't done correctly?
Code:
    };
    class Groups
    {
        items=9;
        class Item0
        {

Code:
class Item1
        {
            side="LOGIC";
            class Vehicles
            {
                items=1;
                class Item0
                {
                    position[]={8810.7705,138.52499,11751.518};
                    id=50;
                    side="LOGIC";
                    vehicle="FunctionsManager";
                    leader=1;
                    lock="UNLOCKED";
                    skill=0.60000002;
                };
            };
        };
        class Item2
        {
            side="LOGIC";
            class Vehicles
            {
                items=1;
                class Item0
                {
                    position[]={8246.3184,9,15485.867};
                    id=1;
                    side="LOGIC";
                    vehicle="Logic";
                    leader=1;
                    skill=0.60000002;
                    init="[this,20000,20000, 19, 7] exec ""fog.sqs""";
                };
            };
        };
        class Item3
        {
            side="LOGIC";
            class Vehicles
            {
                items=1;
                class Item0
                {
                    position[]={15506.952,5.7515168,13229.368};
                    id=2;
                    side="LOGIC";
                    vehicle="Logic";
                    leader=1;
                    skill=0.60000002;
                    init="[this,20000,20000, 19, 7] exec ""fog.sqs""";
                };
            };
        };
        class Item4
        {
            side="LOGIC";
            class Vehicles
            {
                items=1;
                class Item0
                {
                    position[]={12399.751,5.7515168,5074.5273};
                    id=3;
                    side="LOGIC";
                    vehicle="Logic";
                    leader=1;
                    skill=0.60000002;
                    init="[this,20000,20000, 19, 7] exec ""fog.sqs""";
                };
            };
        };
        class Item5
        {
            side="LOGIC";
            class Vehicles
            {
                items=1;
                class Item0
                {
                    position[]={10398.626,5.7515168,8279.4619};
                    id=4;
                    side="LOGIC";
                    vehicle="Logic";
                    leader=1;
                    skill=0.60000002;
                    init="[this,20000,20000, 19, 7] exec ""fog.sqs""";
                };
            };
        };
        class Item6
        {
            side="LOGIC";
            class Vehicles
            {
                items=1;
                class Item0
                {
                    position[]={5149.9814,5.7515168,4864.1191};
                    id=5;
                    side="LOGIC";
                    vehicle="Logic";
                    leader=1;
                    skill=0.60000002;
                    init="[this,20000,20000, 19, 7] exec ""fog.sqs""";
                };
            };
        };
        class Item7
        {
            side="LOGIC";
            class Vehicles
            {
                items=1;
                class Item0
                {
                    //test spawn on my char
                    position[]={18444.3,5773.45,8.08704};
                    id=6;
                    side="LOGIC";
                    vehicle="Logic";
                    leader=1;
                    skill=0.60000002;
                    init="[this,20000,20000, 19, 7] exec ""fog.sqs""";
                };
            };
        };
        class Item8
        {
            side="LOGIC";
            class Vehicles
            {
                items=1;
                class Item0
                {
                    position[]={2122.7954,5773.45,7807.9878};
                    id=7;
                    side="LOGIC";
                    vehicle="Logic";
                    leader=1;
                    skill=0.60000002;
                    init="[this,20000,20000, 19, 7] exec ""fog.sqs""";
                };
            };
        };

Code:
_Center = _this select 0
_dist1=_this select 1
_dist2= _this select 2

?(count _this > 3):_endNight=_this select 3;_startNight=_this select 4; goto "nighttest"
?(count _this == 3):goto "bigloop"

#nighttest
_hours = Date select 3
?((_hours>=_endNight) && (_hours<_startNight)): goto "waittoactivate"

#bigloop
@(Player distance _Center)<_dist2
_i=0
#loop
_height=-0.3
_Rradius=180
_Cloudalpha=1
?((Player distance _Center)>_dist1):_Cloudalpha= 1-(((Player distance _Center) - _dist1)/(_dist2- _dist1))
_radius=(random 10)+random _Rradius
_angle=(random 360)
_size = 20
_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
?(count _this == 3): goto "bigloop"
goto "nighttest"



#waittoactivate
~300
goto "[B][COLOR=#ff0000]nighttest[/COLOR][/B]"
 
Back
Top