Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe
  • 0
misha123

Добавление зданий на сервер

Я смотрел разные видео нечего не помогает создавал файл со зданиями вот они.

//Cherno new buildings
//Created by Misha91074
//Fell free to use this at will in your server and edit it as your please. But credit where it's due, is always appriceated.

 


if (isServer) them (


_unit_0 = objNull;
if (true) then
{
  _this = _group_0 createUnit ["BAF_Soldier_FAC_MTP", [6307.0049, 7801.9951, 0], [], 0, "CAN_COLLIDE"];
  _unit_0 = _this;
  _this setVehicleAmmo 0.89999998;
  _this setUnitAbility 0.60000002;
  if (false) then {_group_0 selectLeader _this;};
  if (true) then {selectPlayer _this;};
};


_vehicle_13 = objNull;
if (true) then
{
  _this = createVehicle ["Land_pumpa", [6273.5732, 7833.2314, 0.048202835], [], 0, "CAN_COLLIDE"];
  _vehicle_13 = _this;
  _this setDir 168.07135;
  _this setPos [6273.5732, 7833.2314, 0.048202835];
};


_vehicle_21 = objNull;
if (true) then
{
  _this = createVehicle ["Land_repair_center", [5360.3789, 6326.9966, -2.0525405], [], 0, "CAN_COLLIDE"];
  _vehicle_21 = _this;
  _this setPos [5360.3789, 6326.9966, -2.0525405];
};


_vehicle_50 = objNull;
if (true) then
{
  _this = createVehicle ["Rubbish3", [6384.3789, 7798.5205, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_50 = _this;
  _this setPos [6384.3789, 7798.5205, 3.0517578e-005];
};


_vehicle_55 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBBarrier5x", [6392.0015, 7806.29], [], 0, "CAN_COLLIDE"];
  _vehicle_55 = _this;
  _this setDir 25.763144;
  _this setPos [6392.0015, 7806.29];
};


_group_1 = createGroup _center_0;


_vehicle_65 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6290.1353, 7794.9478], [], 0, "CAN_COLLIDE"];
  _vehicle_65 = _this;
  _this setDir -60.324894;
  _this setPos [6290.1353, 7794.9478];
};


_vehicle_66 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6274.4668, 7828.4268], [], 0, "CAN_COLLIDE"];
  _vehicle_66 = _this;
  _this setDir 21.519676;
  _this setPos [6274.4668, 7828.4268];
};


_vehicle_67 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6272.1685, 7817.8105], [], 0, "CAN_COLLIDE"];
  _vehicle_67 = _this;
  _this setDir -3.5639682;
  _this setPos [6272.1685, 7817.8105];
};


_vehicle_68 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6285.2813, 7798.0288], [], 0, "CAN_COLLIDE"];
  _vehicle_68 = _this;
  _this setDir -53.48629;
  _this setPos [6285.2813, 7798.0288];
};


_vehicle_69 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6294.9917, 7792.1177, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_69 = _this;
  _this setDir -59.853909;
  _this setPos [6294.9917, 7792.1177, -6.1035156e-005];
};


_vehicle_70 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6299.7979, 7789.0015], [], 0, "CAN_COLLIDE"];
  _vehicle_70 = _this;
  _this setDir 119.75663;
  _this setPos [6299.7979, 7789.0015];
};


_vehicle_71 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6304.4019, 7785.9868, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_71 = _this;
  _this setDir -56.254822;
  _this setPos [6304.4019, 7785.9868, -3.0517578e-005];
};


_vehicle_72 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6280.5005, 7802.1299, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_72 = _this;
  _this setDir -44.82362;
  _this setPos [6280.5005, 7802.1299, 3.0517578e-005];
};


_vehicle_73 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6276.5415, 7806.7178, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_73 = _this;
  _this setDir -37.032974;
  _this setPos [6276.5415, 7806.7178, -3.0517578e-005];
};


_vehicle_74 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6273.502, 7811.9888], [], 0, "CAN_COLLIDE"];
  _vehicle_74 = _this;
  _this setDir -23.113895;
  _this setPos [6273.502, 7811.9888];
};


_vehicle_75 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6340.498, 7791.624], [], 0, "CAN_COLLIDE"];
  _vehicle_75 = _this;
  _this setDir 31.997133;
  _this setPos [6340.498, 7791.624];
};


_vehicle_76 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6337.1655, 7786.9106, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_76 = _this;
  _this setDir 38.71571;
  _this setPos [6337.1655, 7786.9106, 3.0517578e-005];
};


_vehicle_77 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6329.9971, 7777.7344, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_77 = _this;
  _this setDir 36.888523;
  _this setPos [6329.9971, 7777.7344, 3.0517578e-005];
};


_vehicle_78 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6333.5869, 7782.3862, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_78 = _this;
  _this setDir 38.653934;
  _this setPos [6333.5869, 7782.3862, 3.0517578e-005];
};


_vehicle_79 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6324.7607, 7774.9839, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_79 = _this;
  _this setDir 85.563171;
  _this setPos [6324.7607, 7774.9839, 3.0517578e-005];
};


_vehicle_80 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6318.6396, 7776.4404, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_80 = _this;
  _this setDir 119.11187;
  _this setPos [6318.6396, 7776.4404, 6.1035156e-005];
};


_vehicle_81 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6309.6934, 7782.939], [], 0, "CAN_COLLIDE"];
  _vehicle_81 = _this;
  _this setDir 118.53063;
  _this setPos [6309.6934, 7782.939];
};


_vehicle_82 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6313.8208, 7779.5713], [], 0, "CAN_COLLIDE"];
  _vehicle_82 = _this;
  _this setDir 130.61636;
  _this setPos [6313.8208, 7779.5713];
};


_vehicle_83 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6342.2939, 7797.2002], [], 0, "CAN_COLLIDE"];
  _vehicle_83 = _this;
  _this setPos [6342.2939, 7797.2002];
};


_vehicle_84 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6340.6104, 7802.7959, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_84 = _this;
  _this setDir 140.37923;
  _this setPos [6340.6104, 7802.7959, -3.0517578e-005];
};


_vehicle_85 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6340.6196, 7802.7734, 2.5312753], [], 0, "CAN_COLLIDE"];
  _vehicle_85 = _this;
  _this setDir 139.54893;
  _this setPos [6340.6196, 7802.7734, 2.5312753];
};


_vehicle_86 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6331.4639, 7810.6157, 2.4541855], [], 0, "CAN_COLLIDE"];
  _vehicle_86 = _this;
  _this setDir 120.88918;
  _this setPos [6331.4639, 7810.6157, 2.4541855];
};


_vehicle_87 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6336.4492, 7806.937, 2.5395243], [], 0, "CAN_COLLIDE"];
  _vehicle_87 = _this;
  _this setDir -51.949337;
  _this setPos [6336.4492, 7806.937, 2.5395243];
};


_vehicle_88 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6331.7764, 7810.5103, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_88 = _this;
  _this setDir 124.90662;
  _this setPos [6331.7764, 7810.5103, -3.0517578e-005];
};


_vehicle_89 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6336.3901, 7806.9727, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_89 = _this;
  _this setDir 128.69429;
  _this setPos [6336.3901, 7806.9727, -3.0517578e-005];
};


_vehicle_90 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6326.7886, 7813.9214, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_90 = _this;
  _this setDir 124.24306;
  _this setPos [6326.7886, 7813.9214, 3.0517578e-005];
};


_vehicle_91 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6310.1543, 7824.8149, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_91 = _this;
  _this setDir 131.64441;
  _this setPos [6310.1543, 7824.8149, 3.0517578e-005];
};


_vehicle_92 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6307.2661, 7828.0649], [], 0, "CAN_COLLIDE"];
  _vehicle_92 = _this;
  _this setDir 146.92229;
  _this setPos [6307.2661, 7828.0649];
};


_vehicle_93 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6317.0039, 7820.252, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_93 = _this;
  _this setDir 119.96899;
  _this setPos [6317.0039, 7820.252, 3.0517578e-005];
};


_vehicle_94 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6313.6519, 7779.5459, 2.4726455], [], 0, "CAN_COLLIDE"];
  _vehicle_94 = _this;
  _this setDir 125.57775;
  _this setPos [6313.6519, 7779.5459, 2.4726455];
};


_vehicle_95 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6321.895, 7817.1851, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_95 = _this;
  _this setDir 123.25498;
  _this setPos [6321.895, 7817.1851, 3.0517578e-005];
};


_vehicle_96 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6326.6372, 7814.1914, 2.1378088], [], 0, "CAN_COLLIDE"];
  _vehicle_96 = _this;
  _this setDir 123.76279;
  _this setPos [6326.6372, 7814.1914, 2.1378088];
};


_vehicle_97 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6277.4063, 7833.7783], [], 0, "CAN_COLLIDE"];
  _vehicle_97 = _this;
  _this setDir 32.274616;
  _this setPos [6277.4063, 7833.7783];
};


_vehicle_98 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6281.7803, 7838.0283, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_98 = _this;
  _this setDir 54.865566;
  _this setPos [6281.7803, 7838.0283, 3.0517578e-005];
};


_vehicle_99 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6297.9326, 7834.6421, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_99 = _this;
  _this setDir -61.351997;
  _this setPos [6297.9326, 7834.6421, -3.0517578e-005];
};


