Adding snowfall

This can be adjusted in the configvariables. Snow will only be loaded if DZE_SnowFall is true. This is the case for all snow maps by default.
This commit is contained in:
A Man
2019-12-16 15:19:29 +01:00
parent cc127c646b
commit fff1196ee3
20 changed files with 266 additions and 186 deletions

View File

@@ -107,7 +107,12 @@ initialized = true;
setTerrainGrid 25;
if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";};
execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf";
if !(DZE_SnowFall) then {
execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf";
} else {
execVM "\z\addons\dayz_code\system\DynamicWeatherEffectsSnow.sqf";
};
if (isServer) then {
if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";};