corking Posted December 23, 2013 Report Share Posted December 23, 2013 im trying to find to add snow on my server for x-mas does anyone have a decvent script? i already found the snowstorm thing but i dont want that im more aiming for http://www.youtube.com/watch?v=jWynA4v7TuI Link to comment Share on other sites More sharing options...
0 Radec59437 Posted December 23, 2013 Report Share Posted December 23, 2013 opendayz.net is offline at the moment, but I got snow on my server by using this tutorial:http://opendayz.net/threads/tutorial-snow-added-to-dynamic-weather.15294/ Link to comment Share on other sites More sharing options...
0 PetuniaEpoch Posted December 24, 2013 Report Share Posted December 24, 2013 Hey - this won't put snow on the ground, but DOES make it snow :Dput this in a file called 'snow.sqf' - then in your mission file init.sqf use: [] execVM "snow.sqf";Of course you can put it in a folder if you like.CREDITS: Thread on Opendayz - can't remember which one - but creds are in the comment in the code in the 'spoiler' :)Hope you like it! We're running it on our server and I love it :D//Snow Storm//Modified by Audio Rejectz, all credits go to original creators JW - Snow script / BI - Wind & Dust particles"filmGrain" ppEffectEnable true;"filmGrain" ppEffectAdjust [0.02, 1, 1, 0.1, 1, false];"filmGrain" ppEffectCommit 5;setviewdistance 900;bis_fog = 0.8;setviewdistance 900;0 setovercast 0.8;0 setrain 1;//0 setfog 0.8;0 setfog bis_fog;[] spawn {_delay = 3;sleep 0.01;while {true} do {_delay setovercast 0.9;_delay setrain 1;_delay setfog bis_fog;sleep _delay ;};};//--- Wind & Dust[] spawn {waituntil {isplayer player};setwind [0.201112,0.204166,true];while {true} do {_ran = ceil random 2;// playsound format ["wind_%1",_ran];_obj = vehicle player;_pos = position _obj;//--- Dustsetwind [0.201112*2,0.204166*2,false];_velocity = [random 10,random 10,-1];_color = [1.0, 0.9, 0.8];_alpha = 0.02 + random 0.02;_ps = "#particlesource" createVehicleLocal _pos;_ps setParticleParams [["\Ca\Data\ParticleEffects\Universal\universal.p3d", 16, 12, 8], "", "Billboard", 1, 3, [0, 0, -6], _velocity, 1, 1.275, 1, 0, [9], [_color + [0], _color + [_alpha], _color + [0]], [1000], 1, 0, "", "", _obj];_ps setParticleRandom [3, [30, 30, 0], [0, 0, 0], 1, 0, [0, 0, 0, 0.01], 0, 0];_ps setParticleCircle [0.1, [0, 0, 0]];_ps setDropInterval 0.01;sleep (random 1);deletevehicle _ps;_delay = 10 + random 20;sleep _delay;};};//Snow scriptsetWind [0, -5, true];_obj = player;_pos = position (vehicle _obj);_d = 15;_h = 12;_h1 = 8;_h2 = 4;_density = 20000;_fog1 = "#particlesource" createVehicleLocal _pos;_fog1 setParticleParams [["\Ca\Data\ParticleEffects\Universal\universal.p3d" , 16, 12, 13, 0], "", "Billboard", 1, 10,[0, 0, -6], [0, 0, 0], 1, 1.275, 1, 0,[7,6], [[1, 1, 1, 0], [1, 1, 1, 0.04], [1, 1, 1, 0]], [1000], 1, 0, "", "", _obj];_fog1 setParticleRandom [3, [55, 55, 0.2], [0, 0, -0.1], 2, 0.45, [0, 0, 0, 0.1], 0, 0];_fog1 setParticleCircle [0.001, [0, 0, -0.12]];_fog1 setDropInterval 0.01;_fog2 = "#particlesource" createVehicleLocal _pos;_fog2 setParticleParams [["\Ca\Data\ParticleEffects\Universal\universal.p3d" , 16, 12, 13, 0], "", "Billboard", 1, 10,[0, 0, -6], [0, 0, 0], 1, 1.275, 1, 0,[7,6], [[1, 1, 1, 0], [1, 1, 1, 0.04], [1, 1, 1, 0]], [1000], 1, 0, "", "", _obj];_fog2 setParticleRandom [3, [55, 55, 0.2], [0, 0, -0.1], 2, 0.45, [0, 0, 0, 0.1], 0, 0];_fog2 setParticleCircle [0.001, [0, 0, -0.12]];_fog2 setDropInterval 0.01;_fog3 = "#particlesource" createVehicleLocal _pos;_fog3 setParticleParams [["\Ca\Data\ParticleEffects\Universal\universal.p3d" , 16, 12, 13, 0], "", "Billboard", 1, 10,[0, 0, -6], [0, 0, 0], 1, 1.275, 1, 0,[7,6], [[1, 1, 1, 0], [1, 1, 1, 0.04], [1, 1, 1, 0]], [1000], 1, 0, "", "", _obj];_fog3 setParticleRandom [3, [55, 55, 0.2], [0, 0, -0.1], 2, 0.45, [0, 0, 0, 0.1], 0, 0];_fog3 setParticleCircle [0.001, [0, 0, -0.12]];_fog3 setDropInterval 0.01;while {true} do{_a = 0;while { _a < _density } do{_pos = position player;_fog1 setpos _pos;_fog2 setpos _pos;_fog3 setpos _pos;0 setRain 0;_dpos = [((_pos select 0) + (_d - (random (2*_d))) + ((velocity vehicle player select 0)*1)),((_pos select 1) + (_d - (random (2*_d))) + ((velocity vehicle player select 0)*1)),((_pos select 2) + _h)];drop ["\ca\data\cl_water", "", "Billboard", 1, 7, _dpos, [0,0,-1], 1, 0.0000001, 0.000, 0.7, [0.07], [[1,1,1,0], [1,1,1,1], [1,1,1,1], [1,1,1,1]], [0,0], 0.2, 1.2, "", "", ""]; _a = _a + 1;_dpos = [((_pos select 0) + (_d - (random (2*_d))) + ((velocity vehicle player select 0)*1)),((_pos select 1) + (_d - (random (2*_d))) + ((velocity vehicle player select 0)*1)),((_pos select 2) + _h1)];drop ["\ca\data\cl_water", "", "Billboard", 1, 7, _dpos, [0,0,-1], 1, 0.0000001, 0.000, 0.7, [0.07], [[1,1,1,0], [1,1,1,1], [1,1,1,1], [1,1,1,1]], [0,0], 0.2, 1.2, "", "", ""];_dpos = [((_pos select 0) + (_d - (random (2*_d))) + ((velocity vehicle player select 0)*1)),((_pos select 1) + (_d - (random (2*_d))) + ((velocity vehicle player select 0)*1)),((_pos select 2) + _h2)];drop ["\ca\data\cl_water", "", "Billboard", 1, 7, _dpos, [0,0,-1], 1, 0.0000001, 0.000, 0.7, [0.07], [[1,1,1,0], [1,1,1,1], [1,1,1,1], [1,1,1,1]], [0,0], 0.2, 1.2, "", "", ""];};sleep 0.2;};im trying to find to add snow on my server for x-mas does anyone have a decvent script?i already found the snowstorm thing but i dont want that im more aiming for http://www.youtube.com/watch?v=jWynA4v7TuI Link to comment Share on other sites More sharing options...
0 PetuniaEpoch Posted December 24, 2013 Report Share Posted December 24, 2013 Let me know if it works for ya ;) Link to comment Share on other sites More sharing options...
0 wokkelwakker Posted December 25, 2013 Report Share Posted December 25, 2013 That script works for me. I'm also interested in adding snow to the ground, otherwise the falling snow seems too much out of place for me. Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted December 25, 2013 Report Share Posted December 25, 2013 Hey - this won't put snow on the ground, but DOES make it snow :D put this in a file called 'snow.sqf' - then in your mission file init.sqf use: [] execVM "snow.sqf"; Of course you can put it in a folder if you like. The problem with that, is that it's client side so while it may be snowing for one player, it may not be for another, or the snow might be heavy and light for another. For it to be truely effective, it should be server side. Link to comment Share on other sites More sharing options...
0 Randomness Posted December 26, 2013 Report Share Posted December 26, 2013 There is someone on this forum who already did a randomized server sided snow storm script (I just cant find it (because im not looking))) Link to comment Share on other sites More sharing options...
Question
corking
im trying to find to add snow on my server for x-mas does anyone have a decvent script?
i already found the snowstorm thing but i dont want that
im more aiming for
http://www.youtube.com/watch?v=jWynA4v7TuI
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now