_vehicle_100 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6287.3579, 7839.5029, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_100 = _this;
  _this setDir 98.272781;
  _this setPos [6287.3579, 7839.5029, 9.1552734e-005];
};


_vehicle_101 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6292.9946, 7837.5015], [], 0, "CAN_COLLIDE"];
  _vehicle_101 = _this;
  _this setDir 122.19919;
  _this setPos [6292.9946, 7837.5015];
};


_vehicle_102 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6314.6104, 7821.6777, 0.057233933], [], 0, "CAN_COLLIDE"];
  _vehicle_102 = _this;
  _this setDir 120.65365;
  _this setPos [6314.6104, 7821.6777, 0.057233933];
};


_vehicle_103 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6303.2563, 7831.4873, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_103 = _this;
  _this setDir 118.88526;
  _this setPos [6303.2563, 7831.4873, 6.1035156e-005];
};


_vehicle_104 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6307.2705, 7827.6357, 1.7430516], [], 0, "CAN_COLLIDE"];
  _vehicle_104 = _this;
  _this setDir 136.38794;
  _this setPos [6307.2705, 7827.6357, 1.7430516];
};


_vehicle_105 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6311.8945, 7823.7358, 1.7559367], [], 0, "CAN_COLLIDE"];
  _vehicle_105 = _this;
  _this setDir 120.63074;
  _this setPos [6311.8945, 7823.7358, 1.7559367];
};


_vehicle_106 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6342.1255, 7796.7969, 2.3898268], [], 0, "CAN_COLLIDE"];
  _vehicle_106 = _this;
  _this setDir 3.970598;
  _this setPos [6342.1255, 7796.7969, 2.3898268];
};


_vehicle_107 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6332.9624, 7781.0566, 2.3496983], [], 0, "CAN_COLLIDE"];
  _vehicle_107 = _this;
  _this setDir 38.019897;
  _this setPos [6332.9624, 7781.0566, 2.3496983];
};


_vehicle_108 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6316.9795, 7820.3369, 2.102684], [], 0, "CAN_COLLIDE"];
  _vehicle_108 = _this;
  _this setDir 118.7549;
  _this setPos [6316.9795, 7820.3369, 2.102684];
};


_vehicle_109 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6321.9092, 7817.499, 2.0563757], [], 0, "CAN_COLLIDE"];
  _vehicle_109 = _this;
  _this setDir 122.07674;
  _this setPos [6321.9092, 7817.499, 2.0563757];
};


_vehicle_110 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6298.1963, 7834.876, 2.0960205], [], 0, "CAN_COLLIDE"];
  _vehicle_110 = _this;
  _this setDir -59.252979;
  _this setPos [6298.1963, 7834.876, 2.0960205];
};


_vehicle_111 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6303.4111, 7831.6035, 1.7899019], [], 0, "CAN_COLLIDE"];
  _vehicle_111 = _this;
  _this setDir 123.94321;
  _this setPos [6303.4111, 7831.6035, 1.7899019];
};


_vehicle_112 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6329.5322, 7776.7964, 2.3331003], [], 0, "CAN_COLLIDE"];
  _vehicle_112 = _this;
  _this setDir 40.450279;
  _this setPos [6329.5322, 7776.7964, 2.3331003];
};


_vehicle_113 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6340.0029, 7790.8472, 2.464926], [], 0, "CAN_COLLIDE"];
  _vehicle_113 = _this;
  _this setDir 31.316526;
  _this setPos [6340.0029, 7790.8472, 2.464926];
};


_vehicle_114 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6336.291, 7785.9194, 2.5385649], [], 0, "CAN_COLLIDE"];
  _vehicle_114 = _this;
  _this setDir 39.906029;
  _this setPos [6336.291, 7785.9194, 2.5385649];
};


_vehicle_115 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6318.5078, 7776.2495, 2.3637567], [], 0, "CAN_COLLIDE"];
  _vehicle_115 = _this;
  _this setDir -63.118034;
  _this setPos [6318.5078, 7776.2495, 2.3637567];
};


_vehicle_116 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6293.3745, 7837.7686, 2.0440695], [], 0, "CAN_COLLIDE"];
  _vehicle_116 = _this;
  _this setDir 116.93127;
  _this setPos [6293.3745, 7837.7686, 2.0440695];
};


_vehicle_117 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6324.4922, 7775.1079, 2.4237602], [], 0, "CAN_COLLIDE"];
  _vehicle_117 = _this;
  _this setDir 81.935806;
  _this setPos [6324.4922, 7775.1079, 2.4237602];
};


_vehicle_118 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6271.8579, 7817.8384, 2.3099654], [], 0, "CAN_COLLIDE"];
  _vehicle_118 = _this;
  _this setPos [6271.8579, 7817.8384, 2.3099654];
};


_vehicle_119 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6277.6157, 7833.9814, 2.3565376], [], 0, "CAN_COLLIDE"];
  _vehicle_119 = _this;
  _this setDir 32.797539;
  _this setPos [6277.6157, 7833.9814, 2.3565376];
};


_vehicle_120 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6280.3379, 7802.2681, 2.3994527], [], 0, "CAN_COLLIDE"];
  _vehicle_120 = _this;
  _this setDir -41.704235;
  _this setPos [6280.3379, 7802.2681, 2.3994527];
};


_vehicle_121 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6273.4639, 7812.1577, 2.2832522], [], 0, "CAN_COLLIDE"];
  _vehicle_121 = _this;
  _this setDir -22.720274;
  _this setPos [6273.4639, 7812.1577, 2.2832522];
};


_vehicle_122 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6282.0029, 7838.2778, 2.5086186], [], 0, "CAN_COLLIDE"];
  _vehicle_122 = _this;
  _this setDir -125.09826;
  _this setPos [6282.0029, 7838.2778, 2.5086186];
};


_vehicle_123 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6276.4111, 7806.6826, 2.2075236], [], 0, "CAN_COLLIDE"];
  _vehicle_123 = _this;
  _this setDir -36.646305;
  _this setPos [6276.4111, 7806.6826, 2.2075236];
};


_vehicle_124 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6287.5171, 7839.6587, 2.4318745], [], 0, "CAN_COLLIDE"];
  _vehicle_124 = _this;
  _this setDir -80.374092;
  _this setPos [6287.5171, 7839.6587, 2.4318745];
};


_vehicle_125 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6273.8223, 7823.2251, 4.5891538], [], 0, "CAN_COLLIDE"];
  _vehicle_125 = _this;
  _this setDir 14.657654;
  _this setPos [6273.8223, 7823.2251, 4.5891538];
};


_vehicle_126 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6274.647, 7828.5591, 2.1992226], [], 0, "CAN_COLLIDE"];
  _vehicle_126 = _this;
  _this setDir 23.139322;
  _this setPos [6274.647, 7828.5591, 2.1992226];
};


_vehicle_127 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6299.2056, 7789.2163, 2.466918], [], 0, "CAN_COLLIDE"];
  _vehicle_127 = _this;
  _this setDir 120.65714;
  _this setPos [6299.2056, 7789.2163, 2.466918];
};


_vehicle_128 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6304.1318, 7786.0718, 2.4272346], [], 0, "CAN_COLLIDE"];
  _vehicle_128 = _this;
  _this setDir 121.06433;
  _this setPos [6304.1318, 7786.0718, 2.4272346];
};


_vehicle_129 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6309.0884, 7782.9063, 2.3955913], [], 0, "CAN_COLLIDE"];
  _vehicle_129 = _this;
  _this setDir 117.58961;
  _this setPos [6309.0884, 7782.9063, 2.3955913];
};


_vehicle_131 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6289.1816, 7795.1392, 2.2616544], [], 0, "CAN_COLLIDE"];
  _vehicle_131 = _this;
  _this setDir 118.78408;
  _this setPos [6289.1816, 7795.1392, 2.2616544];
};


_vehicle_132 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6294.1782, 7792.356, 2.3704951], [], 0, "CAN_COLLIDE"];
  _vehicle_132 = _this;
  _this setDir -59.587875;
  _this setPos [6294.1782, 7792.356, 2.3704951];
};


_vehicle_133 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6284.418, 7798.7544, 2.389154], [], 0, "CAN_COLLIDE"];
  _vehicle_133 = _this;
  _this setDir -50.853485;
  _this setPos [6284.418, 7798.7544, 2.389154];
};


_vehicle_155 = objNull;
if (true) then
{
  _this = createVehicle ["MBG_Killhouse_1_InEditor", [6271.8413, 7840.8643], [], 0, "CAN_COLLIDE"];
  _vehicle_155 = _this;
  _this setDir -0.23193379;
  _this setPos [6271.8413, 7840.8643];
};


_vehicle_165 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_Outdoortable", [6271.9385, 7829.7129, -0.025047544], [], 0, "CAN_COLLIDE"];
  _vehicle_165 = _this;
  _this setDir 10.292085;
  _this setPos [6271.9385, 7829.7129, -0.025047544];
};


_vehicle_166 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_Garage_Single_D", [6265.2842, 7838.6509, 0.5868966], [], 0, "CAN_COLLIDE"];
  _vehicle_166 = _this;
  _this setDir -0.23177741;
  _this setPos [6265.2842, 7838.6509, 0.5868966];
};


