From 2855997c8638eb34ea4844e5e8612a738b651b53 Mon Sep 17 00:00:00 2001 From: ebayShopper Date: Wed, 10 Jan 2018 15:35:38 -0500 Subject: [PATCH] Disable POI fires when POIs are off Vanilla commit: https://github.com/DayZMod/DayZ/commit/ebad05fe5b32db900542d7c1c499d5a489fcebdc --- CHANGE LOG 1.0.6.3.txt | 5 +- SQF/dayz_code/init/variables.sqf | 11 +++- SQF/dayz_server/system/lit_fireplaces.sqf | 54 +++++++++++-------- SQF/dayz_server/system/server_monitor.sqf | 2 +- .../MPMissions/DayZ_Epoch_1.Takistan/init.sqf | 7 +-- .../DayZ_Epoch_10.Mountains_ACR/init.sqf | 7 +-- .../DayZ_Epoch_11.Chernarus/init.sqf | 8 +-- .../DayZ_Epoch_12.isladuala/init.sqf | 7 +-- .../MPMissions/DayZ_Epoch_13.Tavi/init.sqf | 7 +-- .../MPMissions/DayZ_Epoch_15.namalsk/init.sqf | 7 +-- .../DayZ_Epoch_16.Panthera2/init.sqf | 7 +-- .../DayZ_Epoch_17.Chernarus/init.sqf | 7 +-- .../DayZ_Epoch_19.FDF_Isle1_a/init.sqf | 7 +-- .../MPMissions/DayZ_Epoch_2.Utes/init.sqf | 7 +-- .../MPMissions/DayZ_Epoch_20.fapovo/init.sqf | 7 +-- .../MPMissions/DayZ_Epoch_21.Caribou/init.sqf | 7 +-- .../DayZ_Epoch_22.smd_sahrani_A2/init.sqf | 7 +-- .../DayZ_Epoch_23.cmr_ovaron/init.sqf | 7 +-- .../MPMissions/DayZ_Epoch_24.Napf/init.sqf | 7 +-- .../DayZ_Epoch_25.sauerland/init.sqf | 7 +-- .../DayZ_Epoch_26.sauerland_winter/init.sqf | 7 +-- .../MPMissions/DayZ_Epoch_27.ruegen/init.sqf | 4 +- .../DayZ_Epoch_3.Shapur_BAF/init.sqf | 7 +-- .../MPMissions/DayZ_Epoch_4.Zargabad/init.sqf | 7 +-- .../DayZ_Epoch_5.Bootcamp_ACR/init.sqf | 7 +-- .../MPMissions/DayZ_Epoch_7.Lingor/init.sqf | 7 +-- .../DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf | 7 +-- .../DayZ_Epoch_9.Woodland_ACR/init.sqf | 7 +-- 28 files changed, 142 insertions(+), 96 deletions(-) diff --git a/CHANGE LOG 1.0.6.3.txt b/CHANGE LOG 1.0.6.3.txt index 04ddc81e8..36be238d7 100644 --- a/CHANGE LOG 1.0.6.3.txt +++ b/CHANGE LOG 1.0.6.3.txt @@ -1,4 +1,7 @@ [FIXED] Some more occurrences of zero_building interiors misaligned or at the wrong terrain height (eaaedf2) [FIXED] Player could switch into gunner's seat of ArmoredSUV while the hatch was being closed #2009 @TheFirstNoob +[FIXED] POI fires were still spawning when POI was off and town generator was on -[UPDATED] Spawning of Zombies and Loot in Safe Zones can now be toggled, disabled by default, see configVariables.sqf/DZE_SafeZoneZombieLoot @oiad @_Lance_ \ No newline at end of file +[UPDATED] Spawning of Zombies and Loot in Safe Zones can now be toggled, disabled by default, see configVariables.sqf/DZE_SafeZoneZombieLoot @oiad @_Lance_ + +[INFO] Synced with DayZMod upstream up to commit ebad05f \ No newline at end of file diff --git a/SQF/dayz_code/init/variables.sqf b/SQF/dayz_code/init/variables.sqf index 78f39a6f2..5f0900a30 100644 --- a/SQF/dayz_code/init/variables.sqf +++ b/SQF/dayz_code/init/variables.sqf @@ -390,7 +390,7 @@ if(isNil "dayz_infectiouswaterholes") then { dayz_infectiouswaterholes = true; //Enable infected waterholes }; if(isNil "dayz_POIs") then { - dayz_POIs = true; //Enable POI's + dayz_POIs = true; //Enable POIs }; if(isNil "dayz_ForcefullmoonNights") then { dayz_ForcefullmoonNights = false; // Forces night time to be full moon. @@ -399,12 +399,19 @@ if(isNil "dayz_randomMaxFuelAmount") then { dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. }; if(isNil "dayz_townGenerator") then { - dayz_townGenerator = true; // Spawn map junk. Currently only compatible with Chernarus. Need to add coordinates for other maps. + dayz_townGenerator = true; // Spawn map junk }; if(isNil "dayz_townGeneratorBlackList") then { dayz_townGeneratorBlackList = []; // Town generator will not spawn junk within 150m of these positions. }; +if (toLower worldName != "chernarus") then { + //Currently only compatible with Chernarus + dayz_infectiousWaterholes = false; + dayz_POIs = false; + dayz_townGenerator = false; +}; + //Replace server individual settings with ranked settings if(isNil "dayz_presets") then { dayz_presets = "Vanilla"; }; diff --git a/SQF/dayz_server/system/lit_fireplaces.sqf b/SQF/dayz_server/system/lit_fireplaces.sqf index acbce413f..d193c7e1c 100644 --- a/SQF/dayz_server/system/lit_fireplaces.sqf +++ b/SQF/dayz_server/system/lit_fireplaces.sqf @@ -1,5 +1,35 @@ // (c) facoptere@gmail.com, licensed to DayZMod for the community -private ["_blocked","_flame","_position"]; +private ["_blocked","_fires","_flame","_position"]; + +_fires = []; + +if (dayz_townGenerator) then { + _fires = _fires + [ + [11911.8,9101.2,0.597935], [11983,9162.89,0.597931], [12013.1,9159.38,0.597931], [12197.2,9499.66,0.603302], [12210.8,9728.83,0.597929], + [12218.7,9752.14,0.597929], [12247,9746.97,0.597929], [12271.7,9719.5,0.597929], [12407.3,9549.83,0.599188], [4889.27,2234.81,0.272388], + [4892.66,2235.29,0.272345], [6043.67,7781.65,0.597931], [6177.52,2125.36,0.598278], [6291.18,7808.69,0.597961], [6317.3,7835.18,0.597961], + [6428.26,2244.95,0.59796], [6513.29,2298.32,0.597929], [6536.12,2639.35,0.597929], [6545.71,2630.16,0.597929], [6663.22,2286.33,0.597929], + [6706.46,3012.04,0.59866], [6725.35,2576.59,0.597929], [6754.5,2780.37,0.597929], [6760.03,2727.7,0.597929], [6789.35,2692.69,0.597929], + [6796.09,2726.09,0.597929], [6810.51,2499.86,0.597929], [6822.79,2482.01,0.597929], [6832.25,2500.24,0.597929], [6833.6,3176.97,0.59797], + [6835.19,2694.23,0.597929], [6856.71,2522.75,0.597929], [6864.41,2464.66,0.597929], [7065.12,2622.94,0.597929], [7095.99,2740.68,0.597929] + ]; +}; + +if (dayz_POIs) then { + _fires = _fires + [ + [11580.2,3391.72,-1.20629], [11604.4,3389.41,0.0161071], [11664.6,3415.82,-0.524297], [11678.4,3421.32,-0.526046], [11681.4,3409.25,0.028707], + [11700.9,3416.6,-0.433657], [11707.7,3431.61,0.597957], [11817.8,12693.7,-0.131821], [11844.7,12749.8,-0.109467], [11845.2,12747.7,-0.119843], + [11846.3,12751.1,-0.234741], [11862.3,12748.1,-0.31282], [11863,12748.5,-0.302368], [11863.9,12749.1,-0.279175], [12698.9,9523.05,0.039454], + [12700.7,9515.4,7.22985], [12701.1,9516.98,7.29042], [12704,9511.34,0.0394101], [12706.2,9510.56,0.0394883], [12706,9513.22,0.0393739], + [12707.3,9520.42,0.03929], [12707.4,9537.02,0.0394235], [12710.4,9548.67,9.79484], [12712.2,9544.37,9.98028], [12714.3,9535.06,-0.634063], + [12715.2,9539.4,0.039432], [12715.5,9536.36,0.0393863], [12718.4,9550.81,-0.633002], [12718.6,9550.53,0.0454731], [12721.6,9502.26,0.0394025], + [1689.3,11754.5,-0.640869], [1693.15,11750.4,0.0564575], [1698.03,11751.3,0.0558929], [1700.78,11733,0.0564728], [1704.94,11761.2,0.0585327], + [1705.92,11728.9,0.0565643], [1709.39,11727.4,0.0566864], [1713.98,11724.6,0.0566711], [1724.37,11729.1,0.054306], [1725.6,11729.7,0.0551147], + [1727.1,11727.7,0.0535278], [1727.33,11724.1,-0.64357], [1728.14,11729.9,-0.644043], [1729.12,11729.2,0.0558777], [1730.91,11729.7,-0.644058], + [1731.99,11728.5,0.0557709], [1746.26,11721.7,0.0542297], [1782.34,11754.6,0.598038] + ]; +}; + { _blocked = false; _position = _x; @@ -7,28 +37,10 @@ private ["_blocked","_flame","_position"]; if (!_blocked && (random 1 < 0.33)) then { _flame = "flamable_DZ" createVehicle [0,0,0]; //200x faster https://community.bistudio.com/wiki/Code_Optimisation#createVehicle.28Local.29 _flame setPosATL _x; - _flame inflame true; + _flame inflame true; _flame setVariable ["permaLoot",true]; // = won't be removed by the cleaner, cf. sched_lootpiles.sqf }; uiSleep 0.001; -} count [ - [11580.2,3391.72,-1.20629], [11604.4,3389.41,0.0161071], [11664.6,3415.82,-0.524297], [11678.4,3421.32,-0.526046], [11681.4,3409.25,0.028707], - [11700.9,3416.6,-0.433657], [11707.7,3431.61,0.597957], [11817.8,12693.7,-0.131821], [11844.7,12749.8,-0.109467], [11845.2,12747.7,-0.119843], - [11846.3,12751.1,-0.234741], [11862.3,12748.1,-0.31282], [11863,12748.5,-0.302368], [11863.9,12749.1,-0.279175], [11911.8,9101.2,0.597935], - [11983,9162.89,0.597931], [12013.1,9159.38,0.597931], [12197.2,9499.66,0.603302], [12210.8,9728.83,0.597929], [12218.7,9752.14,0.597929], - [12247,9746.97,0.597929], [12271.7,9719.5,0.597929], [12407.3,9549.83,0.599188], [12698.9,9523.05,0.039454], [12700.7,9515.4,7.22985], - [12701.1,9516.98,7.29042], [12704,9511.34,0.0394101], [12706.2,9510.56,0.0394883], [12706,9513.22,0.0393739], [12707.3,9520.42,0.03929], - [12707.4,9537.02,0.0394235], [12710.4,9548.67,9.79484], [12712.2,9544.37,9.98028], [12714.3,9535.06,-0.634063], [12715.2,9539.4,0.039432], - [12715.5,9536.36,0.0393863], [12718.4,9550.81,-0.633002], [12718.6,9550.53,0.0454731], [12721.6,9502.26,0.0394025], [1689.3,11754.5,-0.640869], - [1693.15,11750.4,0.0564575], [1698.03,11751.3,0.0558929], [1700.78,11733,0.0564728], [1704.94,11761.2,0.0585327], [1705.92,11728.9,0.0565643], - [1709.39,11727.4,0.0566864], [1713.98,11724.6,0.0566711], [1724.37,11729.1,0.054306], [1725.6,11729.7,0.0551147], [1727.1,11727.7,0.0535278], - [1727.33,11724.1,-0.64357], [1728.14,11729.9,-0.644043], [1729.12,11729.2,0.0558777], [1730.91,11729.7,-0.644058], [1731.99,11728.5,0.0557709], - [1746.26,11721.7,0.0542297], [1782.34,11754.6,0.598038], [4889.27,2234.81,0.272388], [4892.66,2235.29,0.272345], [6043.67,7781.65,0.597931], - [6177.52,2125.36,0.598278], [6291.18,7808.69,0.597961], [6317.3,7835.18,0.597961], [6428.26,2244.95,0.59796], [6513.29,2298.32,0.597929], - [6536.12,2639.35,0.597929], [6545.71,2630.16,0.597929], [6663.22,2286.33,0.597929], [6706.46,3012.04,0.59866], [6725.35,2576.59,0.597929], - [6754.5,2780.37,0.597929], [6760.03,2727.7,0.597929], [6789.35,2692.69,0.597929], [6796.09,2726.09,0.597929], [6810.51,2499.86,0.597929], - [6822.79,2482.01,0.597929], [6832.25,2500.24,0.597929], [6833.6,3176.97,0.59797], [6835.19,2694.23,0.597929], - [6856.71,2522.75,0.597929], [6864.41,2464.66,0.597929], [7065.12,2622.94,0.597929], [7095.99,2740.68,0.597929] -]; +} count _fires; //[6847.45,2360.25,0.597929] removed for now, see https://github.com/DayZMod/DayZ/issues/869 \ No newline at end of file diff --git a/SQF/dayz_server/system/server_monitor.sqf b/SQF/dayz_server/system/server_monitor.sqf index 7063b2657..5dd09324b 100644 --- a/SQF/dayz_server/system/server_monitor.sqf +++ b/SQF/dayz_server/system/server_monitor.sqf @@ -428,7 +428,7 @@ publicVariable "sm_done"; [] execVM "\z\addons\dayz_server\compile\server_spawnCarePackages.sqf"; [] execVM "\z\addons\dayz_server\compile\server_spawnCrashSites.sqf"; -if (dayz_townGenerator) then {execVM "\z\addons\dayz_server\system\lit_fireplaces.sqf";}; +execVM "\z\addons\dayz_server\system\lit_fireplaces.sqf"; "PVDZ_sec_atp" addPublicVariableEventHandler { _x = _this select 1; diff --git a/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf b/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf index ef7bc675e..78767d355 100644 --- a/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf @@ -80,7 +80,8 @@ onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFin with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon if (!isDedicated) then { - enableSaving [false, false]; startLoadingScreen ["","RscDisplayLoadCustom"]; + enableSaving [false, false]; + startLoadingScreen ["","RscDisplayLoadCustom"]; progressLoadingScreen 0; dayz_loadScreenMsg = localize 'str_login_missionFile'; progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf"; @@ -107,13 +108,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { - if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\takistan.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. - if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf b/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf index 4e9dfa231..3dbd9e16e 100644 --- a/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf @@ -80,7 +80,8 @@ onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFin with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon if (!isDedicated) then { - enableSaving [false, false]; startLoadingScreen ["","RscDisplayLoadCustom"]; + enableSaving [false, false]; + startLoadingScreen ["","RscDisplayLoadCustom"]; progressLoadingScreen 0; dayz_loadScreenMsg = localize 'str_login_missionFile'; progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf"; @@ -107,13 +108,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { - if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\mountains_acr.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. - if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf b/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf index b9aa4fbb1..f529821e1 100644 --- a/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf @@ -72,6 +72,7 @@ EpochUseEvents = false; //Enable event scheduler. Define custom scripts in dayz_ EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"],["any","any","any","any",15,"supply_drop"]]; // EPOCH CONFIG VARIABLES END // + diag_log 'dayz_preloadFinished reset'; dayz_preloadFinished=nil; onPreloadStarted "diag_log [diag_tickTime,'onPreloadStarted']; dayz_preloadFinished = false;"; @@ -79,7 +80,8 @@ onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFin with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon if (!isDedicated) then { - enableSaving [false, false]; startLoadingScreen ["","RscDisplayLoadCustom"]; + enableSaving [false, false]; + startLoadingScreen ["","RscDisplayLoadCustom"]; progressLoadingScreen 0; dayz_loadScreenMsg = localize 'str_login_missionFile'; progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf"; @@ -106,13 +108,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { - if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\chernarus11.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. - if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf b/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf index f5f3d805c..4de6cb78c 100644 --- a/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf @@ -80,7 +80,8 @@ onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFin with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon if (!isDedicated) then { - enableSaving [false, false]; startLoadingScreen ["","RscDisplayLoadCustom"]; + enableSaving [false, false]; + startLoadingScreen ["","RscDisplayLoadCustom"]; progressLoadingScreen 0; dayz_loadScreenMsg = localize 'str_login_missionFile'; progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf"; @@ -107,13 +108,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { - if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\isladuala.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. - if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf b/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf index b26aa9b94..4f2b39bb8 100644 --- a/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf @@ -80,7 +80,8 @@ onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFin with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon if (!isDedicated) then { - enableSaving [false, false]; startLoadingScreen ["","RscDisplayLoadCustom"]; + enableSaving [false, false]; + startLoadingScreen ["","RscDisplayLoadCustom"]; progressLoadingScreen 0; dayz_loadScreenMsg = localize 'str_login_missionFile'; progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf"; @@ -107,13 +108,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { - if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\tavi.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. - if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf b/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf index d0e01a7b9..c7e0e14ff 100644 --- a/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf @@ -80,7 +80,8 @@ onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFin with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon if (!isDedicated) then { - enableSaving [false, false]; startLoadingScreen ["","RscDisplayLoadCustom"]; + enableSaving [false, false]; + startLoadingScreen ["","RscDisplayLoadCustom"]; progressLoadingScreen 0; dayz_loadScreenMsg = localize 'str_login_missionFile'; progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf"; @@ -107,13 +108,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { - if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\namalsk.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. - if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf b/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf index bfea433ed..fe0d0ae48 100644 --- a/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf @@ -80,7 +80,8 @@ onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFin with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon if (!isDedicated) then { - enableSaving [false, false]; startLoadingScreen ["","RscDisplayLoadCustom"]; + enableSaving [false, false]; + startLoadingScreen ["","RscDisplayLoadCustom"]; progressLoadingScreen 0; dayz_loadScreenMsg = localize 'str_login_missionFile'; progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf"; @@ -107,13 +108,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { - if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\panthera2.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. - if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf b/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf index f7525ab8f..f81d65182 100644 --- a/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf @@ -80,7 +80,8 @@ onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFin with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon if (!isDedicated) then { - enableSaving [false, false]; startLoadingScreen ["","RscDisplayLoadCustom"]; + enableSaving [false, false]; + startLoadingScreen ["","RscDisplayLoadCustom"]; progressLoadingScreen 0; dayz_loadScreenMsg = localize 'str_login_missionFile'; progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf"; @@ -107,13 +108,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { - if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\chernarus17.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. - if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/init.sqf b/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/init.sqf index 8497cf0e1..c43b8a4fe 100644 --- a/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/init.sqf @@ -80,7 +80,8 @@ onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFin with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon if (!isDedicated) then { - enableSaving [false, false]; startLoadingScreen ["","RscDisplayLoadCustom"]; + enableSaving [false, false]; + startLoadingScreen ["","RscDisplayLoadCustom"]; progressLoadingScreen 0; dayz_loadScreenMsg = localize 'str_login_missionFile'; progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf"; @@ -107,13 +108,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { - if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\fdf_isle1_a.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. - if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf b/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf index a35eb725e..2e1c501ae 100644 --- a/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf @@ -80,7 +80,8 @@ onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFin with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon if (!isDedicated) then { - enableSaving [false, false]; startLoadingScreen ["","RscDisplayLoadCustom"]; + enableSaving [false, false]; + startLoadingScreen ["","RscDisplayLoadCustom"]; progressLoadingScreen 0; dayz_loadScreenMsg = localize 'str_login_missionFile'; progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf"; @@ -107,13 +108,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { - if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\utes.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. - if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf b/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf index 77deb19b5..8cfbfe473 100644 --- a/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf @@ -80,7 +80,8 @@ onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFin with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon if (!isDedicated) then { - enableSaving [false, false]; startLoadingScreen ["","RscDisplayLoadCustom"]; + enableSaving [false, false]; + startLoadingScreen ["","RscDisplayLoadCustom"]; progressLoadingScreen 0; dayz_loadScreenMsg = localize 'str_login_missionFile'; progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf"; @@ -107,13 +108,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { - if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\fapovo.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. - if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf index 6e5666783..62c0a5b75 100644 --- a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf @@ -80,7 +80,8 @@ onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFin with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon if (!isDedicated) then { - enableSaving [false, false]; startLoadingScreen ["","RscDisplayLoadCustom"]; + enableSaving [false, false]; + startLoadingScreen ["","RscDisplayLoadCustom"]; progressLoadingScreen 0; dayz_loadScreenMsg = localize 'str_login_missionFile'; progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf"; @@ -107,13 +108,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { - if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\caribou.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. - if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/init.sqf b/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/init.sqf index f66c1ab54..5d0d5eecc 100644 --- a/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/init.sqf @@ -80,7 +80,8 @@ onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFin with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon if (!isDedicated) then { - enableSaving [false, false]; startLoadingScreen ["","RscDisplayLoadCustom"]; + enableSaving [false, false]; + startLoadingScreen ["","RscDisplayLoadCustom"]; progressLoadingScreen 0; dayz_loadScreenMsg = localize 'str_login_missionFile'; progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf"; @@ -107,13 +108,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { - if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\smd_sahrani_a2.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. - if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf b/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf index 28ab6d1e2..15ba2d2cd 100644 --- a/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf @@ -80,7 +80,8 @@ onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFin with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon if (!isDedicated) then { - enableSaving [false, false]; startLoadingScreen ["","RscDisplayLoadCustom"]; + enableSaving [false, false]; + startLoadingScreen ["","RscDisplayLoadCustom"]; progressLoadingScreen 0; dayz_loadScreenMsg = localize 'str_login_missionFile'; progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf"; @@ -107,13 +108,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { - if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\cmr_ovaron.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. - if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf b/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf index 332e1425e..31474d3aa 100644 --- a/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf @@ -80,7 +80,8 @@ onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFin with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon if (!isDedicated) then { - enableSaving [false, false]; startLoadingScreen ["","RscDisplayLoadCustom"]; + enableSaving [false, false]; + startLoadingScreen ["","RscDisplayLoadCustom"]; progressLoadingScreen 0; dayz_loadScreenMsg = localize 'str_login_missionFile'; progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf"; @@ -107,13 +108,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { - if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\napf.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. - if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf b/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf index 918778f57..a7b233cd4 100644 --- a/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf @@ -80,7 +80,8 @@ onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFin with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon if (!isDedicated) then { - enableSaving [false, false]; startLoadingScreen ["","RscDisplayLoadCustom"]; + enableSaving [false, false]; + startLoadingScreen ["","RscDisplayLoadCustom"]; progressLoadingScreen 0; dayz_loadScreenMsg = localize 'str_login_missionFile'; progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf"; @@ -107,13 +108,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { - if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\sauerland.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. - if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf b/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf index 1d1528da4..e7f702635 100644 --- a/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf @@ -80,7 +80,8 @@ onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFin with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon if (!isDedicated) then { - enableSaving [false, false]; startLoadingScreen ["","RscDisplayLoadCustom"]; + enableSaving [false, false]; + startLoadingScreen ["","RscDisplayLoadCustom"]; progressLoadingScreen 0; dayz_loadScreenMsg = localize 'str_login_missionFile'; progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf"; @@ -108,13 +109,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { - if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\sauerland.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. - if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_27.ruegen/init.sqf b/Server Files/MPMissions/DayZ_Epoch_27.ruegen/init.sqf index 946460b9b..45f21ca89 100644 --- a/Server Files/MPMissions/DayZ_Epoch_27.ruegen/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_27.ruegen/init.sqf @@ -108,13 +108,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { - if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\ruegen.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. - if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf b/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf index df8f226e2..94d25ed0f 100644 --- a/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf @@ -80,7 +80,8 @@ onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFin with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon if (!isDedicated) then { - enableSaving [false, false]; startLoadingScreen ["","RscDisplayLoadCustom"]; + enableSaving [false, false]; + startLoadingScreen ["","RscDisplayLoadCustom"]; progressLoadingScreen 0; dayz_loadScreenMsg = localize 'str_login_missionFile'; progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf"; @@ -107,13 +108,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { - if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\shapur_baf.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. - if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf b/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf index ec029985b..dce19a450 100644 --- a/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf @@ -80,7 +80,8 @@ onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFin with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon if (!isDedicated) then { - enableSaving [false, false]; startLoadingScreen ["","RscDisplayLoadCustom"]; + enableSaving [false, false]; + startLoadingScreen ["","RscDisplayLoadCustom"]; progressLoadingScreen 0; dayz_loadScreenMsg = localize 'str_login_missionFile'; progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf"; @@ -107,13 +108,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { - if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\zargabad.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. - if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf b/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf index 49a5315c3..3a8459f35 100644 --- a/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf @@ -80,7 +80,8 @@ onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFin with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon if (!isDedicated) then { - enableSaving [false, false]; startLoadingScreen ["","RscDisplayLoadCustom"]; + enableSaving [false, false]; + startLoadingScreen ["","RscDisplayLoadCustom"]; progressLoadingScreen 0; dayz_loadScreenMsg = localize 'str_login_missionFile'; progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf"; @@ -107,13 +108,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { - if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\bootcamp_acr.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. - if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf b/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf index 45e15572e..cef6d0045 100644 --- a/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf @@ -80,7 +80,8 @@ onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFin with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon if (!isDedicated) then { - enableSaving [false, false]; startLoadingScreen ["","RscDisplayLoadCustom"]; + enableSaving [false, false]; + startLoadingScreen ["","RscDisplayLoadCustom"]; progressLoadingScreen 0; dayz_loadScreenMsg = localize 'str_login_missionFile'; progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf"; @@ -107,13 +108,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { - if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\lingor.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. - if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf b/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf index a9826e183..f2ad925b8 100644 --- a/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf @@ -80,7 +80,8 @@ onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFin with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon if (!isDedicated) then { - enableSaving [false, false]; startLoadingScreen ["","RscDisplayLoadCustom"]; + enableSaving [false, false]; + startLoadingScreen ["","RscDisplayLoadCustom"]; progressLoadingScreen 0; dayz_loadScreenMsg = localize 'str_login_missionFile'; progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf"; @@ -107,13 +108,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { - if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\provinggrounds_pmc.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. - if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf b/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf index 99f8b2bfb..97db04e1b 100644 --- a/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf @@ -80,7 +80,8 @@ onPreloadFinished "diag_log [diag_tickTime,'onPreloadFinished']; dayz_preloadFin with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon if (!isDedicated) then { - enableSaving [false, false]; startLoadingScreen ["","RscDisplayLoadCustom"]; + enableSaving [false, false]; + startLoadingScreen ["","RscDisplayLoadCustom"]; progressLoadingScreen 0; dayz_loadScreenMsg = localize 'str_login_missionFile'; progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf"; @@ -107,13 +108,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { - if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; + if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\woodland_acr.sqf"; //Add trader agents //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. - if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; + if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; };