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

@@ -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;
],false,false,true] call fnc_spawnObjects;

View File

@@ -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;
],false,false,true] call fnc_spawnObjects;

View File

@@ -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;
],false,false,true] call fnc_spawnObjects;

View File

@@ -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;
],false,false,true] call fnc_spawnObjects;

View File

@@ -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;
],false,false,true] call fnc_spawnObjects;

View File

@@ -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;
],false,false,true] call fnc_spawnObjects;

View File

@@ -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;
],false,false,true] call fnc_spawnObjects;

View File

@@ -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;
],false,false,true] call fnc_spawnObjects;

View File

@@ -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;
],false,false,true] call fnc_spawnObjects;

View File

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