_vehicle_182 = objNull;
if (true) then
{
  _this = createVehicle ["SignM_UN_Base_EP1", [6270.7822, 7818.6919, 4.3509927], [], 0, "CAN_COLLIDE"];
  _vehicle_182 = _this;
  _this setDir 85.842667;
  _this setPos [6270.7822, 7818.6919, 4.3509927];
};




Прописывал в init.sqf 


[] execVM "\z\MPMissions\DayZ_Epoch_11.Chernarus\map-cherno.sqf


Вот init полностью если что.


/*    
    For DayZ Epoch
    Addons Credits: Jetski Yanahui by Kol9yN, Zakat, Gerasimow9, YuraPetrov, zGuba, A.Karagod, IceBreakr, Sahbazz
*/
startLoadingScreen ["","RscDisplayLoadCustom"];
cutText ["","BLACK OUT"];
enableSaving [false, false];


//REALLY IMPORTANT VALUES
dayZ_instance =    11;                    //The instance
dayzHiveRequest = [];
initialized = false;
dayz_previousID = 0;


//disable greeting menu 
player setVariable ["BIS_noCoreConversations", true];
//disable radio messages to be heard and shown in the left lower corner of the screen
enableRadio false;
// May prevent "how are you civillian?" messages from NPC
enableSentences false;


// DayZ Epoch config
spawnShoremode = 1; // Default = 1 (on shore)
spawnArea= 1500; // Default = 1500


MaxVehicleLimit = 300; // Default = 50
MaxDynamicDebris = 500; // Default = 100
dayz_MapArea = 14000; // Default = 10000
dayz_maxLocalZombies = 30; // Default = 30 


dayz_paraSpawn = false;


dayz_minpos = -1; 
dayz_maxpos = 16000;


dayz_sellDistance_vehicle = 10;
dayz_sellDistance_boat = 30;
dayz_sellDistance_air = 40;


dayz_maxAnimals = 5; // Default: 8
dayz_tameDogs = true;
DynamicVehicleDamageLow = 0; // Default: 0
DynamicVehicleDamageHigh = 100; // Default: 100


DZE_BuildOnRoads = false; // Default: False


EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"],["any","any","any","any",15,"supply_drop"]];
dayz_fullMoonNights = true;


//Load in compiled functions
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf";                //Initilize the Variables (IMPORTANT: Must happen very early)
progressLoadingScreen 0.1;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf";                //Initilize the publicVariable event handlers
progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf";    //Functions used by CLIENT for medical
progressLoadingScreen 0.4;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";                //Compile regular functions
progressLoadingScreen 0.5;
call compile preprocessFileLineNumbers "server_traders.sqf";                //Compile trader configs
progressLoadingScreen 1.0;


"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";


if (isServer) then {
    call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\dynamic_vehicle.sqf";
    //Compile vehicle configs
    
    // Add trader citys
    _nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\mission.sqf";
    _serverMonitor =     [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
};


if (!isDedicated) then {
    //Conduct map operations
    0 fadeSound 0;
    waitUntil {!isNil "dayz_loadScreenMsg"};
    dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
    
    //Run the player monitor
    _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
    _playerMonitor =     [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";    
    
    //anti Hack
    //[] execVM "\z\addons\dayz_code\system\antihack.sqf";


    //Lights
    //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";
    
};


//#include "\z\addons\dayz_code\system\REsec.sqf"


//Start Dynamic Weather
execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf";




BIS_Effects_Init = true; //A2 won't overwrite this if var is not nil
/* BIS_Effects_* fixes from Dwarden */
diag_log "Res3tting B!S effects...";
BIS_Effects_EH_Fired = {false};
BIS_Effects_EH_Killed = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\killed.sqf";
BIS_Effects_Rifle = {false};
BIS_Effects_Cannon=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\muzzle\cannon.sqf";
BIS_Effects_HeavyCaliber=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\muzzle\heavycaliber.sqf";
BIS_Effects_HeavySniper=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\muzzle\heavysniper.sqf";
BIS_Effects_Rocket=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\muzzle\rocket.sqf";
BIS_Effects_SmokeShell=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\muzzle\smokeshell.sqf";
BIS_Effects_SmokeLauncher=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\muzzle\smokelauncher.sqf";
BIS_Effects_Flares=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\muzzle\flares.sqf";
BIS_Effects_Burn=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\destruction\burn.sqf";
BIS_Effects_AircraftVapour=compile preprocessFileLineNumbers "\ca\Data\ParticleEffects\SCRIPTS\misc\aircraftvapour.sqf";
BIS_Effects_AirDestruction = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestruction.sqf";
BIS_Effects_AirDestructionStage2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestructionStage2.sqf";
BIS_Effects_Secondaries = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\secondaries.sqf";
BIS_Effects_globalEvent = {
    BIS_effects_gepv = _this;
    publicVariable "BIS_effects_gepv";
    _this call BIS_Effects_startEvent;
};
BIS_Effects_startEvent = {
    switch (_this select 0) do {
        case "AirDestruction": {
                [_this select 1] spawn BIS_Effects_AirDestruction;
        };
        case "AirDestructionStage2": {
                [_this select 1, _this select 2, _this select 3] spawn BIS_Effects_AirDestructionStage2;
        };
        case "Burn": {
                [_this select 1, _this select 2, _this select 3, false, true] spawn BIS_Effects_Burn;
        };
    };
};
"BIS_effects_gepv" addPublicVariableEventHandler {
    (_this select 1) call BIS_Effects_startEvent;
};


[] execVM "\z\MPMissions\DayZ_Epoch_11.Chernarus\map-cherno.sqf
 

 

 

Share this post


Link to post
Share on other sites

11 answers to this question

Recommended Posts

  • 0
if (isServer) them (

_vehicle_13 = objNull;
if (true) then
{
  _this = createVehicle ["Land_pumpa", [6273.5732, 7833.2314, 0.048202835], [], 0, "CAN_COLLIDE"];
  _vehicle_13 = _this;
  _this setDir 168.07135;
  _this setPos [6273.5732, 7833.2314, 0.048202835];
};
 
_vehicle_21 = objNull;
if (true) then
{
  _this = createVehicle ["Land_repair_center", [5360.3789, 6326.9966, -2.0525405], [], 0, "CAN_COLLIDE"];
  _vehicle_21 = _this;
  _this setPos [5360.3789, 6326.9966, -2.0525405];
};
 
_vehicle_50 = objNull;
if (true) then
{
  _this = createVehicle ["Rubbish3", [6384.3789, 7798.5205, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_50 = _this;
  _this setPos [6384.3789, 7798.5205, 3.0517578e-005];
};
 
_vehicle_55 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBBarrier5x", [6392.0015, 7806.29], [], 0, "CAN_COLLIDE"];
  _vehicle_55 = _this;
  _this setDir 25.763144;
  _this setPos [6392.0015, 7806.29];
};
 
_group_1 = createGroup _center_0;
 
_vehicle_65 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6290.1353, 7794.9478], [], 0, "CAN_COLLIDE"];
  _vehicle_65 = _this;
  _this setDir -60.324894;
  _this setPos [6290.1353, 7794.9478];
};
 
_vehicle_66 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6274.4668, 7828.4268], [], 0, "CAN_COLLIDE"];
  _vehicle_66 = _this;
  _this setDir 21.519676;
  _this setPos [6274.4668, 7828.4268];
};
 
_vehicle_67 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6272.1685, 7817.8105], [], 0, "CAN_COLLIDE"];
  _vehicle_67 = _this;
  _this setDir -3.5639682;
  _this setPos [6272.1685, 7817.8105];
};
 
_vehicle_68 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6285.2813, 7798.0288], [], 0, "CAN_COLLIDE"];
  _vehicle_68 = _this;
  _this setDir -53.48629;
  _this setPos [6285.2813, 7798.0288];
};
 
_vehicle_69 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6294.9917, 7792.1177, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_69 = _this;
  _this setDir -59.853909;
  _this setPos [6294.9917, 7792.1177, -6.1035156e-005];
};
 
_vehicle_70 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6299.7979, 7789.0015], [], 0, "CAN_COLLIDE"];
  _vehicle_70 = _this;
  _this setDir 119.75663;
  _this setPos [6299.7979, 7789.0015];
};
 
_vehicle_71 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6304.4019, 7785.9868, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_71 = _this;
  _this setDir -56.254822;
  _this setPos [6304.4019, 7785.9868, -3.0517578e-005];
};
 
_vehicle_72 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6280.5005, 7802.1299, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_72 = _this;
  _this setDir -44.82362;
  _this setPos [6280.5005, 7802.1299, 3.0517578e-005];
};
 
_vehicle_73 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6276.5415, 7806.7178, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_73 = _this;
  _this setDir -37.032974;
  _this setPos [6276.5415, 7806.7178, -3.0517578e-005];
};
 
_vehicle_74 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6273.502, 7811.9888], [], 0, "CAN_COLLIDE"];
  _vehicle_74 = _this;
  _this setDir -23.113895;
  _this setPos [6273.502, 7811.9888];
};
 
_vehicle_75 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6340.498, 7791.624], [], 0, "CAN_COLLIDE"];
  _vehicle_75 = _this;
  _this setDir 31.997133;
  _this setPos [6340.498, 7791.624];
};
 
_vehicle_76 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6337.1655, 7786.9106, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_76 = _this;
  _this setDir 38.71571;
  _this setPos [6337.1655, 7786.9106, 3.0517578e-005];
};
 
