Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe

Recommended Posts

Пока зима в самом разгаре, думаю, этот скрипт будет актуален. Как это выглядит:

 

Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.

 

Скорость, прозрачность, размер частиц, все регулируется на ваше усмотрение. Если поставить еще снежок, то будет самое то.

 

Установка:

 

  1. Создать файл snowstorm.sqf
  2. Вписать в него:
    snow_storm = {
        setwind [0.201112,0.204166,true];
    	while {true} do {
    		_ran = ceil random 2;
    		playsound format ["wind_%1",_ran];
    		_pos = position player;
    		setwind [0.201112*2,0.204166*2,false];
    		_velocity = [random 10,random 10,-1];
    		_color = [1,1,1];
    		_alpha = 0.3 + random 0.5;
    		_ps = "#particlesource" createVehicleLocal _pos;  
    		_ps setParticleParams [["\Ca\Data\ParticleEffects\Universal\Universal.p3d",16,14,8],"","Billboard",1,5,[0,0,-6],_velocity,1,1.275,1,0,[10],[_color + [0],_color + [_alpha],_color + [0]],[1000],1,0,"","",_pos];
    		_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);
    		_delay = 1 + random 5;
    		sleep _delay;
    		deletevehicle _ps
    	}
    };
    
    breath = {
    
    _un = player;
    while {alive _un} do {
    	sleep (2 + random 2);
    	_pos1 = _un selectionposition "neck";
    	_fog = "#particlesource" createVehicleLocal getpos _un;
    	_fog setParticleParams [["\Ca\Data\ParticleEffects\Universal\Universal",16,12,13,0],"","Billboard",.5,.5,[_pos1 select 0,(_pos1 select 1)+0.15,_pos1 select 2],[0,.2,.4],1,1.275,1,.2,[0,.2,0],[[1,1,1,.01],[1,1,1,.01],[1,1,1,0]],[1000],1,.04,"","",_un];
    	_fog setParticleRandom [2,[0,0,0],[.25,.25,.25],0,.5,[0,0,0,.1],0,0,10];
    	_fog setDropInterval .001;
    	sleep .5;
    	deletevehicle _fog
    }
    };
    [player] spawn snow_storm
    [player] spawn breath
    
    
  3. Открыть init.sqf, найти строчку

     

    if (!isDedicated) then {
     
  4. Вписать ниже:

    [] execVM "scripts\snow\snowstorm.sqf";
    
    
    

(Опционально) Фильтр для более холодных оттенков.

  1. Создать файл effects.sqf
  2. Вписать в него:
    _hndl = ppEffectCreate ["colorCorrections", 1501];
    _hndl ppEffectEnable true;
    _hndl ppEffectAdjust [1,3,.01,[0,0,0,0],[.4,.6,1.4,.92],[0,0,20,1]];
    _hndl ppEffectCommit 0;
    
    
    
  3. Следуя пункту 3 гайда выше, вписать:

    execVM "scripts\snow\effects.sqf";
    
    

 

От себя скажу, что это создается на клиентах, а у меня лично фпс не сильно понизился, даже вообще не понижался.

 

Share this post


Link to post
Share on other sites



а с фпс как будет?

От себя скажу, что это создается на клиентах, а у меня лично фпс не сильно понизился, даже вообще не понижался.

Share this post


Link to post
Share on other sites

а что это всегда метель будет идти?? или заместо дождя? или как?

Share this post


Link to post
Share on other sites

а что это всегда метель будет идти?? или заместо дождя? или как?

всегда. Дождь удаляется в DynamicWeatherEffects

Share this post


Link to post
Share on other sites

Постоянно такой белый туман везде?

P.S. Видел скрипт где дикий туман + снег. Занижал фпс и видимость на 50м всего. Про чистку миссий молчу)

Share this post


Link to post
Share on other sites

Постоянно такой белый туман везде?

 

P.S. Видел скрипт где дикий туман + снег. Занижал фпс и видимость на 50м всего. Про чистку миссий молчу)

Ты что, пытаешься репу набить на сообщениях? Все сайт забит твоими глупыми вопросами...

Share this post


Link to post
Share on other sites

Лично у меня просадки не было. Так что ИМХО, но фпс не сажает

Share this post


Link to post
Share on other sites

Лично у меня просадки не было. Так что ИМХО, но фпс не сажает

Сажает. Сильно. Я как то давно ставил себе, так народ аж замурчал в ВК)))

Share this post


Link to post
Share on other sites

А не проще поставить карту @chernarus_winter???
Там дождь заменён на снег...

Profit!

Share this post


Link to post
Share on other sites

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

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.