ZmeI

Снег на сервере

7 posts in this topic

Помогите настроить снег на сервере, поставил снег а он не идет, как будто на сервере принудительно работает другая погода.

Вот скрипт если что.

 

// be sure dependencies have been processed
if (isNil "zbot") then {[] execVM "scripts\zima\dep.sqf";};
waitUntil {sleep 1;!(isNil "objEmitterHost")};

// set effects
skipTime -24;
86400 setOvercast 0.75;
skipTime 24;
0 = [] spawn {
		sleep 0.1;
		simulWeatherSync;
		0 setRain 0;
	};



nul = player addEventHandler ["Respawn",{if !(isNil "objEmitterHost") then {objEmitterHost attachTo [player,[0,0,0]];};}];

snow_heavy = "#particleSource" createVehicleLocal (position objEmitterHost);
snow_heavy setParticleParams [["a3\data_f\ParticleEffects\Universal\Universal",16,13,6,0],"","Billboard",1,8,[0,30,8],[0,0,0],(0),1.59,1,1.5,[3],[[1,1,1,.15],[1,1,1,0.25]],[1000],0, 0,"","",objEmitterHost];
snow_heavy setParticleCircle [0,[0,0,0]];
snow_heavy setParticleRandom [0, [30,0, 8], [0, 0, 0], 0, .5, [0,0,0,0.03], 0, 0];
snow_heavy setDropInterval 0.001;

snow_heavy2 = "#particleSource" createVehicleLocal (position objEmitterHost);
snow_heavy2 setParticleParams [["a3\data_f\ParticleEffects\Universal\Universal",16,13,6,0],"","Billboard",1,5,[0,15,8],[0,0,0],(0),1.59,1,1.5,[3],[[1,1,1,.15],[1,1,1,0.15]],[1000],0, 0,"","",objEmitterHost];
snow_heavy2 setParticleCircle [0,[0,0,0]];
snow_heavy2 setParticleRandom [0, [15,0,8], [0, 0, 0], 0, .5, [0,0,0,0.03], 0, 0];
snow_heavy2 setDropInterval 0.001;

snow_heavy3 = "#particleSource" createVehicleLocal (position objEmitterHost);
snow_heavy3 setParticleParams [["a3\data_f\ParticleEffects\Universal\Universal",16,13,6,0],"","Billboard",1,5,[0,-5,6],[0,0,0],(0),1.59,1,1.5,[3],[[1,1,1,0],[1,1,1,0.15]],[1000],0, 0,"","",objEmitterHost];
snow_heavy3 setParticleCircle [0,[0,0,0]];
snow_heavy3 setParticleRandom [0, [15,0, 6], [0, 0, 0], 0, .5, [0,0,0,0.03], 0, 0];
snow_heavy3 setDropInterval 0.002;

snow_heavy4 = "#particleSource" createVehicleLocal (position objEmitterHost);
snow_heavy4 setParticleParams [["a3\data_f\ParticleEffects\Universal\Universal",16,13,6,0],"","Billboard",1,5,[15,0,6],[0,0,0],(0),1.59,1,1.5,[3],[[1,1,1,0],[1,1,1,0.25]],[1000],0, 0,"","",objEmitterHost];
snow_heavy4 setParticleCircle [0,[0,0,0]];
snow_heavy4 setParticleRandom [0, [15,15, 4], [0, 0, 0], 0, .5, [0,0,0,0.03], 0, 0];
snow_heavy4 setDropInterval 0.003;

snow_heavy5 = "#particleSource" createVehicleLocal (position objEmitterHost);
snow_heavy5 setParticleParams [["a3\data_f\ParticleEffects\Universal\Universal",16,13,6,0],"","Billboard",1,5,[-15,0,6],[0,0,0],(0),1.59,1,1.5,[3],[[1,1,1,0],[1,1,1,0.25]],[1000],0, 0,"","",objEmitterHost];
snow_heavy5 setParticleCircle [0,[0,0,0]];
snow_heavy5 setParticleRandom [0, [15,15, 4], [0, 0, 0], 0, .5, [0,0,0,0.03], 0, 0];
snow_heavy5 setDropInterval 0.003;

sleep 3;

// all prepared, fade in from black
titleText ["", "BLACK IN",2];

на Epoch mod  работает нормально этот скрипт.

Edited by ZmeI

Share this post


Link to post
Share on other sites
Advertisement

Установите Черно-зима , не мучайте себя и сервер )) 

У меня давно стоит эта карта, мне мало лежашего снега, хотелось бы что бы он еще и шел.

Share this post


Link to post
Share on other sites
On 18.11.2015 at 3:03 PM, AwolnationPK said:

А как миссия называться должна?

Exile.Chernarus_winter.pbo

Edited by ispan55

Share this post


Link to post
Share on other sites
5 часов назад, Змей сказал:

 

 

вот эффект снега и метель, я еще не успел испытать)) попробуйте потом скажете как по фпс

скачать

Edited by ispan55

Share this post


Link to post
Share on other sites
15 hours ago, ispan55 said:

 

вот эффект снега и метель, я еще не успел испытать)) попробуйте потом скажете как по фпс

скачать

Этот скрипт и пытаюсь поставить, вырезал только начало. Фпс нормально держит

Share this post


Link to post
Share on other sites
Advertisement

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 account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.