_vehicle_77 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6329.9971, 7777.7344, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_77 = _this;
  _this setDir 36.888523;
  _this setPos [6329.9971, 7777.7344, 3.0517578e-005];
};
 
_vehicle_78 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6333.5869, 7782.3862, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_78 = _this;
  _this setDir 38.653934;
  _this setPos [6333.5869, 7782.3862, 3.0517578e-005];
};
 
_vehicle_79 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6324.7607, 7774.9839, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_79 = _this;
  _this setDir 85.563171;
  _this setPos [6324.7607, 7774.9839, 3.0517578e-005];
};
 
_vehicle_80 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6318.6396, 7776.4404, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_80 = _this;
  _this setDir 119.11187;
  _this setPos [6318.6396, 7776.4404, 6.1035156e-005];
};
 
_vehicle_81 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6309.6934, 7782.939], [], 0, "CAN_COLLIDE"];
  _vehicle_81 = _this;
  _this setDir 118.53063;
  _this setPos [6309.6934, 7782.939];
};
 
_vehicle_82 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6313.8208, 7779.5713], [], 0, "CAN_COLLIDE"];
  _vehicle_82 = _this;
  _this setDir 130.61636;
  _this setPos [6313.8208, 7779.5713];
};
 
_vehicle_83 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6342.2939, 7797.2002], [], 0, "CAN_COLLIDE"];
  _vehicle_83 = _this;
  _this setPos [6342.2939, 7797.2002];
};
 
_vehicle_84 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6340.6104, 7802.7959, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_84 = _this;
  _this setDir 140.37923;
  _this setPos [6340.6104, 7802.7959, -3.0517578e-005];
};
 
_vehicle_85 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6340.6196, 7802.7734, 2.5312753], [], 0, "CAN_COLLIDE"];
  _vehicle_85 = _this;
  _this setDir 139.54893;
  _this setPos [6340.6196, 7802.7734, 2.5312753];
};
 
_vehicle_86 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6331.4639, 7810.6157, 2.4541855], [], 0, "CAN_COLLIDE"];
  _vehicle_86 = _this;
  _this setDir 120.88918;
  _this setPos [6331.4639, 7810.6157, 2.4541855];
};
 
_vehicle_87 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6336.4492, 7806.937, 2.5395243], [], 0, "CAN_COLLIDE"];
  _vehicle_87 = _this;
  _this setDir -51.949337;
  _this setPos [6336.4492, 7806.937, 2.5395243];
};
 
_vehicle_88 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6331.7764, 7810.5103, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_88 = _this;
  _this setDir 124.90662;
  _this setPos [6331.7764, 7810.5103, -3.0517578e-005];
};
 
_vehicle_89 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6336.3901, 7806.9727, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_89 = _this;
  _this setDir 128.69429;
  _this setPos [6336.3901, 7806.9727, -3.0517578e-005];
};
 
_vehicle_90 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6326.7886, 7813.9214, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_90 = _this;
  _this setDir 124.24306;
  _this setPos [6326.7886, 7813.9214, 3.0517578e-005];
};
 
_vehicle_91 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6310.1543, 7824.8149, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_91 = _this;
  _this setDir 131.64441;
  _this setPos [6310.1543, 7824.8149, 3.0517578e-005];
};
 
_vehicle_92 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6307.2661, 7828.0649], [], 0, "CAN_COLLIDE"];
  _vehicle_92 = _this;
  _this setDir 146.92229;
  _this setPos [6307.2661, 7828.0649];
};
 
_vehicle_93 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6317.0039, 7820.252, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_93 = _this;
  _this setDir 119.96899;
  _this setPos [6317.0039, 7820.252, 3.0517578e-005];
};
 
_vehicle_94 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6313.6519, 7779.5459, 2.4726455], [], 0, "CAN_COLLIDE"];
  _vehicle_94 = _this;
  _this setDir 125.57775;
  _this setPos [6313.6519, 7779.5459, 2.4726455];
};
 
_vehicle_95 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6321.895, 7817.1851, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_95 = _this;
  _this setDir 123.25498;
  _this setPos [6321.895, 7817.1851, 3.0517578e-005];
};
 
_vehicle_96 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6326.6372, 7814.1914, 2.1378088], [], 0, "CAN_COLLIDE"];
  _vehicle_96 = _this;
  _this setDir 123.76279;
  _this setPos [6326.6372, 7814.1914, 2.1378088];
};
 
_vehicle_97 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6277.4063, 7833.7783], [], 0, "CAN_COLLIDE"];
  _vehicle_97 = _this;
  _this setDir 32.274616;
  _this setPos [6277.4063, 7833.7783];
};
 
_vehicle_98 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6281.7803, 7838.0283, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_98 = _this;
  _this setDir 54.865566;
  _this setPos [6281.7803, 7838.0283, 3.0517578e-005];
};
 
_vehicle_99 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6297.9326, 7834.6421, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_99 = _this;
  _this setDir -61.351997;
  _this setPos [6297.9326, 7834.6421, -3.0517578e-005];
};
 
_vehicle_100 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6287.3579, 7839.5029, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_100 = _this;
  _this setDir 98.272781;
  _this setPos [6287.3579, 7839.5029, 9.1552734e-005];
};
 
_vehicle_101 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6292.9946, 7837.5015], [], 0, "CAN_COLLIDE"];
  _vehicle_101 = _this;
  _this setDir 122.19919;
  _this setPos [6292.9946, 7837.5015];
};
 
_vehicle_102 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6314.6104, 7821.6777, 0.057233933], [], 0, "CAN_COLLIDE"];
  _vehicle_102 = _this;
  _this setDir 120.65365;
  _this setPos [6314.6104, 7821.6777, 0.057233933];
};
 
_vehicle_103 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6303.2563, 7831.4873, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_103 = _this;
  _this setDir 118.88526;
  _this setPos [6303.2563, 7831.4873, 6.1035156e-005];
};
 
_vehicle_104 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6307.2705, 7827.6357, 1.7430516], [], 0, "CAN_COLLIDE"];
  _vehicle_104 = _this;
  _this setDir 136.38794;
  _this setPos [6307.2705, 7827.6357, 1.7430516];
};
 
_vehicle_105 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6311.8945, 7823.7358, 1.7559367], [], 0, "CAN_COLLIDE"];
  _vehicle_105 = _this;
  _this setDir 120.63074;
  _this setPos [6311.8945, 7823.7358, 1.7559367];
};
 
_vehicle_106 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6342.1255, 7796.7969, 2.3898268], [], 0, "CAN_COLLIDE"];
  _vehicle_106 = _this;
  _this setDir 3.970598;
  _this setPos [6342.1255, 7796.7969, 2.3898268];
};
 
_vehicle_107 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6332.9624, 7781.0566, 2.3496983], [], 0, "CAN_COLLIDE"];
  _vehicle_107 = _this;
  _this setDir 38.019897;
  _this setPos [6332.9624, 7781.0566, 2.3496983];
};
 
_vehicle_108 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6316.9795, 7820.3369, 2.102684], [], 0, "CAN_COLLIDE"];
  _vehicle_108 = _this;
  _this setDir 118.7549;
  _this setPos [6316.9795, 7820.3369, 2.102684];
};
 
_vehicle_109 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6321.9092, 7817.499, 2.0563757], [], 0, "CAN_COLLIDE"];
  _vehicle_109 = _this;
  _this setDir 122.07674;
  _this setPos [6321.9092, 7817.499, 2.0563757];
};
 
_vehicle_110 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6298.1963, 7834.876, 2.0960205], [], 0, "CAN_COLLIDE"];
  _vehicle_110 = _this;
  _this setDir -59.252979;
  _this setPos [6298.1963, 7834.876, 2.0960205];
};
 
_vehicle_111 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6303.4111, 7831.6035, 1.7899019], [], 0, "CAN_COLLIDE"];
  _vehicle_111 = _this;
  _this setDir 123.94321;
  _this setPos [6303.4111, 7831.6035, 1.7899019];
};
 
_vehicle_112 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6329.5322, 7776.7964, 2.3331003], [], 0, "CAN_COLLIDE"];
  _vehicle_112 = _this;
  _this setDir 40.450279;
  _this setPos [6329.5322, 7776.7964, 2.3331003];
};
 
_vehicle_113 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6340.0029, 7790.8472, 2.464926], [], 0, "CAN_COLLIDE"];
  _vehicle_113 = _this;
  _this setDir 31.316526;
  _this setPos [6340.0029, 7790.8472, 2.464926];
};
 
_vehicle_114 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6336.291, 7785.9194, 2.5385649], [], 0, "CAN_COLLIDE"];
  _vehicle_114 = _this;
  _this setDir 39.906029;
  _this setPos [6336.291, 7785.9194, 2.5385649];
};
 
_vehicle_115 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6318.5078, 7776.2495, 2.3637567], [], 0, "CAN_COLLIDE"];
  _vehicle_115 = _this;
  _this setDir -63.118034;
  _this setPos [6318.5078, 7776.2495, 2.3637567];
};
 
_vehicle_116 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6293.3745, 7837.7686, 2.0440695], [], 0, "CAN_COLLIDE"];
  _vehicle_116 = _this;
  _this setDir 116.93127;
  _this setPos [6293.3745, 7837.7686, 2.0440695];
};
 
_vehicle_117 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6324.4922, 7775.1079, 2.4237602], [], 0, "CAN_COLLIDE"];
  _vehicle_117 = _this;
  _this setDir 81.935806;
  _this setPos [6324.4922, 7775.1079, 2.4237602];
};
 
