Arma 3
Setting the time and weather in MP?
So i made a mission ages ago and had 2 laptops. One used 4 addactions, to execute 4 scripts. Each little one line script used the "setdate" thingy to swap the time. Another laptop used 3 addaction and the scripts used "setrain". With these two lappys i could taylor the time and weather just how i wanted bofroe leaving base and going to one of my objectives.

Now iv just started back on the game and am in the editor, i had to read up on which commands i had used to do it as i started to remake it. But i read that niether of these commands will work in MP, so only i would see the change.

Anyone know how i do a similar setup with the 2 lappy and have it work in MP?
Last edited by Karmaterrorᵁᴷ; May 12, 2016 @ 7:45am
< >
Showing 1-3 of 3 comments
Karmaterrorᵁᴷ May 12, 2016 @ 8:19am 
Apparently setdate is now global in severs so thats one issue solved :)
RunForRest May 12, 2016 @ 3:06pm 
Regarding weather - weather was always a feature in DAC (Dynamic AI Creator), afaik Silola (author of DAC) has given up trying to implement the weather feature for DAC for ArmA3.
If a genius like Silola is giving up on that...
Karmaterrorᵁᴷ May 13, 2016 @ 5:36am 
Little update both setdate and setrain seem to work just fine in lan multiplayer. So changing the weather is easy its just

>have laptop/flagploe(whatever) and in init
this addaction ["rain""rain.sqf"];

>Then in "rain.sqf" have
0 SetOvercast 1; 0 SetRain 1; 0 SetLightnings 1; 0 SetFog 0.7; 0 SetWaves 1; skiptime 24;

The skiptime 24 is because the overcast setting takes a while to change, that makes it instant but keeps the time of day you had. You can make a few options on the item, i have rain, overcast and clear . Just change the numbers from 0-1 values for different settings.

Time is the same

Add the action called Night
Then have this in the "Night.sqf"
setDate [2016, 6, 6, 0, 0];

The numbers are year,month,day,hour,min. I have 4 options on the lappy for night,dusk,dawn and noon. After testing last night with a friend he saw all the weather and time changes :D
Last edited by Karmaterrorᵁᴷ; May 13, 2016 @ 5:40am
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: May 12, 2016 @ 7:45am
Posts: 3