Ground Fog - Guide

Nice one. 24/7 is a tad overkill imo.

So to confirm, would code below give me all over fog between 8-20?

};
class Item1
{
side="LOGIC";
class Vehicles
{
items=1;
class Item0
{
position[]={6732.3652,301.50659,7825.8496};
placement=12000;
id=188;
side="LOGIC";
vehicle="Logic";
leader=1;
skill=0.60000002;
init="[this,12000,12000,8,20] exec ""fogs.sqs""";
};
};

yes if u have Servertime on [GMT+2] or whatever in your servername....
 


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 was wondering if anyone could help me every time i add one of them items to make the fog spawn my mission file gives me and error about a whole different line which is actually the very bottom telling me something is not there when it is anyone have any ideas? i edit files with notepad++
 
pls be so kind and post the error log from your RPT and/or the part of the mission file.

ok new update got past the error thing in the mission file found out what i was doing wrong there. but a little more advise if you can please it now executing server side (i think) but not showing up in game do i need to have files my computer side as well to be able to see it? as when i disconnect from server i get a pop up saying scrips\fog.sqs not found


EDIT: sorry it just says scripts fog.sqs not found
 
Try, using this
Code:
init="[this,12000,12000,8,20]exec ""fogs.sqs"";";

if it doesnt work for u try using this

Code:
        {
            side="LOGIC";
            class Vehicles
            {
                items=1;
                class Item0
                {
                    position[]={6742.6514,300.82608,7825.8774};
                    id=187;
                    side="LOGIC";
                    vehicle="Logic";
                    leader=1;
                    skill=0.60000002;
                    init="[this,12000,12000,8,20]exec ""fogs.sqs""";
                };
            };
        };
dont forget to adjust "class ItemX"
 
nope not working at all mate and nothing is showing up in the RPT file either for it not to. i will send you my mission file and the fog.sqs but fog in .sqf seen as cant upload sqs files could you have a look for me please and see if you can see anything

EDIT: ok dont no how to upload files on here so im screwed
 
well, i get the same message but just after i quite the game and my fog still works fine but i will have alook. Do you use my fogs.sqs or from Page 1 ?
 
confirmed the file from page 1 works but it the night fog does not for me anyway used the snippet and instructions from bottom of first page and get nothing
 
do i need to set server time to +2? i have read that somewhere in here but no it does not show up in commander what time it is i will need to figure that one out will let you know once its done if it works or not cheers
 
Either your instructions are wrong or the code doesn't work because I've followed the EXACT steps and whenever I try and join my server is says Cannot load mission
 
Back
Top