_vehicle_118 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6271.8579, 7817.8384, 2.3099654], [], 0, "CAN_COLLIDE"];
  _vehicle_118 = _this;
  _this setPos [6271.8579, 7817.8384, 2.3099654];
};
 
_vehicle_119 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6277.6157, 7833.9814, 2.3565376], [], 0, "CAN_COLLIDE"];
  _vehicle_119 = _this;
  _this setDir 32.797539;
  _this setPos [6277.6157, 7833.9814, 2.3565376];
};
 
_vehicle_120 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6280.3379, 7802.2681, 2.3994527], [], 0, "CAN_COLLIDE"];
  _vehicle_120 = _this;
  _this setDir -41.704235;
  _this setPos [6280.3379, 7802.2681, 2.3994527];
};
 
_vehicle_121 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6273.4639, 7812.1577, 2.2832522], [], 0, "CAN_COLLIDE"];
  _vehicle_121 = _this;
  _this setDir -22.720274;
  _this setPos [6273.4639, 7812.1577, 2.2832522];
};
 
_vehicle_122 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6282.0029, 7838.2778, 2.5086186], [], 0, "CAN_COLLIDE"];
  _vehicle_122 = _this;
  _this setDir -125.09826;
  _this setPos [6282.0029, 7838.2778, 2.5086186];
};
 
_vehicle_123 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6276.4111, 7806.6826, 2.2075236], [], 0, "CAN_COLLIDE"];
  _vehicle_123 = _this;
  _this setDir -36.646305;
  _this setPos [6276.4111, 7806.6826, 2.2075236];
};
 
_vehicle_124 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6287.5171, 7839.6587, 2.4318745], [], 0, "CAN_COLLIDE"];
  _vehicle_124 = _this;
  _this setDir -80.374092;
  _this setPos [6287.5171, 7839.6587, 2.4318745];
};
 
_vehicle_125 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6273.8223, 7823.2251, 4.5891538], [], 0, "CAN_COLLIDE"];
  _vehicle_125 = _this;
  _this setDir 14.657654;
  _this setPos [6273.8223, 7823.2251, 4.5891538];
};
 
_vehicle_126 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6274.647, 7828.5591, 2.1992226], [], 0, "CAN_COLLIDE"];
  _vehicle_126 = _this;
  _this setDir 23.139322;
  _this setPos [6274.647, 7828.5591, 2.1992226];
};
 
_vehicle_127 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6299.2056, 7789.2163, 2.466918], [], 0, "CAN_COLLIDE"];
  _vehicle_127 = _this;
  _this setDir 120.65714;
  _this setPos [6299.2056, 7789.2163, 2.466918];
};
 
_vehicle_128 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6304.1318, 7786.0718, 2.4272346], [], 0, "CAN_COLLIDE"];
  _vehicle_128 = _this;
  _this setDir 121.06433;
  _this setPos [6304.1318, 7786.0718, 2.4272346];
};
 
_vehicle_129 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6309.0884, 7782.9063, 2.3955913], [], 0, "CAN_COLLIDE"];
  _vehicle_129 = _this;
  _this setDir 117.58961;
  _this setPos [6309.0884, 7782.9063, 2.3955913];
};
 
_vehicle_131 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6289.1816, 7795.1392, 2.2616544], [], 0, "CAN_COLLIDE"];
  _vehicle_131 = _this;
  _this setDir 118.78408;
  _this setPos [6289.1816, 7795.1392, 2.2616544];
};
 
_vehicle_132 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6294.1782, 7792.356, 2.3704951], [], 0, "CAN_COLLIDE"];
  _vehicle_132 = _this;
  _this setDir -59.587875;
  _this setPos [6294.1782, 7792.356, 2.3704951];
};
 
_vehicle_133 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6284.418, 7798.7544, 2.389154], [], 0, "CAN_COLLIDE"];
  _vehicle_133 = _this;
  _this setDir -50.853485;
  _this setPos [6284.418, 7798.7544, 2.389154];
};
 
_vehicle_155 = objNull;
if (true) then
{
  _this = createVehicle ["MBG_Killhouse_1_InEditor", [6271.8413, 7840.8643], [], 0, "CAN_COLLIDE"];
  _vehicle_155 = _this;
  _this setDir -0.23193379;
  _this setPos [6271.8413, 7840.8643];
};
 
_vehicle_165 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_Outdoortable", [6271.9385, 7829.7129, -0.025047544], [], 0, "CAN_COLLIDE"];
  _vehicle_165 = _this;
  _this setDir 10.292085;
  _this setPos [6271.9385, 7829.7129, -0.025047544];
};
 
_vehicle_166 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_Garage_Single_D", [6265.2842, 7838.6509, 0.5868966], [], 0, "CAN_COLLIDE"];
  _vehicle_166 = _this;
  _this setDir -0.23177741;
  _this setPos [6265.2842, 7838.6509, 0.5868966];
};
 
_vehicle_182 = objNull;
if (true) then
{
  _this = createVehicle ["SignM_UN_Base_EP1", [6270.7822, 7818.6919, 4.3509927], [], 0, "CAN_COLLIDE"];
  _vehicle_182 = _this;
  _this setDir 85.842667;
  _this setPos [6270.7822, 7818.6919, 4.3509927];
};

};

Вот так должно быть в файле твоём и подключать не в миссию а в сервер лучше . в файле server_functions.sqf в самом низу  

Share this post


Link to post
Share on other sites







  • 0

Не if (isServer) theM (  а if (isServer) then {

А точно проглядел  :good:

Share this post


Link to post
Share on other sites
  • 0

Да что с вами люди не так, на какого блин хрена Вы два раза тему создаете не понимаю.

 

1. убирай проверки нелепые if (isServer) then { и подобное, ты же это делаешь уже в init так зачем делать это снова...

2. открываешь init.sqf в своей миссии и в низ раздела "if (isServer) then {" добавляешь это:

execVM "\z\addons\dayz_server\tvoe_name.sqf";
3. Создай файл tvoe_name.sqf, в папке сервера "@DayZ_Epoch_Server\addons\dayz_server", (можешь там сделать папку но не забудь путь изменить) запихни в него свои здания:(поправил Вам айди)
_vehicle_0 = objNull;
if (true) then
{
  _this = createVehicle ["Land_pumpa", [6273.5732, 7833.2314, 0.048202835], [], 0, "CAN_COLLIDE"];
  _vehicle_0 = _this;
  _this setDir 168.07135;
  _this setPos [6273.5732, 7833.2314, 0.048202835];
};


_vehicle_1 = objNull;
if (true) then
{
  _this = createVehicle ["Land_repair_center", [5360.3789, 6326.9966, -2.0525405], [], 0, "CAN_COLLIDE"];
  _vehicle_1 = _this;
  _this setPos [5360.3789, 6326.9966, -2.0525405];
};


_vehicle_2 = objNull;
if (true) then
{
  _this = createVehicle ["Rubbish3", [6384.3789, 7798.5205, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_2 = _this;
  _this setPos [6384.3789, 7798.5205, 3.0517578e-005];
};


_vehicle_3 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBBarrier5x", [6392.0015, 7806.29], [], 0, "CAN_COLLIDE"];
  _vehicle_3 = _this;
  _this setDir 25.763144;
  _this setPos [6392.0015, 7806.29];
};


_group_1 = createGroup _center_0;


_vehicle_4 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6290.1353, 7794.9478], [], 0, "CAN_COLLIDE"];
  _vehicle_4 = _this;
  _this setDir -60.324894;
  _this setPos [6290.1353, 7794.9478];
};


_vehicle_5 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6274.4668, 7828.4268], [], 0, "CAN_COLLIDE"];
  _vehicle_5 = _this;
  _this setDir 21.519676;
  _this setPos [6274.4668, 7828.4268];
};


_vehicle_6 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6272.1685, 7817.8105], [], 0, "CAN_COLLIDE"];
  _vehicle_6 = _this;
  _this setDir -3.5639682;
  _this setPos [6272.1685, 7817.8105];
};


_vehicle_7 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6285.2813, 7798.0288], [], 0, "CAN_COLLIDE"];
  _vehicle_7 = _this;
  _this setDir -53.48629;
  _this setPos [6285.2813, 7798.0288];
};


_vehicle_8 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6294.9917, 7792.1177, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_8 = _this;
  _this setDir -59.853909;
  _this setPos [6294.9917, 7792.1177, -6.1035156e-005];
};


_vehicle_9 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6299.7979, 7789.0015], [], 0, "CAN_COLLIDE"];
  _vehicle_9 = _this;
  _this setDir 119.75663;
  _this setPos [6299.7979, 7789.0015];
};


_vehicle_10 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6304.4019, 7785.9868, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_10 = _this;
  _this setDir -56.254822;
  _this setPos [6304.4019, 7785.9868, -3.0517578e-005];
};


_vehicle_11 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6280.5005, 7802.1299, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_11 = _this;
  _this setDir -44.82362;
  _this setPos [6280.5005, 7802.1299, 3.0517578e-005];
};


_vehicle_12 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6276.5415, 7806.7178, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_12 = _this;
  _this setDir -37.032974;
  _this setPos [6276.5415, 7806.7178, -3.0517578e-005];
};


