mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Additional Folders/Files in System
This commit is contained in:
@@ -0,0 +1,161 @@
|
||||
if (!isServer) then {
|
||||
_vehicle_1 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "UralWreck" createVehicleLocal [13383.615, 12108.852, -7.6293945e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_1 = _this;
|
||||
_this setDir -157.98087;
|
||||
_this setPos [13383.615, 12108.852, -7.6293945e-005];
|
||||
};
|
||||
|
||||
_vehicle_2 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [13379.557, 12107.342, -0.00049591064];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_2 = _this;
|
||||
_this setPos [13379.557, 12107.342, -0.00049591064];
|
||||
};
|
||||
|
||||
_vehicle_3 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [13377.169, 12106.324, -0.00025939941];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_3 = _this;
|
||||
_this setDir -17.968742;
|
||||
_this setPos [13377.169, 12106.324, -0.00025939941];
|
||||
};
|
||||
|
||||
_vehicle_5 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [13385.378, 12102.333, -0.00020599365];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_5 = _this;
|
||||
_this setPos [13385.378, 12102.333, -0.00020599365];
|
||||
};
|
||||
|
||||
_vehicle_10 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [13384.223, 12103.464, -0.00019836426];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_10 = _this;
|
||||
_this setDir -127.13429;
|
||||
_this setPos [13384.223, 12103.464, -0.00019836426];
|
||||
};
|
||||
|
||||
_vehicle_12 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [13371.131, 12099.254, 0.00051116943];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_12 = _this;
|
||||
_this setDir -17.968742;
|
||||
_this setPos [13371.131, 12099.254, 0.00051116943];
|
||||
};
|
||||
|
||||
_vehicle_14 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [13345.344, 12055.598, -5.3405762e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_14 = _this;
|
||||
_this setDir -17.968742;
|
||||
_this setPos [13345.344, 12055.598, -5.3405762e-005];
|
||||
};
|
||||
|
||||
_vehicle_16 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Mass_grave" createVehicleLocal [13394.821, 12091.484, -0.047801755];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_16 = _this;
|
||||
_this setDir -106.27802;
|
||||
_this setPos [13394.821, 12091.484, -0.047801755];
|
||||
};
|
||||
|
||||
_vehicle_18 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [13350.278, 12058.968, -0.00012207031];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_18 = _this;
|
||||
_this setDir -107.82382;
|
||||
_this setPos [13350.278, 12058.968, -0.00012207031];
|
||||
};
|
||||
|
||||
_vehicle_21 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [13347.763, 12056.695, 0.00011444092];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_21 = _this;
|
||||
_this setPos [13347.763, 12056.695, 0.00011444092];
|
||||
};
|
||||
|
||||
_vehicle_23 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Mass_grave" createVehicleLocal [13277.084, 11933.121, -2.2888184e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_23 = _this;
|
||||
_this setPos [13277.084, 11933.121, -2.2888184e-005];
|
||||
};
|
||||
|
||||
_vehicle_25 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [13274.308, 11937.976, 1.5258789e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_25 = _this;
|
||||
_this setPos [13274.308, 11937.976, 1.5258789e-005];
|
||||
};
|
||||
|
||||
_vehicle_27 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [13277.561, 11929.183, -2.2888184e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_27 = _this;
|
||||
_this setPos [13277.561, 11929.183, -2.2888184e-005];
|
||||
};
|
||||
|
||||
_vehicle_30 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [13278.021, 11938.413];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_30 = _this;
|
||||
_this setDir -145.52971;
|
||||
_this setPos [13278.021, 11938.413];
|
||||
};
|
||||
|
||||
_vehicle_32 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [13281.352, 11935.071, 1.5258789e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_32 = _this;
|
||||
_this setDir -63.390606;
|
||||
_this setPos [13281.352, 11935.071, 1.5258789e-005];
|
||||
};
|
||||
|
||||
};
|
||||
@@ -0,0 +1,75 @@
|
||||
if (!isServer) then {
|
||||
_vehicle_186 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [10174.857, 3126.1104, -1.9073486e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_186 = _this;
|
||||
_this setPos [10174.857, 3126.1104, -1.9073486e-005];
|
||||
};
|
||||
|
||||
_vehicle_189 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [10177.264, 3126.8271, 1.1444092e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_189 = _this;
|
||||
_this setDir -241.20241;
|
||||
_this setPos [10177.264, 3126.8271, 1.1444092e-005];
|
||||
};
|
||||
|
||||
_vehicle_192 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "BRDMWreck" createVehicleLocal [10212.747, 3181.915, -2.2888184e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_192 = _this;
|
||||
_this setDir 79.571251;
|
||||
_this setPos [10212.747, 3181.915, -2.2888184e-005];
|
||||
};
|
||||
|
||||
_vehicle_195 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [10213.748, 3179.0986, 6.6757202e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_195 = _this;
|
||||
_this setPos [10213.748, 3179.0986, 6.6757202e-005];
|
||||
};
|
||||
|
||||
_vehicle_198 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [10214.048, 3185.6113, -0.00019645691];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_198 = _this;
|
||||
_this setDir -208.83;
|
||||
_this setPos [10214.048, 3185.6113, -0.00019645691];
|
||||
};
|
||||
|
||||
_vehicle_200 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [10217.711, 3180.9695, -0.00023651123];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_200 = _this;
|
||||
_this setDir -321.35828;
|
||||
_this setPos [10217.711, 3180.9695, -0.00023651123];
|
||||
};
|
||||
|
||||
_vehicle_203 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [10216.19, 3186.8555, -0.00011634827];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_203 = _this;
|
||||
_this setPos [10216.19, 3186.8555, -0.00011634827];
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,53 @@
|
||||
if (!isServer) then {
|
||||
_vehicle_150 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [8294.6152, 12149.16, 3.0517578e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_150 = _this;
|
||||
_this setPos [8294.6152, 12149.16, 3.0517578e-005];
|
||||
};
|
||||
|
||||
_vehicle_152 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [8287.1045, 12132.071, -0.00047302246];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_152 = _this;
|
||||
_this setPos [8287.1045, 12132.071, -0.00047302246];
|
||||
};
|
||||
|
||||
_vehicle_154 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [8264.8877, 12148.402, 0.00038146973];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_154 = _this;
|
||||
_this setPos [8264.8877, 12148.402, 0.00038146973];
|
||||
};
|
||||
|
||||
_vehicle_157 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [8268.8555, 12156.784, -0.00012207031];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_157 = _this;
|
||||
_this setDir -128.94524;
|
||||
_this setPos [8268.8555, 12156.784, -0.00012207031];
|
||||
};
|
||||
|
||||
_vehicle_159 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [8278.6172, 12133.853, 0.00077819824];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_159 = _this;
|
||||
_this setDir 34.286942;
|
||||
_this setPos [8278.6172, 12133.853, 0.00077819824];
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,54 @@
|
||||
if (!isServer) then {
|
||||
_vehicle_314 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [5626.4521, 8577.7822, 0];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_314 = _this;
|
||||
_this setPos [5626.4521, 8577.7822, 0];
|
||||
};
|
||||
|
||||
_vehicle_316 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [5653.271, 8565.1514, -3.0517578e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_316 = _this;
|
||||
_this setPos [5653.271, 8565.1514, -3.0517578e-005];
|
||||
};
|
||||
|
||||
_vehicle_319 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [5631.9009, 8564.624, 9.1552734e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_319 = _this;
|
||||
_this setDir 120.97764;
|
||||
_this setPos [5631.9009, 8564.624, 9.1552734e-005];
|
||||
};
|
||||
|
||||
_vehicle_321 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [5626.8066, 8571.2871];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_321 = _this;
|
||||
_this setDir -6.9082727;
|
||||
_this setPos [5626.8066, 8571.2871];
|
||||
};
|
||||
|
||||
_vehicle_323 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [5624.5215, 8586.6445, -3.0517578e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_323 = _this;
|
||||
_this setDir -10.941958;
|
||||
_this setPos [5624.5215, 8586.6445, -3.0517578e-005];
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,108 @@
|
||||
if (!isServer) then {
|
||||
_vehicle_162 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Mass_grave" createVehicleLocal [7698.6094, 3984.0344, 5.3405762e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_162 = _this;
|
||||
_this setDir -127.91888;
|
||||
_this setPos [7698.6094, 3984.0344, 5.3405762e-005];
|
||||
};
|
||||
|
||||
_vehicle_165 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [7696.6646, 3979.2568, 6.1035156e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_165 = _this;
|
||||
_this setPos [7696.6646, 3979.2568, 6.1035156e-005];
|
||||
};
|
||||
|
||||
_vehicle_167 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [7705.2397, 3986.8789, -7.6293945e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_167 = _this;
|
||||
_this setPos [7705.2397, 3986.8789, -7.6293945e-006];
|
||||
};
|
||||
|
||||
_vehicle_170 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [7701.4297, 3987.833, 4.5776367e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_170 = _this;
|
||||
_this setDir -260.24319;
|
||||
_this setPos [7701.4297, 3987.833, 4.5776367e-005];
|
||||
};
|
||||
|
||||
_vehicle_172 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [7693.4331, 3985.4343, 0.00016784668];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_172 = _this;
|
||||
_this setDir -259.017;
|
||||
_this setPos [7693.4331, 3985.4343, 0.00016784668];
|
||||
};
|
||||
|
||||
_vehicle_174 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [7737.8218, 3956.1387, 3.8146973e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_174 = _this;
|
||||
_this setDir -261.63678;
|
||||
_this setPos [7737.8218, 3956.1387, 3.8146973e-005];
|
||||
};
|
||||
|
||||
_vehicle_176 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [7701.2686, 3978.0706, 1.9073486e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_176 = _this;
|
||||
_this setDir -256.70078;
|
||||
_this setPos [7701.2686, 3978.0706, 1.9073486e-005];
|
||||
};
|
||||
|
||||
_vehicle_178 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [7705.8154, 3981.1963, 7.2479248e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_178 = _this;
|
||||
_this setDir -98.922691;
|
||||
_this setPos [7705.8154, 3981.1963, 7.2479248e-005];
|
||||
};
|
||||
|
||||
_vehicle_180 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [7705.1436, 3975.3965, -8.392334e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_180 = _this;
|
||||
_this setDir -205.44472;
|
||||
_this setPos [7705.1436, 3975.3965, -8.392334e-005];
|
||||
};
|
||||
|
||||
_vehicle_183 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [7703.9932, 3978.3486, -2.2888184e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_183 = _this;
|
||||
_this setPos [7703.9932, 3978.3486, -2.2888184e-005];
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,75 @@
|
||||
if (!isServer) then {
|
||||
_vehicle_271 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [7688.604, 5947.6357, 4.5776367e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_271 = _this;
|
||||
_this setPos [7688.604, 5947.6357, 4.5776367e-005];
|
||||
};
|
||||
|
||||
_vehicle_273 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [7688.8301, 5927.563, -3.0517578e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_273 = _this;
|
||||
_this setPos [7688.8301, 5927.563, -3.0517578e-005];
|
||||
};
|
||||
|
||||
_vehicle_281 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [7692.501, 5935.375, -4.5776367e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_281 = _this;
|
||||
_this setDir -157.49536;
|
||||
_this setPos [7692.501, 5935.375, -4.5776367e-005];
|
||||
};
|
||||
|
||||
_vehicle_283 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [7700.9634, 5931.4126, -4.5776367e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_283 = _this;
|
||||
_this setDir 7.0104899;
|
||||
_this setPos [7700.9634, 5931.4126, -4.5776367e-005];
|
||||
};
|
||||
|
||||
_vehicle_285 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [7858.001, 5657.7495, 1.5258789e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_285 = _this;
|
||||
_this setDir -128.94524;
|
||||
_this setPos [7858.001, 5657.7495, 1.5258789e-005];
|
||||
};
|
||||
|
||||
_vehicle_287 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [7852.356, 5674.4395, -4.5776367e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_287 = _this;
|
||||
_this setDir -8.1682386;
|
||||
_this setPos [7852.356, 5674.4395, -4.5776367e-005];
|
||||
};
|
||||
|
||||
_vehicle_290 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [7857.3604, 5665.8076, 1.5258789e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_290 = _this;
|
||||
_this setPos [7857.3604, 5665.8076, 1.5258789e-005];
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,75 @@
|
||||
if (!isServer) then {
|
||||
_vehicle_399 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [5749.7417, 4099.6704, -8.392334e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_399 = _this;
|
||||
_this setPos [5749.7417, 4099.6704, -8.392334e-005];
|
||||
};
|
||||
|
||||
_vehicle_401 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [5738.4092, 4094.8413, 6.1035156e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_401 = _this;
|
||||
_this setPos [5738.4092, 4094.8413, 6.1035156e-005];
|
||||
};
|
||||
|
||||
_vehicle_403 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [5721.3667, 4130.4922, 6.8664551e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_403 = _this;
|
||||
_this setPos [5721.3667, 4130.4922, 6.8664551e-005];
|
||||
};
|
||||
|
||||
_vehicle_406 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [5731.2964, 4127.3643, -0.00024414063];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_406 = _this;
|
||||
_this setDir -170.19336;
|
||||
_this setPos [5731.2964, 4127.3643, -0.00024414063];
|
||||
};
|
||||
|
||||
_vehicle_408 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [5737.1704, 4123.252, -0.00011444092];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_408 = _this;
|
||||
_this setDir -170.19336;
|
||||
_this setPos [5737.1704, 4123.252, -0.00011444092];
|
||||
};
|
||||
|
||||
_vehicle_410 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [5739.8633, 4117.3682, 7.6293945e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_410 = _this;
|
||||
_this setDir -50.762642;
|
||||
_this setPos [5739.8633, 4117.3682, 7.6293945e-005];
|
||||
};
|
||||
|
||||
_vehicle_412 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [5749.9834, 4102.6377, 4.5776367e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_412 = _this;
|
||||
_this setDir -221.62927;
|
||||
_this setPos [5749.9834, 4102.6377, 4.5776367e-005];
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,108 @@
|
||||
if (!isServer) then {
|
||||
_vehicle_375 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "UAZWreck" createVehicleLocal [5802.0796, 5216.9868, -0.1246307];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_375 = _this;
|
||||
_this setDir 58.098339;
|
||||
_this setPos [5802.0796, 5216.9868, -0.1246307];
|
||||
};
|
||||
|
||||
_vehicle_378 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "UralWreck" createVehicleLocal [5798.4321, 5161.209, 4.5776367e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_378 = _this;
|
||||
_this setDir -58.649803;
|
||||
_this setPos [5798.4321, 5161.209, 4.5776367e-005];
|
||||
};
|
||||
|
||||
_vehicle_381 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [5796.3213, 5168.3052, -0.00012207031];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_381 = _this;
|
||||
_this setDir -102.43096;
|
||||
_this setPos [5796.3213, 5168.3052, -0.00012207031];
|
||||
};
|
||||
|
||||
_vehicle_383 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [5794.877, 5157.9111, -0.00021362305];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_383 = _this;
|
||||
_this setDir -154.39388;
|
||||
_this setPos [5794.877, 5157.9111, -0.00021362305];
|
||||
};
|
||||
|
||||
_vehicle_385 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [5792.832, 5163.8003, -4.5776367e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_385 = _this;
|
||||
_this setDir -97.141403;
|
||||
_this setPos [5792.832, 5163.8003, -4.5776367e-005];
|
||||
};
|
||||
|
||||
_vehicle_387 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [5802.4307, 5213.1123, -0.00016784668];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_387 = _this;
|
||||
_this setDir -99.565521;
|
||||
_this setPos [5802.4307, 5213.1123, -0.00016784668];
|
||||
};
|
||||
|
||||
_vehicle_389 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [5800.0649, 5220.5977, -3.0517578e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_389 = _this;
|
||||
_this setDir -99.565521;
|
||||
_this setPos [5800.0649, 5220.5977, -3.0517578e-005];
|
||||
};
|
||||
|
||||
_vehicle_392 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [5804.439, 5215.0063, -0.0001373291];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_392 = _this;
|
||||
_this setPos [5804.439, 5215.0063, -0.0001373291];
|
||||
};
|
||||
|
||||
_vehicle_394 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [5799.7075, 5164.0625, 0];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_394 = _this;
|
||||
_this setPos [5799.7075, 5164.0625, 0];
|
||||
};
|
||||
|
||||
_vehicle_396 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [5795.9951, 5165.9434, 1.5258789e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_396 = _this;
|
||||
_this setPos [5795.9951, 5165.9434, 1.5258789e-005];
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,53 @@
|
||||
if (!isServer) then {
|
||||
_vehicle_259 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [9221.8047, 4960.5381, 0];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_259 = _this;
|
||||
_this setPos [9221.8047, 4960.5381, 0];
|
||||
};
|
||||
|
||||
_vehicle_261 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [9215.4082, 4959.6289, -2.2888184e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_261 = _this;
|
||||
_this setPos [9215.4082, 4959.6289, -2.2888184e-005];
|
||||
};
|
||||
|
||||
_vehicle_264 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [9217.5645, 4961.3643, -7.6293945e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_264 = _this;
|
||||
_this setDir -146.58554;
|
||||
_this setPos [9217.5645, 4961.3643, -7.6293945e-005];
|
||||
};
|
||||
|
||||
_vehicle_266 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [9220.0195, 4953.0513, -2.2888184e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_266 = _this;
|
||||
_this setDir -108.14923;
|
||||
_this setPos [9220.0195, 4953.0513, -2.2888184e-005];
|
||||
};
|
||||
|
||||
_vehicle_269 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [9217.207, 4953.2314, 7.6293945e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_269 = _this;
|
||||
_this setPos [9217.207, 4953.2314, 7.6293945e-006];
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,118 @@
|
||||
if (!isServer) then {
|
||||
_vehicle_235 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [10044.766, 4155.1172, 0.00061035156];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_235 = _this;
|
||||
_this setPos [10044.766, 4155.1172, 0.00061035156];
|
||||
};
|
||||
|
||||
_vehicle_237 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [10037.467, 4167.7607, -0.00018310547];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_237 = _this;
|
||||
_this setPos [10037.467, 4167.7607, -0.00018310547];
|
||||
};
|
||||
|
||||
_vehicle_240 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [10040.509, 4159.4536, 1.9073486e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_240 = _this;
|
||||
_this setDir -134.36063;
|
||||
_this setPos [10040.509, 4159.4536, 1.9073486e-005];
|
||||
};
|
||||
|
||||
_vehicle_242 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [10008.558, 4198.1191, 0.00020217896];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_242 = _this;
|
||||
_this setDir -212.14496;
|
||||
_this setPos [10008.558, 4198.1191, 0.00020217896];
|
||||
};
|
||||
|
||||
_vehicle_244 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [9981.3945, 4218.0845, 5.7220459e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_244 = _this;
|
||||
_this setDir -75.220901;
|
||||
_this setPos [9981.3945, 4218.0845, 5.7220459e-005];
|
||||
};
|
||||
|
||||
_vehicle_246 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [9970.2891, 4214.0723, 0.00016021729];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_246 = _this;
|
||||
_this setDir -212.14496;
|
||||
_this setPos [9970.2891, 4214.0723, 0.00016021729];
|
||||
};
|
||||
|
||||
_vehicle_248 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [9972.3984, 4216.5981, -9.5367432e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_248 = _this;
|
||||
_this setDir -106.91085;
|
||||
_this setPos [9972.3984, 4216.5981, -9.5367432e-005];
|
||||
};
|
||||
|
||||
_vehicle_250 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [9980.2734, 4168.4639, 1.9073486e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_250 = _this;
|
||||
_this setDir -238.96138;
|
||||
_this setPos [9980.2734, 4168.4639, 1.9073486e-005];
|
||||
};
|
||||
|
||||
_vehicle_252 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [10005.476, 4147.1729, -3.0517578e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_252 = _this;
|
||||
_this setDir -154.11565;
|
||||
_this setPos [10005.476, 4147.1729, -3.0517578e-005];
|
||||
};
|
||||
|
||||
_vehicle_255 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [9975.0391, 4217.8608, -3.4332275e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_255 = _this;
|
||||
_this setPos [9975.0391, 4217.8608, -3.4332275e-005];
|
||||
};
|
||||
|
||||
_vehicle_257 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [10005.835, 4200.8569, 4.9591064e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_257 = _this;
|
||||
_this setPos [10005.835, 4200.8569, 4.9591064e-005];
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,55 @@
|
||||
if (!isServer) then {
|
||||
_vehicle_292 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [7081.7197, 7339.3687, -3.0517578e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_292 = _this;
|
||||
_this setPos [7081.7197, 7339.3687, -3.0517578e-005];
|
||||
};
|
||||
|
||||
_vehicle_295 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [7081.373, 7335.3784];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_295 = _this;
|
||||
_this setDir -167.71442;
|
||||
_this setPos [7081.373, 7335.3784];
|
||||
};
|
||||
|
||||
_vehicle_297 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [7077.8691, 7338.8906, -3.0517578e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_297 = _this;
|
||||
_this setDir -99.565521;
|
||||
_this setPos [7077.8691, 7338.8906, -3.0517578e-005];
|
||||
};
|
||||
|
||||
_vehicle_299 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [7085.6162, 7311.5015];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_299 = _this;
|
||||
_this setDir -191.12827;
|
||||
_this setPos [7085.6162, 7311.5015];
|
||||
};
|
||||
|
||||
_vehicle_301 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [7088.4497, 7314.1401, -3.0517578e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_301 = _this;
|
||||
_this setDir -95.034286;
|
||||
_this setPos [7088.4497, 7314.1401, -3.0517578e-005];
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,371 @@
|
||||
if (!isServer) then {
|
||||
_vehicle_71 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "UralWreck" createVehicleLocal [9457.4082, 13539.698, 0.00012207031];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_71 = _this;
|
||||
_this setDir -48.00666;
|
||||
_this setPos [9457.4082, 13539.698, 0.00012207031];
|
||||
};
|
||||
|
||||
_vehicle_74 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Mass_grave" createVehicleLocal [9432.0479, 13551.514, 3.0517578e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_74 = _this;
|
||||
_this setDir -52.928001;
|
||||
_this setPos [9432.0479, 13551.514, 3.0517578e-005];
|
||||
};
|
||||
|
||||
_vehicle_77 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [9452.0176, 13542.769, 0.0001449585];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_77 = _this;
|
||||
_this setPos [9452.0176, 13542.769, 0.0001449585];
|
||||
};
|
||||
|
||||
_vehicle_79 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [9434.6738, 13553.595, 0.00038146973];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_79 = _this;
|
||||
_this setPos [9434.6738, 13553.595, 0.00038146973];
|
||||
};
|
||||
|
||||
_vehicle_81 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [9429.7334, 13547.495, 3.8146973e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_81 = _this;
|
||||
_this setPos [9429.7334, 13547.495, 3.8146973e-005];
|
||||
};
|
||||
|
||||
_vehicle_84 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [9431.8369, 13546.111, 0.00010681152];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_84 = _this;
|
||||
_this setDir -170.19336;
|
||||
_this setPos [9431.8369, 13546.111, 0.00010681152];
|
||||
};
|
||||
|
||||
_vehicle_86 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [9440.8145, 13549.473, 5.3405762e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_86 = _this;
|
||||
_this setDir -212.14496;
|
||||
_this setPos [9440.8145, 13549.473, 5.3405762e-005];
|
||||
};
|
||||
|
||||
_vehicle_88 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [9443.5781, 13542.093, 0.00016784668];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_88 = _this;
|
||||
_this setDir -121.03424;
|
||||
_this setPos [9443.5781, 13542.093, 0.00016784668];
|
||||
};
|
||||
|
||||
_vehicle_90 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [9448.1299, 13545.927, -3.8146973e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_90 = _this;
|
||||
_this setDir -80.685539;
|
||||
_this setPos [9448.1299, 13545.927, -3.8146973e-005];
|
||||
};
|
||||
|
||||
_vehicle_92 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [9443.166, 13549.999, -2.2888184e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_92 = _this;
|
||||
_this setDir -188.25583;
|
||||
_this setPos [9443.166, 13549.999, -2.2888184e-005];
|
||||
};
|
||||
|
||||
_vehicle_94 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "BRDMWreck" createVehicleLocal [9437.0771, 13544.629, 0.00090026855];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_94 = _this;
|
||||
_this setPos [9437.0771, 13544.629, 0.00090026855];
|
||||
};
|
||||
|
||||
_vehicle_95 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "UAZWreck" createVehicleLocal [9444.9355, 13545.063, 0.00030517578];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_95 = _this;
|
||||
_this setDir 137.0313;
|
||||
_this setPos [9444.9355, 13545.063, 0.00030517578];
|
||||
};
|
||||
|
||||
_vehicle_97 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [9451.7236, 13538.354, 6.8664551e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_97 = _this;
|
||||
_this setDir -259.017;
|
||||
_this setPos [9451.7236, 13538.354, 6.8664551e-005];
|
||||
};
|
||||
|
||||
_vehicle_99 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [9673.7705, 13593.981, 1.5258789e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_99 = _this;
|
||||
_this setDir -244.61786;
|
||||
_this setPos [9673.7705, 13593.981, 1.5258789e-005];
|
||||
};
|
||||
|
||||
_vehicle_101 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [9680.7686, 13595.577, 5.3405762e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_101 = _this;
|
||||
_this setDir -212.14496;
|
||||
_this setPos [9680.7686, 13595.577, 5.3405762e-005];
|
||||
};
|
||||
|
||||
_vehicle_103 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [9664.4326, 13590.43, 0.0002746582];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_103 = _this;
|
||||
_this setDir -281.6481;
|
||||
_this setPos [9664.4326, 13590.43, 0.0002746582];
|
||||
};
|
||||
|
||||
_vehicle_106 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [9669.5635, 13590.899, 0.00035858154];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_106 = _this;
|
||||
_this setPos [9669.5635, 13590.899, 0.00035858154];
|
||||
};
|
||||
|
||||
_vehicle_108 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [9657.8125, 13588.521, 0.00022125244];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_108 = _this;
|
||||
_this setPos [9657.8125, 13588.521, 0.00022125244];
|
||||
};
|
||||
|
||||
_vehicle_110 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [9576.584, 13707.372, 9.9182129e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_110 = _this;
|
||||
_this setPos [9576.584, 13707.372, 9.9182129e-005];
|
||||
};
|
||||
|
||||
_vehicle_112 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [9541.1582, 13704.937, -0.00039672852];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_112 = _this;
|
||||
_this setPos [9541.1582, 13704.937, -0.00039672852];
|
||||
};
|
||||
|
||||
_vehicle_114 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [9517.6113, 13728.821, 4.5776367e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_114 = _this;
|
||||
_this setPos [9517.6113, 13728.821, 4.5776367e-005];
|
||||
};
|
||||
|
||||
_vehicle_116 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [9474.7754, 13754.797, -0.00031280518];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_116 = _this;
|
||||
_this setPos [9474.7754, 13754.797, -0.00031280518];
|
||||
};
|
||||
|
||||
_vehicle_118 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [9426.668, 13678.309, 5.3405762e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_118 = _this;
|
||||
_this setPos [9426.668, 13678.309, 5.3405762e-005];
|
||||
};
|
||||
|
||||
_vehicle_120 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [9428.501, 13656.878, -3.8146973e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_120 = _this;
|
||||
_this setPos [9428.501, 13656.878, -3.8146973e-005];
|
||||
};
|
||||
|
||||
_vehicle_123 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [9423.6484, 13638.107, -2.2888184e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_123 = _this;
|
||||
_this setDir -228.21346;
|
||||
_this setPos [9423.6484, 13638.107, -2.2888184e-005];
|
||||
};
|
||||
|
||||
_vehicle_125 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [9368.6328, 13630.045, 0.0001373291];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_125 = _this;
|
||||
_this setDir -267.00247;
|
||||
_this setPos [9368.6328, 13630.045, 0.0001373291];
|
||||
};
|
||||
|
||||
_vehicle_127 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [9296.8057, 13615.553, 2.2888184e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_127 = _this;
|
||||
_this setDir -251.21594;
|
||||
_this setPos [9296.8057, 13615.553, 2.2888184e-005];
|
||||
};
|
||||
|
||||
_vehicle_130 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Mass_grave" createVehicleLocal [9252.1475, 13511.981, 7.6293945e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_130 = _this;
|
||||
_this setDir -52.928001;
|
||||
_this setPos [9252.1475, 13511.981, 7.6293945e-006];
|
||||
};
|
||||
|
||||
_vehicle_133 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [9257.1104, 13508.626, 1.5258789e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_133 = _this;
|
||||
_this setPos [9257.1104, 13508.626, 1.5258789e-005];
|
||||
};
|
||||
|
||||
_vehicle_135 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [9249.5225, 13518.601, 4.5776367e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_135 = _this;
|
||||
_this setPos [9249.5225, 13518.601, 4.5776367e-005];
|
||||
};
|
||||
|
||||
_vehicle_137 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [9245.9922, 13513.451, 8.392334e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_137 = _this;
|
||||
_this setPos [9245.9922, 13513.451, 8.392334e-005];
|
||||
};
|
||||
|
||||
_vehicle_140 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [9256.2549, 13515.218, 0.00019073486];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_140 = _this;
|
||||
_this setDir -228.21346;
|
||||
_this setPos [9256.2549, 13515.218, 0.00019073486];
|
||||
};
|
||||
|
||||
_vehicle_142 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [9247.6396, 13508.521, 9.9182129e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_142 = _this;
|
||||
_this setDir -272.11749;
|
||||
_this setPos [9247.6396, 13508.521, 9.9182129e-005];
|
||||
};
|
||||
|
||||
_vehicle_144 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [9253.5586, 13506.814, -2.2888184e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_144 = _this;
|
||||
_this setDir -189.57385;
|
||||
_this setPos [9253.5586, 13506.814, -2.2888184e-005];
|
||||
};
|
||||
|
||||
_vehicle_147 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "UAZWreck" createVehicleLocal [9249.2705, 13505.702, -6.1035156e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_147 = _this;
|
||||
_this setDir 52.073601;
|
||||
_this setPos [9249.2705, 13505.702, -6.1035156e-005];
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,63 @@
|
||||
if (!isServer) then {
|
||||
_vehicle_361 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [4212.3784, 6755.0444, 6.1035156e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_361 = _this;
|
||||
_this setDir -228.21346;
|
||||
_this setPos [4212.3784, 6755.0444, 6.1035156e-005];
|
||||
};
|
||||
|
||||
_vehicle_363 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [4220.8774, 6743.3584, -9.1552734e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_363 = _this;
|
||||
_this setDir -281.87775;
|
||||
_this setPos [4220.8774, 6743.3584, -9.1552734e-005];
|
||||
};
|
||||
|
||||
_vehicle_366 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [4220.0347, 6739.5332, 3.0517578e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_366 = _this;
|
||||
_this setPos [4220.0347, 6739.5332, 3.0517578e-005];
|
||||
};
|
||||
|
||||
_vehicle_368 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [4215.8643, 6759.1436, 3.0517578e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_368 = _this;
|
||||
_this setPos [4215.8643, 6759.1436, 3.0517578e-005];
|
||||
};
|
||||
|
||||
_vehicle_370 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [4232.8799, 6753.3657, -0.00018310547];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_370 = _this;
|
||||
_this setPos [4232.8799, 6753.3657, -0.00018310547];
|
||||
};
|
||||
|
||||
_vehicle_372 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [4230.6279, 6744.4331, 3.0517578e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_372 = _this;
|
||||
_this setPos [4230.6279, 6744.4331, 3.0517578e-005];
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,131 @@
|
||||
if (!isServer) then {
|
||||
_vehicle_430 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "UralWreck" createVehicleLocal [11433.314, 7411.0557, -0.0001373291];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_430 = _this;
|
||||
_this setDir -194.18532;
|
||||
_this setPos [11433.314, 7411.0557, -0.0001373291];
|
||||
};
|
||||
|
||||
_vehicle_433 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [11430.294, 7410.1196, 1.5258789e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_433 = _this;
|
||||
_this setPos [11430.294, 7410.1196, 1.5258789e-005];
|
||||
};
|
||||
|
||||
_vehicle_435 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [11437.344, 7408.6289, -0.00012207031];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_435 = _this;
|
||||
_this setPos [11437.344, 7408.6289, -0.00012207031];
|
||||
};
|
||||
|
||||
_vehicle_438 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [11431.472, 7408.3032, 3.0517578e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_438 = _this;
|
||||
_this setDir -84.939537;
|
||||
_this setPos [11431.472, 7408.3032, 3.0517578e-005];
|
||||
};
|
||||
|
||||
_vehicle_440 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [11434.552, 7407.3159, -4.5776367e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_440 = _this;
|
||||
_this setDir -304.34631;
|
||||
_this setPos [11434.552, 7407.3159, -4.5776367e-005];
|
||||
};
|
||||
|
||||
_vehicle_442 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [11437.357, 7410.9531, -3.0517578e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_442 = _this;
|
||||
_this setDir -204.96391;
|
||||
_this setPos [11437.357, 7410.9531, -3.0517578e-005];
|
||||
};
|
||||
|
||||
_vehicle_444 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [11439.242, 7406.856, -0.00012207031];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_444 = _this;
|
||||
_this setDir -261.20151;
|
||||
_this setPos [11439.242, 7406.856, -0.00012207031];
|
||||
};
|
||||
|
||||
_vehicle_446 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body" createVehicleLocal [11439.403, 7409.4946, -0.00019836426];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_446 = _this;
|
||||
_this setDir 13.155063;
|
||||
_this setPos [11439.403, 7409.4946, -0.00019836426];
|
||||
};
|
||||
|
||||
_vehicle_448 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body" createVehicleLocal [11440.139, 7409.272, -0.00012207031];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_448 = _this;
|
||||
_this setDir 14.372873;
|
||||
_this setPos [11440.139, 7409.272, -0.00012207031];
|
||||
};
|
||||
|
||||
_vehicle_450 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body" createVehicleLocal [11440.929, 7409.0415, -9.1552734e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_450 = _this;
|
||||
_this setDir 14.934533;
|
||||
_this setPos [11440.929, 7409.0415, -9.1552734e-005];
|
||||
};
|
||||
|
||||
_vehicle_452 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body" createVehicleLocal [11441.74, 7408.8022, -7.6293945e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_452 = _this;
|
||||
_this setDir 16.072056;
|
||||
_this setPos [11441.74, 7408.8022, -7.6293945e-005];
|
||||
};
|
||||
|
||||
_vehicle_454 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body" createVehicleLocal [11442.58, 7408.5737, -6.1035156e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_454 = _this;
|
||||
_this setDir 15.20478;
|
||||
_this setPos [11442.58, 7408.5737, -6.1035156e-005];
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,86 @@
|
||||
if (!isServer) then {
|
||||
_vehicle_326 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Mass_grave" createVehicleLocal [6565.0298, 9319.8213, 3.0517578e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_326 = _this;
|
||||
_this setDir -16.023432;
|
||||
_this setPos [6565.0298, 9319.8213, 3.0517578e-005];
|
||||
};
|
||||
|
||||
_vehicle_329 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [6559.8589, 9318.3184, -3.0517578e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_329 = _this;
|
||||
_this setDir -134.36063;
|
||||
_this setPos [6559.8589, 9318.3184, -3.0517578e-005];
|
||||
};
|
||||
|
||||
_vehicle_331 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [6568.5313, 9322.5537, -9.1552734e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_331 = _this;
|
||||
_this setDir -49.255459;
|
||||
_this setPos [6568.5313, 9322.5537, -9.1552734e-005];
|
||||
};
|
||||
|
||||
_vehicle_333 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [6569.2568, 9317.0537, 3.0517578e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_333 = _this;
|
||||
_this setDir -6.7714462;
|
||||
_this setPos [6569.2568, 9317.0537, 3.0517578e-005];
|
||||
};
|
||||
|
||||
_vehicle_336 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [6563.2573, 9315.5889, -6.1035156e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_336 = _this;
|
||||
_this setPos [6563.2573, 9315.5889, -6.1035156e-005];
|
||||
};
|
||||
|
||||
_vehicle_338 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [6559.5259, 9290.957, 3.0517578e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_338 = _this;
|
||||
_this setPos [6559.5259, 9290.957, 3.0517578e-005];
|
||||
};
|
||||
|
||||
_vehicle_340 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [6550.4502, 9272.209, 3.0517578e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_340 = _this;
|
||||
_this setPos [6550.4502, 9272.209, 3.0517578e-005];
|
||||
};
|
||||
|
||||
_vehicle_343 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [6566.4673, 9315.0459, -3.0517578e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_343 = _this;
|
||||
_this setDir -104.92654;
|
||||
_this setPos [6566.4673, 9315.0459, -3.0517578e-005];
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,65 @@
|
||||
if (!isServer) then {
|
||||
_vehicle_346 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Mass_grave" createVehicleLocal [3343.3696, 6476.2764, -0.00012207031];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_346 = _this;
|
||||
_this setDir -127.91888;
|
||||
_this setPos [3343.3696, 6476.2764, -0.00012207031];
|
||||
};
|
||||
|
||||
_vehicle_349 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [3346.2217, 6479.2134];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_349 = _this;
|
||||
_this setDir -163.78368;
|
||||
_this setPos [3346.2217, 6479.2134];
|
||||
};
|
||||
|
||||
_vehicle_351 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [3349.7419, 6476.9492];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_351 = _this;
|
||||
_this setDir -266.83978;
|
||||
_this setPos [3349.7419, 6476.9492];
|
||||
};
|
||||
|
||||
_vehicle_354 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [3348.4307, 6479.6782, 0];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_354 = _this;
|
||||
_this setPos [3348.4307, 6479.6782, 0];
|
||||
};
|
||||
|
||||
_vehicle_356 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [3345.9199, 6471.7793, 6.1035156e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_356 = _this;
|
||||
_this setPos [3345.9199, 6471.7793, 6.1035156e-005];
|
||||
};
|
||||
|
||||
_vehicle_359 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [3341.0183, 6479.5151];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_359 = _this;
|
||||
_this setDir -194.82481;
|
||||
_this setPos [3341.0183, 6479.5151];
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,54 @@
|
||||
if (!isServer) then {
|
||||
_vehicle_303 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [5910.3682, 7969.2676, -0.00033569336];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_303 = _this;
|
||||
_this setDir -216.50493;
|
||||
_this setPos [5910.3682, 7969.2676, -0.00033569336];
|
||||
};
|
||||
|
||||
_vehicle_305 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [5914.7852, 7968.6514, -6.1035156e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_305 = _this;
|
||||
_this setDir -70.557304;
|
||||
_this setPos [5914.7852, 7968.6514, -6.1035156e-005];
|
||||
};
|
||||
|
||||
_vehicle_307 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [5902.3218, 7964.917, -0.00021362305];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_307 = _this;
|
||||
_this setDir -146.58554;
|
||||
_this setPos [5902.3218, 7964.917, -0.00021362305];
|
||||
};
|
||||
|
||||
_vehicle_310 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [5917.2178, 7968.6299, -0.00015258789];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_310 = _this;
|
||||
_this setPos [5917.2178, 7968.6299, -0.00015258789];
|
||||
};
|
||||
|
||||
_vehicle_312 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [5905.082, 7966.4629, -0.00015258789];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_312 = _this;
|
||||
_this setPos [5905.082, 7966.4629, -0.00015258789];
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,130 @@
|
||||
if (!isServer) then {
|
||||
_vehicle_206 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "HMMWVWreck" createVehicleLocal [10336.892, 3654.115, -0.00019836426];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_206 = _this;
|
||||
_this setDir 133.86368;
|
||||
_this setPos [10336.892, 3654.115, -0.00019836426];
|
||||
};
|
||||
|
||||
_vehicle_208 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [10336.825, 3650.8271, -2.2888184e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_208 = _this;
|
||||
_this setPos [10336.825, 3650.8271, -2.2888184e-005];
|
||||
};
|
||||
|
||||
_vehicle_211 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [10336.369, 3657.344, 0.00030899048];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_211 = _this;
|
||||
_this setDir -213.99055;
|
||||
_this setPos [10336.369, 3657.344, 0.00030899048];
|
||||
};
|
||||
|
||||
_vehicle_213 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [10336.521, 3648.813, -0.00057220459];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_213 = _this;
|
||||
_this setDir -248.33588;
|
||||
_this setPos [10336.521, 3648.813, -0.00057220459];
|
||||
};
|
||||
|
||||
_vehicle_216 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "UralWreck" createVehicleLocal [10276.451, 3771.7332, -3.8146973e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_216 = _this;
|
||||
_this setDir -168.77797;
|
||||
_this setPos [10276.451, 3771.7332, -3.8146973e-006];
|
||||
};
|
||||
|
||||
_vehicle_219 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [10271.492, 3768.1182, 1.5258789e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_219 = _this;
|
||||
_this setPos [10271.492, 3768.1182, 1.5258789e-005];
|
||||
};
|
||||
|
||||
_vehicle_221 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [10281.723, 3764.1689, -0.00010681152];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_221 = _this;
|
||||
_this setPos [10281.723, 3764.1689, -0.00010681152];
|
||||
};
|
||||
|
||||
_vehicle_224 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [10272.653, 3770.627, -6.4849854e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_224 = _this;
|
||||
_this setDir -421.72046;
|
||||
_this setPos [10272.653, 3770.627, -6.4849854e-005];
|
||||
};
|
||||
|
||||
_vehicle_226 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [10273.537, 3767.8638, -3.4332275e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_226 = _this;
|
||||
_this setDir -163.78368;
|
||||
_this setPos [10273.537, 3767.8638, -3.4332275e-005];
|
||||
};
|
||||
|
||||
_vehicle_228 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [10277.839, 3765.0146];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_228 = _this;
|
||||
_this setDir -202.31456;
|
||||
_this setPos [10277.839, 3765.0146];
|
||||
};
|
||||
|
||||
_vehicle_230 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [10280.47, 3766.6904, -1.9073486e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_230 = _this;
|
||||
_this setDir -377.7916;
|
||||
_this setPos [10280.47, 3766.6904, -1.9073486e-005];
|
||||
};
|
||||
|
||||
_vehicle_232 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [10278.315, 3767.0195, -5.7220459e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_232 = _this;
|
||||
_this setDir -261.20151;
|
||||
_this setPos [10278.315, 3767.0195, -5.7220459e-005];
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,65 @@
|
||||
if (!isServer) then {
|
||||
_vehicle_415 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Mass_grave" createVehicleLocal [6237.6729, 3366.7668, -8.2015991e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_415 = _this;
|
||||
_this setDir -51.312054;
|
||||
_this setPos [6237.6729, 3366.7668, -8.2015991e-005];
|
||||
};
|
||||
|
||||
_vehicle_418 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [6242.4287, 3364.9336, -0.00012016296];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_418 = _this;
|
||||
_this setDir -114.80833;
|
||||
_this setPos [6242.4287, 3364.9336, -0.00012016296];
|
||||
};
|
||||
|
||||
_vehicle_420 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [6242.5146, 3368.2773, 9.5367432e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_420 = _this;
|
||||
_this setDir -0.099687576;
|
||||
_this setPos [6242.5146, 3368.2773, 9.5367432e-005];
|
||||
};
|
||||
|
||||
_vehicle_422 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [6236.5488, 3362.2656, 0.00039291382];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_422 = _this;
|
||||
_this setDir -49.255459;
|
||||
_this setPos [6236.5488, 3362.2656, 0.00039291382];
|
||||
};
|
||||
|
||||
_vehicle_425 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [6232.0386, 3368.0271, -0.00010108948];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_425 = _this;
|
||||
_this setPos [6232.0386, 3368.0271, -0.00010108948];
|
||||
};
|
||||
|
||||
_vehicle_427 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [6240.8916, 3363.1448, -2.8610229e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_427 = _this;
|
||||
_this setPos [6240.8916, 3363.1448, -2.8610229e-005];
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,129 @@
|
||||
if (!isServer) then {
|
||||
_vehicle_35 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [13279.391, 11512.981, 0.00014877319];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_35 = _this;
|
||||
_this setPos [13279.391, 11512.981, 0.00014877319];
|
||||
};
|
||||
|
||||
_vehicle_38 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [13280.151, 11516.151, 4.9591064e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_38 = _this;
|
||||
_this setDir -170.19336;
|
||||
_this setPos [13280.151, 11516.151, 4.9591064e-005];
|
||||
};
|
||||
|
||||
_vehicle_41 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [13277.972, 11515.6, 7.8201294e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_41 = _this;
|
||||
_this setDir -272.60867;
|
||||
_this setPos [13277.972, 11515.6, 7.8201294e-005];
|
||||
};
|
||||
|
||||
_vehicle_43 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [13301.37, 11515.237, 0.00051116943];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_43 = _this;
|
||||
_this setDir -170.19336;
|
||||
_this setPos [13301.37, 11515.237, 0.00051116943];
|
||||
};
|
||||
|
||||
_vehicle_45 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [13297.256, 11514.388, 0.00016021729];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_45 = _this;
|
||||
_this setDir -219.6194;
|
||||
_this setPos [13297.256, 11514.388, 0.00016021729];
|
||||
};
|
||||
|
||||
_vehicle_47 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [13254.801, 11606.729, -0.00050735474];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_47 = _this;
|
||||
_this setDir -170.19336;
|
||||
_this setPos [13254.801, 11606.729, -0.00050735474];
|
||||
};
|
||||
|
||||
_vehicle_50 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [13256.146, 11606.896, -0.00047111511];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_50 = _this;
|
||||
_this setPos [13256.146, 11606.896, -0.00047111511];
|
||||
};
|
||||
|
||||
_vehicle_53 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [13257.84, 11607.229, 4.9591064e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_53 = _this;
|
||||
_this setDir -109.22622;
|
||||
_this setPos [13257.84, 11607.229, 4.9591064e-005];
|
||||
};
|
||||
|
||||
_vehicle_55 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [13164.959, 11555.548, -0.00031852722];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_55 = _this;
|
||||
_this setDir -170.19336;
|
||||
_this setPos [13164.959, 11555.548, -0.00031852722];
|
||||
};
|
||||
|
||||
_vehicle_58 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [13167.143, 11555.009, 0.00015449524];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_58 = _this;
|
||||
_this setPos [13167.143, 11555.009, 0.00015449524];
|
||||
};
|
||||
|
||||
_vehicle_60 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicleLocal [13173.876, 11560.699, -0.00048065186];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_60 = _this;
|
||||
_this setPos [13173.876, 11560.699, -0.00048065186];
|
||||
};
|
||||
|
||||
_vehicle_66 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicleLocal [13170.959, 11553.15, 0.00039100647];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_66 = _this;
|
||||
_this setDir -170.19336;
|
||||
_this setPos [13170.959, 11553.15, 0.00039100647];
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,59 @@
|
||||
|
||||
private ["_WaterHoleArray","_ShuffleArray"];
|
||||
|
||||
_WaterHoleArray = [
|
||||
"BlackLake",
|
||||
"Gvozdno",
|
||||
"Gvozdno",
|
||||
"Kabanino",
|
||||
"Kopyto",
|
||||
"Mogilevka",
|
||||
"Nadezdinho",
|
||||
"NorthNadezdinho",
|
||||
"NorthPusta",
|
||||
"NorthTopolka",
|
||||
"Novy",
|
||||
"PobedaDam",
|
||||
"Pogorevka",
|
||||
"Polana",
|
||||
"Prud",
|
||||
"Sosnovy",
|
||||
"Stary",
|
||||
"Topolka",
|
||||
"Vysota",
|
||||
"WillowLake"
|
||||
];
|
||||
|
||||
_ShuffleArray = {
|
||||
private ["_ar","_rand_array","_rand"];
|
||||
_ar = _this;
|
||||
_rand_array = [];
|
||||
while {count _ar > 0} do {
|
||||
_rand = (count _ar);
|
||||
_rand = floor (random _rand);
|
||||
_rand_array set [count _rand_array, _ar select _rand];
|
||||
_ar set [_rand, "randarray_del"];
|
||||
_ar = _ar - ["randarray_del"];
|
||||
sleep 0.001;
|
||||
};
|
||||
_rand_array;
|
||||
};
|
||||
|
||||
_infectedWaterHoles = _WaterHoleArray call _ShuffleArray;
|
||||
|
||||
_i = 0;
|
||||
_t = 0;
|
||||
_activeArray = [];
|
||||
//diag_log [ diag_tickTime, __FILE__, "Sp4wing infectious waterholes..."];
|
||||
{
|
||||
if ((random 1) < 0.5) then {
|
||||
call compile preprocessFileLineNumbers ("\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\"+_x+".sqf");
|
||||
_activeArray set [count _activeArray, _x]; // set
|
||||
_i = _i + 1;
|
||||
};
|
||||
_t = _t + 1;
|
||||
sleep 0.01;
|
||||
}count _infectedWaterHoles;
|
||||
//diag_log [ diag_tickTime, __FILE__, "Infectious waterholes Max,Spawned,Active:",_t,_i,_activeArray];
|
||||
|
||||
|
||||
297
SQF/dayz_code/system/mission/chernarus/poi/C130Crash.sqf
Normal file
297
SQF/dayz_code/system/mission/chernarus/poi/C130Crash.sqf
Normal file
@@ -0,0 +1,297 @@
|
||||
//C130 Crash DayZ
|
||||
//Created by Dr Bane 20/11/2013
|
||||
//Copyright Dr Bane And Musty Gaming
|
||||
|
||||
if (isServer) then {
|
||||
|
||||
_vehicle_233 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_R_HouseV2_02" createVehicle [12711.327, 9545.1387, -4.2915344e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_233 = _this;
|
||||
_this setDir 280.8876;
|
||||
_this setPos [12711.327, 9545.1387, -4.2915344e-006];
|
||||
};
|
||||
|
||||
_vehicle_234 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_R_HouseV2_04" createVehicle [12702.237, 9516.4395, 7.6293945e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_234 = _this;
|
||||
_this setDir -169.90532;
|
||||
_this setPos [12702.237, 9516.4395, 7.6293945e-006];
|
||||
};
|
||||
|
||||
_vehicle_235 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_R_HouseV2_03B" createVehicle [12717.162, 9496.2002];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_235 = _this;
|
||||
_this setDir -259.25668;
|
||||
_this setPos [12717.162, 9496.2002];
|
||||
};
|
||||
|
||||
_vehicle_236 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "C130J_wreck_EP1" createVehicle [12720.771, 9520.5762, 3.8146973e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_236 = _this;
|
||||
_this setDir 78.744171;
|
||||
_this setPos [12720.771, 9520.5762, 3.8146973e-006];
|
||||
};
|
||||
|
||||
_vehicle_239 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_misc_FallenTree2" createVehicle [12733.354, 9515.3232, -1.5258789e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_239 = _this;
|
||||
_this setDir -104.81918;
|
||||
_this setPos [12733.354, 9515.3232, -1.5258789e-005];
|
||||
};
|
||||
|
||||
_vehicle_240 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_misc_FallenTree2" createVehicle [12751.971, 9520.4463, 1.1444092e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_240 = _this;
|
||||
_this setDir -88.273613;
|
||||
_this setPos [12751.971, 9520.4463, 1.1444092e-005];
|
||||
};
|
||||
|
||||
_vehicle_241 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_misc_FallenTree2" createVehicle [12732.947, 9536.0996, 1.9073486e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_241 = _this;
|
||||
_this setDir -81.196098;
|
||||
_this setPos [12732.947, 9536.0996, 1.9073486e-006];
|
||||
};
|
||||
|
||||
_vehicle_242 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_misc_FallenTree2" createVehicle [12770.574, 9542.4629, 4.3869019e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_242 = _this;
|
||||
_this setDir -121.68095;
|
||||
_this setPos [12770.574, 9542.4629, 4.3869019e-005];
|
||||
};
|
||||
|
||||
_vehicle_243 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_misc_stub2" createVehicle [12762.433, 9520.8115, 1.6212463e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_243 = _this;
|
||||
_this setPos [12762.433, 9520.8115, 1.6212463e-005];
|
||||
};
|
||||
|
||||
_vehicle_244 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_misc_stub2" createVehicle [12744.83, 9517.2822, 7.6293945e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_244 = _this;
|
||||
_this setDir 66.082001;
|
||||
_this setPos [12744.83, 9517.2822, 7.6293945e-006];
|
||||
};
|
||||
|
||||
_vehicle_245 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_misc_stub2" createVehicle [12743.733, 9533.6777, -3.8146973e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_245 = _this;
|
||||
_this setDir -115.36677;
|
||||
_this setPos [12743.733, 9533.6777, -3.8146973e-006];
|
||||
};
|
||||
|
||||
_vehicle_246 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_misc_stub2" createVehicle [12778.854, 9546.4971, -7.6293945e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_246 = _this;
|
||||
_this setDir -39.535217;
|
||||
_this setPos [12778.854, 9546.4971, -7.6293945e-006];
|
||||
};
|
||||
|
||||
_vehicle_258 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Fire_DZ" createVehicle [12714.253, 9535.0479, 1.7166138e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_258 = _this;
|
||||
_this setPos [12714.253, 9535.0479, 1.7166138e-005];
|
||||
};
|
||||
|
||||
_vehicle_259 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Fire_DZ" createVehicle [12718.354, 9550.8037, 9.5367432e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_259 = _this;
|
||||
_this setPos [12718.354, 9550.8037, 9.5367432e-006];
|
||||
};
|
||||
|
||||
_vehicle_261 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Camp_Fire_DZ" createVehicle [12718.582, 9550.5176, -1.9073486e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_261 = _this;
|
||||
_this setPos [12718.582, 9550.5176, -1.9073486e-006];
|
||||
};
|
||||
|
||||
_vehicle_262 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Camp_Fire_DZ" createVehicle [12715.522, 9536.3525, -2.0027161e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_262 = _this;
|
||||
_this setPos [12715.522, 9536.3525, -2.0027161e-005];
|
||||
};
|
||||
|
||||
_vehicle_263 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Camp_Fire_DZ" createVehicle [12715.18, 9539.3896, 2.5749207e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_263 = _this;
|
||||
_this setPos [12715.18, 9539.3896, 2.5749207e-005];
|
||||
};
|
||||
|
||||
_vehicle_264 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Camp_Fire_DZ" createVehicle [12721.592, 9502.25, -3.8146973e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_264 = _this;
|
||||
_this setPos [12721.592, 9502.25, -3.8146973e-006];
|
||||
};
|
||||
|
||||
_vehicle_265 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Camp_Fire_DZ" createVehicle [12706.214, 9510.5488, 8.2015991e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_265 = _this;
|
||||
_this setPos [12706.214, 9510.5488, 8.2015991e-005];
|
||||
};
|
||||
|
||||
_vehicle_266 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Camp_Fire_DZ" createVehicle [12705.977, 9513.2109, -3.2424927e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_266 = _this;
|
||||
_this setPos [12705.977, 9513.2109, -3.2424927e-005];
|
||||
};
|
||||
|
||||
_vehicle_267 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Camp_Fire_DZ" createVehicle [12703.96, 9511.3291, 3.8146973e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_267 = _this;
|
||||
_this setPos [12703.96, 9511.3291, 3.8146973e-006];
|
||||
};
|
||||
|
||||
_vehicle_268 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Camp_Fire_DZ" createVehicle [12698.857, 9523.0391, 4.7683716e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_268 = _this;
|
||||
_this setPos [12698.857, 9523.0391, 4.7683716e-005];
|
||||
};
|
||||
|
||||
_vehicle_269 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Camp_Fire_DZ" createVehicle [12707.414, 9537.0137, 1.7166138e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_269 = _this;
|
||||
_this setPos [12707.414, 9537.0137, 1.7166138e-005];
|
||||
};
|
||||
|
||||
_vehicle_270 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Camp_Fire_DZ" createVehicle [12700.703, 9515.3945, 7.1904426];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_270 = _this;
|
||||
_this setPos [12700.703, 9515.3945, 7.1904426];
|
||||
};
|
||||
|
||||
_vehicle_271 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Camp_Fire_DZ" createVehicle [12701.083, 9516.9688, 7.2510133];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_271 = _this;
|
||||
_this setPos [12701.083, 9516.9688, 7.2510133];
|
||||
};
|
||||
|
||||
_vehicle_272 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Camp_Fire_DZ" createVehicle [12707.344, 9520.4121, -0.00011634827];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_272 = _this;
|
||||
_this setPos [12707.344, 9520.4121, -0.00011634827];
|
||||
};
|
||||
|
||||
_vehicle_273 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Camp_Fire_DZ" createVehicle [12712.194, 9544.3564, 8.9676323];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_273 = _this;
|
||||
_this setPos [12712.194, 9544.3564, 8.9676323];
|
||||
};
|
||||
|
||||
_vehicle_274 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Camp_Fire_DZ" createVehicle [12710.407, 9548.6572, 8.768301];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_274 = _this;
|
||||
_this setPos [12710.407, 9548.6572, 8.768301];
|
||||
};
|
||||
};
|
||||
403
SQF/dayz_code/system/mission/chernarus/poi/ChernoBuildings.sqf
Normal file
403
SQF/dayz_code/system/mission/chernarus/poi/ChernoBuildings.sqf
Normal file
@@ -0,0 +1,403 @@
|
||||
//Cherno Buildings DayZ
|
||||
//Created by Dr Bane 20/11/2013
|
||||
//Copyright Dr Bane And Musty Gaming
|
||||
|
||||
if (isServer) then {
|
||||
|
||||
_vehicle_24 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Panelak3" createVehicle [7017.1802, 2832.1252, -1.9073486e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_24 = _this;
|
||||
_this setDir 142.68503;
|
||||
_this setPos [7017.1802, 2832.1252, -1.9073486e-005];
|
||||
};
|
||||
|
||||
_vehicle_25 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Panelak2" createVehicle [7033.9487, 2845.1497, -7.6293945e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_25 = _this;
|
||||
_this setDir 142.71629;
|
||||
_this setPos [7033.9487, 2845.1497, -7.6293945e-006];
|
||||
};
|
||||
|
||||
_vehicle_26 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Panelak2" createVehicle [7054.0884, 2863.4966, 6.6757202e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_26 = _this;
|
||||
_this setDir -126.68169;
|
||||
_this setPos [7054.0884, 2863.4966, 6.6757202e-006];
|
||||
};
|
||||
|
||||
_vehicle_27 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Panelak2" createVehicle [7030.981, 2813.6396, -1.9073486e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_27 = _this;
|
||||
_this setDir -37.376324;
|
||||
_this setPos [7030.981, 2813.6396, -1.9073486e-006];
|
||||
};
|
||||
|
||||
_vehicle_28 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Panelak3" createVehicle [7047.502, 2826.5066, 4.2915344e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_28 = _this;
|
||||
_this setDir -37.7827;
|
||||
_this setPos [7047.502, 2826.5066, 4.2915344e-006];
|
||||
};
|
||||
|
||||
_vehicle_29 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Panelak2" createVehicle [7078.9531, 2834.1553, 2.2888184e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_29 = _this;
|
||||
_this setDir -37.152187;
|
||||
_this setPos [7078.9531, 2834.1553, 2.2888184e-005];
|
||||
};
|
||||
|
||||
_vehicle_30 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Panelak3" createVehicle [7076.1099, 2861.5081, 2.8610229e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_30 = _this;
|
||||
_this setDir -126.49503;
|
||||
_this setPos [7076.1099, 2861.5081, 2.8610229e-006];
|
||||
};
|
||||
|
||||
_vehicle_31 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Panelak2" createVehicle [6997.2598, 2838.3906, 3.7670135e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_31 = _this;
|
||||
_this setDir 233.08496;
|
||||
_this setPos [6997.2598, 2838.3906, 3.7670135e-005];
|
||||
};
|
||||
|
||||
_vehicle_32 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Panelak3" createVehicle [7021.0967, 2767.9297, -4.7683716e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_32 = _this;
|
||||
_this setDir 52.002502;
|
||||
_this setPos [7021.0967, 2767.9297, -4.7683716e-006];
|
||||
};
|
||||
|
||||
_vehicle_34 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Panelak2" createVehicle [6977.5898, 2844.4226, 1.9073486e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_34 = _this;
|
||||
_this setDir 142.41486;
|
||||
_this setPos [6977.5898, 2844.4226, 1.9073486e-006];
|
||||
};
|
||||
|
||||
_vehicle_35 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Panelak2" createVehicle [7034.1514, 2793.9668, 2.0980835e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_35 = _this;
|
||||
_this setDir -127.15548;
|
||||
_this setPos [7034.1514, 2793.9668, 2.0980835e-005];
|
||||
};
|
||||
|
||||
_vehicle_40 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_A_GeneralStore_01" createVehicle [7054.2852, 2779.2981, 4.5776367e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_40 = _this;
|
||||
_this setDir -127.20033;
|
||||
_this setPos [7054.2852, 2779.2981, 4.5776367e-005];
|
||||
};
|
||||
|
||||
_vehicle_50 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_phone_box" createVehicle [7042.6147, 2776.8606, 1.2220162];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_50 = _this;
|
||||
_this setDir -37.120174;
|
||||
_this setPos [7042.6147, 2776.8606, 1.2220162];
|
||||
};
|
||||
|
||||
_vehicle_72 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_t_fagus2s" createVehicle [7062.9316, 2753.7759, -2.8610229e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_72 = _this;
|
||||
_this setDir 53.231174;
|
||||
_this setPos [7062.9316, 2753.7759, -2.8610229e-006];
|
||||
};
|
||||
|
||||
_vehicle_73 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_t_malus1s" createVehicle [7037.6626, 2781.1833, -1.1444092e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_73 = _this;
|
||||
_this setPos [7037.6626, 2781.1833, -1.1444092e-005];
|
||||
};
|
||||
|
||||
_vehicle_83 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_Misc_Greenhouse" createVehicle [7066.8647, 2816.1692, 7.1525574e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_83 = _this;
|
||||
_this setDir 53.482254;
|
||||
_this setPos [7066.8647, 2816.1692, 7.1525574e-006];
|
||||
};
|
||||
|
||||
_vehicle_84 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_Misc_Greenhouse" createVehicle [7063.1958, 2813.4331, 1.335144e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_84 = _this;
|
||||
_this setDir 53.615242;
|
||||
_this setPos [7063.1958, 2813.4331, 1.335144e-005];
|
||||
};
|
||||
|
||||
_vehicle_197 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "C130J_wreck_EP1" createVehicle [6947.1333, 2799.593, 1.1444092e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_197 = _this;
|
||||
_this setDir 154.08904;
|
||||
_this setPos [6947.1333, 2799.593, 1.1444092e-005];
|
||||
};
|
||||
|
||||
_vehicle_202 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_misc_FallenTree1" createVehicle [6968.8442, 2787.7422, 1.4305115e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_202 = _this;
|
||||
_this setPos [6968.8442, 2787.7422, 1.4305115e-006];
|
||||
};
|
||||
|
||||
_vehicle_205 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_misc_FallenTree2" createVehicle [6944.7886, 2784.7371, -6.1988831e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_205 = _this;
|
||||
_this setDir -45.92025;
|
||||
_this setPos [6944.7886, 2784.7371, -6.1988831e-006];
|
||||
};
|
||||
|
||||
_vehicle_206 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_misc_FallenTree2" createVehicle [6947.2598, 2771.8098, 5.2452087e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_206 = _this;
|
||||
_this setDir -19.038361;
|
||||
_this setPos [6947.2598, 2771.8098, 5.2452087e-006];
|
||||
};
|
||||
|
||||
_vehicle_207 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_misc_FallenTree2" createVehicle [6955.9478, 2760.2688, 3.8146973e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_207 = _this;
|
||||
_this setDir -19.759348;
|
||||
_this setPos [6955.9478, 2760.2688, 3.8146973e-006];
|
||||
};
|
||||
|
||||
_vehicle_208 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_misc_FallenSpruce" createVehicle [6963.8408, 2751.6982, -4.7683716e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_208 = _this;
|
||||
_this setDir -39.295834;
|
||||
_this setPos [6963.8408, 2751.6982, -4.7683716e-006];
|
||||
};
|
||||
|
||||
_vehicle_209 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_misc_FallenSpruce" createVehicle [6938.626, 2813.3032];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_209 = _this;
|
||||
_this setDir -32.037121;
|
||||
_this setPos [6938.626, 2813.3032];
|
||||
};
|
||||
|
||||
_vehicle_210 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_misc_FallenTree1" createVehicle [6965.9697, 2769.4019, 1.9073486e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_210 = _this;
|
||||
_this setPos [6965.9697, 2769.4019, 1.9073486e-006];
|
||||
};
|
||||
|
||||
_vehicle_211 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_misc_FallenTree2" createVehicle [6975.3252, 2772.3062, 1.5258789e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_211 = _this;
|
||||
_this setDir -23.15572;
|
||||
_this setPos [6975.3252, 2772.3062, 1.5258789e-005];
|
||||
};
|
||||
|
||||
_vehicle_213 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_misc_stub2" createVehicle [6978.2739, 2763.501, 9.5367432e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_213 = _this;
|
||||
_this setPos [6978.2739, 2763.501, 9.5367432e-006];
|
||||
};
|
||||
|
||||
_vehicle_214 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_misc_stub2" createVehicle [6959.1226, 2751.3816, -1.9073486e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_214 = _this;
|
||||
_this setPos [6959.1226, 2751.3816, -1.9073486e-006];
|
||||
};
|
||||
|
||||
_vehicle_215 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_misc_stub2" createVehicle [6951.0894, 2763.2842, 1.1444092e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_215 = _this;
|
||||
_this setPos [6951.0894, 2763.2842, 1.1444092e-005];
|
||||
};
|
||||
|
||||
_vehicle_216 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_misc_stub2" createVehicle [6951.2749, 2777.1152, -2.3841858e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_216 = _this;
|
||||
_this setPos [6951.2749, 2777.1152, -2.3841858e-006];
|
||||
};
|
||||
|
||||
_vehicle_217 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_misc_FallenTree2" createVehicle [6955.5356, 2809.7603, 2.2888184e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_217 = _this;
|
||||
_this setPos [6955.5356, 2809.7603, 2.2888184e-005];
|
||||
};
|
||||
|
||||
_vehicle_219 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_misc_stub2" createVehicle [6957.6123, 2801.1416, 2.8610229e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_219 = _this;
|
||||
_this setDir 109.69421;
|
||||
_this setPos [6957.6123, 2801.1416, 2.8610229e-005];
|
||||
};
|
||||
|
||||
_vehicle_220 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicle [6977.498, 2755.78, 7.6293945e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_220 = _this;
|
||||
_this setDir 13.802272;
|
||||
_this setPos [6977.498, 2755.78, 7.6293945e-006];
|
||||
};
|
||||
|
||||
_vehicle_221 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicle [6976.8638, 2751.7324, 8.392334e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_221 = _this;
|
||||
_this setPos [6976.8638, 2751.7324, 8.392334e-005];
|
||||
};
|
||||
|
||||
_vehicle_222 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicle [6966.3115, 2770.1753, 4.7683716e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_222 = _this;
|
||||
_this setDir 50.185974;
|
||||
_this setPos [6966.3115, 2770.1753, 4.7683716e-005];
|
||||
};
|
||||
|
||||
_vehicle_223 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body1" createVehicle [6956.0034, 2779.5024, 8.5830688e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_223 = _this;
|
||||
_this setPos [6956.0034, 2779.5024, 8.5830688e-005];
|
||||
};
|
||||
|
||||
_vehicle_224 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Body2" createVehicle [6965.25, 2759.8867, 9.727478e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_224 = _this;
|
||||
_this setDir -108.38199;
|
||||
_this setPos [6965.25, 2759.8867, 9.727478e-005];
|
||||
};
|
||||
};
|
||||
3670
SQF/dayz_code/system/mission/chernarus/poi/DeadForest.sqf
Normal file
3670
SQF/dayz_code/system/mission/chernarus/poi/DeadForest.sqf
Normal file
File diff suppressed because it is too large
Load Diff
4188
SQF/dayz_code/system/mission/chernarus/poi/DevilsFarm.sqf
Normal file
4188
SQF/dayz_code/system/mission/chernarus/poi/DevilsFarm.sqf
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,447 @@
|
||||
//Komyshovo Roadblock DayZ
|
||||
//Created by Dr Bane 20/11/2013
|
||||
//Copyright Dr Bane And Musty Gaming
|
||||
|
||||
if (isServer) then {
|
||||
|
||||
_vehicle_2 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_fort_bagfence_long" createVehicle [11719.48, 3440.4539, 5.7220459e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_2 = _this;
|
||||
_this setDir 165.89674;
|
||||
_this setPos [11719.48, 3440.4539, 5.7220459e-006];
|
||||
};
|
||||
|
||||
_vehicle_3 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_fort_bagfence_long" createVehicle [11712.065, 3428.3638, -2.8133392e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_3 = _this;
|
||||
_this setDir -103.87848;
|
||||
_this setPos [11712.065, 3428.3638, -2.8133392e-005];
|
||||
};
|
||||
|
||||
_vehicle_4 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_fortified_nest_big" createVehicle [11714.736, 3437.1252, -1.4305115e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_4 = _this;
|
||||
_this setDir 166.02483;
|
||||
_this setPos [11714.736, 3437.1252, -1.4305115e-006];
|
||||
};
|
||||
|
||||
_vehicle_5 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Misc_deerstand" createVehicle [11720.772, 3416.7151, -4.7683716e-007];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_5 = _this;
|
||||
_this setDir 75.353737;
|
||||
_this setPos [11720.772, 3416.7151, -4.7683716e-007];
|
||||
};
|
||||
|
||||
_vehicle_9 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Fire_barrel" createVehicle [11707.735, 3431.6147, 1.1444092e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_9 = _this;
|
||||
_this setPos [11707.735, 3431.6147, 1.1444092e-005];
|
||||
};
|
||||
|
||||
_vehicle_10 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "ZavoraAnim" createVehicle [11713.635, 3419.4082, -9.5367432e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_10 = _this;
|
||||
_this setDir 76.036537;
|
||||
_this setPos [11713.635, 3419.4082, -9.5367432e-006];
|
||||
};
|
||||
|
||||
_vehicle_11 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Fort_RazorWire" createVehicle [11713.576, 3415.5337, 4.2915344e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_11 = _this;
|
||||
_this setDir 74.307724;
|
||||
_this setPos [11713.576, 3415.5337, 4.2915344e-006];
|
||||
};
|
||||
|
||||
_vehicle_12 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Fort_RazorWire" createVehicle [11708.621, 3435.376, 4.7683716e-007];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_12 = _this;
|
||||
_this setDir 77.374557;
|
||||
_this setPos [11708.621, 3435.376, 4.7683716e-007];
|
||||
};
|
||||
|
||||
_vehicle_13 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "HMMWVWreck" createVehicle [11699.555, 3425.7571, -3.3378601e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_13 = _this;
|
||||
_this setDir -81.309959;
|
||||
_this setPos [11699.555, 3425.7571, -3.3378601e-006];
|
||||
};
|
||||
|
||||
_vehicle_14 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "LADAWreck" createVehicle [11694.954, 3423.5427, 1.4781952e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_14 = _this;
|
||||
_this setDir -113.2159;
|
||||
_this setPos [11694.954, 3423.5427, 1.4781952e-005];
|
||||
};
|
||||
|
||||
_vehicle_15 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "hiluxWreck" createVehicle [11689.701, 3422.4888, 1.001358e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_15 = _this;
|
||||
_this setDir -99.812798;
|
||||
_this setPos [11689.701, 3422.4888, 1.001358e-005];
|
||||
};
|
||||
|
||||
_vehicle_16 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "LADAWreck" createVehicle [11705.452, 3416.7844, 3.8146973e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_16 = _this;
|
||||
_this setDir -132.45085;
|
||||
_this setPos [11705.452, 3416.7844, 3.8146973e-006];
|
||||
};
|
||||
|
||||
_vehicle_17 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "SKODAWreck" createVehicle [11685.367, 3420.6243, 3.3855438e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_17 = _this;
|
||||
_this setDir -73.341125;
|
||||
_this setPos [11685.367, 3420.6243, 3.3855438e-005];
|
||||
};
|
||||
|
||||
_vehicle_18 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "UAZWreck" createVehicle [11700.761, 3416.4656, -8.5830688e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_18 = _this;
|
||||
_this setDir -92.262016;
|
||||
_this setPos [11700.761, 3416.4656, -8.5830688e-006];
|
||||
};
|
||||
|
||||
_vehicle_19 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "UralWreck" createVehicle [11692.639, 3415.6863, -8.1062317e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_19 = _this;
|
||||
_this setDir -121.88936;
|
||||
_this setPos [11692.639, 3415.6863, -8.1062317e-006];
|
||||
};
|
||||
|
||||
_vehicle_20 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "datsun02Wreck" createVehicle [11680.604, 3417.6348, -1.0967255e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_20 = _this;
|
||||
_this setDir -154.7975;
|
||||
_this setPos [11680.604, 3417.6348, -1.0967255e-005];
|
||||
};
|
||||
|
||||
_vehicle_21 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "SKODAWreck" createVehicle [11677.889, 3420.9666, 3.9577484e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_21 = _this;
|
||||
_this setDir -129.51091;
|
||||
_this setPos [11677.889, 3420.9666, 3.9577484e-005];
|
||||
};
|
||||
|
||||
_vehicle_22 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "HMMWVWreck" createVehicle [11681.577, 3410.0994, -4.7683716e-007];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_22 = _this;
|
||||
_this setPos [11681.577, 3410.0994, -4.7683716e-007];
|
||||
};
|
||||
|
||||
_vehicle_23 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "LADAWreck" createVehicle [11663.863, 3415.5874, 1.9550323e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_23 = _this;
|
||||
_this setDir -79.741982;
|
||||
_this setPos [11663.863, 3415.5874, 1.9550323e-005];
|
||||
};
|
||||
|
||||
_vehicle_27 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "datsun01Wreck" createVehicle [11668.785, 3407.6177, 4.7683716e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_27 = _this;
|
||||
_this setDir -142.55556;
|
||||
_this setPos [11668.785, 3407.6177, 4.7683716e-006];
|
||||
};
|
||||
|
||||
_vehicle_28 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "UAZWreck" createVehicle [11641.327, 3409.6914, 1.9073486e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_28 = _this;
|
||||
_this setDir -93.814919;
|
||||
_this setPos [11641.327, 3409.6914, 1.9073486e-006];
|
||||
};
|
||||
|
||||
_vehicle_30 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "datsun02Wreck" createVehicle [11653.457, 3403.5032, 8.1062317e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_30 = _this;
|
||||
_this setDir -39.047737;
|
||||
_this setPos [11653.457, 3403.5032, 8.1062317e-006];
|
||||
};
|
||||
|
||||
_vehicle_31 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "SKODAWreck" createVehicle [11608.349, 3402.2234, 7.6293945e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_31 = _this;
|
||||
_this setPos [11608.349, 3402.2234, 7.6293945e-006];
|
||||
};
|
||||
|
||||
_vehicle_33 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "UralWreck" createVehicle [11625.264, 3409.9734, -5.7220459e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_33 = _this;
|
||||
_this setDir -126.20835;
|
||||
_this setPos [11625.264, 3409.9734, -5.7220459e-006];
|
||||
};
|
||||
|
||||
_vehicle_34 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "HMMWVWreck" createVehicle [11604.238, 3389.3557, 7.1525574e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_34 = _this;
|
||||
_this setDir -120.86126;
|
||||
_this setPos [11604.238, 3389.3557, 7.1525574e-005];
|
||||
};
|
||||
|
||||
_vehicle_35 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "LADAWreck" createVehicle [11634.291, 3399.3804, -1.5258789e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_35 = _this;
|
||||
_this setDir -62.679699;
|
||||
_this setPos [11634.291, 3399.3804, -1.5258789e-005];
|
||||
};
|
||||
|
||||
_vehicle_36 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "UAZWreck" createVehicle [11587.318, 3383.6511, -1.9073486e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_36 = _this;
|
||||
_this setDir -94.848938;
|
||||
_this setPos [11587.318, 3383.6511, -1.9073486e-006];
|
||||
};
|
||||
|
||||
_vehicle_37 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "SKODAWreck" createVehicle [11579.66, 3391.251, 6.0081482e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_37 = _this;
|
||||
_this setDir -95.228081;
|
||||
_this setPos [11579.66, 3391.251, 6.0081482e-005];
|
||||
};
|
||||
|
||||
_vehicle_38 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "LADAWreck" createVehicle [11593.278, 3395.5137, 7.1525574e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_38 = _this;
|
||||
_this setDir 249.85706;
|
||||
_this setPos [11593.278, 3395.5137, 7.1525574e-006];
|
||||
};
|
||||
|
||||
_vehicle_40 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Camp_Fire_DZ" createVehicle [11580.231, 3391.7131, -1.2302452];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_40 = _this;
|
||||
_this setPos [11580.231, 3391.7131, -1.2302452];
|
||||
};
|
||||
|
||||
_vehicle_41 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Camp_Fire_DZ" createVehicle [11604.376, 3389.4011, -2.3365021e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_41 = _this;
|
||||
_this setPos [11604.376, 3389.4011, -2.3365021e-005];
|
||||
};
|
||||
|
||||
_vehicle_42 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Camp_Fire_DZ" createVehicle [11664.599, 3415.8137, -0.55714953];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_42 = _this;
|
||||
_this setPos [11664.599, 3415.8137, -0.55714953];
|
||||
};
|
||||
|
||||
_vehicle_43 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Camp_Fire_DZ" createVehicle [11700.913, 3416.5945, -0.455836];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_43 = _this;
|
||||
_this setPos [11700.913, 3416.5945, -0.455836];
|
||||
};
|
||||
|
||||
_vehicle_48 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Misc_Garb_Heap_EP1" createVehicle [11658.789, 3415.3887, 2.4795532e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_48 = _this;
|
||||
_this setPos [11658.789, 3415.3887, 2.4795532e-005];
|
||||
};
|
||||
|
||||
_vehicle_54 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Camp_Fire_DZ" createVehicle [11681.44, 3409.2422, 2.8133392e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_54 = _this;
|
||||
_this setPos [11681.44, 3409.2422, 2.8133392e-005];
|
||||
};
|
||||
|
||||
_vehicle_56 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_Camp_Fire_DZ" createVehicle [11678.358, 3421.3154, -0.55780995];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_56 = _this;
|
||||
_this setPos [11678.358, 3421.3154, -0.55780995];
|
||||
};
|
||||
|
||||
_vehicle_62 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "CampEast" createVehicle [11728.482, 3415.5869, 8.1062317e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_62 = _this;
|
||||
_this setDir -194.24361;
|
||||
_this setPos [11728.482, 3415.5869, 8.1062317e-006];
|
||||
};
|
||||
|
||||
_vehicle_63 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "CampEast" createVehicle [11736.565, 3417.7786, -1.1920929e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_63 = _this;
|
||||
_this setDir -194.30165;
|
||||
_this setPos [11736.565, 3417.7786, -1.1920929e-005];
|
||||
};
|
||||
|
||||
_vehicle_66 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "CampEast_EP1" createVehicle [11744.933, 3420.0603, -3.7193298e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_66 = _this;
|
||||
_this setDir -194.99712;
|
||||
_this setPos [11744.933, 3420.0603, -3.7193298e-005];
|
||||
};
|
||||
|
||||
_vehicle_67 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_tent_east" createVehicle [11730.796, 3438.7427, 2.7179718e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_67 = _this;
|
||||
_this setDir 347.01086;
|
||||
_this setPos [11730.796, 3438.7427, 2.7179718e-005];
|
||||
};
|
||||
|
||||
_vehicle_68 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_fort_bagfence_corner" createVehicle [11715.259, 3417.4905, 6.1988831e-006];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_68 = _this;
|
||||
_this setDir 75.434654;
|
||||
_this setPos [11715.259, 3417.4905, 6.1988831e-006];
|
||||
};
|
||||
};
|
||||
2237
SQF/dayz_code/system/mission/chernarus/poi/MilitaryAirpoort.sqf
Normal file
2237
SQF/dayz_code/system/mission/chernarus/poi/MilitaryAirpoort.sqf
Normal file
File diff suppressed because it is too large
Load Diff
3959
SQF/dayz_code/system/mission/chernarus/poi/NEA.sqf
Normal file
3959
SQF/dayz_code/system/mission/chernarus/poi/NEA.sqf
Normal file
File diff suppressed because it is too large
Load Diff
3411
SQF/dayz_code/system/mission/chernarus/poi/Twains.sqf
Normal file
3411
SQF/dayz_code/system/mission/chernarus/poi/Twains.sqf
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,142 @@
|
||||
//Zelenogorsk Buildings DayZ
|
||||
//Created by Dr Bane 20/11/2013
|
||||
//Copyright Dr Bane And Musty Gaming
|
||||
|
||||
if (isServer) then {
|
||||
|
||||
_vehicle_155 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_A_Hospital" createVehicle [2503.7185, 5086.52, -4.5776367e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_155 = _this;
|
||||
_this setDir -33.496323;
|
||||
_this setPos [2503.7185, 5086.52, -4.5776367e-005];
|
||||
};
|
||||
|
||||
_vehicle_160 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "Land_A_Office01" createVehicle [2513.2856, 5050.8096];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_160 = _this;
|
||||
_this setDir -121.60757;
|
||||
_this setPos [2513.2856, 5050.8096];
|
||||
};
|
||||
|
||||
_vehicle_163 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_misc_FallenTree2" createVehicle [2529.1804, 5010.2158, 1.5258789e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_163 = _this;
|
||||
_this setDir -11.951188;
|
||||
_this setPos [2529.1804, 5010.2158, 1.5258789e-005];
|
||||
};
|
||||
|
||||
_vehicle_166 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_misc_stub2" createVehicle [2531.5798, 5002.7026];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_166 = _this;
|
||||
_this setPos [2531.5798, 5002.7026];
|
||||
};
|
||||
|
||||
_vehicle_168 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_t_betula2s" createVehicle [2531.5203, 5096.9082, -1.5258789e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_168 = _this;
|
||||
_this setDir 11.079486;
|
||||
_this setPos [2531.5203, 5096.9082, -1.5258789e-005];
|
||||
};
|
||||
|
||||
_vehicle_169 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_t_betula2s" createVehicle [2492.0283, 5066.7285];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_169 = _this;
|
||||
_this setDir 40.170475;
|
||||
_this setPos [2492.0283, 5066.7285];
|
||||
};
|
||||
|
||||
_vehicle_170 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_t_betula2w" createVehicle [2536.5967, 5095.6318, 4.5776367e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_170 = _this;
|
||||
_this setDir -48.802349;
|
||||
_this setPos [2536.5967, 5095.6318, 4.5776367e-005];
|
||||
};
|
||||
|
||||
_vehicle_173 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_t_fagus2W" createVehicle [2528.623, 5088.9038];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_173 = _this;
|
||||
_this setPos [2528.623, 5088.9038];
|
||||
};
|
||||
|
||||
_vehicle_179 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_t_populus3s" createVehicle [2562.9749, 5083.749];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_179 = _this;
|
||||
_this setPos [2562.9749, 5083.749];
|
||||
};
|
||||
|
||||
_vehicle_182 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_phone_box" createVehicle [2542.759, 5070.0776, 0.0001373291];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_182 = _this;
|
||||
_this setPos [2542.759, 5070.0776, 0.0001373291];
|
||||
};
|
||||
|
||||
_vehicle_183 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_phone_box" createVehicle [2538.0273, 5070.0796, 3.0517578e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_183 = _this;
|
||||
_this setPos [2538.0273, 5070.0796, 3.0517578e-005];
|
||||
};
|
||||
|
||||
_vehicle_184 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_phone_box" createVehicle [2540.3445, 5070.0625, -1.5258789e-005];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_184 = _this;
|
||||
_this setPos [2540.3445, 5070.0625, -1.5258789e-005];
|
||||
};
|
||||
|
||||
_vehicle_188 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = "MAP_A_statue01" createVehicle [2540.7234, 5062.2808];
|
||||
_this setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
|
||||
_vehicle_188 = _this;
|
||||
_this setPos [2540.7234, 5062.2808];
|
||||
};
|
||||
};
|
||||
10
SQF/dayz_code/system/mission/chernarus/poi/init.sqf
Normal file
10
SQF/dayz_code/system/mission/chernarus/poi/init.sqf
Normal file
@@ -0,0 +1,10 @@
|
||||
[] 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\Twains.sqf";
|
||||
|
||||
157
SQF/dayz_code/system/mission/chernarus/security/antiwallhack.sqf
Normal file
157
SQF/dayz_code/system/mission/chernarus/security/antiwallhack.sqf
Normal file
@@ -0,0 +1,157 @@
|
||||
{
|
||||
_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]
|
||||
];
|
||||
18
SQF/dayz_code/system/mission/chernarus/security/init.sqf
Normal file
18
SQF/dayz_code/system/mission/chernarus/security/init.sqf
Normal file
@@ -0,0 +1,18 @@
|
||||
//diag_log [ diag_tickTime, __FILE__, "Sp4wing security concrete blocks"];
|
||||
poi_processObject = {
|
||||
_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 setPosATL [ _pos select 0, _pos select 1, _elevation ];
|
||||
//if (!isNil "_tilt") then { _o setvectordirandup _tilt; /*diag_log [ _tilt, vectorDir _o, vectorUp _o];*/ };
|
||||
_o setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
||||
};
|
||||
_base = "\z\addons\dayz_code\system\mission\chernarus\security\";
|
||||
call compile preprocessFileLineNumbers (_base+"antiwallhack.sqf");
|
||||
//diag_log [ diag_tickTime, __FILE__, "Done security"];
|
||||
|
||||
126
SQF/dayz_code/system/scheduler/sched_achievement.sqf
Normal file
126
SQF/dayz_code/system/scheduler/sched_achievement.sqf
Normal file
@@ -0,0 +1,126 @@
|
||||
#include "scheduler.hpp"
|
||||
|
||||
sched_achievement_init = {
|
||||
private ["_timewasterCounter","_buildingList","_buildingCounter"];
|
||||
|
||||
//following achievements are monitored in this task
|
||||
achievement_LitterCount = 0;
|
||||
achievement_Gut = false;
|
||||
|
||||
// following achievements are monitored and saved elsewhere
|
||||
achievement_Raw = false;
|
||||
achievement_Fire = false;
|
||||
achievement_SteadyAim = false;
|
||||
achievement_Marksman = false;
|
||||
achievement_Sniper = false;
|
||||
|
||||
// variables for the monitoring
|
||||
_timewasterCounter = diag_ticktime;
|
||||
_buildingList = [];
|
||||
_buildingCounter = [0,0,0,0,0,0,0,0,0];
|
||||
|
||||
[_timewasterCounter, _buildingList, _buildingCounter]
|
||||
};
|
||||
|
||||
sched_achievement = {
|
||||
HIDE_FSM_VARS
|
||||
private ["_timewasterCounter","_buildingList","_buildingCounter","_buildingAchivement","_buildingType","_buildingLimit","_building","_matchType","_count", "_o"];
|
||||
|
||||
_timewasterCounter = _this select 0;
|
||||
_buildingList = _this select 1;
|
||||
_buildingCounter = _this select 2;
|
||||
|
||||
_buildingAchivement = [
|
||||
[""], // Achievement #2
|
||||
["Land_A_GeneralStore_01a","Land_A_GeneralStore_01"], // Achievement #3 (5 stores)
|
||||
["Land_A_GeneralStore_01a","Land_A_GeneralStore_01"], // Achievement #4 (10 stores)
|
||||
["Land_A_Hospital"], // Achievement #5
|
||||
["Land_A_Office01"], // Achievement #6
|
||||
["Land_a_stationhouse"], // Achievement #7
|
||||
["Land_A_Pub_01"], // Achievement #8
|
||||
["Land_Mil_ControlTower"], // Achievement #9
|
||||
["Land_Church_03"] // Achievement #10
|
||||
];
|
||||
_buildingLimit = [ 1, 5, 10, 4, 3, 4, 8, 3, 3 ];
|
||||
|
||||
|
||||
// 0 = Time Waster - have been playing for over _timeWasterValue second in a single session
|
||||
if (dayz_playerAchievements select 0 < 1) then {
|
||||
if (diag_ticktime - _timewasterCounter >= 3600) then {
|
||||
_timewasterCounter = -1; // stop checking
|
||||
dayz_playerAchievements set [0,1];
|
||||
achievement = [0, player, dayz_characterID];
|
||||
publicVariableServer "achievement";
|
||||
};
|
||||
};
|
||||
|
||||
// 1 = High Flyer - find yourself over 500m ATL
|
||||
if (dayz_playerAchievements select 1 < 1) then {
|
||||
if (visiblePosition player select 2 > 500) then {
|
||||
dayz_playerAchievements set [1,1];
|
||||
achievement = [1, player, dayz_characterID];
|
||||
publicVariableServer "achievement";
|
||||
};
|
||||
};
|
||||
|
||||
// 2 = near mass grave
|
||||
if (dayz_playerAchievements select 2 < 1) then {
|
||||
_o = (visiblePositionASL player) nearestObject "Mass_grave";
|
||||
if ((!isNull _o) and {(_o distance player < 3)}) then {
|
||||
dayz_playerAchievements set [2,1];
|
||||
achievement = [2, player, dayz_characterID];
|
||||
publicVariableServer "achievement";
|
||||
};
|
||||
};
|
||||
|
||||
// 3-10 = Building checker - counts the number of unique buildings (of a certain type) you visit
|
||||
_building = nearestBuilding visiblePositionASL player; // gives nearest enterable building within 50 meters
|
||||
if(!isNull _building) then {
|
||||
if (!(_building in _buildingList)) then {
|
||||
_buildingType = typeOf _building;
|
||||
if ((player distance _building < 0.5 * sizeof _buildingType) and {([player,_building] call fnc_isInsideBuilding)}) then {
|
||||
_matchType = false;
|
||||
{
|
||||
if (_buildingType in _x) then {
|
||||
_matchType = true;
|
||||
_count = _buildingCounter select _forEachIndex;
|
||||
_count = _count +1;
|
||||
_buildingCounter set [_forEachIndex, _count ];
|
||||
if ((_count >= _buildingLimit select _forEachIndex) and (dayz_playerAchievements select (_forEachIndex + 3) < 1)) then {
|
||||
dayz_playerAchievements set [ _forEachIndex + 3, 1];
|
||||
achievement = [_forEachIndex + 3, player, dayz_characterID];
|
||||
publicVariableServer "achievement";
|
||||
};
|
||||
};
|
||||
} forEach _buildingAchivement;
|
||||
if (_matchType) then {
|
||||
_buildingList set [ count _buildingList, _building ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
// 11 = LitterCount
|
||||
if (dayz_playerAchievements select 11 < 1) then {
|
||||
if (achievement_LitterCount == 5) then {
|
||||
achievement_LitterCount = -1; //???
|
||||
dayz_playerAchievements set [11,1];
|
||||
achievement = [11, player, dayz_characterID];
|
||||
publicVariableServer "achievement";
|
||||
};
|
||||
};
|
||||
|
||||
// 12 = ??????
|
||||
|
||||
|
||||
// 13 = Gutting
|
||||
if (dayz_playerAchievements select 13 < 1) then {
|
||||
if (achievement_Gut) then {
|
||||
dayz_playerAchievements set [13,1];
|
||||
achievement = [13, player, dayz_characterID];
|
||||
publicVariableServer "achievement";
|
||||
};
|
||||
};
|
||||
|
||||
[_timewasterCounter, _buildingList, _buildingCounter]
|
||||
};
|
||||
79
SQF/dayz_code/system/scheduler/sched_animals.sqf
Normal file
79
SQF/dayz_code/system/scheduler/sched_animals.sqf
Normal file
@@ -0,0 +1,79 @@
|
||||
// refactored by facoptere@gmail.com for DayZ mod.
|
||||
#include "scheduler.hpp"
|
||||
|
||||
sched_animals = {
|
||||
HIDE_FSM_VARS
|
||||
private ["_min","_count","_global","_obj","_x","_animalssupported","_type","_root","_favouritezones","_angle","_radius","_randrefpoint","_PosList","_Pos","_agent","_pos", "_vehicle", "_speed", "_i"];
|
||||
_min = diag_fpsmin;
|
||||
_vehicle = vehicle player;
|
||||
_count = 0;
|
||||
_global = 0;
|
||||
{
|
||||
_obj = agent _x;
|
||||
if (_obj isKindOf "CAAnimalBase") then {
|
||||
if (local _obj) then {
|
||||
/*if !(_obj setVariable [ "", false ]) then { // animal has been transfered, there is no fsm
|
||||
private [ "_stance", "_phase", "_dir", "_posagt" ];
|
||||
_stance = animationState _obj;
|
||||
_phase = _obj animationPhase _stance;
|
||||
_dir = direction _obj;
|
||||
_posagt = visiblePosition _obj;
|
||||
_obj = createAgent [typeOf _obj, _posagt, [], 0, "CAN_COLLIDE"];
|
||||
_obj animate [_stance, _phase];
|
||||
_obj setDir _dir;
|
||||
_obj setPosATL _posagt;
|
||||
[_posagt,_obj] execFSM "\z\addons\dayz_code\system\animal_agent.fsm";
|
||||
_obj setVariable [ "", true ];
|
||||
};*/
|
||||
if ((_vehicle distance _obj > dayz_animalDistance*1.33) AND {(0 == {((isplayer _x) AND {(_x != player)}) AND {((alive _x) AND {((vehicle _x) distance _obj < 150)})}} count playableUnits)}) then {
|
||||
// delete animal
|
||||
deleteVehicle _obj;
|
||||
_global = _global - 1;
|
||||
// diag_log format [ "%2: delete %1", _obj, __FILE__ ];
|
||||
}
|
||||
else {
|
||||
_count = _count + 1;
|
||||
};
|
||||
};
|
||||
_global = _global + 1;
|
||||
};
|
||||
} forEach agents;
|
||||
|
||||
_speed = velocity _vehicle;
|
||||
if (_speed distance [0,0,0] > 12) exitWith {objNull};
|
||||
if ((_vehicle != player) AND {((count crew _vehicle > 1) AND {(driver _vehicle != player)})}) exitWith {objNull};
|
||||
|
||||
//diag_log [ dayz_maxGlobalAnimals / (1 max count playableUnits), ceil(1.2*(dayz_maxGlobalAnimals - _global) / (1 max count playableUnits)) min (dayz_maxAnimals - _count), _global,dayz_maxAnimals, _count, dayz_maxGlobalAnimals, _global ];
|
||||
for "_x" from 0 max (2 min (ceil(1.5*(dayz_maxGlobalAnimals - _global) / (1 max count playableUnits)) min (dayz_maxAnimals - _count))) to 1 step -1 do {
|
||||
_animalssupported = ["hen","hen","hen","Cow","Sheep","WildBoar","WildBoar","WildBoar","Goat","Rabbit","Rabbit"];
|
||||
_type = _animalssupported select floor random count _animalssupported;
|
||||
if (_type == "Cow") then {
|
||||
_animalssupported = ["Cow01","Cow02","Cow03","Cow04"];
|
||||
_type = _animalssupported select floor random count _animalssupported;
|
||||
};
|
||||
_root = configFile >> "CfgVehicles" >> _type;
|
||||
_favouritezones = getText ( _root >> "favouritezones");
|
||||
_angle = (random 120) - 60;
|
||||
_radius = 0 max ((dayz_animalDistance - 200)/2);
|
||||
_randrefpoint = (vehicle player) modelToWorld[sin(_angle) * (200 + _radius) , cos(_angle) * (200 + _radius), 0];
|
||||
_randrefpoint = [ (_randrefpoint select 0) + 5*(_speed select 0), (_randrefpoint select 1) + 5*(_speed select 1), 0];
|
||||
for "_i" from 1 to 10 do {
|
||||
_PosList = selectbestplaces [_randrefpoint, _radius, _favouritezones, 10, 5];
|
||||
if (count _PosList > 0) then {
|
||||
_Pos = (_PosList select 0) select 0;
|
||||
if ((!surfaceIsWater _Pos) AND {(0 == {alive _x} count (_Pos nearEntities [ AllPlayers, 200 ]))}) then {
|
||||
_agent = createAgent [_type, _Pos, [], 0, "FORM"];
|
||||
[_pos,_agent] execFSM "\z\addons\dayz_code\system\animal_agent.fsm";
|
||||
_agent setVariable [ "", true ];
|
||||
_count = _count + 1;
|
||||
_global = _global + 1;
|
||||
// diag_log format [ "%4: added %1 at %2, %5m from player (favourite level: %3)", _type, _Pos,
|
||||
// (_PosList select 0) select 1, __FILE__, round(_Pos distance player) ];
|
||||
_i = 11;//break
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
// diag_log format [ "%1: update animals. local: %5, global: %6 fps: %2 -> %3%4",__FILE__, _min, diag_fpsmin,if (diag_fpsmin < 10) then {"!! <<<<<<<<<<<<<<<<<<<"} else {""}, _count, _global ];
|
||||
objNull
|
||||
};
|
||||
68
SQF/dayz_code/system/scheduler/sched_antiTeleport.sqf
Normal file
68
SQF/dayz_code/system/scheduler/sched_antiTeleport.sqf
Normal file
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
Anti-Teleport
|
||||
Created By Razor
|
||||
Refactored By Alby
|
||||
Refactored By facoptere@gmail.com
|
||||
*/
|
||||
|
||||
sched_antiTP_init = {
|
||||
if (dayz_antihack == 1) then { diag_log [ diag_ticktime, __FILE__, "Anti Teleport inited"]; };
|
||||
[dayz_antihack == 1, [], 0, 0, objNull]
|
||||
};
|
||||
|
||||
sched_antiTP = {
|
||||
private ["_lastpos","_lastheight","_lasttime","_lastVehicle","_debug","_curpos","_distance","_curtime","_difftime",
|
||||
"_curheight","_speed","_topSpeed","_terrainHeight","_safetyVehicle","_curPos"];
|
||||
|
||||
_antihack = _this select 0;
|
||||
_lastpos = _this select 1;
|
||||
_lastheight = _this select 2;
|
||||
_lasttime = _this select 3;
|
||||
_lastVehicle = _this select 4;
|
||||
|
||||
if (((_antihack) and {(typeName player == "OBJECT")}) AND {((player in playableUnits) AND {(alive player)})}) then {
|
||||
if (count _lastpos != 3) then {
|
||||
_lastpos = getPosATL (vehicle player);
|
||||
_lastheight = (ATLtoASL _lastpos) select 2;
|
||||
_lasttime = diag_ticktime;
|
||||
_lastVehicle = vehicle player;
|
||||
};
|
||||
_curpos = getPosATL (vehicle player);
|
||||
_distance = _lastpos distance _curpos;
|
||||
_curtime = diag_ticktime;
|
||||
_difftime = _curtime - _lasttime;
|
||||
_debug = getMarkerpos "respawn_west";
|
||||
|
||||
if ((_distance > 10) OR {(_difftime > 1)}) then {
|
||||
_curheight = (ATLtoASL _curpos) select 2;
|
||||
_speed = _distance / _difftime;
|
||||
_topSpeed = 10;
|
||||
|
||||
if (vehicle player != player) then {
|
||||
_topSpeed = (getNumber (configFile >> "CfgVehicles" >> typeOf (vehicle player) >> "maxSpeed")) min 500;
|
||||
};
|
||||
|
||||
_terrainHeight = getTerrainHeightASL [_curpos select 0, _curpos select 1];
|
||||
_safetyVehicle = vehicle player;
|
||||
|
||||
if (_lastVehicle == vehicle player) then {
|
||||
if ((_speed > _topSpeed) && (alive player) && ((driver (vehicle player) == player) or (isNull (driver (vehicle player)))) && (_debug distance _lastpos > 3000) && !((vehicle player == player) && (_curheight < _lastheight) && ((_curheight - _terrainHeight) > 1))) then {
|
||||
(vehicle player) setposATL _lastpos;
|
||||
PVDZ_sec_atp = format["TELEPORT REVERT for player UID#%1 from %2 to %3, %4 meters, now at %5", getPlayerUID player, _lastpos, _curPos, round(_lastpos distance _curpos), getPosATL player];
|
||||
publicVariableServer "PVDZ_sec_atp";
|
||||
} else {
|
||||
_lastpos = _curpos;
|
||||
_lastheight = _curheight;
|
||||
};
|
||||
_lasttime = _curtime;
|
||||
};
|
||||
|
||||
if (_safetyVehicle == vehicle player) then {
|
||||
_lastVehicle = vehicle player;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
[_antihack, _lastpos, _lastheight, _lasttime, _lastVehicle]
|
||||
};
|
||||
|
||||
40
SQF/dayz_code/system/scheduler/sched_bloodstains.sqf
Normal file
40
SQF/dayz_code/system/scheduler/sched_bloodstains.sqf
Normal file
@@ -0,0 +1,40 @@
|
||||
// (c) facoptere@gmail.com, licensed to DayZMod for the community
|
||||
|
||||
sched_bloodStains_init = {
|
||||
[] // _bloodpool init
|
||||
};
|
||||
|
||||
sched_bloodStains = {
|
||||
private ["_end","_lastpos","_stain", "_plpos"];
|
||||
|
||||
_bloodpool = _this;
|
||||
_plpos = visiblePosition player; //ATL
|
||||
if (r_player_injured and {(dayz_bleedingeffect % 2 == 1)}) then {
|
||||
// add a fresh blood stain
|
||||
if (((vehicle player == player) and (!dayz_isSwimming)) AND {((_plpos select 2 < 0.3) AND {((getTerrainHeightASL _plpos) > 1.5)})}) then {
|
||||
_end = count _bloodpool -1;
|
||||
_lastpos = if (_end >= 0) then { getPosATL (_bloodpool select _end) } else { getMarkerpos "respawn_west" };
|
||||
if (_plpos distance _lastpos > 3) then { // don't repeat blood stains on the same spot
|
||||
_stain = createVehicle ["Blood_Trail_DZ", _plpos, [], 0, "CAN_COLLIDE"];
|
||||
//_stain setDir (direction player);
|
||||
_bloodpool set [ _end+1, _stain ];
|
||||
if (_end == 59) then {
|
||||
// remove the oldest blood stain, to limit total amount to 60 stains
|
||||
_stain = _bloodpool select 0;
|
||||
_bloodpool = _bloodpool - [_stain];
|
||||
deleteVehicle _stain;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
else {
|
||||
// remove the oldest blood stain
|
||||
if (count _bloodpool > 0) then {
|
||||
_stain = _bloodpool select 0;
|
||||
_bloodpool = _bloodpool - [_stain];
|
||||
deleteVehicle _stain;
|
||||
};
|
||||
};
|
||||
|
||||
_bloodpool
|
||||
};
|
||||
21
SQF/dayz_code/system/scheduler/sched_buildingBubble.sqf
Normal file
21
SQF/dayz_code/system/scheduler/sched_buildingBubble.sqf
Normal file
@@ -0,0 +1,21 @@
|
||||
sched_buildingBubble = {
|
||||
private "_dis";
|
||||
|
||||
{
|
||||
_dis = _x distance player;
|
||||
if ((player distance _x) > 400) then {
|
||||
if (_x in dayz_buildingBubbleMonitor) then {
|
||||
dayz_buildingBubbleMonitor = dayz_buildingBubbleMonitor - [_x];
|
||||
};
|
||||
//Clear Loot vars
|
||||
if (!(isNil {player getVariable "looted"})) then {
|
||||
_x setVariable ["looted",nil]; //SpawnCheck
|
||||
};
|
||||
if (!(isNil {player getVariable "zombieSpawn"})) then {
|
||||
_x setVariable ["zombieSpawn",nil]; //SpawnCheck
|
||||
};
|
||||
};
|
||||
} count dayz_buildingBubbleMonitor;
|
||||
|
||||
objNull
|
||||
};
|
||||
79
SQF/dayz_code/system/scheduler/sched_buriedZeds.sqf
Normal file
79
SQF/dayz_code/system/scheduler/sched_buriedZeds.sqf
Normal file
@@ -0,0 +1,79 @@
|
||||
// (c) facoptere@gmail.com, licensed to DayZMod for the community
|
||||
|
||||
sched_buriedZeds_init = {
|
||||
[] // it's _buriedZeds
|
||||
};
|
||||
|
||||
sched_buriedZeds = {
|
||||
private ["_a","_c","_b","_node","_foot","_head","_z","_x","_pos",
|
||||
"_config", "_zedPos", "_elevation","_buriedZeds", "_checkInsideBuilding"];
|
||||
|
||||
_checkInsideBuilding = {
|
||||
private ["_building","_this","_point","_inside","_offset","_relPos","_boundingBox","_min","_max","_myX","_myY"];
|
||||
_building = _this select 0;
|
||||
_point = _this select 1;
|
||||
_inside = false;
|
||||
_offset = 1; // shrink building boundingbox by this length.
|
||||
|
||||
_relPos = _building worldToModel _point;
|
||||
_boundingBox = boundingBox _building;
|
||||
|
||||
_min = _boundingBox select 0;
|
||||
_max = _boundingBox select 1;
|
||||
_myX = _relPos select 0;
|
||||
_myY = _relPos select 1;
|
||||
|
||||
if ((_myX > (_min select 0)+_offset) and {(_myX < (_max select 0)-_offset)}) then {
|
||||
if ((_myY > (_min select 1)+_offset) and {(_myY < (_max select 1)-_offset)}) then {
|
||||
_inside = (1==1);
|
||||
};
|
||||
};
|
||||
_inside
|
||||
};
|
||||
|
||||
_buriedZeds = _this;
|
||||
_c = count _buriedZeds;
|
||||
if (_c > 0) then { // give a zombie a little pitch if necessary
|
||||
_c = _c - 1;
|
||||
_node = _buriedZeds select _c;
|
||||
_foot = _node select 0;
|
||||
_head = _node select 1;
|
||||
_z = _node select 2;
|
||||
_elevation = _node select 3;
|
||||
if (lineIntersects [_head, _foot,_z]) then {
|
||||
_pos = getPosATL _z;
|
||||
_pos set [2, _elevation];
|
||||
_z setPosATL _pos;
|
||||
_z setVelocity [0,0,0.5];
|
||||
//diag_log [ __FILE__, "node", _node, "moveto:", _pos ];
|
||||
};
|
||||
_buriedZeds resize _c;
|
||||
}
|
||||
else { // find potential buried Zeds
|
||||
{
|
||||
_z = _x;
|
||||
_pos = (getPosATL _z);
|
||||
if ((alive _z) AND {(_pos select 2 < 0.05)}) then {
|
||||
//_a = _a + 1;
|
||||
_b = nearestBuilding _z;
|
||||
if (!isNull _b) then {
|
||||
_config = configFile >> "CfgLoot" >> "Buildings" >> (typeOf _b) >> "zedPos";
|
||||
_zedPos = [] + getArray _config;
|
||||
if ((count _zedPos > 0) and {([_b, _pos] call _checkInsideBuilding)}) then {
|
||||
_elevation = (_b modelToWorld (_zedPos select 0)) select 2; // ATL
|
||||
_foot = ATLtoASL _pos;
|
||||
_foot set [ 2, (_foot select 2) + 0.1 ];
|
||||
_head = +(_foot);
|
||||
_head set [ 2, (_foot select 2) + 1.5 ];
|
||||
if (_elevation < _head select 2) then { // don't handle if lootpos is quite high inside the building.
|
||||
_buriedZeds set [ count _buriedZeds, [_foot, _head, _z, _elevation] ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
} count ((getPosATL player) nearEntities ["zZombie_Base", 30]);
|
||||
};
|
||||
//diag_log format [ "alive+ground: %1, inbuilding: %2 plr in:%3 %4", _a, _c, [_b, getPosATL player] call _checkInsideBuilding, _b ];
|
||||
|
||||
_buriedZeds
|
||||
};
|
||||
50
SQF/dayz_code/system/scheduler/sched_gravity.sqf
Normal file
50
SQF/dayz_code/system/scheduler/sched_gravity.sqf
Normal file
@@ -0,0 +1,50 @@
|
||||
// (c) facoptere@gmail.com, licensed to DayZMod for the community
|
||||
|
||||
sched_gravity_init = {
|
||||
// time, current position, time when freefall starts, position when freefall start, freefall in progress
|
||||
[ time, VisiblePositionASL player, time, VisiblePositionASL player, false, false]
|
||||
};
|
||||
|
||||
sched_gravity = {
|
||||
private ["_otime","_opos","_offtime","_offpos","_oid","_idTrickCount","_timeTrickCount","_time","_ppos","_fftime","_ffpos","_pid","_netid","_initDone"];
|
||||
|
||||
if ((!(_this select 5) and !isNil 'Dayz_loginCompleted') and {(Dayz_loginCompleted)}) then {
|
||||
_this = [ time, VisiblePositionASL player, time, VisiblePositionASL player, false, true];
|
||||
diag_log [ diag_tickTime, __FILE__, "freefall inited" ];
|
||||
};
|
||||
|
||||
_otime = _this select 0;
|
||||
_opos = _this select 1;
|
||||
_offtime = _this select 2;
|
||||
_offpos = _this select 3;
|
||||
_inprogress = _this select 4;
|
||||
_initDone = _this select 5;
|
||||
|
||||
if (_initDone) then {
|
||||
// detect and save freefall start
|
||||
_time = time;
|
||||
_ppos = VisiblePositionASL player;
|
||||
_fftime = _time;
|
||||
_ffpos = +(_ppos);
|
||||
if ((_opos select 2) - (_ppos select 2) >= if (_inprogress) then {0.1} else {0.39} ) then {
|
||||
_fftime = _offtime;
|
||||
_ffpos = +(_offpos);
|
||||
_inprogress = true;
|
||||
//diag_log [ diag_tickTime, __FILE__, "global freefall is currently dh:", (_ffpos select 2) - (_ppos select 2), "dt:", _time - _fftime,"gravity:",2*((_ffpos select 2) - (_ppos select 2))/((0.00001 + _time - _fftime)^2) ,"m.s^-2" ];
|
||||
Dayz_freefall = [ _fftime, 0 max ((_ffpos select 2) - (_ppos select 2)), _time - _fftime ];
|
||||
}
|
||||
else {
|
||||
if (_inprogress) then {
|
||||
diag_log [ diag_tickTime, __FILE__, "freefall reset, final freefall height is dh:", (_offpos select 2) - (_ppos select 2), "dt:", _time - _offtime, "gravity:",2*((_offpos select 2) - (_ppos select 2))/((_time - _offtime)^2) ,"m.s^-2" ];
|
||||
Dayz_freefall = [ _fftime, 0 max ((_offpos select 2) - (_ppos select 2)), _time - _offtime ];
|
||||
}
|
||||
else {
|
||||
Dayz_freefall = [ _time, 0, 0.1 ]; // not falling
|
||||
};
|
||||
_inprogress = false;
|
||||
};
|
||||
|
||||
[ _time, _ppos, _fftime, _ffpos, _inprogress, _initDone ]
|
||||
}
|
||||
else { _this }
|
||||
};
|
||||
34
SQF/dayz_code/system/scheduler/sched_gui.sqf
Normal file
34
SQF/dayz_code/system/scheduler/sched_gui.sqf
Normal file
@@ -0,0 +1,34 @@
|
||||
#include "scheduler.hpp"
|
||||
|
||||
sched_gui_init = { [false] };
|
||||
|
||||
sched_gui = {
|
||||
HIDE_FSM_VARS
|
||||
private [ "_array", "_initDone" ];
|
||||
|
||||
_initDone = _this select 0;
|
||||
|
||||
if ((!_initDone and !isNil 'Dayz_loginCompleted') and {(Dayz_loginCompleted)}) then {
|
||||
3 cutRsc ['playerStatusGUI', 'PLAIN',3]; // show the whole HUD
|
||||
_initDone = true;
|
||||
};
|
||||
//else {
|
||||
// diag_log [ diag_Ticktime, __FILE__, "waiting", _initDone,Dayz_loginCompleted];
|
||||
//};
|
||||
if (_initDone) then {
|
||||
_array = player call world_surfaceNoise;
|
||||
dayz_surfaceNoise = _array select 1;
|
||||
dayz_surfaceType = _array select 0;
|
||||
call player_checkStealth;
|
||||
dayz_statusArray = call player_updateGui;
|
||||
};
|
||||
|
||||
// move this elsewhere, it deals with the menu
|
||||
if (!isNull cursorTarget and !dayz_heartBeat) then {
|
||||
if (alive cursorTarget) then {
|
||||
cursorTarget spawn dayz_lowHumanity;
|
||||
};
|
||||
};
|
||||
|
||||
[_initDone]
|
||||
};
|
||||
51
SQF/dayz_code/system/scheduler/sched_init.sqf
Normal file
51
SQF/dayz_code/system/scheduler/sched_init.sqf
Normal file
@@ -0,0 +1,51 @@
|
||||
// (c) facoptere@gmail.com, licensed to DayZMod for the community
|
||||
|
||||
_base="z\addons\dayz_code\system\scheduler\";
|
||||
call compile preprocessFileLineNumbers (_base+"sched_oneachframe.sqf");
|
||||
call compile preprocessFileLineNumbers (_base+"sched_towngenerator.sqf");
|
||||
call compile preprocessFileLineNumbers (_base+"sched_throwable.sqf");
|
||||
call compile preprocessFileLineNumbers (_base+"sched_planthint.sqf");
|
||||
call compile preprocessFileLineNumbers (_base+"sched_bloodstains.sqf");
|
||||
call compile preprocessFileLineNumbers (_base+"sched_animals.sqf");
|
||||
call compile preprocessFileLineNumbers (_base+"sched_buriedZeds.sqf");
|
||||
call compile preprocessFileLineNumbers (_base+"sched_gravity.sqf");
|
||||
call compile preprocessFileLineNumbers (_base+"sched_security.sqf");
|
||||
call compile preprocessFileLineNumbers (_base+"sched_antiTeleport.sqf");
|
||||
call compile preprocessFileLineNumbers (_base+"sched_newDay.sqf");
|
||||
call compile preprocessFileLineNumbers (_base+"sched_spawnCheck.sqf");
|
||||
call compile preprocessFileLineNumbers (_base+"sched_playerActions.sqf");
|
||||
call compile preprocessFileLineNumbers (_base+"sched_medical.sqf");
|
||||
call compile preprocessFileLineNumbers (_base+"sched_achievement.sqf");
|
||||
call compile preprocessFileLineNumbers (_base+"sched_gui.sqf");
|
||||
call compile preprocessFileLineNumbers (_base+"sched_buildingBubble.sqf");
|
||||
|
||||
_list = [];
|
||||
if (!isNil "_this") then { call _this; }; // patch the code before starting the scheduler (the task contents can't be modified after the FSM has started)
|
||||
if (count _list == 0) then {
|
||||
_list = [
|
||||
// period offset loop code <-> ctx, init code ->ctx
|
||||
[ 0, 0, sched_onEachFrame, sched_onEachFrame_init ], // SPECIAL: nul period -> code returns boolean requesting to skip other tasks
|
||||
[ 0.2, 20, sched_gravity, sched_gravity_init ],
|
||||
[ 0.2, 0.15, sched_security, sched_security_init ],
|
||||
[ 0.2, 0.05, sched_antiTP, sched_antiTP_init ],
|
||||
[ 0.1, 0.01, sched_playerActions ],
|
||||
[ 0.2, 0.07, sched_townGenerator, sched_townGenerator_init ],
|
||||
[ 0.2, 0.12, sched_gui, sched_gui_init ],
|
||||
[ 2, 0.13, sched_medical_effects, sched_medical_effects_init ],
|
||||
[ 10, 15.13, sched_medical_effectsSlow ],
|
||||
[ 6, 24.18, sched_spawnCheck, sched_spawnCheck_init ],
|
||||
[ 1, 0.63, sched_throwable, sched_throwable_init ],
|
||||
[ 1, 0.33, sched_medical, sched_medical_init ],
|
||||
[ 10, 0.26, sched_plantHint ],
|
||||
[ 3, 2.70, sched_achievement, sched_achievement_init ],
|
||||
[ 4, 2.38, sched_bloodStains, sched_bloodStains_init ],
|
||||
[ 60, 10.44, sched_animals ],
|
||||
[ 10, 5.44, sched_medical_slow ],
|
||||
[ 15, 35.44, sched_buildingBubble ],
|
||||
[ 60, 20.44, sched_newDay ],
|
||||
[ 1, 0.51, sched_buriedZeds, sched_buriedZeds_init ]
|
||||
];
|
||||
};
|
||||
_list execFSM (_base+"scheduler.fsm");
|
||||
|
||||
diag_log [ diag_tickTime, __FILE__, "Scheduler started"];
|
||||
152
SQF/dayz_code/system/scheduler/sched_medical.sqf
Normal file
152
SQF/dayz_code/system/scheduler/sched_medical.sqf
Normal file
@@ -0,0 +1,152 @@
|
||||
// (c) facoptere@gmail.com, licensed to DayZMod for the community
|
||||
|
||||
#include "scheduler.hpp"
|
||||
|
||||
sched_medical_slow = { // 10 seconds
|
||||
if (abs (r_player_blood - (player getVariable["USEC_BloodQty", 12000])) > 120) then {
|
||||
//Do not global send
|
||||
player setVariable["USEC_BloodQty", r_player_blood, false];
|
||||
player setVariable["medForceUpdate", true, false];
|
||||
//Send only to server
|
||||
PVDZ_serverStoreVar = [player, "USEC_BloodQty", r_player_blood];
|
||||
publicVariableServer "PVDZ_serverStoreVar";
|
||||
};
|
||||
|
||||
objNull
|
||||
};
|
||||
|
||||
sched_medical_init = { [ []spawn{} ] };
|
||||
sched_medical = { // 1 second
|
||||
HIDE_FSM_VARS
|
||||
private "_unconHdlr";
|
||||
_unconHdlr = _this select 0;
|
||||
|
||||
if (r_player_blood == 12000) then {
|
||||
r_player_foodstack = 0;
|
||||
};
|
||||
|
||||
//r_player_unconscious = getVariable ["NORRN_unconscious", true];
|
||||
|
||||
if (r_player_blood <= 0) then {
|
||||
[dayz_sourceBleeding, "bled"] spawn player_death;
|
||||
};
|
||||
|
||||
if (!canStand player) then { // be consistant with player_updateGui.sqf
|
||||
if ((player getVariable ["hit_legs", 0] < 1) OR !r_fracture_legs) then {
|
||||
player setVariable ["hit_legs",1,true];
|
||||
r_fracture_legs = true;
|
||||
};
|
||||
};
|
||||
|
||||
if ((r_player_blood <= 3000) and !r_player_unconscious) then {
|
||||
if (random 100 > 99) then {
|
||||
[player, ((random 0.1) + 0.2)] call fnc_usec_damageUnconscious;
|
||||
};
|
||||
};
|
||||
|
||||
//Handle Unconscious player
|
||||
if ((r_player_unconscious) and (!r_player_unconsciousInProgress) and (scriptDone _unconHdlr)) then {
|
||||
//localize "CLIENT: Start Unconscious Function";
|
||||
_unconHdlr = [] spawn fnc_usec_unconscious;
|
||||
};
|
||||
|
||||
if (r_player_injured) then {
|
||||
if (!r_player_handler) then {
|
||||
r_player_handler = true;
|
||||
[] spawn fnc_usec_playerHandleBlood;
|
||||
};
|
||||
} else {
|
||||
[] spawn fnc_usec_playerHandleBlood;
|
||||
};
|
||||
|
||||
[_unconHdlr]
|
||||
};
|
||||
|
||||
sched_medical_effects_init = {
|
||||
private ["_hndCC", "_hndDB", "_hndRB"];
|
||||
|
||||
_hndCC = ppEffectCreate ["colorCorrections", 3];
|
||||
_hndCC ppEffectEnable true;
|
||||
_hndDB = ppEffectCreate ["dynamicBlur", 2];
|
||||
_hndDB ppEffectEnable true;
|
||||
_hndRB = ppEffectCreate ["radialBlur", 1];
|
||||
_hndRB ppEffectEnable true;
|
||||
_hndRB ppEffectAdjust [0, 0, 0.5, 0.5];
|
||||
_hndRB ppEffectCommit 0;
|
||||
|
||||
[ _hndCC, _hndDB, _hndRB ]
|
||||
};
|
||||
|
||||
sched_medical_effects = {
|
||||
// every 2 seconds:
|
||||
// change saturation, blur and vignetting according to blood level
|
||||
// Shivering if character temperature is near the minimum
|
||||
|
||||
private ["_hndCC", "_hndDB", "_tmp1", "_tmp2", "_tmp3"];
|
||||
_hndCC = _this select 0;
|
||||
_hndDB = _this select 1;
|
||||
_hndRB = _this select 2;
|
||||
|
||||
if (r_player_infected) then {
|
||||
_tmp1 = 0.4 + 0.06 * cos(diag_tickTime * 360 / 12);
|
||||
_tmp2 = 0.05 + 0.03 * cos(diag_tickTime * 360 / 4);
|
||||
_tmp3 = 0.05 + 0.03 * sin(diag_tickTime * 360 / 4);
|
||||
_hndRB ppEffectAdjust [_tmp2, _tmp3, _tmp1, _tmp1];
|
||||
}
|
||||
else {
|
||||
_hndRB ppEffectAdjust [0, 0, 0.5, 0.5];
|
||||
};
|
||||
|
||||
if (r_player_unconscious) then {
|
||||
// TODO: 0 fadeSound 0.05;
|
||||
_hndCC ppEffectAdjust [1, 0.2, 0, [1, 1, 1, 0], [1, 1, 1, 0], [1, 1, 1, 0]];
|
||||
_hndDB ppEffectAdjust [20];
|
||||
}
|
||||
else {
|
||||
_tmp1 = r_player_blood/r_player_bloodTotal;
|
||||
_tmp1 = (1 + random 7) * _tmp1;
|
||||
_tmp1 = 1 min _tmp1;
|
||||
_tmp2 = if (_tmp1 > 0.5) then {1} else {0.3};
|
||||
_hndCC ppEffectAdjust [1, 1, 0, [1, 1, 1, 0], [_tmp2, _tmp2, _tmp2, _tmp1], [1, 1, 1, 0]];
|
||||
_hndDB ppEffectAdjust [0];
|
||||
};
|
||||
|
||||
[_hndCC, _hndDB, _hndRB] ppEffectCommit 1.5;
|
||||
|
||||
//Add Shivering
|
||||
if (dayz_temperatur <= (0.125 * (dayz_temperaturmax - dayz_temperaturmin) + dayz_temperaturmin) and ((vehicle player == player and speed player < 5) or (vehicle player != player))) then {
|
||||
addCamShake [0.6 * (dayz_temperaturmin / dayz_temperatur), 2, 30];
|
||||
};
|
||||
|
||||
[ _hndCC, _hndDB, _hndRB ]
|
||||
};
|
||||
|
||||
sched_medical_effectsSlow = {
|
||||
// every 10 seconds: diziness using slow shakecam, to handle pain and lack of water
|
||||
HIDE_FSM_VARS
|
||||
|
||||
r_player_inpain = true;
|
||||
|
||||
if ((r_player_inpain or dayz_thirst >= SleepWater) and !r_player_unconscious and (1 > random 9) and (0 == player getVariable["startcombattimer",0])) then {
|
||||
_blurTask = [] spawn {
|
||||
_strength = 0.5 + (random 1);
|
||||
_duration = 8 + (random 10);
|
||||
enableCamShake true;
|
||||
|
||||
//[posCoef, vertCoef, horzCoef, bankCoef, interpolation]
|
||||
setCamShakeParams [0.02, 0.05, 0.1, 0.3, true];
|
||||
addCamShake [_strength, _duration, 0.4];
|
||||
playSound "breath_1";
|
||||
|
||||
//Lets make sure the spawn ends 1 sec after the _duration timer this should provide a smooth transtion rather then a snap to focus.
|
||||
sleep _duration + 1;
|
||||
};
|
||||
};
|
||||
|
||||
if (r_player_infected and !r_player_unconscious and 1 > random 2 and ((vehicle player == player and speed player < 5) or (vehicle player != player))) then {
|
||||
[player,"cough",1,false] call dayz_zombieSpeak;
|
||||
addCamShake [2, 1, 25];
|
||||
};
|
||||
|
||||
objNull
|
||||
};
|
||||
13
SQF/dayz_code/system/scheduler/sched_newDay.sqf
Normal file
13
SQF/dayz_code/system/scheduler/sched_newDay.sqf
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "scheduler.hpp"
|
||||
|
||||
sched_newDay = {
|
||||
HIDE_FSM_VARS
|
||||
private "_day";
|
||||
_day = round(360 * (dateToNumber date));
|
||||
if(dayz_currentDay != _day) then {
|
||||
dayz_sunRise = call world_sunRise;
|
||||
dayz_currentDay = _day;
|
||||
};
|
||||
|
||||
objNull
|
||||
};
|
||||
33
SQF/dayz_code/system/scheduler/sched_oneachframe.sqf
Normal file
33
SQF/dayz_code/system/scheduler/sched_oneachframe.sqf
Normal file
@@ -0,0 +1,33 @@
|
||||
// (c) facoptere@gmail.com, licensed to DayZMod for the community
|
||||
|
||||
// detect low FPS
|
||||
// in case of player "lag" (fps_min very low), all other scheduler tasks are suspended during 50 frames
|
||||
|
||||
sched_onEachFrame_init = {
|
||||
sched_ef_lowFPSctr=0;
|
||||
|
||||
objNull
|
||||
};
|
||||
|
||||
sched_onEachFrame = {
|
||||
private ["_ret"];
|
||||
_ret = (1==0);
|
||||
|
||||
if (diag_fpsmin < 10) then {
|
||||
sched_ef_lowFPSctr = sched_ef_lowFPSctr +1;
|
||||
if (sched_ef_lowFPSctr < 50) then {
|
||||
_ret = (1==1);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (sched_ef_lowFPSctr == 1) then { hintSilent ""; };
|
||||
sched_ef_lowFPSctr = 0 max (sched_ef_lowFPSctr -1);
|
||||
};
|
||||
if (sched_ef_lowFPSctr >= 100) then {
|
||||
sched_ef_lowFPSctr = 2;
|
||||
hintSilent localize "str_player_lowPFS";
|
||||
diag_log format [ "h1nt: LOW FPS (%1)", diag_fpsmin ];
|
||||
};
|
||||
|
||||
_ret
|
||||
};
|
||||
19
SQF/dayz_code/system/scheduler/sched_planthint.sqf
Normal file
19
SQF/dayz_code/system/scheduler/sched_planthint.sqf
Normal file
@@ -0,0 +1,19 @@
|
||||
// (c) facoptere@gmail.com, licensed to DayZMod for the community
|
||||
|
||||
// grasshopper sound near gatherable plants
|
||||
|
||||
sched_plantHint = {
|
||||
{
|
||||
(getPosATL _x) spawn {
|
||||
sleep random 10;
|
||||
_sound=format["Sound_Crickets%1",1+floor random 3];
|
||||
//diag_log [ _sound ];
|
||||
_x = createSoundSource [_sound, _this, [], 0];
|
||||
sleep 2;
|
||||
deleteVehicle _x;
|
||||
};
|
||||
false
|
||||
} count (nearestObjects [getPosATL player, ["Plant_Base"], 15]);
|
||||
|
||||
objNull
|
||||
};
|
||||
10
SQF/dayz_code/system/scheduler/sched_playerActions.sqf
Normal file
10
SQF/dayz_code/system/scheduler/sched_playerActions.sqf
Normal file
@@ -0,0 +1,10 @@
|
||||
#include "scheduler.hpp"
|
||||
|
||||
sched_playerActions = {
|
||||
HIDE_FSM_VARS
|
||||
call fnc_usec_selfActions;
|
||||
call fnc_usec_damageActions;
|
||||
call fnc_usec_upgradeActions;
|
||||
|
||||
objNull
|
||||
};
|
||||
75
SQF/dayz_code/system/scheduler/sched_security.sqf
Normal file
75
SQF/dayz_code/system/scheduler/sched_security.sqf
Normal file
@@ -0,0 +1,75 @@
|
||||
// (c) facoptere@gmail.com, licensed to DayZMod for the community
|
||||
|
||||
sched_security_init = {
|
||||
if (dayz_antihack == 1) then { diag_log [ diag_ticktime, __FILE__, "Some security routines inited"]; };
|
||||
if (dayz_antihack == 1) then { [ "", time, 0, 0, grpNull ] } else { [] }
|
||||
};
|
||||
|
||||
sched_security = {
|
||||
private ["_netid","_timeTrickCount","_idTrickCount","_time","_otime","_pid", "_quit", "_list"];
|
||||
|
||||
if (count _this != 5) exitWith { [] };
|
||||
|
||||
_netid = _this select 0;
|
||||
_otime = _this select 1;
|
||||
_idTrickCount = _this select 2;
|
||||
_timeTrickCount = _this select 3;
|
||||
_grp = _this select 4;
|
||||
_time = time;
|
||||
|
||||
if (typeName player != "OBJECT") then {
|
||||
PVDZ_sec_atp = format["WARNING typename error for player UID#%1", getPlayerUID player];
|
||||
publicVariableServer "PVDZ_sec_atp";
|
||||
endMission "LOSER";
|
||||
};
|
||||
|
||||
switch (true) do {
|
||||
case (1==0) : {
|
||||
PVDZ_sec_atp = format["WARNING true error for player UID#%1", getPlayerUID player];
|
||||
publicVariableServer "PVDZ_sec_atp";
|
||||
endMission "LOSER";
|
||||
};
|
||||
};
|
||||
|
||||
_timeTrickCount = _timeTrickCount * 0.8;
|
||||
if (_time - _otime > 1 or _time < _otime) then {
|
||||
_timeTrickCount = _timeTrickCount +1;
|
||||
if (_timeTrickCount > 2) then {
|
||||
PVDZ_sec_atp = format["WARNING unusual time shift for UID#%1", getPlayerUID player];
|
||||
publicVariableServer "PVDZ_sec_atp";
|
||||
};
|
||||
};
|
||||
|
||||
_pid = netid player;
|
||||
_idTrickCount = _idTrickCount * 0.8;
|
||||
if (_pid != _netid) then {
|
||||
_idTrickCount = _idTrickCount +1;
|
||||
if (_idTrickCount > 2) then {
|
||||
PVDZ_sec_atp = format["WARNING unusual outfit swap for UID#%1", getPlayerUID player];
|
||||
publicVariableServer "PVDZ_sec_atp";
|
||||
};
|
||||
};
|
||||
|
||||
if (isNull _grp) then { _grp = group ((allmissionobjects 'FunctionsManager') select 0); };
|
||||
if (!isNull _grp) then {
|
||||
_list = units _grp;
|
||||
if (count _list > 1) then {
|
||||
_quit = false;
|
||||
for "_i" from 2 to (count _list)-1 do {
|
||||
_u = (_list select _i);
|
||||
if (!isNull _u) then {
|
||||
_pos = getPosATL _u;
|
||||
PVDZ_sec_atp = format [ "From play3r UID#%1: illegal gr0up m3mber %2 at %3,%4... Server may be compromised!", getPlayerUID player, typeOf _u, _pos select 0, _pos select 1];
|
||||
publicVariableServer "PVDZ_sec_atp";
|
||||
deleteVehicle _u;
|
||||
_quit = true;
|
||||
};
|
||||
};
|
||||
if (_quit) then {
|
||||
endMission "LOSER";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
[ _pid, _time, _idTrickCount, _timeTrickCount, _grp ]
|
||||
};
|
||||
10
SQF/dayz_code/system/scheduler/sched_spawnCheck.sqf
Normal file
10
SQF/dayz_code/system/scheduler/sched_spawnCheck.sqf
Normal file
@@ -0,0 +1,10 @@
|
||||
#include "scheduler.hpp"
|
||||
|
||||
sched_spawnCheck_init = { []spawn{} };
|
||||
sched_spawnCheck = {
|
||||
HIDE_FSM_VARS
|
||||
if (scriptDone _this) then {
|
||||
_this = [] execVM '\z\addons\dayz_code\compile\player_spawnCheck.sqf'; // stuffed with "sleep" commands, can't put it in scheduler
|
||||
};
|
||||
_this;
|
||||
};
|
||||
46
SQF/dayz_code/system/scheduler/sched_throwable.sqf
Normal file
46
SQF/dayz_code/system/scheduler/sched_throwable.sqf
Normal file
@@ -0,0 +1,46 @@
|
||||
// (c) facoptere@gmail.com, licensed to DayZMod for the community
|
||||
|
||||
// automatically select primary weapon after inactivity on throwable weapon
|
||||
// (The problem in ArmA is that when a player select a throwable, he still holds the primary weapon in hand,
|
||||
// the throwable appears in his hand only when the player clicks on fire button)
|
||||
|
||||
sched_throwable_init = {
|
||||
sched_throwable_prevmuzz="";
|
||||
sched_throwable_time=0;
|
||||
|
||||
objNull
|
||||
};
|
||||
|
||||
sched_throwable = {
|
||||
private ["_stance","_cur_muzz","_type", "_x"];
|
||||
|
||||
if ((!isNil "player") and {(!isNull player)}) then {
|
||||
_cur_muzz = currentMuzzle player;
|
||||
if (((!isNil "_cur_muzz") and {(_cur_muzz != "")}) AND {(0 == getNumber(configFile >> "CfgWeapons" >> _cur_muzz >> "type"))}) then {
|
||||
if (sched_throwable_prevmuzz != _cur_muzz) then {
|
||||
sched_throwable_prevmuzz = currentMuzzle player;
|
||||
sched_throwable_time = diag_tickTime+11;
|
||||
};
|
||||
if (((player getVariable["combattimeout", diag_tickTime])-diag_tickTime)>27) then {
|
||||
sched_throwable_time = diag_tickTime+21;
|
||||
};
|
||||
};
|
||||
if (abs(sched_throwable_time-diag_tickTime)<2) then {
|
||||
_stance = toArray (animationState player);
|
||||
_stance = if ((!isNil "_stance") and {(count _stance>17)}) then {toString [_stance select 17]} else {""};
|
||||
_type = 4096;
|
||||
switch _stance do {
|
||||
case "p": { _type = 2; };
|
||||
case "r": { _type = 1; };
|
||||
};
|
||||
{
|
||||
if (_type == getNumber(configFile >> "CfgWeapons" >> _x >> "type")) exitWith {
|
||||
player selectWeapon _x;
|
||||
};
|
||||
} count (weapons player);
|
||||
sched_throwable_time = 0;
|
||||
};
|
||||
};
|
||||
|
||||
objNull
|
||||
};
|
||||
226
SQF/dayz_code/system/scheduler/sched_towngenerator.sqf
Normal file
226
SQF/dayz_code/system/scheduler/sched_towngenerator.sqf
Normal file
@@ -0,0 +1,226 @@
|
||||
// (c) facoptere@gmail.com, licensed to DayZMod for the community
|
||||
|
||||
#include "scheduler.hpp"
|
||||
|
||||
// look for cells around this radius
|
||||
#define NEARBYSIZE 380
|
||||
|
||||
// how many objects to create per frame
|
||||
#define CHUNKSIZE 10
|
||||
|
||||
// do nothing if player position is close from previous position, distance in meter.
|
||||
#define TRESHOLD 50
|
||||
|
||||
sched_townGenerator_init = {
|
||||
private ["_maxX","_maxY","_townarray","_objectarray","_i","_object","_j","_position","_y","_type","_dir",
|
||||
"_onFire","_index","_cell", "_x","_farFromCenter"];
|
||||
|
||||
sched_tg_state = -1;
|
||||
sched_tg_follow = {player}; //use some code here, could be useful for GCAM to change the character to follow
|
||||
sched_tg_newActive = [];
|
||||
sched_tg_currentActive = [];
|
||||
sched_tg_var1 = 0;
|
||||
sched_tg_var2 = 0;
|
||||
sched_tg_grid = [];
|
||||
sched_tg_grid resize 4096;
|
||||
sched_tg_minX=50000;
|
||||
sched_tg_minY=50000;
|
||||
sched_tg_ready=false;
|
||||
sched_tg_pos=getMarkerpos "respawn_west";
|
||||
_maxX=-50000;
|
||||
_maxY=-50000;
|
||||
_townarray = configFile >> "CfgTownGeneratorChernarus";
|
||||
// Compute the area size
|
||||
for "_i" from (count _townarray)-1 to 0 step -1 do {
|
||||
_objectarray = (_townarray select _i);
|
||||
for "_j" from ((count _objectarray) - 1) to 0 step -1 do {
|
||||
_object = _objectarray select _j;
|
||||
if (isClass(_object)) then {
|
||||
_position = [] + getArray (_object >> "position");
|
||||
_x = _position select 0;
|
||||
_y = _position select 1;
|
||||
sched_tg_minX = sched_tg_minX min _x;
|
||||
sched_tg_minY = sched_tg_minY min _y;
|
||||
_maxX = _maxX max _x;
|
||||
_maxY = _maxY max _y;
|
||||
};
|
||||
};
|
||||
};
|
||||
sched_tg_minX = floor sched_tg_minX;
|
||||
sched_tg_minY = floor sched_tg_minY;
|
||||
sched_tg_cellX = ceil((_maxX - sched_tg_minX) / 64);
|
||||
sched_tg_cellY = ceil((_maxY - sched_tg_minY) / 64);
|
||||
// Building the 4096 matrix...
|
||||
for "_i" from (count _townarray)-1 to 0 step -1 do {
|
||||
_objectarray = (_townarray select _i);
|
||||
for "_j" from (count _objectarray) - 1 to 0 step -1 do {
|
||||
_object = _objectarray select _j;
|
||||
if (isClass(_object)) then {
|
||||
_position = [] + getArray (_object >> "position");
|
||||
_type = getText (_object >> "type");
|
||||
_dir = getNumber (_object >> "direction");
|
||||
//_onFire = getNumber (_object >> "onFire");
|
||||
_x = _position select 0;
|
||||
_y = _position select 1;
|
||||
_index = floor((_x - sched_tg_minX) / sched_tg_cellX) + floor((_y - sched_tg_minY) / sched_tg_cellY) * 64;
|
||||
_farFromCenter = [0.5,0.5,0] distance [((_x - sched_tg_minX) / sched_tg_cellX) % 1, ((_y - sched_tg_minY) / sched_tg_cellY) % 1, 0];
|
||||
_cell = sched_tg_grid select _index;
|
||||
if (isNil "_cell") then { _cell = []; sched_tg_grid set [ _index, _cell]; };
|
||||
if (_farFromCenter > 0.6) then { // put objects far from cell center at the beginning of the array of object
|
||||
_cell = [[ objNull, _type, _position, _dir/*, _onFire*/ ]] + _cell;
|
||||
}
|
||||
else {
|
||||
_cell set [ count _cell, [ objNull, _type, _position, _dir/*, _onFire*/ ] ];
|
||||
}
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
objNull
|
||||
};
|
||||
|
||||
sched_townGenerator_ready = {
|
||||
HIDE_FSM_VARS
|
||||
private "_character";
|
||||
_character = if (serverCommandAvailable "#kick") then { call sched_tg_follow } else { player };
|
||||
((!isNil "sched_tg_state") AND {(sched_tg_state == 2)}) AND ({sched_tg_pos distance visiblePositionASL _character <= TRESHOLD})
|
||||
};
|
||||
|
||||
sched_townGenerator = {
|
||||
HIDE_FSM_VARS
|
||||
private ["_character","_position","_y","_velocity","_iy","_i","_j","_jx",
|
||||
"_index","_cell","_imax","_object","_onFire", "_x"];
|
||||
|
||||
switch true do {
|
||||
case (sched_tg_state == 0): { // look for new cells to show and old cells to hide
|
||||
_character = if (serverCommandAvailable "#kick") then { call sched_tg_follow } else { player };
|
||||
_position = visiblePositionASL _character;
|
||||
if ((_position distance sched_tg_pos > TRESHOLD) /*AND {(_position select 0 > -NEARBYSIZE)}*/) then {
|
||||
sched_tg_pos = _position;
|
||||
_x = _position select 0;
|
||||
_y = _position select 1;
|
||||
// shift position to 1 second in the future:
|
||||
_velocity = velocity vehicle _character;
|
||||
_x = _x + (_velocity select 0);
|
||||
_y = _y + (_velocity select 1);
|
||||
sched_tg_newActive resize 0;
|
||||
for "_i" from (_y+NEARBYSIZE) to (_y-NEARBYSIZE) step -sched_tg_cellY do {
|
||||
_iy = floor((_i - sched_tg_minY) / sched_tg_cellY);
|
||||
if ((_iy >= 0) AND {(_iy < 64)}) then {
|
||||
for "_j" from (_x-NEARBYSIZE) to (_x+NEARBYSIZE) step sched_tg_cellX do {
|
||||
//diag_log format [ "%1: x y _i _j %1 %2 %3 %4", __FILE__, _x, _y, _i, _j ];
|
||||
_jx = floor((_j - sched_tg_minX) / sched_tg_cellX);
|
||||
if ((_jx >= 0) AND {(_jx < 64)}) then {
|
||||
if (abs((_j-_x)*(_i-_y)) < NEARBYSIZE * NEARBYSIZE) then {
|
||||
_index = _jx + _iy * 64;
|
||||
//diag_log format [ "%1: -> index=%2", __FILE__, _index ];
|
||||
_cell = sched_tg_grid select _index;
|
||||
if ((!isNil "_cell") AND {!(_index IN sched_tg_newActive)}) then {
|
||||
sched_tg_newActive set [ count sched_tg_newActive, _index ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
sched_tg_state = 1;
|
||||
sched_tg_ready = false;
|
||||
sched_tg_var1 = 0;
|
||||
//sched_tg_var2 = 0;
|
||||
//sched_tg_fps = diag_fpsmin;
|
||||
//sched_tg_newSpawned = 0;
|
||||
//sched_tg_newTextureSpawned = 0;
|
||||
};
|
||||
};
|
||||
case (sched_tg_state == 1): { // show new cells, per shunk of CHUNKSIZE objects
|
||||
if (sched_tg_var1 >= count sched_tg_newActive) then {
|
||||
sched_tg_state = 2;
|
||||
sched_tg_ready = true;
|
||||
sched_tg_var1 = 0;
|
||||
sched_tg_var2 = 0;
|
||||
sched_tg_deleted = 0;
|
||||
}
|
||||
else {
|
||||
_index = -1;
|
||||
// don't wait to next frame to find a new cell to show
|
||||
while {sched_tg_var1 < count sched_tg_newActive} do {
|
||||
_index = sched_tg_newActive select sched_tg_var1;
|
||||
if !(_index IN sched_tg_currentActive) exitWith {};
|
||||
sched_tg_var1 = sched_tg_var1 +1;
|
||||
_index = -1;
|
||||
//sched_tg_var2 = 0;
|
||||
};
|
||||
if (_index >= 0) then {
|
||||
// create objects from cell index _index
|
||||
_cell = sched_tg_grid select _index;
|
||||
_imax = (count _cell) min (sched_tg_var2 + CHUNKSIZE);
|
||||
//diag_log format ["%1: spawn cell #%2, %4 objects from #%3", __FILE__, _index, sched_tg_var2, _imax-sched_tg_var2 ];
|
||||
for "_i" from sched_tg_var2 to _imax-1 do {
|
||||
_x = _cell select _i;
|
||||
//sched_tg_newSpawned = sched_tg_newSpawned + 1;
|
||||
if ("" != (_x select 1)) then {
|
||||
_object = (_x select 1) createVehicleLocal [0,0,0];
|
||||
_position = _x select 2;
|
||||
_object setDir (_x select 3);
|
||||
_object setPos [_position select 0,_position select 1,0];
|
||||
_object setPosATL _position;
|
||||
_object allowDamage false;
|
||||
//_onFire ...
|
||||
_object setVariable ["", true]; // SV used by player_spawnCheck, exists if object is local
|
||||
_x set [ 0, _object ]; // object reference for faster delete
|
||||
};
|
||||
};
|
||||
sched_tg_var2 = _imax;
|
||||
if (_imax == count _cell) then {
|
||||
sched_tg_var1 = sched_tg_var1 +1;
|
||||
sched_tg_var2 = 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
case (sched_tg_state == 2): { // hide whole cells
|
||||
if (sched_tg_var1 >= count sched_tg_currentActive) then {
|
||||
sched_tg_currentActive = +(sched_tg_newActive);
|
||||
sched_tg_state = 0;
|
||||
sched_tg_var1 = 0;
|
||||
// if ((sched_tg_newSpawned > 0) or (diag_fpsmin < 10)) then {
|
||||
// diag_log format [ "%1: spawned:%2 newTexture:%3 deleted:%4 fps: %5 -> %6%7", __FILE__,
|
||||
// sched_tg_newSpawned, sched_tg_newTextureSpawned, sched_tg_deleted, sched_tg_fps, diag_fpsmin, if (diag_fpsmin < 10) then {"!! <<<<<<<<<<<<<<<<<<<"} else {""} ];
|
||||
// };
|
||||
}
|
||||
else {
|
||||
_index = -1;
|
||||
// don't wait to next frame to find a new cell to hide
|
||||
while {sched_tg_var1 < count sched_tg_currentActive} do {
|
||||
_index = sched_tg_currentActive select sched_tg_var1;
|
||||
if !(_index IN sched_tg_newActive) exitWith {};
|
||||
sched_tg_var1 = sched_tg_var1 +1;
|
||||
_index = -1;
|
||||
//sched_tg_var2 = 0;
|
||||
};
|
||||
if (_index >= 0) then {
|
||||
//diag_log format ["%1: despawn cell #%2", __FILE__, _index ];
|
||||
// delete objects from cell index _x
|
||||
{
|
||||
deleteVehicle (_x select 0);
|
||||
_x set [ 0, objNull ];
|
||||
sched_tg_deleted = sched_tg_deleted +1;
|
||||
} count (sched_tg_grid select _index);
|
||||
//sched_tg_currentActive = sched_tg_currentActive - [_x];
|
||||
};
|
||||
sched_tg_var1 = sched_tg_var1 +1;
|
||||
};
|
||||
};
|
||||
default { // -1
|
||||
//diag_log [ diag_tickTime, __FILE__, "waiting for plantSpawner" ];
|
||||
if ((!isNil "dayz_plantSpawner_done") and {(dayz_plantSpawner_done == 2)}) then {
|
||||
sched_tg_state = 0; // ready to start the loop
|
||||
};
|
||||
|
||||
};
|
||||
}; // switch
|
||||
//diag_log format ["%1: state:%2 cellWidth:%3 cellHeight:%4 var1:%5 var2:%6 currentActive:%7 newActive:%8", __FILE__,
|
||||
// sched_tg_state, sched_tg_cellX, sched_tg_cellY, sched_tg_var1, sched_tg_var2, sched_tg_currentActive, sched_tg_newActive ];
|
||||
|
||||
objNull
|
||||
};
|
||||
77
SQF/dayz_code/system/scheduler/scheduler.fsm
Normal file
77
SQF/dayz_code/system/scheduler/scheduler.fsm
Normal file
@@ -0,0 +1,77 @@
|
||||
// (c) facoptere@gmail.com, licensed to DayZMod for the community
|
||||
|
||||
class FSM {
|
||||
fsmName = "server_cleanup";
|
||||
initState = "init";
|
||||
finalStates[] = {"end"};
|
||||
class States {
|
||||
class init {
|
||||
name="init";
|
||||
init= "" \n
|
||||
//"diag_log[""Scheduler init""];" \n
|
||||
"__sc_taskArray = [];" \n
|
||||
"__sc_time = diag_tickTime;" \n
|
||||
"{" \n
|
||||
" private [ ""__sc_period"", ""__sc_offset"", ""__sc_code"", ""__sc_init"", ""__sc_ctx"" ];" \n
|
||||
" __sc_period = _x select 0;" \n
|
||||
" __sc_offset = _x select 1;" \n
|
||||
" __sc_code = _x select 2;" \n
|
||||
" __sc_init = _x select 3;" \n
|
||||
" __sc_ctx = if (!isNil ""__sc_init"") then { call __sc_init } else { objNull };" \n
|
||||
" __sc_taskArray set [ count __sc_taskArray, [ __sc_code, __sc_ctx, __sc_period, __sc_time + __sc_offset - __sc_period ]];" \n
|
||||
// " diag_log [ __sc_period, __sc_time - __sc_offset + __sc_period, __sc_ctx, __sc_code ];" \n
|
||||
"} count _this;" \n
|
||||
"_this=nil;";
|
||||
class Links {
|
||||
class L0 {
|
||||
priority=0;
|
||||
to="loop";
|
||||
condition="1==1";
|
||||
action="";
|
||||
};
|
||||
};
|
||||
};
|
||||
class end {
|
||||
name="end";
|
||||
init= "diag_log[""Scheduler terminated""]";
|
||||
class Links {};
|
||||
};
|
||||
class loop {
|
||||
name="loop";
|
||||
init= "" \n
|
||||
// "diag_log[""Scheduler loop action""];" \n
|
||||
"__sc_lootT0 = diag_tickTime;" \n
|
||||
"{" \n
|
||||
" private [ ""__sc_task"", ""__sc_period"", ""__sc_offset"", ""__sc_code"", ""__sc_next"", ""__sc_ctx"" ];" \n
|
||||
" __sc_task = _x;" \n
|
||||
" __sc_code = __sc_task select 0;" \n
|
||||
" __sc_ctx = __sc_task select 1;" \n
|
||||
" __sc_period = __sc_task select 2;" \n
|
||||
" __sc_next = __sc_task select 3;" \n
|
||||
" if (diag_tickTime >= __sc_next) then {" \n
|
||||
// " if (__sc_period>=0.2) then {diag_log['scheduler idx/period/previous/time/next', _forEachIndex, __sc_period, __sc_task select 3, diag_tickTime, __sc_next ];};" \n
|
||||
" __sc_ctx = __sc_ctx call __sc_code;" \n
|
||||
" if (__sc_period > 0) then { __sc_next = __sc_next + __sc_period * (1 + floor((diag_tickTime - __sc_next) / __sc_period)); };" \n
|
||||
" __sc_task set [1, __sc_ctx];" \n
|
||||
" __sc_task set [3, __sc_next];" \n
|
||||
" };" \n
|
||||
" if ((__sc_period == 0) AND {(__sc_ctx)}) exitWith {};" \n
|
||||
" if (diag_tickTime - __sc_lootT0 > 0.02) exitWith {};" \n // hopefully should not happen frequently
|
||||
"} count __sc_taskArray;";
|
||||
class Links {
|
||||
class L0 {
|
||||
priority=1;
|
||||
to="end";
|
||||
condition="(!isServer) and {(deathHandled)}";
|
||||
action="";
|
||||
};
|
||||
class L1 {
|
||||
priority=0;
|
||||
to="loop";
|
||||
condition="1==1";
|
||||
action= "";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
1
SQF/dayz_code/system/scheduler/scheduler.hpp
Normal file
1
SQF/dayz_code/system/scheduler/scheduler.hpp
Normal file
@@ -0,0 +1 @@
|
||||
#define HIDE_FSM_VARS private ["__sc_task","__sc_code","__sc_period","__sc_next","__sc_taskArray", "__sc_lootT0"];
|
||||
Reference in New Issue
Block a user