diff --git a/SQF/dayz_code/system/mission/chernarus/poi/C130Crash.sqf b/SQF/dayz_code/system/mission/chernarus/poi/C130Crash.sqf index 13fa3d349..c0d4012b1 100644 --- a/SQF/dayz_code/system/mission/chernarus/poi/C130Crash.sqf +++ b/SQF/dayz_code/system/mission/chernarus/poi/C130Crash.sqf @@ -27,4 +27,4 @@ ["Land_Camp_Fire_DZ",[12707.344,9520.4121,-0.00011634827],0], ["Land_Camp_Fire_DZ",[12712.194,9544.3564,8.9676323],0], ["Land_Camp_Fire_DZ",[12710.407,9548.6572,8.768301],0] -],false,false,false] call fnc_spawnObjects; \ No newline at end of file +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/poi/ChernoBuildings.sqf b/SQF/dayz_code/system/mission/chernarus/poi/ChernoBuildings.sqf index d32b7f715..cde37f760 100644 --- a/SQF/dayz_code/system/mission/chernarus/poi/ChernoBuildings.sqf +++ b/SQF/dayz_code/system/mission/chernarus/poi/ChernoBuildings.sqf @@ -36,4 +36,4 @@ ["Body2",[6966.3115,2770.1753,4.7683716e-005],50.185974], ["Body1",[6956.0034,2779.5024,8.5830688e-005],0], ["Body2",[6965.25,2759.8867,9.727478e-005],-108.38199] -],false,false,false] call fnc_spawnObjects; \ No newline at end of file +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/poi/DeadForest.sqf b/SQF/dayz_code/system/mission/chernarus/poi/DeadForest.sqf index 8d30ac770..846b8b854 100644 --- a/SQF/dayz_code/system/mission/chernarus/poi/DeadForest.sqf +++ b/SQF/dayz_code/system/mission/chernarus/poi/DeadForest.sqf @@ -361,4 +361,4 @@ ["Body2",[8295.9268,3044.8689,1.9073486e-006],-132.61189], ["BRDMWreck",[8295.1846,3038.5232,2.3365021e-005],-69.078674], ["Land_Ind_Workshop01_01",[8398.0586,3012.748,1.2397766e-005],98.278824] -],false,false,false] call fnc_spawnObjects; \ No newline at end of file +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/poi/DevilsFarm.sqf b/SQF/dayz_code/system/mission/chernarus/poi/DevilsFarm.sqf index 42ec770b6..096026081 100644 --- a/SQF/dayz_code/system/mission/chernarus/poi/DevilsFarm.sqf +++ b/SQF/dayz_code/system/mission/chernarus/poi/DevilsFarm.sqf @@ -402,4 +402,4 @@ ["MAP_t_picea3f",[1720.7556,11643.052,0.00010681152],0], ["Mi8Wreck",[1726.4069,11681.369,-3.0517578e-005],-120.01289], ["Axe_woodblock",[1760.7675,11721.288,-0.48907313],-139.52458] -],false,false,false] call fnc_spawnObjects; \ No newline at end of file +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/poi/KomyshovoRoadblock.sqf b/SQF/dayz_code/system/mission/chernarus/poi/KomyshovoRoadblock.sqf index 27b18643b..d5dd144c6 100644 --- a/SQF/dayz_code/system/mission/chernarus/poi/KomyshovoRoadblock.sqf +++ b/SQF/dayz_code/system/mission/chernarus/poi/KomyshovoRoadblock.sqf @@ -40,4 +40,4 @@ ["CampEast_EP1",[11744.933,3420.0603,-3.7193298e-005],-194.99712], ["Land_tent_east",[11730.796,3438.7427,2.7179718e-005],347.01086], ["Land_fort_bagfence_corner",[11715.259,3417.4905,6.1988831e-006],75.434654] -],false,false,false] call fnc_spawnObjects; \ No newline at end of file +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/poi/MilitaryAirpoort.sqf b/SQF/dayz_code/system/mission/chernarus/poi/MilitaryAirpoort.sqf index 922d45021..b31a50712 100644 --- a/SQF/dayz_code/system/mission/chernarus/poi/MilitaryAirpoort.sqf +++ b/SQF/dayz_code/system/mission/chernarus/poi/MilitaryAirpoort.sqf @@ -207,4 +207,4 @@ ["Body2",[3760.5063,10178.691],89.311447], ["Land_Misc_deerstand",[3773.8142,10158.719,3.0517578e-005],-13.109641], ["MAP_asf3_6konec",[3826.2429,10102.542,-3.0517578e-005],-9.4858913] -],false,false,false] call fnc_spawnObjects; \ No newline at end of file +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/poi/NEA.sqf b/SQF/dayz_code/system/mission/chernarus/poi/NEA.sqf index 83c945e6d..24057c070 100644 --- a/SQF/dayz_code/system/mission/chernarus/poi/NEA.sqf +++ b/SQF/dayz_code/system/mission/chernarus/poi/NEA.sqf @@ -389,4 +389,4 @@ ["MAP_t_betula2w",[11906.236,12677.297,-3.0517578e-005],0], ["Land_Mil_Barracks_i",[12572.636,12497.678,6.1035156e-005],-3.3692484], ["Land_Ind_Workshop01_01",[11836.992,12685.103,7.6293945e-005],-71.381462] -],false,false,false] call fnc_spawnObjects; \ No newline at end of file +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/poi/NWATentCamp.sqf b/SQF/dayz_code/system/mission/chernarus/poi/NWATentCamp.sqf index 6adfb79c1..abaef921c 100644 --- a/SQF/dayz_code/system/mission/chernarus/poi/NWATentCamp.sqf +++ b/SQF/dayz_code/system/mission/chernarus/poi/NWATentCamp.sqf @@ -192,4 +192,4 @@ ["MAP_b_prunus",[3940.4402,11031.171,3.0517578e-005],1.3066831], ["Land_Misc_deerstand",[3887.9919,11048.234,0.44055828],133.44647], ["Land_Misc_deerstand",[3919.6902,11062.58,-6.1035156e-005],133.44647] -],false,false,false] call fnc_spawnObjects; \ No newline at end of file +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/poi/ZelenogorskBuildings.sqf b/SQF/dayz_code/system/mission/chernarus/poi/ZelenogorskBuildings.sqf index 8210ccb05..2063210a0 100644 --- a/SQF/dayz_code/system/mission/chernarus/poi/ZelenogorskBuildings.sqf +++ b/SQF/dayz_code/system/mission/chernarus/poi/ZelenogorskBuildings.sqf @@ -12,4 +12,4 @@ ["MAP_phone_box",[2538.0273,5070.0796,3.0517578e-005],0], ["MAP_phone_box",[2540.3445,5070.0625,-1.5258789e-005],0], ["MAP_A_statue01",[2540.7234,5062.2808],0] -],false,false,false] call fnc_spawnObjects; \ No newline at end of file +],false,false,true] call fnc_spawnObjects; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/poi/init.sqf b/SQF/dayz_code/system/mission/chernarus/poi/init.sqf index a89b309f3..80bb889b1 100644 --- a/SQF/dayz_code/system/mission/chernarus/poi/init.sqf +++ b/SQF/dayz_code/system/mission/chernarus/poi/init.sqf @@ -1,14 +1,19 @@ -[] execVM "\z\addons\dayz_code\system\mission\chernarus\poi\DevilsFarm.sqf"; -[] execVM "\z\addons\dayz_code\system\mission\chernarus\poi\NEA.sqf"; -[] execVM "\z\addons\dayz_code\system\mission\chernarus\poi\C130Crash.sqf"; -[] execVM "\z\addons\dayz_code\system\mission\chernarus\poi\ChernoBuildings.sqf"; -[] execVM "\z\addons\dayz_code\system\mission\chernarus\poi\DeadForest.sqf"; -[] execVM "\z\addons\dayz_code\system\mission\chernarus\poi\KomyshovoRoadblock.sqf"; -[] execVM "\z\addons\dayz_code\system\mission\chernarus\poi\MilitaryAirpoort.sqf"; -[] execVM "\z\addons\dayz_code\system\mission\chernarus\poi\ZelenogorskBuildings.sqf"; -[] execVM "\z\addons\dayz_code\system\mission\chernarus\poi\NWATentCamp.sqf"; - - -//Filled with Server sleeps, removed for now -//[] execVM "\z\addons\dayz_code\system\mission\chernarus\poi\Twains.sqf"; +/* + Add POI objects locally on each machine early. + Do not use execVM. This must be unscheduled so it finishes spawning before the player object is moved (possibly on top of them). +*/ +{ + call compile preprocessFileLineNumbers ("\z\addons\dayz_code\system\mission\chernarus\poi\" + _x + ".sqf"); +} forEach [ + //"Twains", //Filled with Server sleeps, removed for now + "DevilsFarm", + "NEA", + "C130Crash", + "ChernoBuildings", + "DeadForest", + "KomyshovoRoadblock", + "MilitaryAirpoort", + "ZelenogorskBuildings", + "NWATentCamp" +]; \ No newline at end of file diff --git a/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf b/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf index f3c70f5b5..29ad21f6e 100644 --- a/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf @@ -101,6 +101,7 @@ call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; progressLoadingScreen 0.25; call compile preprocessFileLineNumbers "server_traders.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\takistan.sqf"; //Add trader city objects locally on each machine early +if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; //Add POI objects locally on each machine early initialized = true; setTerrainGrid 25; @@ -112,9 +113,6 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\takistan.sqf"; //Add trader agents - //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) - if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; - //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";}; 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 a3ec1ed93..2b0dda309 100644 --- a/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf @@ -101,6 +101,7 @@ call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; progressLoadingScreen 0.25; call compile preprocessFileLineNumbers "server_traders.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\mountains_acr.sqf"; //Add trader city objects locally on each machine early +if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; //Add POI objects locally on each machine early initialized = true; setTerrainGrid 25; @@ -112,9 +113,6 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\mountains_acr.sqf"; //Add trader agents - //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) - if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; - //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";}; diff --git a/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf b/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf index fd544a673..58821e782 100644 --- a/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf @@ -101,6 +101,7 @@ call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; progressLoadingScreen 0.25; call compile preprocessFileLineNumbers "server_traders.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus11.sqf"; //Add trader city objects locally on each machine early +if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; //Add POI objects locally on each machine early initialized = true; setTerrainGrid 25; @@ -112,9 +113,6 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\chernarus11.sqf"; //Add trader agents - //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) - if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; - //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";}; diff --git a/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf b/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf index b973f6cde..842b1f599 100644 --- a/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf @@ -101,6 +101,7 @@ call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; progressLoadingScreen 0.25; call compile preprocessFileLineNumbers "server_traders.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\isladuala.sqf"; //Add trader city objects locally on each machine early +if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; //Add POI objects locally on each machine early initialized = true; setTerrainGrid 25; @@ -112,9 +113,6 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\isladuala.sqf"; //Add trader agents - //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) - if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; - //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";}; diff --git a/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf b/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf index 96af01a3a..bddc16d26 100644 --- a/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf @@ -101,6 +101,7 @@ call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; progressLoadingScreen 0.25; call compile preprocessFileLineNumbers "server_traders.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\tavi.sqf"; //Add trader city objects locally on each machine early +if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; //Add POI objects locally on each machine early initialized = true; setTerrainGrid 25; @@ -112,9 +113,6 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\tavi.sqf"; //Add trader agents - //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) - if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; - //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";}; diff --git a/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf b/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf index cef45a56b..8fb622dee 100644 --- a/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf @@ -101,6 +101,7 @@ call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; progressLoadingScreen 0.25; call compile preprocessFileLineNumbers "server_traders.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\namalsk.sqf"; //Add trader city objects locally on each machine early +if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; //Add POI objects locally on each machine early initialized = true; setTerrainGrid 25; @@ -112,9 +113,6 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\namalsk.sqf"; //Add trader agents - //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) - if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; - //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";}; diff --git a/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf b/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf index d4c0db9cb..4342e7ada 100644 --- a/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf @@ -101,6 +101,7 @@ call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; progressLoadingScreen 0.25; call compile preprocessFileLineNumbers "server_traders.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\panthera2.sqf"; //Add trader city objects locally on each machine early +if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; //Add POI objects locally on each machine early initialized = true; setTerrainGrid 25; @@ -112,9 +113,6 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\panthera2.sqf"; //Add trader agents - //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) - if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; - //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";}; diff --git a/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf b/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf index c0312b50a..58058415e 100644 --- a/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf @@ -101,6 +101,7 @@ call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; progressLoadingScreen 0.25; call compile preprocessFileLineNumbers "server_traders.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus17.sqf"; //Add trader city objects locally on each machine early +if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; //Add POI objects locally on each machine early initialized = true; setTerrainGrid 25; @@ -112,9 +113,6 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\chernarus17.sqf"; //Add trader agents - //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) - if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; - //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";}; 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 f1b660a89..e4cfcf173 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 @@ -101,6 +101,7 @@ call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; progressLoadingScreen 0.25; call compile preprocessFileLineNumbers "server_traders.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\fdf_isle1_a.sqf"; //Add trader city objects locally on each machine early +if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; //Add POI objects locally on each machine early initialized = true; setTerrainGrid 25; @@ -112,9 +113,6 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\fdf_isle1_a.sqf"; //Add trader agents - //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) - if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; - //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";}; diff --git a/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf b/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf index efe5f65d1..a8bfd7b3d 100644 --- a/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf @@ -101,6 +101,7 @@ call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; progressLoadingScreen 0.25; call compile preprocessFileLineNumbers "server_traders.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\utes.sqf"; //Add trader city objects locally on each machine early +if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; //Add POI objects locally on each machine early initialized = true; setTerrainGrid 25; @@ -112,9 +113,6 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\utes.sqf"; //Add trader agents - //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) - if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; - //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";}; diff --git a/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf b/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf index cec81bd0f..166f46222 100644 --- a/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf @@ -101,6 +101,7 @@ call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; progressLoadingScreen 0.25; call compile preprocessFileLineNumbers "server_traders.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\fapovo.sqf"; //Add trader city objects locally on each machine early +if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; //Add POI objects locally on each machine early initialized = true; setTerrainGrid 25; @@ -112,9 +113,6 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\fapovo.sqf"; //Add trader agents - //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) - if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; - //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";}; diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf index 2d3399a0b..5ca807c49 100644 --- a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf @@ -101,6 +101,7 @@ call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; progressLoadingScreen 0.25; call compile preprocessFileLineNumbers "server_traders.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\caribou.sqf"; //Add trader city objects locally on each machine early +if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; //Add POI objects locally on each machine early initialized = true; setTerrainGrid 25; @@ -112,9 +113,6 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\caribou.sqf"; //Add trader agents - //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) - if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; - //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";}; 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 7010ab581..999d13a03 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 @@ -101,6 +101,7 @@ call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; progressLoadingScreen 0.25; call compile preprocessFileLineNumbers "server_traders.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\smd_sahrani_a2.sqf"; //Add trader city objects locally on each machine early +if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; //Add POI objects locally on each machine early initialized = true; setTerrainGrid 25; @@ -112,9 +113,6 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\smd_sahrani_a2.sqf"; //Add trader agents - //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) - if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; - //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";}; 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 fa63f4fd5..0c4a6bd74 100644 --- a/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf @@ -101,6 +101,7 @@ call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; progressLoadingScreen 0.25; call compile preprocessFileLineNumbers "server_traders.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\cmr_ovaron.sqf"; //Add trader city objects locally on each machine early +if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; //Add POI objects locally on each machine early initialized = true; setTerrainGrid 25; @@ -112,9 +113,6 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\cmr_ovaron.sqf"; //Add trader agents - //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) - if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; - //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";}; diff --git a/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf b/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf index 8687e1543..855c6c934 100644 --- a/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf @@ -101,6 +101,7 @@ call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; progressLoadingScreen 0.25; call compile preprocessFileLineNumbers "server_traders.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\napf.sqf"; //Add trader city objects locally on each machine early +if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; //Add POI objects locally on each machine early initialized = true; setTerrainGrid 25; @@ -112,9 +113,6 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\napf.sqf"; //Add trader agents - //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) - if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; - //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";}; diff --git a/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf b/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf index 2c6644dc4..48d1d3c7a 100644 --- a/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf @@ -101,6 +101,7 @@ call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; progressLoadingScreen 0.25; call compile preprocessFileLineNumbers "server_traders.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\sauerland.sqf"; //Add trader city objects locally on each machine early +if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; //Add POI objects locally on each machine early initialized = true; setTerrainGrid 25; @@ -112,9 +113,6 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\sauerland.sqf"; //Add trader agents - //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) - if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; - //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";}; 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 506981b9a..9af442ed4 100644 --- a/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf @@ -102,6 +102,7 @@ progressLoadingScreen 0.25; call compile preprocessFileLineNumbers "server_traders.sqf"; call compile preprocessFileLineNumbers "custom\compiles.sqf"; //Compile custom compiles call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\sauerland.sqf"; //Add trader city objects locally on each machine early +if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; //Add POI objects locally on each machine early initialized = true; setTerrainGrid 25; @@ -113,9 +114,6 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\sauerland.sqf"; //Add trader agents - //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) - if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; - //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";}; 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 7ffb4ac64..fd9a604a4 100644 --- a/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf @@ -101,6 +101,7 @@ call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; progressLoadingScreen 0.25; call compile preprocessFileLineNumbers "server_traders.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\shapur_baf.sqf"; //Add trader city objects locally on each machine early +if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; //Add POI objects locally on each machine early initialized = true; setTerrainGrid 25; @@ -112,9 +113,6 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\shapur_baf.sqf"; //Add trader agents - //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) - if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; - //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";}; diff --git a/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf b/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf index 2d7bd1695..de8b908ce 100644 --- a/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf @@ -101,6 +101,7 @@ call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; progressLoadingScreen 0.25; call compile preprocessFileLineNumbers "server_traders.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\zargabad.sqf"; //Add trader city objects locally on each machine early +if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; //Add POI objects locally on each machine early initialized = true; setTerrainGrid 25; @@ -112,9 +113,6 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\zargabad.sqf"; //Add trader agents - //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) - if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; - //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";}; 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 f78b4e7ef..e98281e5a 100644 --- a/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf @@ -101,6 +101,7 @@ call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; progressLoadingScreen 0.25; call compile preprocessFileLineNumbers "server_traders.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\bootcamp_acr.sqf"; //Add trader city objects locally on each machine early +if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; //Add POI objects locally on each machine early initialized = true; setTerrainGrid 25; @@ -112,9 +113,6 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\bootcamp_acr.sqf"; //Add trader agents - //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) - if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; - //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";}; diff --git a/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf b/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf index 37ec8b284..0c3619d27 100644 --- a/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf @@ -101,6 +101,7 @@ call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; progressLoadingScreen 0.25; call compile preprocessFileLineNumbers "server_traders.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\lingor.sqf"; //Add trader city objects locally on each machine early +if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; //Add POI objects locally on each machine early initialized = true; setTerrainGrid 25; @@ -112,9 +113,6 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\lingor.sqf"; //Add trader agents - //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) - if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; - //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";}; 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 95848e25e..5731729c9 100644 --- a/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf @@ -101,6 +101,7 @@ call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; progressLoadingScreen 0.25; call compile preprocessFileLineNumbers "server_traders.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\provinggrounds_pmc.sqf"; //Add trader city objects locally on each machine early +if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; //Add POI objects locally on each machine early initialized = true; setTerrainGrid 25; @@ -112,9 +113,6 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\provinggrounds_pmc.sqf"; //Add trader agents - //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) - if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; - //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";}; 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 b9c4607c4..ca735c6cc 100644 --- a/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf @@ -101,6 +101,7 @@ call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; progressLoadingScreen 0.25; call compile preprocessFileLineNumbers "server_traders.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\woodland_acr.sqf"; //Add trader city objects locally on each machine early +if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";}; //Add POI objects locally on each machine early initialized = true; setTerrainGrid 25; @@ -112,9 +113,6 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; execVM "\z\addons\dayz_server\traders\woodland_acr.sqf"; //Add trader agents - //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) - if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; - //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";};