_vehicle_13 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6273.502, 7811.9888], [], 0, "CAN_COLLIDE"];
  _vehicle_13 = _this;
  _this setDir -23.113895;
  _this setPos [6273.502, 7811.9888];
};


_vehicle_14 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6340.498, 7791.624], [], 0, "CAN_COLLIDE"];
  _vehicle_14 = _this;
  _this setDir 31.997133;
  _this setPos [6340.498, 7791.624];
};


_vehicle_15 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6337.1655, 7786.9106, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_15 = _this;
  _this setDir 38.71571;
  _this setPos [6337.1655, 7786.9106, 3.0517578e-005];
};


_vehicle_16 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6329.9971, 7777.7344, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_16 = _this;
  _this setDir 36.888523;
  _this setPos [6329.9971, 7777.7344, 3.0517578e-005];
};


_vehicle_17 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6333.5869, 7782.3862, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_17 = _this;
  _this setDir 38.653934;
  _this setPos [6333.5869, 7782.3862, 3.0517578e-005];
};


_vehicle_18 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6324.7607, 7774.9839, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_18 = _this;
  _this setDir 85.563171;
  _this setPos [6324.7607, 7774.9839, 3.0517578e-005];
};


_vehicle_19 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6318.6396, 7776.4404, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_19 = _this;
  _this setDir 119.11187;
  _this setPos [6318.6396, 7776.4404, 6.1035156e-005];
};


_vehicle_20 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6309.6934, 7782.939], [], 0, "CAN_COLLIDE"];
  _vehicle_20 = _this;
  _this setDir 118.53063;
  _this setPos [6309.6934, 7782.939];
};


_vehicle_21 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6313.8208, 7779.5713], [], 0, "CAN_COLLIDE"];
  _vehicle_21 = _this;
  _this setDir 130.61636;
  _this setPos [6313.8208, 7779.5713];
};


_vehicle_22 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6342.2939, 7797.2002], [], 0, "CAN_COLLIDE"];
  _vehicle_22 = _this;
  _this setPos [6342.2939, 7797.2002];
};


_vehicle_23 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6340.6104, 7802.7959, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_23 = _this;
  _this setDir 140.37923;
  _this setPos [6340.6104, 7802.7959, -3.0517578e-005];
};


_vehicle_24 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6340.6196, 7802.7734, 2.5312753], [], 0, "CAN_COLLIDE"];
  _vehicle_24 = _this;
  _this setDir 139.54893;
  _this setPos [6340.6196, 7802.7734, 2.5312753];
};


_vehicle_25 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6331.4639, 7810.6157, 2.4541855], [], 0, "CAN_COLLIDE"];
  _vehicle_25 = _this;
  _this setDir 120.88918;
  _this setPos [6331.4639, 7810.6157, 2.4541855];
};


_vehicle_26 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6336.4492, 7806.937, 2.5395243], [], 0, "CAN_COLLIDE"];
  _vehicle_26 = _this;
  _this setDir -51.949337;
  _this setPos [6336.4492, 7806.937, 2.5395243];
};


_vehicle_27 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6331.7764, 7810.5103, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_27 = _this;
  _this setDir 124.90662;
  _this setPos [6331.7764, 7810.5103, -3.0517578e-005];
};


_vehicle_28 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6336.3901, 7806.9727, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_28 = _this;
  _this setDir 128.69429;
  _this setPos [6336.3901, 7806.9727, -3.0517578e-005];
};


_vehicle_29 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6326.7886, 7813.9214, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_29 = _this;
  _this setDir 124.24306;
  _this setPos [6326.7886, 7813.9214, 3.0517578e-005];
};


_vehicle_30 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6310.1543, 7824.8149, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_30 = _this;
  _this setDir 131.64441;
  _this setPos [6310.1543, 7824.8149, 3.0517578e-005];
};


_vehicle_31 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6307.2661, 7828.0649], [], 0, "CAN_COLLIDE"];
  _vehicle_31 = _this;
  _this setDir 146.92229;
  _this setPos [6307.2661, 7828.0649];
};


_vehicle_32 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6317.0039, 7820.252, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_32 = _this;
  _this setDir 119.96899;
  _this setPos [6317.0039, 7820.252, 3.0517578e-005];
};


_vehicle_33 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6313.6519, 7779.5459, 2.4726455], [], 0, "CAN_COLLIDE"];
  _vehicle_33 = _this;
  _this setDir 125.57775;
  _this setPos [6313.6519, 7779.5459, 2.4726455];
};


_vehicle_34 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6321.895, 7817.1851, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_34 = _this;
  _this setDir 123.25498;
  _this setPos [6321.895, 7817.1851, 3.0517578e-005];
};


_vehicle_35 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6326.6372, 7814.1914, 2.1378088], [], 0, "CAN_COLLIDE"];
  _vehicle_35 = _this;
  _this setDir 123.76279;
  _this setPos [6326.6372, 7814.1914, 2.1378088];
};


_vehicle_36 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6277.4063, 7833.7783], [], 0, "CAN_COLLIDE"];
  _vehicle_36 = _this;
  _this setDir 32.274616;
  _this setPos [6277.4063, 7833.7783];
};


_vehicle_37 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6281.7803, 7838.0283, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_37 = _this;
  _this setDir 54.865566;
  _this setPos [6281.7803, 7838.0283, 3.0517578e-005];
};


_vehicle_38 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6297.9326, 7834.6421, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_38 = _this;
  _this setDir -61.351997;
  _this setPos [6297.9326, 7834.6421, -3.0517578e-005];
};


_vehicle_39 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6287.3579, 7839.5029, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_39 = _this;
  _this setDir 98.272781;
  _this setPos [6287.3579, 7839.5029, 9.1552734e-005];
};


_vehicle_40 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6292.9946, 7837.5015], [], 0, "CAN_COLLIDE"];
  _vehicle_40 = _this;
  _this setDir 122.19919;
  _this setPos [6292.9946, 7837.5015];
};


_vehicle_41 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6314.6104, 7821.6777, 0.057233933], [], 0, "CAN_COLLIDE"];
  _vehicle_41 = _this;
  _this setDir 120.65365;
  _this setPos [6314.6104, 7821.6777, 0.057233933];
};


_vehicle_42 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6303.2563, 7831.4873, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_42 = _this;
  _this setDir 118.88526;
  _this setPos [6303.2563, 7831.4873, 6.1035156e-005];
};


_vehicle_43 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6307.2705, 7827.6357, 1.7430516], [], 0, "CAN_COLLIDE"];
  _vehicle_43 = _this;
  _this setDir 136.38794;
  _this setPos [6307.2705, 7827.6357, 1.7430516];
};


_vehicle_44 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6311.8945, 7823.7358, 1.7559367], [], 0, "CAN_COLLIDE"];
  _vehicle_44 = _this;
  _this setDir 120.63074;
  _this setPos [6311.8945, 7823.7358, 1.7559367];
};


_vehicle_45 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6342.1255, 7796.7969, 2.3898268], [], 0, "CAN_COLLIDE"];
  _vehicle_45 = _this;
  _this setDir 3.970598;
  _this setPos [6342.1255, 7796.7969, 2.3898268];
};


_vehicle_46 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6332.9624, 7781.0566, 2.3496983], [], 0, "CAN_COLLIDE"];
  _vehicle_46 = _this;
  _this setDir 38.019897;
  _this setPos [6332.9624, 7781.0566, 2.3496983];
};


_vehicle_47 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6316.9795, 7820.3369, 2.102684], [], 0, "CAN_COLLIDE"];
  _vehicle_47 = _this;
  _this setDir 118.7549;
  _this setPos [6316.9795, 7820.3369, 2.102684];
};


_vehicle_48 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6321.9092, 7817.499, 2.0563757], [], 0, "CAN_COLLIDE"];
  _vehicle_48 = _this;
  _this setDir 122.07674;
  _this setPos [6321.9092, 7817.499, 2.0563757];
};


_vehicle_49 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6298.1963, 7834.876, 2.0960205], [], 0, "CAN_COLLIDE"];
  _vehicle_49 = _this;
  _this setDir -59.252979;
  _this setPos [6298.1963, 7834.876, 2.0960205];
};


_vehicle_50 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6303.4111, 7831.6035, 1.7899019], [], 0, "CAN_COLLIDE"];
  _vehicle_50 = _this;
  _this setDir 123.94321;
  _this setPos [6303.4111, 7831.6035, 1.7899019];
};


_vehicle_51 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6329.5322, 7776.7964, 2.3331003], [], 0, "CAN_COLLIDE"];
  _vehicle_51 = _this;
  _this setDir 40.450279;
  _this setPos [6329.5322, 7776.7964, 2.3331003];
};


_vehicle_52 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6340.0029, 7790.8472, 2.464926], [], 0, "CAN_COLLIDE"];
  _vehicle_52 = _this;
  _this setDir 31.316526;
  _this setPos [6340.0029, 7790.8472, 2.464926];
};


_vehicle_53 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6336.291, 7785.9194, 2.5385649], [], 0, "CAN_COLLIDE"];
  _vehicle_53 = _this;
  _this setDir 39.906029;
  _this setPos [6336.291, 7785.9194, 2.5385649];
};


_vehicle_54 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6318.5078, 7776.2495, 2.3637567], [], 0, "CAN_COLLIDE"];
  _vehicle_54 = _this;
  _this setDir -63.118034;
  _this setPos [6318.5078, 7776.2495, 2.3637567];
};


