diff --git a/SQF/dayz_code/system/mission/chernarus/LegacyTownGenerator/MainLootableObjects.sqf b/SQF/dayz_code/system/mission/chernarus/MainLootableObjects.sqf similarity index 68% rename from SQF/dayz_code/system/mission/chernarus/LegacyTownGenerator/MainLootableObjects.sqf rename to SQF/dayz_code/system/mission/chernarus/MainLootableObjects.sqf index ac62bb4f6..0adede76b 100644 --- a/SQF/dayz_code/system/mission/chernarus/LegacyTownGenerator/MainLootableObjects.sqf +++ b/SQF/dayz_code/system/mission/chernarus/MainLootableObjects.sqf @@ -53,69 +53,67 @@ class Object48 { type = "CampEast"; position[] = {12249.2, 9752.89, 0}; direction = 13; onFire = 0; }; */ -if (isServer) then { - [ - ["Land_Misc_deerstand",[4862.22,2287.81,0],125], - ["Land_tent_east",[4863.82,2274.84,0],217], - ["Land_tent_east",[4874.83,2267.48,0],217], - ["RU_WarfareBFieldhHospital",[4885.42,2260.38,0],307], - ["Land_tent_east",[4855.34,2262.99,0],217], - ["RU_WarfareBFieldhHospital",[4893.43,2252.95,0],306], - ["Land_Toilet",[4902.83,2248.38,0],299], - ["Land_Misc_deerstand",[4841.69,2258.74,0],125], - ["RU_WarfareBFieldhHospital",[4876.42,2248.05,0],306], - ["RU_WarfareBFieldhHospital",[4885.11,2241.78,0],306], - ["RU_WarfareBBarracks",[4913.5,2241.41,0],127], - ["Land_Misc_deerstand",[4933.25,2236.43,0],310], - ["Land_GuardShed",[4924.02,2222.51,0],306], - ["Land_GuardShed",[4928.72,2219.37,0],306], - ["Land_GuardShed",[4933.11,2215.88,0],306], - ["Land_Misc_deerstand",[4912.54,2209.47,0],300], - ["CampEast_EP1",[6746.89,2784.08,0],42], - ["CampEast_EP1",[6757.55,2776.1,0],42], - ["USMC_WarfareBFieldhHospital",[6767.52,2762.48,0],313], - ["USMC_WarfareBFieldhHospital",[6772.4341,2739.3132,0],42], - ["CampEast",[6295.02,7800.98,0],127], - ["Camp",[6302.78,7796.63,0],36], - ["CampEast",[6305.61,7810.76,0],128], - ["Camp",[6308.41,7792.74,0],37], - ["Camp",[6314,7788.65,0],36], - ["Camp",[6312.84,7805.57,0],213], - ["Camp",[6319.54,7784.91,0],33], - ["Camp",[6318.92,7801.74,0],212], - ["Land_Misc_GContainer_Big",[6313.24,7844.13,0],304], - ["Camp",[6325.31,7781.19,0],33], - ["Camp",[6325.1,7798.06,0],212], - ["Land_Misc_GContainer_Big",[6316.67,7841.9,0],304], - ["Land_Misc_GContainer_Big",[6320.43,7839.67,0],304], - ["Camp",[6331.19,7777.51,0],30], - ["Camp",[6331.25,7794.36,0],211], - ["Camp",[6337.11,7790.99,0],213], - ["Camp",[6343.22,7787.23,0],211], - ["Camp",[6349.45,7783.62,0],212], - ["Land_Toilet",[6353.54,7781.55,0],32], - ["Land_Toilet",[6354.75,7780.9,0],32], - ["Land_Toilet",[6355.89,7780.34,0],32], - ["Land_Toilet",[6357.09,7779.68,0],32], - ["Land_tent_east",[11940.6,9095,0],219], - ["Land_Misc_deerstand",[11837.1,9405.64,0],99], - ["Land_Misc_deerstand",[12432.6,9287.22,0],295], - ["CampEast",[12213,9734.75,0],13], - ["CampEast",[12273.1,9724.66,0],13], - ["CampEast",[12220.8,9758.06,0],13], - ["CampEast",[12249.2,9752.89,0],13] - ] call { - private ["_blocked","_object","_position","_type"]; - { - _blocked = false; - _position = _x select 1; - {if (_position distance _x < 150) exitWith {_blocked = true;};} forEach dayz_townGeneratorBlackList; - if (!_blocked) then { - _type = _x select 0; - _object = _type createVehicle [0,0,0]; - _object setDir (_x select 2); - _object setPos _position; - }; - } count _this; - }; +[ + ["Land_Misc_deerstand",[4862.22,2287.81,0],125], + ["Land_tent_east",[4863.82,2274.84,0],217], + ["Land_tent_east",[4874.83,2267.48,0],217], + ["RU_WarfareBFieldhHospital",[4885.42,2260.38,0],307], + ["Land_tent_east",[4855.34,2262.99,0],217], + ["RU_WarfareBFieldhHospital",[4893.43,2252.95,0],306], + ["Land_Toilet",[4902.83,2248.38,0],299], + ["Land_Misc_deerstand",[4841.69,2258.74,0],125], + ["RU_WarfareBFieldhHospital",[4876.42,2248.05,0],306], + ["RU_WarfareBFieldhHospital",[4885.11,2241.78,0],306], + ["RU_WarfareBBarracks",[4913.5,2241.41,0],127], + ["Land_Misc_deerstand",[4933.25,2236.43,0],310], + ["Land_GuardShed",[4924.02,2222.51,0],306], + ["Land_GuardShed",[4928.72,2219.37,0],306], + ["Land_GuardShed",[4933.11,2215.88,0],306], + ["Land_Misc_deerstand",[4912.54,2209.47,0],300], + ["CampEast_EP1",[6746.89,2784.08,0],42], + ["CampEast_EP1",[6757.55,2776.1,0],42], + ["USMC_WarfareBFieldhHospital",[6767.52,2762.48,0],313], + ["USMC_WarfareBFieldhHospital",[6772.4341,2739.3132,0],42], + ["CampEast",[6295.02,7800.98,0],127], + ["Camp",[6302.78,7796.63,0],36], + ["CampEast",[6305.61,7810.76,0],128], + ["Camp",[6308.41,7792.74,0],37], + ["Camp",[6314,7788.65,0],36], + ["Camp",[6312.84,7805.57,0],213], + ["Camp",[6319.54,7784.91,0],33], + ["Camp",[6318.92,7801.74,0],212], + ["Land_Misc_GContainer_Big",[6313.24,7844.13,0],304], + ["Camp",[6325.31,7781.19,0],33], + ["Camp",[6325.1,7798.06,0],212], + ["Land_Misc_GContainer_Big",[6316.67,7841.9,0],304], + ["Land_Misc_GContainer_Big",[6320.43,7839.67,0],304], + ["Camp",[6331.19,7777.51,0],30], + ["Camp",[6331.25,7794.36,0],211], + ["Camp",[6337.11,7790.99,0],213], + ["Camp",[6343.22,7787.23,0],211], + ["Camp",[6349.45,7783.62,0],212], + ["Land_Toilet",[6353.54,7781.55,0],32], + ["Land_Toilet",[6354.75,7780.9,0],32], + ["Land_Toilet",[6355.89,7780.34,0],32], + ["Land_Toilet",[6357.09,7779.68,0],32], + ["Land_tent_east",[11940.6,9095,0],219], + ["Land_Misc_deerstand",[11837.1,9405.64,0],99], + ["Land_Misc_deerstand",[12432.6,9287.22,0],295], + ["CampEast",[12213,9734.75,0],13], + ["CampEast",[12273.1,9724.66,0],13], + ["CampEast",[12220.8,9758.06,0],13], + ["CampEast",[12249.2,9752.89,0],13] +] call { + private ["_blocked","_object","_position","_type"]; + { + _blocked = false; + _position = _x select 1; + {if (_position distance _x < 150) exitWith {_blocked = true;};} forEach dayz_townGeneratorBlackList; + if (!_blocked) then { + _type = _x select 0; + _object = _type createVehicle [0,0,0]; + _object setDir (_x select 2); + _object setPos _position; + }; + } count _this; }; \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/antiwallhack.sqf b/SQF/dayz_code/system/mission/chernarus/antiwallhack.sqf new file mode 100644 index 000000000..26949b4e4 --- /dev/null +++ b/SQF/dayz_code/system/mission/chernarus/antiwallhack.sqf @@ -0,0 +1,156 @@ +[[ + ["Land_CncBlock_D",[6426.74,2747.85,10.6855],38.3], + ["Land_CncBlock_D",[6425.25,2749.02,10.6739],38.3], + ["Land_CncBlock_D",[6400.16,2770.7,3.2032],128.3], + ["Land_CncBlock_D",[6401.79,2772.76,3.20045],128.3], + ["Land_CncBlock_D",[6403.01,2774.31,3.19839],128.3], + ["Land_CncBlock_D",[6398.18,2768.22,-0.173495],128.3], + ["Fort_RazorWire",[6405.39,2770.66,3.20274],218.3], + ["Fort_RazorWire",[6406.32,2771.77,3.20001],218.3], + ["Hedgehog",[6401.71,2771.71,3.20185],123.3], + ["Hedgehog",[6400.48,2770.17,3.20391],128.3], + ["Fort_RazorWire",[6410.84,2768.17,3.19878],218.3], + ["Land_CncBlock_D",[6804.03,2690.31,10.6875],132.587], + ["Land_CncBlock_D",[6805.31,2691.71,10.6768],132.587], + ["Land_CncBlock_D",[6828.8,2715.1,3.19361],222.587], + ["Land_CncBlock_D",[6830.73,2713.32,3.19448],222.587], + ["Land_CncBlock_D",[6832.19,2711.98,3.19513],222.587], + ["Land_CncBlock_D",[6826.48,2717.25,-0.187448],222.587], + ["Fort_RazorWire",[6828.37,2709.88,3.19615],312.587], + ["Fort_RazorWire",[6829.41,2708.87,3.19664],312.587], + ["Hedgehog",[6829.7,2713.47,3.1944],217.587], + ["Hedgehog",[6828.24,2714.82,3.19374],222.587], + ["Fort_RazorWire",[6825.48,2704.63,3.19872],312.587], + ["Land_CncBlock_D",[10526.9,2272.29,10.6792],53.4887], + ["Land_CncBlock_D",[10525.8,2273.82,10.6692],53.4887], + ["Land_CncBlock_D",[10507.2,2301.3,3.19743],143.489], + ["Land_CncBlock_D",[10509.3,2302.87,3.19743],143.489], + ["Land_CncBlock_D",[10510.9,2304.04,3.19743],143.489], + ["Land_CncBlock_D",[10504.7,2299.43,-0.18257],143.489], + ["Fort_RazorWire",[10512.3,2299.9,3.19743],233.489], + ["Fort_RazorWire",[10513.5,2300.73,3.19743],233.489], + ["Hedgehog",[10509,2301.88,3.19743],138.489], + ["Hedgehog",[10507.4,2300.71,3.19743],143.489], + ["Fort_RazorWire",[10516.9,2296.07,3.19743],233.489], + ["Land_CncBlock_D",[11944,9107.9,10.6653],130], + ["Land_CncBlock_D",[11945.2,9109.35,10.6601],130], + ["Land_CncBlock_D",[11967.6,9133.78,3.19747],220], + ["Land_CncBlock_D",[11969.6,9132.09,3.19747],220], + ["Land_CncBlock_D",[11971.2,9130.83,3.19747],220], + ["Land_CncBlock_D",[11965.2,9135.84,-0.182529],220], + ["Fort_RazorWire",[11967.4,9128.56,3.19747],310], + ["Fort_RazorWire",[11968.5,9127.59,3.19747],310], + ["Hedgehog",[11968.6,9132.2,3.19747],215], + ["Hedgehog",[11967.1,9133.48,3.19747],220], + ["Fort_RazorWire",[11964.8,9123.18,3.20053],310], + ["Fort_RazorWire",[6853.76,2508.97,39.8627],42.737], + ["Fort_RazorWire",[6859.9,2503.3,39.8627],42.737], + ["Fort_RazorWire",[6849.11,2503.94,39.8627],42.737], + ["Fort_RazorWire",[6855.25,2498.27,39.8627],42.737], + ["Fort_RazorWire",[6847.48,2510.04,39.8627],132.737], + ["Fort_RazorWire",[6861,2497.23,39.8627],312.737], + ["Fort_RazorWire",[6855.74,2507.81,0.969074],222.737], + ["Fort_RazorWire",[6858.96,2507.24,-0.0109253],222.737], + ["Land_CncBlock_D",[6553.02,2804.52,13.9319],131.19], + ["Land_CncBlock_D",[6553.35,2803.33,14.0019],131.19], + ["Land_CncBlock_D",[6566.32,2816.69,14.0169],41.1904], + ["Land_CncBlock_D",[6569.35,2820.09,13.9719],221.19], + ["Land_CncBlock_D",[6567.25,2821.93,13.9819],221.19], + ["Land_CncBlock_D",[6565.27,2822.01,14.0019],131.19], + ["Land_CncBlock_D",[6563.68,2820.2,14.0019],131.19], + ["Land_CncBlock_D",[6563.9,2818.43,13.9783],41.1904], + ["Land_CncBlock_D",[6567.98,2816.57,14.0175],311.19], + ["Land_CncBlock_D",[6569.49,2818.3,14.0096],311.19], + ["Land_CncBlock_D",[7036.61,2529.03,13.9319],323.357], + ["Land_CncBlock_D",[7036.54,2530.26,14.0019],323.357], + ["Land_CncBlock_D",[7021.05,2519.93,14.0019],233.357], + ["Land_CncBlock_D",[7017.38,2517.24,13.9719],53.3567], + ["Land_CncBlock_D",[7019.04,2515.01,13.9819],53.3567], + ["Land_CncBlock_D",[7020.96,2514.51,14.0019],323.357], + ["Land_CncBlock_D",[7022.89,2515.94,14.0019],323.357], + ["Land_CncBlock_D",[7023.04,2517.72,13.9719],233.357], + ["Land_CncBlock_D",[7019.46,2520.4,14.0019],143.357], + ["Land_CncBlock_D",[7017.61,2519.03,14.0019],143.357], + ["Land_CncBlock_D",[10026.6,1834.65,13.9319],268.591], + ["Land_CncBlock_D",[10025.5,1835.3,14.0019],268.591], + ["Land_CncBlock_D",[10025,1816.69,14.0019],178.591], + ["Land_CncBlock_D",[10025.1,1812.14,13.9719],358.591], + ["Land_CncBlock_D",[10027.9,1812.21,13.9819],358.591], + ["Land_CncBlock_D",[10029.4,1813.48,14.0019],268.591], + ["Land_CncBlock_D",[10029.3,1815.89,14.0019],268.591], + ["Land_CncBlock_D",[10028,1817.05,13.9719],178.591], + ["Land_CncBlock_D",[10023.7,1815.66,14.0019],88.5905], + ["Land_CncBlock_D",[10023.8,1813.36,14.0019],88.5905], + ["Land_CncBlock_D",[3803.82,8926.21,10.6657],295], + ["Land_CncBlock_D",[3803.13,8928.22,10.7549],205], + ["Land_CncBlock_D",[3801.27,8927.49,10.7941],115], + ["Land_CncBlock_D",[3802.42,8926.83,10.744],70], + ["Land_CncBlock_D",[3801.85,8925.71,10.8741],25], + ["Land_CncBlock_D",[3802.7,8926.99,10.7443],340], + ["Land_CncBlock_D",[10482.8,2357.99,10.8159],55.7548], + ["Land_CncBlock_D",[10484.9,2357.56,10.906],325.755], + ["Land_CncBlock_D",[10485.2,2359.52,10.946],235.755], + ["Land_CncBlock_D",[10484,2358.88,10.896],190.755], + ["Land_CncBlock_D",[10483.4,2359.94,11.0261],145.755], + ["Land_CncBlock_D",[10484,2358.56,10.896],100.755], + ["Land_CncBlock_D",[12743,9591.97,10.8159],100], + ["Land_CncBlock_D",[12744.2,9590.21,10.906],10], + ["Land_CncBlock_D",[12745.8,9591.39,10.946],280], + ["Land_CncBlock_D",[12744.5,9591.74,10.896],235], + ["Land_CncBlock_D",[12744.8,9592.97,11.0261],190], + ["Land_CncBlock_D",[12744.3,9591.51,10.896],145], + ["Land_CncBlock_D",[3795.05,8840.28,0.431946],115], + ["Land_CncBlock_D",[3797.49,8840.65,0.434418],205], + ["Land_CncBlock_D",[3798.92,8838.35,0.431458],295], + ["Land_CncBlock_D",[6528.55,2803.38,0.421799],39.394], + ["Land_CncBlock_D",[6528.8,2805.83,0.4291],129.394], + ["Land_CncBlock_D",[6531.38,2806.65,0.42868],219.394], + ["Land_CncBlock_D",[6808.46,2454.72,0.427643],45.4698], + ["Land_CncBlock_D",[6808.96,2457.13,0.427613],135.47], + ["Land_CncBlock_D",[6811.62,2457.67,0.427193],225.47], + ["Misc_TyreHeap",[2855.6,9763.91,0.392761],358.517], + ["SKODAWreck",[2851.39,9748.99,0.698425],143.517], + ["SKODAWreck",[2849.1,9748.52,0.744751],143.517], + ["UralWreck",[2865.33,9738.06,0.690796],282.517], + ["datsun01Wreck",[2861.93,9757.81,0.715485],138.517], + ["SKODAWreck",[2857.55,9756.62,0.707581],138.517], + ["SKODAWreck",[2864.08,9729.46,0.762054],330.517], + ["UralWreck",[2853.83,9760.11,0.707977],172.517], + ["SKODAWreck",[2848.05,9752.76,0.712708],112.517], + ["LADAWreck",[2869.99,9744.72,0.612976],47.5172], + ["Misc_TyreHeap",[2873.45,9728.41,0.377014],57.5172], + ["Misc_TyreHeap",[4559.44,4546.45,-0.0964355],356], + ["SKODAWreck",[4555.89,4531.36,0.203568],141], + ["SKODAWreck",[4553.63,4530.79,0.203568],141], + ["UralWreck",[4570.3,4521.05,0.203568],280], + ["datsun01Wreck",[4566.04,4540.63,0.203568],136], + ["SKODAWreck",[4561.71,4539.25,0.203568],136], + ["SKODAWreck",[4569.43,4512.41,0.203568],328], + ["UralWreck",[4557.84,4542.57,0.203568],170], + ["SKODAWreck",[4552.39,4534.97,0.203568],110], + ["LADAWreck",[4574.66,4527.9,0.103577],45], + ["Misc_TyreHeap",[4578.83,4511.77,-0.10643],55], + ["Misc_TyreHeap",[6355.3,7703.04,-0.247253],72], + ["SKODAWreck",[6339.8,7702.83,0.0517578],217], + ["SKODAWreck",[6338.7,7704.89,0.0545044],217], + ["UralWreck",[6333.28,7686.36,0.0613098],356], + ["datsun01Wreck",[6351.24,7695.23,0.0513],212], + ["SKODAWreck",[6348.86,7699.1,0.0513],212], + ["SKODAWreck",[6324.68,7685.11,0.0513],44], + ["UralWreck",[6351.15,7703.66,0.0528564],246], + ["SKODAWreck",[6342.45,7707.11,0.0574646],186], + ["LADAWreck",[6340.99,7683.79,-0.043335],121], + ["Misc_TyreHeap",[6326.34,7675.84,-0.253143],131], + ["Misc_TyreHeap",[11348.2,6643.79,0.0348358],111.033], + ["SKODAWreck",[11336,6653.39,0.334831],256.033], + ["SKODAWreck",[11336.5,6655.68,0.334831],256.033], + ["UralWreck",[11320.6,6644.7,0.334831],35.0333], + ["datsun01Wreck",[11340.1,6640.28,0.334831],251.033], + ["SKODAWreck",[11340.7,6644.78,0.334831],251.033], + ["SKODAWreck",[11313.1,6649.14,0.334831],83.0333], + ["UralWreck",[11345.4,6646.88,0.334831],285.033], + ["SKODAWreck",[11340.8,6655.04,0.334831],225.033], + ["LADAWreck",[11325,6637.85,0.234833],160.033], + ["Misc_TyreHeap",[11308.6,6640.9,0.0248337],170.033], + ["Fort_Barricade_EP1",[11459.571,7390.7227,-0.040615425],225.14645] +],false,true,true] call fnc_spawnObjects; diff --git a/SQF/dayz_code/system/mission/chernarus/security/antiwallhack.sqf b/SQF/dayz_code/system/mission/chernarus/security/antiwallhack.sqf deleted file mode 100644 index e82b71a97..000000000 --- a/SQF/dayz_code/system/mission/chernarus/security/antiwallhack.sqf +++ /dev/null @@ -1,158 +0,0 @@ -{ - _x call poi_processObject; -} forEach [ - ["Land_CncBlock_D",[6426.74,2747.85,10.6855],38.3,0], - ["Land_CncBlock_D",[6425.25,2749.02,10.6739],38.3,0], - ["Land_CncBlock_D",[6400.16,2770.7,3.2032],128.3,0], - ["Land_CncBlock_D",[6401.79,2772.76,3.20045],128.3,0], - ["Land_CncBlock_D",[6403.01,2774.31,3.19839],128.3,0], - ["Land_CncBlock_D",[6398.18,2768.22,-0.173495],128.3,0], - ["Fort_RazorWire",[6405.39,2770.66,3.20274],218.3,0], - ["Fort_RazorWire",[6406.32,2771.77,3.20001],218.3,0], - ["Hedgehog",[6401.71,2771.71,3.20185],123.3,0], - ["Hedgehog",[6400.48,2770.17,3.20391],128.3,0], - ["Fort_RazorWire",[6410.84,2768.17,3.19878],218.3,0], - ["Land_CncBlock_D",[6804.03,2690.31,10.6875],132.587,0], - ["Land_CncBlock_D",[6805.31,2691.71,10.6768],132.587,0], - ["Land_CncBlock_D",[6828.8,2715.1,3.19361],222.587,0], - ["Land_CncBlock_D",[6830.73,2713.32,3.19448],222.587,0], - ["Land_CncBlock_D",[6832.19,2711.98,3.19513],222.587,0], - ["Land_CncBlock_D",[6826.48,2717.25,-0.187448],222.587,0], - ["Fort_RazorWire",[6828.37,2709.88,3.19615],312.587,0], - ["Fort_RazorWire",[6829.41,2708.87,3.19664],312.587,0], - ["Hedgehog",[6829.7,2713.47,3.1944],217.587,0], - ["Hedgehog",[6828.24,2714.82,3.19374],222.587,0], - ["Fort_RazorWire",[6825.48,2704.63,3.19872],312.587,0], - ["Land_CncBlock_D",[10526.9,2272.29,10.6792],53.4887,0], - ["Land_CncBlock_D",[10525.8,2273.82,10.6692],53.4887,0], - ["Land_CncBlock_D",[10507.2,2301.3,3.19743],143.489,0], - ["Land_CncBlock_D",[10509.3,2302.87,3.19743],143.489,0], - ["Land_CncBlock_D",[10510.9,2304.04,3.19743],143.489,0], - ["Land_CncBlock_D",[10504.7,2299.43,-0.18257],143.489,0], - ["Fort_RazorWire",[10512.3,2299.9,3.19743],233.489,0], - ["Fort_RazorWire",[10513.5,2300.73,3.19743],233.489,0], - ["Hedgehog",[10509,2301.88,3.19743],138.489,0], - ["Hedgehog",[10507.4,2300.71,3.19743],143.489,0], - ["Fort_RazorWire",[10516.9,2296.07,3.19743],233.489,0], - ["Land_CncBlock_D",[11944,9107.9,10.6653],130,0], - ["Land_CncBlock_D",[11945.2,9109.35,10.6601],130,0], - ["Land_CncBlock_D",[11967.6,9133.78,3.19747],220,0], - ["Land_CncBlock_D",[11969.6,9132.09,3.19747],220,0], - ["Land_CncBlock_D",[11971.2,9130.83,3.19747],220,0], - ["Land_CncBlock_D",[11965.2,9135.84,-0.182529],220,0], - ["Fort_RazorWire",[11967.4,9128.56,3.19747],310,0], - ["Fort_RazorWire",[11968.5,9127.59,3.19747],310,0], - ["Hedgehog",[11968.6,9132.2,3.19747],215,0], - ["Hedgehog",[11967.1,9133.48,3.19747],220,0], - ["Fort_RazorWire",[11964.8,9123.18,3.20053],310,0], - ["Fort_RazorWire",[6853.76,2508.97,39.8627],42.737,0], - ["Fort_RazorWire",[6859.9,2503.3,39.8627],42.737,0], - ["Fort_RazorWire",[6849.11,2503.94,39.8627],42.737,0], - ["Fort_RazorWire",[6855.25,2498.27,39.8627],42.737,0], - ["Fort_RazorWire",[6847.48,2510.04,39.8627],132.737,0], - ["Fort_RazorWire",[6861,2497.23,39.8627],312.737,0], - ["Fort_RazorWire",[6855.74,2507.81,0.969074],222.737,0], - ["Fort_RazorWire",[6858.96,2507.24,-0.0109253],222.737,0], - ["Land_CncBlock_D",[6553.02,2804.52,13.9319],131.19,0], - ["Land_CncBlock_D",[6553.35,2803.33,14.0019],131.19,0], - ["Land_CncBlock_D",[6566.32,2816.69,14.0169],41.1904,0], - ["Land_CncBlock_D",[6569.35,2820.09,13.9719],221.19,0], - ["Land_CncBlock_D",[6567.25,2821.93,13.9819],221.19,0], - ["Land_CncBlock_D",[6565.27,2822.01,14.0019],131.19,0], - ["Land_CncBlock_D",[6563.68,2820.2,14.0019],131.19,0], - ["Land_CncBlock_D",[6563.9,2818.43,13.9783],41.1904,0], - ["Land_CncBlock_D",[6567.98,2816.57,14.0175],311.19,0], - ["Land_CncBlock_D",[6569.49,2818.3,14.0096],311.19,0], - ["Land_CncBlock_D",[7036.61,2529.03,13.9319],323.357,0], - ["Land_CncBlock_D",[7036.54,2530.26,14.0019],323.357,0], - ["Land_CncBlock_D",[7021.05,2519.93,14.0019],233.357,0], - ["Land_CncBlock_D",[7017.38,2517.24,13.9719],53.3567,0], - ["Land_CncBlock_D",[7019.04,2515.01,13.9819],53.3567,0], - ["Land_CncBlock_D",[7020.96,2514.51,14.0019],323.357,0], - ["Land_CncBlock_D",[7022.89,2515.94,14.0019],323.357,0], - ["Land_CncBlock_D",[7023.04,2517.72,13.9719],233.357,0], - ["Land_CncBlock_D",[7019.46,2520.4,14.0019],143.357,0], - ["Land_CncBlock_D",[7017.61,2519.03,14.0019],143.357,0], - ["Land_CncBlock_D",[10026.6,1834.65,13.9319],268.591,0], - ["Land_CncBlock_D",[10025.5,1835.3,14.0019],268.591,0], - ["Land_CncBlock_D",[10025,1816.69,14.0019],178.591,0], - ["Land_CncBlock_D",[10025.1,1812.14,13.9719],358.591,0], - ["Land_CncBlock_D",[10027.9,1812.21,13.9819],358.591,0], - ["Land_CncBlock_D",[10029.4,1813.48,14.0019],268.591,0], - ["Land_CncBlock_D",[10029.3,1815.89,14.0019],268.591,0], - ["Land_CncBlock_D",[10028,1817.05,13.9719],178.591,0], - ["Land_CncBlock_D",[10023.7,1815.66,14.0019],88.5905,0], - ["Land_CncBlock_D",[10023.8,1813.36,14.0019],88.5905,0], - ["Land_CncBlock_D",[3803.82,8926.21,10.6657],295,0], - ["Land_CncBlock_D",[3803.13,8928.22,10.7549],205,0], - ["Land_CncBlock_D",[3801.27,8927.49,10.7941],115,0], - ["Land_CncBlock_D",[3802.42,8926.83,10.744],70,0], - ["Land_CncBlock_D",[3801.85,8925.71,10.8741],25,0], - ["Land_CncBlock_D",[3802.7,8926.99,10.7443],340,0], - ["Land_CncBlock_D",[10482.8,2357.99,10.8159],55.7548,0], - ["Land_CncBlock_D",[10484.9,2357.56,10.906],325.755,0], - ["Land_CncBlock_D",[10485.2,2359.52,10.946],235.755,0], - ["Land_CncBlock_D",[10484,2358.88,10.896],190.755,0], - ["Land_CncBlock_D",[10483.4,2359.94,11.0261],145.755,0], - ["Land_CncBlock_D",[10484,2358.56,10.896],100.755,0], - ["Land_CncBlock_D",[12743,9591.97,10.8159],100,0], - ["Land_CncBlock_D",[12744.2,9590.21,10.906],10,0], - ["Land_CncBlock_D",[12745.8,9591.39,10.946],280,0], - ["Land_CncBlock_D",[12744.5,9591.74,10.896],235,0], - ["Land_CncBlock_D",[12744.8,9592.97,11.0261],190,0], - ["Land_CncBlock_D",[12744.3,9591.51,10.896],145,0], - ["Land_CncBlock_D",[3795.05,8840.28,0.431946],115,0], - ["Land_CncBlock_D",[3797.49,8840.65,0.434418],205,0], - ["Land_CncBlock_D",[3798.92,8838.35,0.431458],295,0], - ["Land_CncBlock_D",[6528.55,2803.38,0.421799],39.394,0], - ["Land_CncBlock_D",[6528.8,2805.83,0.4291],129.394,0], - ["Land_CncBlock_D",[6531.38,2806.65,0.42868],219.394,0], - ["Land_CncBlock_D",[6808.46,2454.72,0.427643],45.4698,0], - ["Land_CncBlock_D",[6808.96,2457.13,0.427613],135.47,0], - ["Land_CncBlock_D",[6811.62,2457.67,0.427193],225.47,0], - ["Misc_TyreHeap",[2855.6,9763.91,0.392761],358.517,0], - ["SKODAWreck",[2851.39,9748.99,0.698425],143.517,0], - ["SKODAWreck",[2849.1,9748.52,0.744751],143.517,0], - ["UralWreck",[2865.33,9738.06,0.690796],282.517,0], - ["datsun01Wreck",[2861.93,9757.81,0.715485],138.517,0], - ["SKODAWreck",[2857.55,9756.62,0.707581],138.517,0], - ["SKODAWreck",[2864.08,9729.46,0.762054],330.517,0], - ["UralWreck",[2853.83,9760.11,0.707977],172.517,0], - ["SKODAWreck",[2848.05,9752.76,0.712708],112.517,0], - ["LADAWreck",[2869.99,9744.72,0.612976],47.5172,0], - ["Misc_TyreHeap",[2873.45,9728.41,0.377014],57.5172,0], - ["Misc_TyreHeap",[4559.44,4546.45,-0.0964355],356,0], - ["SKODAWreck",[4555.89,4531.36,0.203568],141,0], - ["SKODAWreck",[4553.63,4530.79,0.203568],141,0], - ["UralWreck",[4570.3,4521.05,0.203568],280,0], - ["datsun01Wreck",[4566.04,4540.63,0.203568],136,0], - ["SKODAWreck",[4561.71,4539.25,0.203568],136,0], - ["SKODAWreck",[4569.43,4512.41,0.203568],328,0], - ["UralWreck",[4557.84,4542.57,0.203568],170,0], - ["SKODAWreck",[4552.39,4534.97,0.203568],110,0], - ["LADAWreck",[4574.66,4527.9,0.103577],45,0], - ["Misc_TyreHeap",[4578.83,4511.77,-0.10643],55,0], - ["Misc_TyreHeap",[6355.3,7703.04,-0.247253],72,0], - ["SKODAWreck",[6339.8,7702.83,0.0517578],217,0], - ["SKODAWreck",[6338.7,7704.89,0.0545044],217,0], - ["UralWreck",[6333.28,7686.36,0.0613098],356,0], - ["datsun01Wreck",[6351.24,7695.23,0.0513],212,0], - ["SKODAWreck",[6348.86,7699.1,0.0513],212,0], - ["SKODAWreck",[6324.68,7685.11,0.0513],44,0], - ["UralWreck",[6351.15,7703.66,0.0528564],246,0], - ["SKODAWreck",[6342.45,7707.11,0.0574646],186,0], - ["LADAWreck",[6340.99,7683.79,-0.043335],121,0], - ["Misc_TyreHeap",[6326.34,7675.84,-0.253143],131,0], - ["Misc_TyreHeap",[11348.2,6643.79,0.0348358],111.033,0], - ["SKODAWreck",[11336,6653.39,0.334831],256.033,0], - ["SKODAWreck",[11336.5,6655.68,0.334831],256.033,0], - ["UralWreck",[11320.6,6644.7,0.334831],35.0333,0], - ["datsun01Wreck",[11340.1,6640.28,0.334831],251.033,0], - ["SKODAWreck",[11340.7,6644.78,0.334831],251.033,0], - ["SKODAWreck",[11313.1,6649.14,0.334831],83.0333,0], - ["UralWreck",[11345.4,6646.88,0.334831],285.033,0], - ["SKODAWreck",[11340.8,6655.04,0.334831],225.033,0], - ["LADAWreck",[11325,6637.85,0.234833],160.033,0], - ["Misc_TyreHeap",[11308.6,6640.9,0.0248337],170.033,0], - ["Fort_Barricade_EP1",[11459.571,7390.7227,-0.040615425],225.14645,0] -]; diff --git a/SQF/dayz_code/system/mission/chernarus/security/init.sqf b/SQF/dayz_code/system/mission/chernarus/security/init.sqf deleted file mode 100644 index 948b55b0a..000000000 --- a/SQF/dayz_code/system/mission/chernarus/security/init.sqf +++ /dev/null @@ -1,19 +0,0 @@ -//diag_log [ diag_tickTime, __FILE__, "Sp4wing security concrete blocks"]; -poi_processObject = { - private ["_type","_pos","_dir","_elevation","_tilt","_o"]; - _type = _this select 0; - _pos = _this select 1; - _dir = _this select 2; - _elevation = _this select 3; - _tilt = _this select 4; - - _o = _type createVehicleLocal _pos; - _o setDir _dir; - _o setPosATL _pos; - - _o setVariable ["", true]; // prevent network SV by loot/zeds spawner -}; - -if (toLower worldName == "chernarus") then { //need to add building coordinates for other maps - call compile preprocessFileLineNumbers ("\z\addons\dayz_code\system\mission\chernarus\security\antiwallhack.sqf"); -}; \ No newline at end of file diff --git a/SQF/dayz_server/compile/server_spawnInfectedCamps.sqf b/SQF/dayz_server/compile/server_spawnInfectedCamps.sqf index e03bb41d4..2057a6dd5 100644 --- a/SQF/dayz_server/compile/server_spawnInfectedCamps.sqf +++ b/SQF/dayz_server/compile/server_spawnInfectedCamps.sqf @@ -68,7 +68,7 @@ for "_i" from 1 to (CAMP_NUM) do if (count (nearestObjects [_position, [CAMP_CONTAINER_BASE], CAMP_MIN_DIST]) < 1) exitWith {}; }; - diag_log format ["Spawning an infected camp (%1) at %2", _composition, _position]; + diag_log format ["DEBUG: Spawning an infected camp (%1) at %2", _composition, _position]; //Spawn composition _compositionObjects = [_position, random 360,_composition] call spawnComposition; diff --git a/Server Files/Battleye/scripts.txt b/Server Files/Battleye/scripts.txt index cd119b064..94d621b06 100644 --- a/Server Files/Battleye/scripts.txt +++ b/Server Files/Battleye/scripts.txt @@ -13,7 +13,7 @@ 5 createDisplay 5 createMarker !"\"createMarkerLocal\",\n\"setMarkerPosLocal\"," !="rcreateMarkerLocal = 'createMarkerLocal'" !"rcreateMarkerLocalcode" !"\"createMarkerLocal\", \"createSimpleTask\"," !"if (isnil 'BIS_GITA_fnc_createMarkers' || false) then {" !"_marker = createMarkerLocal [format[\"groupMember" !="_marker = createMarkerLocal [\"MyBody\",_pos];" 5 createUnit !="_newUnit = _group createUnit [_class,respawn_west_original,[],0,\"NONE\"];" !="BIS_MPF_logic = BIS_MPF_dummygroup createUnit [\"Logic\", [1000,10,0], [], 0, \"NONE\"];" -5 createVehicleLocal !="_object = (_x select 1) createVehicleLocal [0,0,0];" !="_Crater= \"CraterLong\" createvehiclelocal [_pos select 0, _pos select 1, 0];" !="_plant = _x createVehicleLocal (getMarkerPos \"center\");" !="_point = \"Logic\" createVehicleLocal getPosATL _unit;" !="_obj = _class createVehicleLocal _new;" !="_obj = _class createVehicleLocal (getMarkerpos \"respawn_west\");" !" = \"#lightpoint\" createVehicleLocal " !" = \"#particlesource\" createVehicleLocal " !="_object = _ghost createVehicleLocal getMarkerpos \"respawn_west\";" !="_cursorTarget = _upgrade createVehicleLocal getMarkerpos \"respawn_west\";" !="_sign = \"Sign_arrow_down_large_EP1\" createVehicleLocal [0,0,0];" !="_obj = \"Sign_sphere10cm_EP1\" createVehicleLocal [0,0,0];" !="_obj = _model createVehicleLocal [0,0,0];" !="_objectSnapGizmo = \"Sign_sphere10cm_EP1\" createVehicleLocal [0,0,0];" !"_object = _type createVehicleLocal [0,0,0];\n_object setDir (_x select 2);" +5 createVehicleLocal !="_object = (_x select 1) createVehicleLocal [0,0,0];" !="_Crater= \"CraterLong\" createvehiclelocal [_pos select 0, _pos select 1, 0];" !="_plant = _x createVehicleLocal (getMarkerPos \"center\");" !="_point = \"Logic\" createVehicleLocal getPosATL _unit;" !="_obj = _class createVehicleLocal _new;" !="_obj = _class createVehicleLocal (getMarkerpos \"respawn_west\");" !" = \"#lightpoint\" createVehicleLocal " !" = \"#particlesource\" createVehicleLocal " !="_object = _ghost createVehicleLocal getMarkerpos \"respawn_west\";" !="_cursorTarget = _upgrade createVehicleLocal getMarkerpos \"respawn_west\";" !="_sign = \"Sign_arrow_down_large_EP1\" createVehicleLocal [0,0,0];" !="_obj = \"Sign_sphere10cm_EP1\" createVehicleLocal [0,0,0];" !="_obj = _model createVehicleLocal [0,0,0];" !="_objectSnapGizmo = \"Sign_sphere10cm_EP1\" createVehicleLocal [0,0,0];" !"_object = _type createVehicleLocal [0,0,0];" 5 ctrlAddEventHandler 5 ctrlRemoveAllEventHandlers 5 ctrlSetPosition !="_control ctrlSetPosition [_posX, _posY];" !"if (_h != -1) then {_pos set [3,_h]};\n_control ctrlsetposition _pos;" !="_control ctrlSetPosition [0, (_y + _deltaY)];" !="_disp_ctrl ctrlSetPosition [_posX, _posY];" !="_control ctrlSetPosition _grpPos;" !="_group ctrlSetPosition _pos;" !="_control ctrlSetPosition [_controlPos select 0, _controlPos select 1, _controlPos select 2, 0.03921 * _lines];" !="((uiNamespace getVariable 'DAYZ_GUI_waiting') displayCtrl 1400) ctrlSetPosition _sandLevel;" !="_delayControl ctrlSetPosition [0, _pos];" !="_icon ctrlSetPosition [(_screen select 0),(_screen select 1),.99,.65];" diff --git a/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf b/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf index 5db48c1b1..cbb0143f5 100644 --- a/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf @@ -105,7 +105,7 @@ 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 initialized = true; -setTerrainGrid 25; //grass draw distance (50=no grass, 25=normal, 12.5=far) +setTerrainGrid 25; if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";}; execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; @@ -113,19 +113,21 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\takistan.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + //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";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; -// Lootable objects from CfgTownGeneratorDefault.hpp -if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; - if (!isDedicated) then { if (dayz_antiWallHack != 0) then { //Enables Map Plug items - execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf"; + if (toLower worldName == "chernarus") then { execVM "\z\addons\dayz_code\system\mission\chernarus\antiwallhack.sqf"; }; //Enables Plant lib fixes call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.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 21b4b4a10..43ae2b2d2 100644 --- a/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf @@ -105,7 +105,7 @@ 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 initialized = true; -setTerrainGrid 25; //grass draw distance (50=no grass, 25=normal, 12.5=far) +setTerrainGrid 25; if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";}; execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; @@ -113,19 +113,21 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\mountains_acr.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + //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";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; -// Lootable objects from CfgTownGeneratorDefault.hpp -if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; - if (!isDedicated) then { if (dayz_antiWallHack != 0) then { //Enables Map Plug items - execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf"; + if (toLower worldName == "chernarus") then { execVM "\z\addons\dayz_code\system\mission\chernarus\antiwallhack.sqf"; }; //Enables Plant lib fixes call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf b/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf index 398d36dd5..acaa41fa8 100644 --- a/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf @@ -105,7 +105,7 @@ 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 initialized = true; -setTerrainGrid 25; //grass draw distance (50=no grass, 25=normal, 12.5=far) +setTerrainGrid 25; if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";}; execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; @@ -113,19 +113,21 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\chernarus11.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + //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";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; -// Lootable objects from CfgTownGeneratorDefault.hpp -if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; - if (!isDedicated) then { if (dayz_antiWallHack != 0) then { //Enables Map Plug items - execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf"; + if (toLower worldName == "chernarus") then { execVM "\z\addons\dayz_code\system\mission\chernarus\antiwallhack.sqf"; }; //Enables Plant lib fixes call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf b/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf index 356571c75..6a433fdff 100644 --- a/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf @@ -105,7 +105,7 @@ 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 initialized = true; -setTerrainGrid 25; //grass draw distance (50=no grass, 25=normal, 12.5=far) +setTerrainGrid 25; if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";}; execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; @@ -113,19 +113,21 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\isladuala.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + //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";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; -// Lootable objects from CfgTownGeneratorDefault.hpp -if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; - if (!isDedicated) then { if (dayz_antiWallHack != 0) then { //Enables Map Plug items - execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf"; + if (toLower worldName == "chernarus") then { execVM "\z\addons\dayz_code\system\mission\chernarus\antiwallhack.sqf"; }; //Enables Plant lib fixes call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf b/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf index a1ec93fa6..53fa40478 100644 --- a/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf @@ -105,7 +105,7 @@ 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 initialized = true; -setTerrainGrid 25; //grass draw distance (50=no grass, 25=normal, 12.5=far) +setTerrainGrid 25; if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";}; execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; @@ -113,19 +113,21 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\tavi.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + //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";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; -// Lootable objects from CfgTownGeneratorDefault.hpp -if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; - if (!isDedicated) then { if (dayz_antiWallHack != 0) then { //Enables Map Plug items - execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf"; + if (toLower worldName == "chernarus") then { execVM "\z\addons\dayz_code\system\mission\chernarus\antiwallhack.sqf"; }; //Enables Plant lib fixes call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf b/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf index 3b95f44b2..16e5a1cfb 100644 --- a/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf @@ -105,7 +105,7 @@ 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 initialized = true; -setTerrainGrid 25; //grass draw distance (50=no grass, 25=normal, 12.5=far) +setTerrainGrid 25; if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";}; execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; @@ -113,19 +113,21 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\namalsk.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + //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";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; -// Lootable objects from CfgTownGeneratorDefault.hpp -if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; - if (!isDedicated) then { if (dayz_antiWallHack != 0) then { //Enables Map Plug items - execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf"; + if (toLower worldName == "chernarus") then { execVM "\z\addons\dayz_code\system\mission\chernarus\antiwallhack.sqf"; }; //Enables Plant lib fixes call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf b/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf index c202e827d..5efa5daa8 100644 --- a/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf @@ -105,7 +105,7 @@ 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 initialized = true; -setTerrainGrid 25; //grass draw distance (50=no grass, 25=normal, 12.5=far) +setTerrainGrid 25; if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";}; execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; @@ -113,19 +113,21 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\panthera2.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + //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";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; -// Lootable objects from CfgTownGeneratorDefault.hpp -if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; - if (!isDedicated) then { if (dayz_antiWallHack != 0) then { //Enables Map Plug items - execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf"; + if (toLower worldName == "chernarus") then { execVM "\z\addons\dayz_code\system\mission\chernarus\antiwallhack.sqf"; }; //Enables Plant lib fixes call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf b/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf index 65719e0e2..cdd58cdb8 100644 --- a/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf @@ -105,7 +105,7 @@ 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 initialized = true; -setTerrainGrid 25; //grass draw distance (50=no grass, 25=normal, 12.5=far) +setTerrainGrid 25; if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";}; execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; @@ -113,19 +113,21 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\chernarus17.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + //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";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; -// Lootable objects from CfgTownGeneratorDefault.hpp -if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; - if (!isDedicated) then { if (dayz_antiWallHack != 0) then { //Enables Map Plug items - execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf"; + if (toLower worldName == "chernarus") then { execVM "\z\addons\dayz_code\system\mission\chernarus\antiwallhack.sqf"; }; //Enables Plant lib fixes call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.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 269ba50ef..4b4845d91 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 @@ -105,7 +105,7 @@ 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 initialized = true; -setTerrainGrid 25; //grass draw distance (50=no grass, 25=normal, 12.5=far) +setTerrainGrid 25; if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";}; execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; @@ -113,19 +113,21 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\fdf_isle1_a.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + //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";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; -// Lootable objects from CfgTownGeneratorDefault.hpp -if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; - if (!isDedicated) then { if (dayz_antiWallHack != 0) then { //Enables Map Plug items - execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf"; + if (toLower worldName == "chernarus") then { execVM "\z\addons\dayz_code\system\mission\chernarus\antiwallhack.sqf"; }; //Enables Plant lib fixes call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf b/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf index f1b069e78..526ad15d0 100644 --- a/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf @@ -105,7 +105,7 @@ 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 initialized = true; -setTerrainGrid 25; //grass draw distance (50=no grass, 25=normal, 12.5=far) +setTerrainGrid 25; if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";}; execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; @@ -113,19 +113,21 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\utes.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + //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";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; -// Lootable objects from CfgTownGeneratorDefault.hpp -if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; - if (!isDedicated) then { if (dayz_antiWallHack != 0) then { //Enables Map Plug items - execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf"; + if (toLower worldName == "chernarus") then { execVM "\z\addons\dayz_code\system\mission\chernarus\antiwallhack.sqf"; }; //Enables Plant lib fixes call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf b/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf index 385e428f6..0ac47357f 100644 --- a/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf @@ -105,7 +105,7 @@ 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 initialized = true; -setTerrainGrid 25; //grass draw distance (50=no grass, 25=normal, 12.5=far) +setTerrainGrid 25; if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";}; execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; @@ -113,19 +113,21 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\fapovo.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + //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";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; -// Lootable objects from CfgTownGeneratorDefault.hpp -if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; - if (!isDedicated) then { if (dayz_antiWallHack != 0) then { //Enables Map Plug items - execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf"; + if (toLower worldName == "chernarus") then { execVM "\z\addons\dayz_code\system\mission\chernarus\antiwallhack.sqf"; }; //Enables Plant lib fixes call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf index a22c3fa0b..378bab00e 100644 --- a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf @@ -105,7 +105,7 @@ 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 initialized = true; -setTerrainGrid 25; //grass draw distance (50=no grass, 25=normal, 12.5=far) +setTerrainGrid 25; if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";}; execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; @@ -113,19 +113,21 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\caribou.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + //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";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; -// Lootable objects from CfgTownGeneratorDefault.hpp -if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; - if (!isDedicated) then { if (dayz_antiWallHack != 0) then { //Enables Map Plug items - execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf"; + if (toLower worldName == "chernarus") then { execVM "\z\addons\dayz_code\system\mission\chernarus\antiwallhack.sqf"; }; //Enables Plant lib fixes call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.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 5e566a8f1..508855c44 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 @@ -105,7 +105,7 @@ 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 initialized = true; -setTerrainGrid 25; //grass draw distance (50=no grass, 25=normal, 12.5=far) +setTerrainGrid 25; if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";}; execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; @@ -113,19 +113,21 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\smd_sahrani_a2.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + //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";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; -// Lootable objects from CfgTownGeneratorDefault.hpp -if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; - if (!isDedicated) then { if (dayz_antiWallHack != 0) then { //Enables Map Plug items - execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf"; + if (toLower worldName == "chernarus") then { execVM "\z\addons\dayz_code\system\mission\chernarus\antiwallhack.sqf"; }; //Enables Plant lib fixes call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.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 9af9158fa..546e8392d 100644 --- a/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf @@ -105,7 +105,7 @@ 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 initialized = true; -setTerrainGrid 25; //grass draw distance (50=no grass, 25=normal, 12.5=far) +setTerrainGrid 25; if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";}; execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; @@ -113,19 +113,21 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\cmr_ovaron.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + //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";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; -// Lootable objects from CfgTownGeneratorDefault.hpp -if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; - if (!isDedicated) then { if (dayz_antiWallHack != 0) then { //Enables Map Plug items - execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf"; + if (toLower worldName == "chernarus") then { execVM "\z\addons\dayz_code\system\mission\chernarus\antiwallhack.sqf"; }; //Enables Plant lib fixes call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf b/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf index b3fdabf50..9edded9fd 100644 --- a/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf @@ -105,7 +105,7 @@ 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 initialized = true; -setTerrainGrid 25; //grass draw distance (50=no grass, 25=normal, 12.5=far) +setTerrainGrid 25; if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";}; execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; @@ -113,19 +113,21 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\napf.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + //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";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; -// Lootable objects from CfgTownGeneratorDefault.hpp -if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; - if (!isDedicated) then { if (dayz_antiWallHack != 0) then { //Enables Map Plug items - execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf"; + if (toLower worldName == "chernarus") then { execVM "\z\addons\dayz_code\system\mission\chernarus\antiwallhack.sqf"; }; //Enables Plant lib fixes call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf b/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf index 167a85fa5..9e4dd17e9 100644 --- a/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf @@ -105,7 +105,7 @@ 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 initialized = true; -setTerrainGrid 25; //grass draw distance (50=no grass, 25=normal, 12.5=far) +setTerrainGrid 25; if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";}; execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; @@ -113,19 +113,21 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\sauerland.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + //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";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; -// Lootable objects from CfgTownGeneratorDefault.hpp -if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; - if (!isDedicated) then { if (dayz_antiWallHack != 0) then { //Enables Map Plug items - execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf"; + if (toLower worldName == "chernarus") then { execVM "\z\addons\dayz_code\system\mission\chernarus\antiwallhack.sqf"; }; //Enables Plant lib fixes call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.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 49bd7546e..065201776 100644 --- a/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf @@ -106,7 +106,7 @@ call compile preprocessFileLineNumbers "custom\compiles.sqf"; //Compile custom c call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\sauerland.sqf"; //Add trader city objects locally on each machine early initialized = true; -setTerrainGrid 25; //grass draw distance (50=no grass, 25=normal, 12.5=far) +setTerrainGrid 25; if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";}; execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; @@ -114,19 +114,21 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\sauerland.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + //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";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; -// Lootable objects from CfgTownGeneratorDefault.hpp -if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; - if (!isDedicated) then { if (dayz_antiWallHack != 0) then { //Enables Map Plug items - execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf"; + if (toLower worldName == "chernarus") then { execVM "\z\addons\dayz_code\system\mission\chernarus\antiwallhack.sqf"; }; //Enables Plant lib fixes call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.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 b32daa3bb..cc2151414 100644 --- a/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf @@ -105,7 +105,7 @@ 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 initialized = true; -setTerrainGrid 25; //grass draw distance (50=no grass, 25=normal, 12.5=far) +setTerrainGrid 25; if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";}; execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; @@ -113,19 +113,21 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\shapur_baf.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + //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";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; -// Lootable objects from CfgTownGeneratorDefault.hpp -if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; - if (!isDedicated) then { if (dayz_antiWallHack != 0) then { //Enables Map Plug items - execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf"; + if (toLower worldName == "chernarus") then { execVM "\z\addons\dayz_code\system\mission\chernarus\antiwallhack.sqf"; }; //Enables Plant lib fixes call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf b/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf index fffe76426..7002d7cad 100644 --- a/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf @@ -105,7 +105,7 @@ 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 initialized = true; -setTerrainGrid 25; //grass draw distance (50=no grass, 25=normal, 12.5=far) +setTerrainGrid 25; if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";}; execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; @@ -113,19 +113,21 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\zargabad.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + //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";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; -// Lootable objects from CfgTownGeneratorDefault.hpp -if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; - if (!isDedicated) then { if (dayz_antiWallHack != 0) then { //Enables Map Plug items - execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf"; + if (toLower worldName == "chernarus") then { execVM "\z\addons\dayz_code\system\mission\chernarus\antiwallhack.sqf"; }; //Enables Plant lib fixes call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.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 6be2eb7a7..551cbc630 100644 --- a/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf @@ -105,7 +105,7 @@ 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 initialized = true; -setTerrainGrid 25; //grass draw distance (50=no grass, 25=normal, 12.5=far) +setTerrainGrid 25; if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";}; execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; @@ -113,19 +113,21 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\bootcamp_acr.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + //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";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; -// Lootable objects from CfgTownGeneratorDefault.hpp -if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; - if (!isDedicated) then { if (dayz_antiWallHack != 0) then { //Enables Map Plug items - execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf"; + if (toLower worldName == "chernarus") then { execVM "\z\addons\dayz_code\system\mission\chernarus\antiwallhack.sqf"; }; //Enables Plant lib fixes call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf b/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf index f208f45c2..98cb631c8 100644 --- a/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf @@ -105,7 +105,7 @@ 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 initialized = true; -setTerrainGrid 25; //grass draw distance (50=no grass, 25=normal, 12.5=far) +setTerrainGrid 25; if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";}; execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; @@ -113,19 +113,21 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\lingor.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + //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";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; -// Lootable objects from CfgTownGeneratorDefault.hpp -if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; - if (!isDedicated) then { if (dayz_antiWallHack != 0) then { //Enables Map Plug items - execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf"; + if (toLower worldName == "chernarus") then { execVM "\z\addons\dayz_code\system\mission\chernarus\antiwallhack.sqf"; }; //Enables Plant lib fixes call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.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 747acd545..2e48d2ee8 100644 --- a/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf @@ -105,7 +105,7 @@ 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 initialized = true; -setTerrainGrid 25; //grass draw distance (50=no grass, 25=normal, 12.5=far) +setTerrainGrid 25; if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";}; execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; @@ -113,19 +113,21 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\provinggrounds_pmc.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + //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";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; -// Lootable objects from CfgTownGeneratorDefault.hpp -if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; - if (!isDedicated) then { if (dayz_antiWallHack != 0) then { //Enables Map Plug items - execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf"; + if (toLower worldName == "chernarus") then { execVM "\z\addons\dayz_code\system\mission\chernarus\antiwallhack.sqf"; }; //Enables Plant lib fixes call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.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 f0cc07e1b..bedc363cd 100644 --- a/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf @@ -105,7 +105,7 @@ 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 initialized = true; -setTerrainGrid 25; //grass draw distance (50=no grass, 25=normal, 12.5=far) +setTerrainGrid 25; if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";}; execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; @@ -113,19 +113,21 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\woodland_acr.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + //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";}; + + // Lootable objects from CfgTownGeneratorDefault.hpp + if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; }; }; -// Lootable objects from CfgTownGeneratorDefault.hpp -if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; - if (!isDedicated) then { if (dayz_antiWallHack != 0) then { //Enables Map Plug items - execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf"; + if (toLower worldName == "chernarus") then { execVM "\z\addons\dayz_code\system\mission\chernarus\antiwallhack.sqf"; }; //Enables Plant lib fixes call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.sqf"; };