• 0
[D.M.O.K] Gabibbo

Change Weather Condition

Question

Hi Everyone,

Is there a way to change weather condition? I mean, it rains a lot and it cause a remarkable drop of fps.  How is possible to reduce it?

Thanks,

Gianluca

DMOK Clan

Edited by [D.M.O.K] Gabibbo
1 person likes this

Share this post


Link to post
Share on other sites

1 answer to this question

  • 2

Have a look at exile_server_config.pbo / config / CfgSettings / Weather. Unfortunately, the "pack as a .pbo" process removed our comments there. They will survive this process in the next build. Have a look at this:#

class Weather
{
	/*
		You can define multiple "keyframes" for the weather to change. The server will pick
		a keyframe randomly to simulate the weather. It will change the weather-keyframes
		based on the following interval (minutes)
	*/
	interval = 30;

	/*
		Add the keyframes here. The server will pick one random, so if you want one 
		weather type of be more dominant compared to others, add it multiple times
	*/
	keyframes[] = {"Sunny", "Cloudy", "Thunderstorm"}; 

	/*
		This is a keyframe. Look up the BIKI to get more details about the parameters

		Be sure to design the fog settings at a view distance of 1,600m as this is the
		limit in multiplayer by default

		https://community.bistudio.com/wiki/fogParams
		https://community.bistudio.com/wiki/overcast
		https://community.bistudio.com/wiki/setWaves
		https://community.bistudio.com/wiki/setWindStr
		https://community.bistudio.com/wiki/setGusts
		https://community.bistudio.com/wiki/setRain
		https://community.bistudio.com/wiki/setLightnings
		https://community.bistudio.com/wiki/setRainbow
	*/
	class Sunny
	{
		fogValue = 0.1;
		fogDecay = 0.2;
		fogBase = 5;
		overcast = 0.2;
		waves = 0.2;
		wind = 0.3;
		gusts = 0.3;
		rain = 0;
		lightnings = 0;
		rainbows = 0;
	};

	class Cloudy
	{
		fogValue = 0.2;
		fogDecay = 0.1;
		fogBase = 5;
		overcast = 0.4;
		waves = 0.4;
		wind = 0.7;
		gusts = 0.6;
		rain = 0.1;
		lightnings = 0.1;
		rainbows = 1;
	};

	class Thunderstorm
	{
		fogValue = 0.7;
		fogDecay = 0.2;
		fogBase = 5;
		overcast = 1;
		waves = 1;
		wind = 1;
		gusts = 1;
		rain = 1;
		lightnings = 1;
		rainbows = 0.5;
	};
};

You may want to remove "Thunderstorm" from your weather keyframes completely :)

1 person likes this

Share this post


Link to post
Share on other sites
Advertisement

  • Recently Browsing   0 members

    No registered users viewing this page.