_vehicle_55 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6293.3745, 7837.7686, 2.0440695], [], 0, "CAN_COLLIDE"];
  _vehicle_55 = _this;
  _this setDir 116.93127;
  _this setPos [6293.3745, 7837.7686, 2.0440695];
};


_vehicle_56 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6324.4922, 7775.1079, 2.4237602], [], 0, "CAN_COLLIDE"];
  _vehicle_56 = _this;
  _this setDir 81.935806;
  _this setPos [6324.4922, 7775.1079, 2.4237602];
};


_vehicle_57 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6271.8579, 7817.8384, 2.3099654], [], 0, "CAN_COLLIDE"];
  _vehicle_57 = _this;
  _this setPos [6271.8579, 7817.8384, 2.3099654];
};


_vehicle_58 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6277.6157, 7833.9814, 2.3565376], [], 0, "CAN_COLLIDE"];
  _vehicle_58 = _this;
  _this setDir 32.797539;
  _this setPos [6277.6157, 7833.9814, 2.3565376];
};


_vehicle_59 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6280.3379, 7802.2681, 2.3994527], [], 0, "CAN_COLLIDE"];
  _vehicle_59 = _this;
  _this setDir -41.704235;
  _this setPos [6280.3379, 7802.2681, 2.3994527];
};


_vehicle_60 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6273.4639, 7812.1577, 2.2832522], [], 0, "CAN_COLLIDE"];
  _vehicle_60 = _this;
  _this setDir -22.720274;
  _this setPos [6273.4639, 7812.1577, 2.2832522];
};


_vehicle_61 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6282.0029, 7838.2778, 2.5086186], [], 0, "CAN_COLLIDE"];
  _vehicle_61 = _this;
  _this setDir -125.09826;
  _this setPos [6282.0029, 7838.2778, 2.5086186];
};


_vehicle_62 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6276.4111, 7806.6826, 2.2075236], [], 0, "CAN_COLLIDE"];
  _vehicle_62 = _this;
  _this setDir -36.646305;
  _this setPos [6276.4111, 7806.6826, 2.2075236];
};


_vehicle_63 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6287.5171, 7839.6587, 2.4318745], [], 0, "CAN_COLLIDE"];
  _vehicle_63 = _this;
  _this setDir -80.374092;
  _this setPos [6287.5171, 7839.6587, 2.4318745];
};


_vehicle_64 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6273.8223, 7823.2251, 4.5891538], [], 0, "CAN_COLLIDE"];
  _vehicle_64 = _this;
  _this setDir 14.657654;
  _this setPos [6273.8223, 7823.2251, 4.5891538];
};


_vehicle_65 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6274.647, 7828.5591, 2.1992226], [], 0, "CAN_COLLIDE"];
  _vehicle_65 = _this;
  _this setDir 23.139322;
  _this setPos [6274.647, 7828.5591, 2.1992226];
};


_vehicle_66 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6299.2056, 7789.2163, 2.466918], [], 0, "CAN_COLLIDE"];
  _vehicle_66 = _this;
  _this setDir 120.65714;
  _this setPos [6299.2056, 7789.2163, 2.466918];
};


_vehicle_67 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6304.1318, 7786.0718, 2.4272346], [], 0, "CAN_COLLIDE"];
  _vehicle_67 = _this;
  _this setDir 121.06433;
  _this setPos [6304.1318, 7786.0718, 2.4272346];
};


_vehicle_68 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6309.0884, 7782.9063, 2.3955913], [], 0, "CAN_COLLIDE"];
  _vehicle_68 = _this;
  _this setDir 117.58961;
  _this setPos [6309.0884, 7782.9063, 2.3955913];
};


_vehicle_69 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6289.1816, 7795.1392, 2.2616544], [], 0, "CAN_COLLIDE"];
  _vehicle_69 = _this;
  _this setDir 118.78408;
  _this setPos [6289.1816, 7795.1392, 2.2616544];
};


_vehicle_70 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6294.1782, 7792.356, 2.3704951], [], 0, "CAN_COLLIDE"];
  _vehicle_70 = _this;
  _this setDir -59.587875;
  _this setPos [6294.1782, 7792.356, 2.3704951];
};


_vehicle_71 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [6284.418, 7798.7544, 2.389154], [], 0, "CAN_COLLIDE"];
  _vehicle_71 = _this;
  _this setDir -50.853485;
  _this setPos [6284.418, 7798.7544, 2.389154];
};


_vehicle_72 = objNull;
if (true) then
{
  _this = createVehicle ["MBG_Killhouse_1_InEditor", [6271.8413, 7840.8643], [], 0, "CAN_COLLIDE"];
  _vehicle_72 = _this;
  _this setDir -0.23193379;
  _this setPos [6271.8413, 7840.8643];
};


_vehicle_73 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_Outdoortable", [6271.9385, 7829.7129, -0.025047544], [], 0, "CAN_COLLIDE"];
  _vehicle_73 = _this;
  _this setDir 10.292085;
  _this setPos [6271.9385, 7829.7129, -0.025047544];
};


_vehicle_74 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_Garage_Single_D", [6265.2842, 7838.6509, 0.5868966], [], 0, "CAN_COLLIDE"];
  _vehicle_74 = _this;
  _this setDir -0.23177741;
  _this setPos [6265.2842, 7838.6509, 0.5868966];
};


_vehicle_75 = objNull;
if (true) then
{
  _this = createVehicle ["SignM_UN_Base_EP1", [6270.7822, 7818.6919, 4.3509927], [], 0, "CAN_COLLIDE"];
  _vehicle_75 = _this;
  _this setDir 85.842667;
  _this setPos [6270.7822, 7818.6919, 4.3509927];
};

4. сохраняешь всё и не забудь запаковать обратно серверную часть...

Edited by JustBullet (see edit history)

Share this post


Link to post
Share on other sites
  • 0

