Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I am not sure about that, look at the changes deezit made to the fog.sqs and you might be able to use that code in your effectsIs a time set possible for other weather effects such as the snow effect? or the colour corrections? - Can the snow exist in only one part of the map if desired?
To find arma coords I placed a bunch of characters where i wanted fog to be placed in the editor in arma 2 OA then open with notepad ++ in documents/arma2 other profiles/ingamename/missions then what you saved it as
No they should be more still and it should be like the picture I posted, try changing the data values around in fog.sqs like size of fog etc, so far we have been seeing problems on non cherno dayz so I would try editing the size and radius that you can see in fog.sqs posted above
Modification for night only ground fogs :
your fogs.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 = 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 ?(count _this == 3): goto "bigloop" goto "nighttest" #waittoactivate ~300 goto "[B][COLOR=#ff0000]nighttest[/COLOR][/B]"
mission.sqm for fogs ONLY FROM 7pm to 7am :
Code:init="[this, 10000, 10000, 7, 19] exec ""fogs.sqs""";
mission.sqm for fogs ALL THE TIME :
Code:init="[this, 10000, 10000] exec ""fogs.sqs""";
If you have set the hours for the night, it will recheck each 5 minutes (line 35)
I also have modified the radius on my server, set to 180, looks better for me. Hope it helps !
Result : http://imgur.com/a/PcONs
EDIT: last line its not : goto "bigloop" but goto "nighttest"
I'm okay, tell me if u have problemsI added what you guys said and credited you guys in the main post if thats alright with you, just to help people out![]()
I've gotten this to work.
Question now is how to make the fog look nice and dense and not like smoke grenades all over?
_height=-0.5
_Rradius=0
_size = 5
You ain't gonna find one, since the fog in this script is static, also wind and elevation doesn't affect it.If anyone finds the best looking setup, something that looks eerie, post it! - Been fiddling with this a bit with mediocre results.
Works a treat on Reality DayZ 1.7.6.1.
I can't find a tool to give co ordinates taken from the database ie [292,[4399.66,10395.1,0.001]] and convert them into the co ordinates used here, but it works as described here.
Many thanks.