Move POI back to local spawned #1816

This commit is contained in:
ebaydayz
2017-01-27 14:51:18 -05:00
parent d8ac3f42b1
commit c21a7311a5
33 changed files with 50 additions and 91 deletions

View File

@@ -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";};