А есть ли разница куда подключать здания? я подключал в server_functions.sqf в сервере.
Что нибудь плохого даёт то что прописанно if (isServer) then {, или просто не обязательный момент это ?

Edited by PavelDmitriev94 (see edit history)

Share this post


Link to post
Share on other sites
  • 0

А есть ли разница куда подключать здания? я подключал в server_functions.sqf в сервере.

Что нибудь плохого даёт то что прописанно if (isServer) then {, или просто не обязательный момент это ?

1. server_functions.sqf по суте принципиальной разници нет но если вы считаете что ваши постройки должны быть там то проверку if (isServer) then { туда включите, если ее нет...

Edited by JustBullet (see edit history)

Share this post


Link to post
Share on other sites
  • 0

добавил базу, но ту даже добавил бараки, можно сделать чтобы зомби не ресались там или забить на это?

Share this post


Link to post
Share on other sites
  • 0

установить триггер, в котором зомби будут удаляться.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By CubeIn
      Приветствую господа, хочу создать новый проект, уникальный, но для этого нужен маппер.
      Я оставлю здесь свой дискрод, напишите в лс, кто готов взяться за крупный проект.
      4me#4542
    • By 123new
      Вижу крайне много любопытных вопросов по поводу идентификаторов игрока в игре. Что же, разжую для не знающих немного.
       
      В игре есть следующие типы идентификаторов:
      1. Steam64ID идентификатор профиля игрока (на пиратках его UID называют), примерно такой: 765475....65 (17 цифр).
      2. Так называемый мною, BIS ID - uid из окна (консоли) сервера игры и ADM-файлов логов сервера, который пишется самой игрой
      3. Battleye GUID игрока.
       
      Первый идентификатор (Steam64ID) на ПК является прямым идентификатором стим-профиля игрока, уникальным у каждого игрока. Т.е. публичным идентификатором вашего профиля для большинства стим-игр (например, Counter-Strike).
      Второй идентификатор (BIS ID) является определенной хеш-суммой, полученной из Steam64ID посредством конвертации сначала в sha256, а затем в base64. Спасибо за это разъяснение и пример кода-конвертации авторам игры на своем официальном форуме.
      Третий идентификатор (Battleye GUID) является публичным идентификатором Battleye античита, получаемый также из Steam64ID поcредством получения его хеш-суммы MD5. Этот же идентификатор есть в логах сервера от Battleye, в любых RCON-приложениях (DART, BEC и т.п.), также его можно конвертировать самим.
       
      Так вот, как же получить Steam64ID:
      1. Зайти на любой ресурс, предназначенный для сбора таких данных. например на: https://steamid.io/
      2. Ввести ссылку на ваш стим-профиль
      3. Получить результат из кучи данных, одно поле из которых и будет содержать ваш Steam64ID
       
      Как получить BIS ID:
      1. Открыть любой Phyton v2.7 -конвертер в интернете, например: https://onecompiler.com/python2/3ycz55xew
      2. Ввести в него следующий код:
      # Hello World program in Python from hashlib import sha256 from base64 import b64encode def construct_bi_uid(steam_id): hashed = sha256() hashed.update(str(steam_id)) return b64encode(hashed.digest()) print construct_bi_uid(76514925976798981) 3. заменить 76514925976798981 на ваш Steam64ID
      4. Отправить код в исполнение, нажав Execute.
      5. Получить результат
       

      Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.
      [Альтернатива] Метод на основе PHP:
      <?php /** * This is how you get user id (bohemia id) like you see in .ADM files from steam id. */ $steam_id = "76514925976798981"; $user_id = base64url_encode(hash('sha256', $steam_id, true)); function base64url_encode($data) { $b64 = base64_encode($data); if ($b64 === false) { return false; } $url = strtr($b64, '+/', '-_'); return $url; } echo $user_id; [Альтернатива] Метод для javascript - node.js:
      var crypto = require('crypto'); var body = "76514925976798981"; var hash = crypto.createHash("sha256"); var hash_result = hash.update(body, 'utf8').digest('base64'); console.log(hash_result);  
      Как получить Battleye GUID:
      1. Открыть любой ресурс с готовой формой конвертирования, например:
      https://armstalker.com/guid/
      https://dayzrussia.com/f/index.php?pages/dayzguid/
      либо написать свою, на основе данных, предложенных на странице Github
      https://gist.github.com/chris579/53053b6d6438df9a9718c23c0d6bbd69
      Оставлю ниже код для Phyton:
      # Thanks to gunlinux import md5 steamid=76514925976798981 temp = "" for i in range(8): temp += chr((steamid & 0xFF)) steamid >>= 8 m = md5.new("BE"+temp) print m.hexdigest() Код для PHP:
      var crypto = require('crypto'); var body = "76514925976798981"; var hash = crypto.createHash("sha256"); var hash_result = hash.update(body, 'utf8').digest('base64'); console.log(hash_result); '2. Вставить в поле ввода UID(Steam64ID) ваш Steam64ID
      3. Нажать кнопку конвертирования или исполнить код, и получить в готовом виде Battleye GUID
       
      Возможно имеются и другие методы и наработки в получении данных идентификаторов более простыми методами, на других языках, либо автоматически. Я описал лишь известные мне.
      Все желающие могут добавить в комментариях свои способы конвертаций, возможно это поможет кому-либо.
    • By 6agu
      Поставил
      Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.
    • By 123new
      Много вопросов на данную тему наблюдаю от новичков, попробую прояснить немного сей вопрос.
       
      Предположим. что вы уже знаете на каких координатах вам надо спавнить определенное здание или объект\животное\бота, с каким углом поворота. И так. эта тема для вас.
       
      Сразу делаю пометку, метод, который добавили нам разработчики игры в патче 1.15, очень хорошо описал наш товарищ в сообщении форума:
      Рекоммендую вам использовать именно его!
      Ниже опубликованы старые методы.
       
      Если вы с расставили их с модифицированной версии Offline (Offline by Arksenor это называется), то вы получили и нашли код вида:
      GetGame().CreateObject("Land_CementWorks_ExpeditionB", "13251.875000 0.0 3748.525879").SetOrientation("-96.000000 0.000000 0.000000"); GetGame().CreateObject("Land_CementWorks_ExpeditionB", "13254.599609 0.0 3722.703613").SetOrientation("-96.000000 0.000000 0.000000"); GetGame().CreateObject("Land_CementWorks_ExpeditionB", "13257.344727 0.0 3696.718750").SetOrientation("-96.000000 0.000000 0.000000"); GetGame().CreateObject("Land_CementWorks_ExpeditionB", "13260.040039 0.0 3670.984131").SetOrientation("-96.000000 0.000000 0.000000"); GetGame().CreateObject("Land_CementWorks_ExpeditionB", "13262.756836 0.0 3645.180176").SetOrientation("-96.000000 0.000000 0.000000"); GetGame().CreateObject("Land_CementWorks_ExpeditionB", "13265.441406 0.0 3619.531982").SetOrientation("-96.000000 0.000000 0.000000"); GetGame().CreateObject("Land_CementWorks_ExpeditionB", "13268.124023 0.0 3593.995361").SetOrientation("-96.000000 0.000000 0.000000"); GetGame().CreateObject("Land_CementWorks_ExpeditionB", "13270.844727 0.0 3568.186523").SetOrientation("-96.000000 0.000000 0.000000"); GetGame().CreateObject("Land_CementWorks_ExpeditionB", "13273.514648 0.0 3542.561279").SetOrientation("-96.000000 0.000000 0.000000"); GetGame().CreateObject("Land_CementWorks_ExpeditionB", "13276.195313 0.0 3517.048828").SetOrientation("-96.000000 0.000000 0.000000"); GetGame().CreateObject("Land_CementWorks_ExpeditionB", "13278.399414 0.0 3496.097900").SetOrientation("-96.000000 0.000000 0.000000"); Здесь (по примеру первой строки) 1 значение в скобках - id постройки/объекта, 2 значение - координаты в формате X Y Z, разделенные пробелом, 3 - значение поворота примерно в том же формате.
      Как это делать в Offline - статья от автора Offine:
      https://github.com/Arkensor/DayZCommunityOfflineMode/wiki/Add-custom-objects-to-your-server-or-mission
       
      И так, инструкция:
      1. Добавляем в начало init.c файла в вашей mpmissions следующий код:
      #include "$CurrentDir:mpmissions\dayzOffline.chernarusplus\spawn_buildings.c" 2. Создаем в папке вашей активной mpmissions файлик spawn_buildings.c и заполняем его следующей информацией.
      void SpawnObject( string type, vector position, vector orientation ) { private string NameBlockLog = "[CreateObject] "; private string InfoLog = ""; if(type != "") { auto obj = GetGame().CreateObject( type, "0 0 0" ); if(obj) { if ((position[0] != 0) && (position[1] != 0) && (position[2] != 0)) { obj.SetPosition( position ); obj.SetOrientation( orientation ); obj.Update(); if (obj.CanAffectPathgraph()) { obj.SetAffectPathgraph(true, false); GetGame().GetCallQueue(CALL_CATEGORY_SYSTEM).CallLater(GetGame().UpdatePathgraphRegionByObject, 100, false, obj); } InfoLog = "[Type: '" + obj.GetType() + "' Position: '" + obj.GetPosition().ToString() + "' Orientation: '" + obj.GetOrientation().ToString() + "']"; Write_Log(NameBlockLog + " Object has been created successfully! Info " + InfoLog); } else { InfoLog = "[Type: '" + type + "' Position: '" + position + "' Orientation: '" + orientation + "']"; Write_Log(NameBlockLog + " Object can't be created! Incorrect writed position. Info " + InfoLog); } } else { InfoLog = "[Type: '" + type + "' Position: '" + position + "' Orientation: '" + orientation + "']"; Write_Log(NameBlockLog + " Object can't be created! Info " + InfoLog); } } else { InfoLog = "[Type: '" + type + "' Position: '" + position + "' Orientation: '" + orientation + "']"; Write_Log(NameBlockLog + " Object can't be created! Incorrect writed type. Info " + InfoLog); } } void Write_Log(string message) { Print(String(message)); } 3. Открываем созданный нами файл,  и в конце файла дописываем следующее:
      void SpawnAirfeeldBuildings() { SpawnObject( "Land_CementWorks_ExpeditionB", "13251.875000 0.0 3748.525879", "-96.000000 0.000000 0.000000"); SpawnObject( "Land_CementWorks_ExpeditionB", "13254.599609 0.0 3722.703613", "-96.000000 0.000000 0.000000"); SpawnObject( "Land_CementWorks_ExpeditionB", "13257.344727 0.0 3696.718750", "-96.000000 0.000000 0.000000"); } void SpawnKrasnoBuildings() { SpawnObject( "Land_CementWorks_ExpeditionB", "13251.875000 0.0 3748.525879", "-96.000000 0.000000 0.000000"); SpawnObject( "Land_CementWorks_ExpeditionB", "13254.599609 0.0 3722.703613", "-96.000000 0.000000 0.000000"); SpawnObject( "Land_CementWorks_ExpeditionB", "13257.344727 0.0 3696.718750", "-96.000000 0.000000 0.000000"); } Где после void - название функции идет, а между открытыми скобками вызов спавна самих зданий на указанных координатах.
      На примере 1 строки:
      Land_CementWorks_ExpeditionB - id постройки (type)
      13251.875000 0.0 3748.525879 - координаты в формате X Y Z
      -96.000000 0.000000 0.000000 - значение поворота в формате X Y Z
      Внимание: id постройки и координаты в примере указаны не верные и требуют подключения дополнительной модификации для корректной работы!!! Координаты не соответствуют названию функции!!!
      4. открываем в MpMissions в папке с вашей активной миссией init.c и перед ЗАКРЫВАЮЩЕЙ скобкой '}' дописываем нужную нам функцию (это будет активация спавна на карте):
      SpawnAirfeeldBuildings(); 5. Готово, Запускайте сервер, и в scripts.log вы увидите процедуру спавна ваших зданий и увидите, спавнятся ли они на карте или нет.
      Можно написать конечно и более готовую, универсальную систему спавна на карте со считыванием конфигурации из файла, но я считаю это лишним.
       
      Как заполнить добавленные здания лутом на карте:
      вариант 1:
      https://github.com/Arkensor/DayZCommunityOfflineMode/wiki/Enable-loot-for-custom-placed-objects
      вариант 2: вручную заполнить xml-файл  mapgrouppos.xml в mpmssions данными о местоположении зданий, где rpy - значение поворота здания в формате Z Y X
       
      С помощью данной статьи вы можете разместить любой элемент игры(постройку, животное, зомби, бота), доступный к спавну через любую модификацию-админ. панель. Очень полезный мод в этом смысле BuilderItems, с его помощью можно творить поистину интересные локации!
  • Our picks

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.