Jump to content

Removal of the Rain


Codemanx

Recommended Posts

I have been fooling around with the DynamicWeatherEffects.sqf, inside this you can toggle forecasts and what not. Though it does not seem to want to work.

_maxTimeBetweenWeatherChangesMin = 180;

// Fog intensity never falls below this value. Must be between 0 and 1 and less than or equal to _maximumFog
// (0 = no fog, 1 = pea soup). (Suggested value: 0).
_minimumFog = 0;

// Fog intensity never exceeds this value. Must be between 0 and 1 and greater than or equal to _minimumFog
// (0 = no fog, 1 = pea soup). (Suggested value: 0.8).
_maximumFog = 0;

// Overcast intensity never falls below this value. Must be between 0 and 1 and less than or equal to _maximumOvercast
// (0 = no overcast, 1 = maximum overcast). (Suggested value: 0).
_minimumOvercast = 0;

// Overcast intensity never exceeds this value. Must be between 0 and 1 and greater than or equal to _minimumOvercast
// (0 = no overcast, 1 = maximum overcast). (Suggested value: 1).
_maximumOvercast = 0;

// When raining, rain intensity never falls below this value. Must be between 0 and 1 and less than or equal to _maximumRain
// (0 = no rain, 1 = maximum rain intensity). (Suggested value: 0);
_minimumRain = 0;

// When raining, rain intensity never exceeds this value. Must be between 0 and 1 and greater than or equal to _minimumRain
// (0 = no rain, 1 = maximum rain intensity). (Suggested value: 0.8);
_maximumRain = 0;

This is the settings of the one I got, I set it all to 0 as you can see but it still does not work.

I then thought of changing the variables.sqf and namely this line:

	// weather control var
	zeroPreviousWeather = [0,0,[0,0],0];
	zeroCurrentWeather = [0,0,[0,0],0];

But I honestly don't know what the settings do so I've not touched it. I will try changing one of the values to a radical later to see if something happens. 
I've yet to test this on my server, I'll report back if it works.

All these files were not included it seems, so I've downloaded them manually from the DayZ Epoch github. I then execVM'd them in the init.sqf file. 

 

The HiveExt.ini file is said to host a few kinds of different settings but we can't access them.
I also use Dayz.st. 

 

Regards

Defent

Link to comment
Share on other sites

Place this .sqf in your mission.pbo

 

http://pastebin.com/HkMgwd6h

 

Aswell as this compiles.sqf

 

http://pastebin.com/YvZnVBUn

 

then change the line:

call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";	

In init.sqf too

call compile preprocessFileLineNumbers "compiles.sqf";

This will disable rain and fog, to maximize fps, weather will stay constantly Sunny (also has a sort of full moon effect at night)

Link to comment
Share on other sites

Place this .sqf in your mission.pbo

 

http://pastebin.com/HkMgwd6h

 

Aswell as this compiles.sqf

 

http://pastebin.com/YvZnVBUn

 

then change the line:

call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";	

In init.sqf too

call compile preprocessFileLineNumbers "compiles.sqf";

This will disable rain and fog, to maximize fps, weather will stay constantly Sunny (also has a sort of full moon effect at night)

thankz for that

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...

Place this .sqf in your mission.pbo

 

http://pastebin.com/HkMgwd6h

 

Aswell as this compiles.sqf

 

http://pastebin.com/YvZnVBUn

 

then change the line:

call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";	

In init.sqf too

call compile preprocessFileLineNumbers "compiles.sqf";

This will disable rain and fog, to maximize fps, weather will stay constantly Sunny (also has a sort of full moon effect at night)

So that I can use my current compiles, was this the only change to compiles ??

at the verry bottom

  1.         //Start Dynamic Weather
  2.         execVM "DynamicWeatherEffects.sqf";
  3.         initialized = true;
Link to comment
Share on other sites

  • 4 months later...

I am with Survival Servers and it is already always sunny. But...I miss the rain and would actually like the server to provide varied weather (sun, rain, fog) throughout the session. Is that possible?

Link to comment
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
  • Advertisement
  • Discord

×
×
  • Create New...