Jump to content
Sign in to follow this  
sanders54

First time scripter... need help regarding MP

Recommended Posts

Hello all!

I am fairly new around these parts of the forum.

Me and my mate decided we should make a scenario with all the available aircraft and some other props and utes. I thereso places everything in the 3D editor and then did some tricks to get it working in the 2D editor, I also added a init.sqf. It worked flawlessy when I did the preview there.

I decided to export to MPmission so we could play it, but when I tried it all the vehicles duplicated on top of each other. And if you shot a airplane on the ground, the duplicate would fly into the air.

I probably think it is an PBO error as it seems only to happen AFTER I export it to MPmissions, although it could also be the script.

I have uploaded them both to Mediafire. Link: http://www.mediafire.com/?2lws5ajwbec24u2

Below you will also find the /code of the script.

mission.sqf:

setAccTime 0.0;
_this = createCenter west;
_this setFriend [east, 0];
_center_0 = _this;

_group_0 = createGroup _center_0;

_vehicle_0 = objNull;
if (true) then
{
 _this = createVehicle ["A10_US_EP1", [3502.4265, 3555.5759], [], 0, "CAN_COLLIDE"];
 _vehicle_0 = _this;
 _this setDir 51.3657;
 _this setPos [3502.4265, 3555.5759];
};

_vehicle_1 = objNull;
if (true) then
{
 _this = createVehicle ["An2_1_TK_CIV_EP1", [3775.5562, 3560.3015, -2.2888184e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_1 = _this;
 _this setDir 55.741558;
 _this setPos [3775.5562, 3560.3015, -2.2888184e-005];
};

_vehicle_2 = objNull;
if (true) then
{
 _this = createVehicle ["AV8B", [3517.3999, 3542.7471, 5.7220459e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_2 = _this;
 _this setDir 27.660225;
 _this setPos [3517.3999, 3542.7471, 5.7220459e-006];
};

_vehicle_3 = objNull;
if (true) then
{
 _this = createVehicle ["C130J", [3451.6433, 3654.9634, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_3 = _this;
 _this setDir 151.56509;
 _this setPos [3451.6433, 3654.9634, 1.1444092e-005];
};

_vehicle_4 = objNull;
if (true) then
{
 _this = createVehicle ["F35B", [3562.6758, 3544.8298, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_4 = _this;
 _this setDir 323.24097;
 _this setPos [3562.6758, 3544.8298, 1.5258789e-005];
};

_vehicle_5 = objNull;
if (true) then
{
 _this = createVehicle ["Ka60_PMC", [3804, 3528.6177, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_5 = _this;
 _this setDir 40.279179;
 _this setPos [3804, 3528.6177, 1.5258789e-005];
};

_vehicle_6 = objNull;
if (true) then
{
 _this = createVehicle ["L39_TK_EP1", [3781.467, 3537.2942, -1.5258789e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_6 = _this;
 _this setDir 34.909565;
 _this setPos [3781.467, 3537.2942, -1.5258789e-005];
};

_vehicle_8 = objNull;
if (true) then
{
 _this = createVehicle ["Su25_Ins", [3879.9121, 3556.8413, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_8 = _this;
 _this setDir -39.490734;
 _this setPos [3879.9121, 3556.8413, -3.8146973e-006];
};

_vehicle_9 = objNull;
if (true) then
{
 _this = createVehicle ["Su25_Ins", [3862.6223, 3553.9617, 4.196167e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_9 = _this;
 _this setDir -38.583832;
 _this setPos [3862.6223, 3553.9617, 4.196167e-005];
};

_vehicle_10 = objNull;
if (true) then
{
 _this = createVehicle ["Su25_Ins", [3845.0881, 3552.0422, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_10 = _this;
 _this setDir -35.720119;
 _this setPos [3845.0881, 3552.0422, -3.8146973e-006];
};

_vehicle_12 = objNull;
if (true) then
{
 _this = createVehicle ["Su34", [3809.4932, 3556.8074, -5.7220459e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_12 = _this;
 _this setDir 4.9698849;
 _this setPos [3809.4932, 3556.8074, -5.7220459e-006];
};

_vehicle_13 = objNull;
if (true) then
{
 _this = createVehicle ["Su34", [3825.6882, 3556.4546, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_13 = _this;
 _this setDir 3.6574314;
 _this setPos [3825.6882, 3556.4546, 1.1444092e-005];
};

_vehicle_14 = objNull;
if (true) then
{
 _this = createVehicle ["UH1H_TK_GUE_EP1", [3524.6851, 3640.6602, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_14 = _this;
 _this setDir -162.37907;
 _this setPos [3524.6851, 3640.6602, 1.5258789e-005];
};

_vehicle_15 = objNull;
if (true) then
{
 _this = createVehicle ["A10", [3497.033, 3572.5347, 4.5776367e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_15 = _this;
 _this setDir 68.414474;
 _this setPos [3497.033, 3572.5347, 4.5776367e-005];
};

_vehicle_16 = objNull;
if (true) then
{
 _this = createVehicle ["AV8B2", [3528.4526, 3541.1433, 3.6239624e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_16 = _this;
 _this setDir 22.054573;
 _this setPos [3528.4526, 3541.1433, 3.6239624e-005];
};

_vehicle_17 = objNull;
if (true) then
{
 _this = createVehicle ["MH60S", [3544.1323, 3642.5789, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_17 = _this;
 _this setDir -145.96172;
 _this setPos [3544.1323, 3642.5789, 1.9073486e-005];
};

_vehicle_19 = objNull;
if (true) then
{
 _this = createVehicle ["F35B", [3551.342, 3538.3054, -5.7220459e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_19 = _this;
 _this setDir -376.51172;
 _this setPos [3551.342, 3538.3054, -5.7220459e-006];
};

_vehicle_20 = objNull;
if (true) then
{
 _this = createVehicle ["HMMWV_M2", [3540.9221, 3537.8301, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_20 = _this;
 _this setDir 12.437553;
 _this setPos [3540.9221, 3537.8301, 3.8146973e-006];
};

_vehicle_22 = objNull;
if (true) then
{
 _this = createVehicle ["MtvrReammo", [3571.3389, 3575.7778, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_22 = _this;
 _this setDir -89.028152;
 _this setPos [3571.3389, 3575.7778, 3.8146973e-006];
};

_vehicle_23 = objNull;
if (true) then
{
 _this = createVehicle ["MtvrReammo", [3571.6885, 3579.7749, 3.2424927e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_23 = _this;
 _this setDir -77.733376;
 _this setPos [3571.6885, 3579.7749, 3.2424927e-005];
};

_vehicle_24 = objNull;
if (true) then
{
 _this = createVehicle ["MtvrRefuel", [3576.4749, 3565.8706, 6.8664551e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_24 = _this;
 _this setDir -64.511024;
 _this setPos [3576.4749, 3565.8706, 6.8664551e-005];
};

_vehicle_25 = objNull;
if (true) then
{
 _this = createVehicle ["MtvrRefuel", [3575.6692, 3561.2197], [], 0, "CAN_COLLIDE"];
 _vehicle_25 = _this;
 _this setDir -61.772678;
 _this setPos [3575.6692, 3561.2197];
};

_vehicle_26 = objNull;
if (true) then
{
 _this = createVehicle ["MtvrRepair", [3483.0242, 3585.6624, 1.335144e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_26 = _this;
 _this setDir 87.072922;
 _this setPos [3483.0242, 3585.6624, 1.335144e-005];
};

_vehicle_27 = objNull;
if (true) then
{
 _this = createVehicle ["MtvrRepair", [3483.0955, 3580.873, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_27 = _this;
 _this setDir 76.732346;
 _this setPos [3483.0955, 3580.873, 1.9073486e-005];
};

_vehicle_33 = objNull;
if (true) then
{
 _this = createVehicle ["KamazReammo", [3892.916, 3582.376, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_33 = _this;
 _this setDir -89.562218;
 _this setPos [3892.916, 3582.376, 2.2888184e-005];
};

_vehicle_34 = objNull;
if (true) then
{
 _this = createVehicle ["KamazReammo", [3892.8643, 3585.9727, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_34 = _this;
 _this setDir -88.968315;
 _this setPos [3892.8643, 3585.9727, 1.9073486e-005];
};

_vehicle_35 = objNull;
if (true) then
{
 _this = createVehicle ["KamazRefuel", [3776.7983, 3583.9243, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_35 = _this;
 _this setDir 36.412388;
 _this setPos [3776.7983, 3583.9243, 1.9073486e-005];
};

_vehicle_36 = objNull;
if (true) then
{
 _this = createVehicle ["KamazRefuel", [3784.198, 3583.2939, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_36 = _this;
 _this setPos [3784.198, 3583.2939, 1.1444092e-005];
};

_vehicle_37 = objNull;
if (true) then
{
 _this = createVehicle ["KamazRepair", [3890.5681, 3569.262, 4.9591064e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_37 = _this;
 _this setDir -60.294819;
 _this setPos [3890.5681, 3569.262, 4.9591064e-005];
};

_vehicle_38 = objNull;
if (true) then
{
 _this = createVehicle ["KamazRepair", [3892.614, 3573.3362, -2.4795532e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_38 = _this;
 _this setDir -71.876785;
 _this setPos [3892.614, 3573.3362, -2.4795532e-005];
};

_vehicle_43 = objNull;
if (true) then
{
 _this = createVehicle ["UralRefuel_CDF", [3811.4961, 3634.2246, -1.7166138e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_43 = _this;
 _this setDir 72.120926;
 _this setPos [3811.4961, 3634.2246, -1.7166138e-005];
};

_vehicle_54 = objNull;
if (true) then
{
 _this = createVehicle ["BMP2_UN_EP1", [3684.2195, 3637.8547, 2.4795532e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_54 = _this;
 _this setDir 123.40702;
 _this setPos [3684.2195, 3637.8547, 2.4795532e-005];
};

_vehicle_55 = objNull;
if (true) then
{
 _this = createVehicle ["LAV25", [3585.5327, 3637.8633, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_55 = _this;
 _this setDir 167.35655;
 _this setPos [3585.5327, 3637.8633, 1.1444092e-005];
};

_vehicle_57 = objNull;
if (true) then
{
 _this = createVehicle ["M113_UN_EP1", [3672.7688, 3635.4004, 3.6239624e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_57 = _this;
 _this setDir 88.007286;
 _this setPos [3672.7688, 3635.4004, 3.6239624e-005];
};

_vehicle_58 = objNull;
if (true) then
{
 _this = createVehicle ["M6_EP1", [3614.021, 3639.8501, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_58 = _this;
 _this setDir 186.5714;
 _this setPos [3614.021, 3639.8501, 7.6293945e-006];
};

_vehicle_59 = objNull;
if (true) then
{
 _this = createVehicle ["T90", [3764.6333, 3582.8682, -9.5367432e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_59 = _this;
 _this setDir -83.508949;
 _this setPos [3764.6333, 3582.8682, -9.5367432e-006];
};

_vehicle_60 = objNull;
if (true) then
{
 _this = createVehicle ["RUBasicAmmunitionBox", [3762.978, 3579.0259, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_60 = _this;
 _this setDir 7.6689601;
 _this setPos [3762.978, 3579.0259, 3.8146973e-006];
};

_vehicle_61 = objNull;
if (true) then
{
 _this = createVehicle ["RUBasicWeaponsBox", [3765.4485, 3579.8003, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_61 = _this;
 _this setPos [3765.4485, 3579.8003, 1.5258789e-005];
};

_vehicle_62 = objNull;
if (true) then
{
 _this = createVehicle ["RULaunchersBox", [3758.8687, 3566.2949, 5.1498413e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_62 = _this;
 _this setPos [3758.8687, 3566.2949, 5.1498413e-005];
};

_vehicle_63 = objNull;
if (true) then
{
 _this = createVehicle ["RUOrdnanceBox", [3761.6428, 3566.5198, 5.7220459e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_63 = _this;
 _this setPos [3761.6428, 3566.5198, 5.7220459e-006];
};

_vehicle_64 = objNull;
if (true) then
{
 _this = createVehicle ["RUSpecialWeaponsBox", [3761.3147, 3565.2886, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_64 = _this;
 _this setPos [3761.3147, 3565.2886, 3.8146973e-006];
};

_vehicle_65 = objNull;
if (true) then
{
 _this = createVehicle ["RUVehicleBox", [3765.1875, 3586.8359], [], 0, "CAN_COLLIDE"];
 _vehicle_65 = _this;
 _this setPos [3765.1875, 3586.8359];
};

_vehicle_66 = objNull;
if (true) then
{
 _this = createVehicle ["USBasicAmmunitionBox_EP1", [3581.2053, 3565.2786, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_66 = _this;
 _this setDir 0.17625284;
 _this setPos [3581.2053, 3565.2786, 1.9073486e-005];
};

_vehicle_67 = objNull;
if (true) then
{
 _this = createVehicle ["USBasicWeapons_EP1", [3581.4919, 3564.1113, 4.5776367e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_67 = _this;
 _this setPos [3581.4919, 3564.1113, 4.5776367e-005];
};

_vehicle_68 = objNull;
if (true) then
{
 _this = createVehicle ["USLaunchers_EP1", [3581.0676, 3562.7295, 3.8146973e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_68 = _this;
 _this setPos [3581.0676, 3562.7295, 3.8146973e-005];
};

_vehicle_69 = objNull;
if (true) then
{
 _this = createVehicle ["USOrdnanceBox_EP1", [3584.8696, 3562.7849, 3.8146973e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_69 = _this;
 _this setPos [3584.8696, 3562.7849, 3.8146973e-005];
};

_vehicle_70 = objNull;
if (true) then
{
 _this = createVehicle ["USSpecialWeapons_EP1", [3585.8184, 3565.9104, 2.4795532e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_70 = _this;
 _this setPos [3585.8184, 3565.9104, 2.4795532e-005];
};

_vehicle_71 = objNull;
if (true) then
{
 _this = createVehicle ["USVehicleBox_EP1", [3571.938, 3571.832, 1.7166138e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_71 = _this;
 _this setPos [3571.938, 3571.832, 1.7166138e-005];
};

_vehicle_72 = objNull;
if (true) then
{
 _this = createVehicle ["BAF_Apache_AH1_D", [3498.3777, 3643.4114, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_72 = _this;
 _this setDir -201.18855;
 _this setPos [3498.3777, 3643.4114, 1.9073486e-005];
};

_vehicle_73 = objNull;
if (true) then
{
 _this = createVehicle ["Ka60_GL_PMC", [3819.7419, 3527.7207, 1.7166138e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_73 = _this;
 _this setDir 29.82613;
 _this setPos [3819.7419, 3527.7207, 1.7166138e-005];
};

_vehicle_74 = objNull;
if (true) then
{
 _this = createVehicle ["Mi24_V", [3838.0437, 3524.0723, 1.7166138e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_74 = _this;
 _this setDir -8.066349;
 _this setPos [3838.0437, 3524.0723, 1.7166138e-005];
};

_vehicle_75 = objNull;
if (true) then
{
 _this = createVehicle ["MV22", [3403.8118, 3572.7527, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_75 = _this;
 _this setDir -89.962372;
 _this setPos [3403.8118, 3572.7527, 2.2888184e-005];
};

_vehicle_76 = objNull;
if (true) then
{
 _this = createVehicle ["MAZ_543_SCUD_TK_EP1", [3759.0994, 3558.2456, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_76 = _this;
 _this setDir -114.23185;
 _this setPos [3759.0994, 3558.2456, 7.6293945e-006];
};

_vehicle_77 = objNull;
if (true) then
{
 _this = createVehicle ["GRAD_RU", [3697.5522, 3639.1313, 5.3405762e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_77 = _this;
 _this setDir -136.09138;
 _this setPos [3697.5522, 3639.1313, 5.3405762e-005];
};

_vehicle_78 = objNull;
if (true) then
{
 _this = createVehicle ["LandRover_Special_CZ_EP1", [3704.7441, 3635.1731, 8.2015991e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_78 = _this;
 _this setDir -144.20898;
 _this setPos [3704.7441, 3635.1731, 8.2015991e-005];
};

_vehicle_84 = objNull;
if (true) then
{
 _this = createVehicle ["UAZ_RU", [3889.8586, 3578.4531, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_84 = _this;
 _this setDir 282.6626;
 _this setPos [3889.8586, 3578.4531, 1.9073486e-005];
};

_vehicle_85 = objNull;
if (true) then
{
 _this = createVehicle ["KamazOpen", [3757.1472, 3564.6975, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_85 = _this;
 _this setDir -93.165794;
 _this setPos [3757.1472, 3564.6975, 1.9073486e-006];
};

_unit_8 = objNull;
if (true) then
{
 _this = _group_0 createUnit ["US_Soldier_Pilot_EP1", [3544.3184, 3557.1052], [], 0, "CAN_COLLIDE"];
 _unit_8 = _this;
 _this setUnitAbility 0.60000002;
 if (true) then {_group_0 selectLeader _this;};
 if (true) then {setPlayable _this;};
};

_this = createCenter east;
_this setFriend [west, 0];
_center_1 = _this;

_group_1 = createGroup _center_1;

_unit_9 = objNull;
if (true) then
{
 _this = _group_1 createUnit ["RU_Soldier_Pilot", [3796.5054, 3554.8076], [], 0, "CAN_COLLIDE"];
 _unit_9 = _this;
 _this setUnitAbility 0.60000002;
 if (true) then {_group_1 selectLeader _this;};
 if (true) then {setPlayable _this;};
};
setAccTime 1; 

init.sqf

if (isserver) then {execVM "mission.sqf";};

Thanks for looking! Any help appriciated!

Edited by sanders54

Share this post


Link to post
Share on other sites

Add this to top of your script:

if (!isServer) exitWith {};

that will take care of the duplicate error, and will not affect SP missions at all.

also, you dont need

[color="Red"]if (true) then
{[/color]
 _this = createVehicle ["An2_1_TK_CIV_EP1", [3775.5562, 3560.3015, -2.2888184e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_1 = _this;
 _this setDir 55.741558;
 _this setPos [3775.5562, 3560.3015, -2.2888184e-005];
[color="Red"]};[/color]

just delete the red parts, they do nothing wrong, they just are unneccesary.

Share this post


Link to post
Share on other sites

I don't think the 3D editor is really designed to be mixed with the 2D editor like you're trying to do. For base layouts what you'd want to do is place the empty vehicles where you want them in the 3D editor, then convert the saved 3D map using a 3D to 2D converter then merge that with your 2D editor map. Then add your player units to the 2D map.

Share this post


Link to post
Share on other sites

Okay, thanks for the help folks :)

---------- Post added at 21:28 ---------- Previous post was at 20:33 ----------

Sorry for double post.

I added the line to mission.sqf but the duplicating still takes place. :(

Code looks like this now. I've added some more vehicles and structures.

if (!isServer) exitWith {};
setAccTime 0.0;
_this = createCenter west;
_this setFriend [east, 0];
_center_0 = _this;

_group_0 = createGroup _center_0;

_vehicle_0 = objNull;
if (true) then
{
 _this = createVehicle ["A10_US_EP1", [3502.4265, 3555.5759], [], 0, "CAN_COLLIDE"];
 _vehicle_0 = _this;
 _this setDir 51.3657;
 _this setPos [3502.4265, 3555.5759];
};

_vehicle_1 = objNull;
if (true) then
{
 _this = createVehicle ["An2_1_TK_CIV_EP1", [3775.5562, 3560.3015, -2.2888184e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_1 = _this;
 _this setDir 55.741558;
 _this setPos [3775.5562, 3560.3015, -2.2888184e-005];
};

_vehicle_2 = objNull;
if (true) then
{
 _this = createVehicle ["AV8B", [3517.3999, 3542.7471, 5.7220459e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_2 = _this;
 _this setDir 27.660225;
 _this setPos [3517.3999, 3542.7471, 5.7220459e-006];
};

_vehicle_3 = objNull;
if (true) then
{
 _this = createVehicle ["C130J", [3451.6433, 3654.9634, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_3 = _this;
 _this setDir 151.56509;
 _this setPos [3451.6433, 3654.9634, 1.1444092e-005];
};

_vehicle_4 = objNull;
if (true) then
{
 _this = createVehicle ["F35B", [3562.6758, 3544.8298, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_4 = _this;
 _this setDir 323.24097;
 _this setPos [3562.6758, 3544.8298, 1.5258789e-005];
};

_vehicle_5 = objNull;
if (true) then
{
 _this = createVehicle ["Ka60_PMC", [3804, 3528.6177, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_5 = _this;
 _this setDir 40.279179;
 _this setPos [3804, 3528.6177, 1.5258789e-005];
};

_vehicle_6 = objNull;
if (true) then
{
 _this = createVehicle ["L39_TK_EP1", [3781.467, 3537.2942, -1.5258789e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_6 = _this;
 _this setDir 34.909565;
 _this setPos [3781.467, 3537.2942, -1.5258789e-005];
};

_vehicle_8 = objNull;
if (true) then
{
 _this = createVehicle ["Su25_Ins", [3879.9121, 3556.8413, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_8 = _this;
 _this setDir -39.490734;
 _this setPos [3879.9121, 3556.8413, -3.8146973e-006];
};

_vehicle_9 = objNull;
if (true) then
{
 _this = createVehicle ["Su25_Ins", [3862.6223, 3553.9617, 4.196167e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_9 = _this;
 _this setDir -38.583832;
 _this setPos [3862.6223, 3553.9617, 4.196167e-005];
};

_vehicle_10 = objNull;
if (true) then
{
 _this = createVehicle ["Su25_Ins", [3845.0881, 3552.0422, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_10 = _this;
 _this setDir -35.720119;
 _this setPos [3845.0881, 3552.0422, -3.8146973e-006];
};

_vehicle_12 = objNull;
if (true) then
{
 _this = createVehicle ["Su34", [3809.4932, 3556.8074, -5.7220459e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_12 = _this;
 _this setDir 4.9698849;
 _this setPos [3809.4932, 3556.8074, -5.7220459e-006];
};

_vehicle_13 = objNull;
if (true) then
{
 _this = createVehicle ["Su34", [3825.6882, 3556.4546, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_13 = _this;
 _this setDir 3.6574314;
 _this setPos [3825.6882, 3556.4546, 1.1444092e-005];
};

_vehicle_14 = objNull;
if (true) then
{
 _this = createVehicle ["UH1H_TK_GUE_EP1", [3594.7769, 3646.2083, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_14 = _this;
 _this setDir -177.23299;
 _this setPos [3594.7769, 3646.2083, 1.5258789e-005];
};

_vehicle_15 = objNull;
if (true) then
{
 _this = createVehicle ["A10", [3497.033, 3572.5347, 4.5776367e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_15 = _this;
 _this setDir 68.414474;
 _this setPos [3497.033, 3572.5347, 4.5776367e-005];
};

_vehicle_16 = objNull;
if (true) then
{
 _this = createVehicle ["AV8B2", [3528.4526, 3541.1433, 3.6239624e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_16 = _this;
 _this setDir 22.054573;
 _this setPos [3528.4526, 3541.1433, 3.6239624e-005];
};

_vehicle_17 = objNull;
if (true) then
{
 _this = createVehicle ["MH60S", [3607.9819, 3646.2312, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_17 = _this;
 _this setDir -190.49696;
 _this setPos [3607.9819, 3646.2312, 1.9073486e-005];
};

_vehicle_19 = objNull;
if (true) then
{
 _this = createVehicle ["F35B", [3551.342, 3538.3054, -5.7220459e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_19 = _this;
 _this setDir -376.51172;
 _this setPos [3551.342, 3538.3054, -5.7220459e-006];
};

_vehicle_20 = objNull;
if (true) then
{
 _this = createVehicle ["HMMWV_M2", [3541.6055, 3540.8323, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_20 = _this;
 _this setDir 0.63112861;
 _this setPos [3541.6055, 3540.8323, 3.8146973e-006];
};

_vehicle_22 = objNull;
if (true) then
{
 _this = createVehicle ["MtvrReammo", [3571.3389, 3575.7778, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_22 = _this;
 _this setDir -89.028152;
 _this setPos [3571.3389, 3575.7778, 3.8146973e-006];
};

_vehicle_23 = objNull;
if (true) then
{
 _this = createVehicle ["MtvrReammo", [3571.1069, 3580.189, 3.2424927e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_23 = _this;
 _this setDir -79.985649;
 _this setPos [3571.1069, 3580.189, 3.2424927e-005];
};

_vehicle_24 = objNull;
if (true) then
{
 _this = createVehicle ["MtvrRefuel", [3572.6436, 3568.0525, 6.8664551e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_24 = _this;
 _this setDir -64.511024;
 _this setPos [3572.6436, 3568.0525, 6.8664551e-005];
};

_vehicle_25 = objNull;
if (true) then
{
 _this = createVehicle ["MtvrRefuel", [3573.6167, 3563.5881], [], 0, "CAN_COLLIDE"];
 _vehicle_25 = _this;
 _this setDir -61.772678;
 _this setPos [3573.6167, 3563.5881];
};

_vehicle_26 = objNull;
if (true) then
{
 _this = createVehicle ["MtvrRepair", [3483.2126, 3586.375, 1.335144e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_26 = _this;
 _this setDir 87.072922;
 _this setPos [3483.2126, 3586.375, 1.335144e-005];
};

_vehicle_27 = objNull;
if (true) then
{
 _this = createVehicle ["MtvrRepair", [3483.3772, 3582.0793, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_27 = _this;
 _this setDir 76.732346;
 _this setPos [3483.3772, 3582.0793, 1.9073486e-005];
};

_vehicle_33 = objNull;
if (true) then
{
 _this = createVehicle ["KamazReammo", [3892.916, 3582.376, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_33 = _this;
 _this setDir -89.562218;
 _this setPos [3892.916, 3582.376, 2.2888184e-005];
};

_vehicle_34 = objNull;
if (true) then
{
 _this = createVehicle ["KamazReammo", [3892.8643, 3585.9727, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_34 = _this;
 _this setDir -88.968315;
 _this setPos [3892.8643, 3585.9727, 1.9073486e-005];
};

_vehicle_35 = objNull;
if (true) then
{
 _this = createVehicle ["KamazRefuel", [3776.7983, 3583.9243, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_35 = _this;
 _this setDir 36.412388;
 _this setPos [3776.7983, 3583.9243, 1.9073486e-005];
};

_vehicle_36 = objNull;
if (true) then
{
 _this = createVehicle ["KamazRefuel", [3784.198, 3583.2939, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_36 = _this;
 _this setPos [3784.198, 3583.2939, 1.1444092e-005];
};

_vehicle_37 = objNull;
if (true) then
{
 _this = createVehicle ["KamazRepair", [3890.5681, 3569.262, 4.9591064e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_37 = _this;
 _this setDir -60.294819;
 _this setPos [3890.5681, 3569.262, 4.9591064e-005];
};

_vehicle_38 = objNull;
if (true) then
{
 _this = createVehicle ["KamazRepair", [3892.614, 3573.3362, -2.4795532e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_38 = _this;
 _this setDir -71.876785;
 _this setPos [3892.614, 3573.3362, -2.4795532e-005];
};

_vehicle_43 = objNull;
if (true) then
{
 _this = createVehicle ["UralRefuel_CDF", [3811.4001, 3634.0691, -1.7166138e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_43 = _this;
 _this setDir 81.822159;
 _this setPos [3811.4001, 3634.0691, -1.7166138e-005];
};

_vehicle_54 = objNull;
if (true) then
{
 _this = createVehicle ["BMP2_UN_EP1", [3683.8276, 3637.1921, 2.4795532e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_54 = _this;
 _this setDir 104.38092;
 _this setPos [3683.8276, 3637.1921, 2.4795532e-005];
};

_vehicle_55 = objNull;
if (true) then
{
 _this = createVehicle ["LAV25", [3601.7151, 3562.7078, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_55 = _this;
 _this setDir 82.698936;
 _this setPos [3601.7151, 3562.7078, 1.1444092e-005];
};

_vehicle_57 = objNull;
if (true) then
{
 _this = createVehicle ["M113_UN_EP1", [3672.7688, 3635.4004, 3.6239624e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_57 = _this;
 _this setDir 88.007286;
 _this setPos [3672.7688, 3635.4004, 3.6239624e-005];
};

_vehicle_58 = objNull;
if (true) then
{
 _this = createVehicle ["M6_EP1", [3586.5115, 3583.9817, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_58 = _this;
 _this setDir 90.46714;
 _this setPos [3586.5115, 3583.9817, 7.6293945e-006];
};

_vehicle_59 = objNull;
if (true) then
{
 _this = createVehicle ["T90", [3764.6333, 3582.8682, -9.5367432e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_59 = _this;
 _this setDir -83.508949;
 _this setPos [3764.6333, 3582.8682, -9.5367432e-006];
};

_vehicle_60 = objNull;
if (true) then
{
 _this = createVehicle ["RUBasicAmmunitionBox", [3762.978, 3579.0259, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_60 = _this;
 _this setDir 7.6689601;
 _this setPos [3762.978, 3579.0259, 3.8146973e-006];
};

_vehicle_61 = objNull;
if (true) then
{
 _this = createVehicle ["RUBasicWeaponsBox", [3765.4485, 3579.8003, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_61 = _this;
 _this setPos [3765.4485, 3579.8003, 1.5258789e-005];
};

_vehicle_62 = objNull;
if (true) then
{
 _this = createVehicle ["RULaunchersBox", [3758.8687, 3566.2949, 5.1498413e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_62 = _this;
 _this setPos [3758.8687, 3566.2949, 5.1498413e-005];
};

_vehicle_63 = objNull;
if (true) then
{
 _this = createVehicle ["RUOrdnanceBox", [3761.6428, 3566.5198, 5.7220459e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_63 = _this;
 _this setPos [3761.6428, 3566.5198, 5.7220459e-006];
};

_vehicle_64 = objNull;
if (true) then
{
 _this = createVehicle ["RUSpecialWeaponsBox", [3761.3147, 3565.2886, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_64 = _this;
 _this setPos [3761.3147, 3565.2886, 3.8146973e-006];
};

_vehicle_65 = objNull;
if (true) then
{
 _this = createVehicle ["RUVehicleBox", [3804.2375, 3633.8245], [], 0, "CAN_COLLIDE"];
 _vehicle_65 = _this;
 _this setPos [3804.2375, 3633.8245];
};

_vehicle_66 = objNull;
if (true) then
{
 _this = createVehicle ["USBasicAmmunitionBox_EP1", [3583.4824, 3572.9656, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_66 = _this;
 _this setDir 0.17625284;
 _this setPos [3583.4824, 3572.9656, 1.9073486e-005];
};

_vehicle_67 = objNull;
if (true) then
{
 _this = createVehicle ["USBasicWeapons_EP1", [3583.769, 3571.7983, 4.5776367e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_67 = _this;
 _this setPos [3583.769, 3571.7983, 4.5776367e-005];
};

_vehicle_68 = objNull;
if (true) then
{
 _this = createVehicle ["USLaunchers_EP1", [3583.3447, 3570.4165, 3.8146973e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_68 = _this;
 _this setPos [3583.3447, 3570.4165, 3.8146973e-005];
};

_vehicle_69 = objNull;
if (true) then
{
 _this = createVehicle ["USOrdnanceBox_EP1", [3587.1467, 3570.4719, 3.8146973e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_69 = _this;
 _this setPos [3587.1467, 3570.4719, 3.8146973e-005];
};

_vehicle_70 = objNull;
if (true) then
{
 _this = createVehicle ["USSpecialWeapons_EP1", [3588.0955, 3573.5974, 2.4795532e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_70 = _this;
 _this setPos [3588.0955, 3573.5974, 2.4795532e-005];
};

_vehicle_71 = objNull;
if (true) then
{
 _this = createVehicle ["USVehicleBox_EP1", [3586.7456, 3575.844, 1.7166138e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_71 = _this;
 _this setPos [3586.7456, 3575.844, 1.7166138e-005];
};

_vehicle_73 = objNull;
if (true) then
{
 _this = createVehicle ["Ka60_GL_PMC", [3819.7419, 3527.7207, 1.7166138e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_73 = _this;
 _this setDir 29.82613;
 _this setPos [3819.7419, 3527.7207, 1.7166138e-005];
};

_vehicle_74 = objNull;
if (true) then
{
 _this = createVehicle ["Mi24_V", [3838.0437, 3524.0723, 1.7166138e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_74 = _this;
 _this setDir 4.4879956;
 _this setPos [3838.0437, 3524.0723, 1.7166138e-005];
};

_vehicle_75 = objNull;
if (true) then
{
 _this = createVehicle ["MV22", [3403.8118, 3572.7527, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_75 = _this;
 _this setDir -89.962372;
 _this setPos [3403.8118, 3572.7527, 2.2888184e-005];
};

_vehicle_76 = objNull;
if (true) then
{
 _this = createVehicle ["MAZ_543_SCUD_TK_EP1", [3768.7012, 3520.7019, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_76 = _this;
 _this setDir 47.985195;
 _this setPos [3768.7012, 3520.7019, 7.6293945e-006];
};

_vehicle_77 = objNull;
if (true) then
{
 _this = createVehicle ["GRAD_RU", [3693.3813, 3634.9639, 5.3405762e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_77 = _this;
 _this setDir -250.90562;
 _this setPos [3693.3813, 3634.9639, 5.3405762e-005];
};

_vehicle_78 = objNull;
if (true) then
{
 _this = createVehicle ["LandRover_Special_CZ_EP1", [3703.8511, 3635.3237, 8.2015991e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_78 = _this;
 _this setDir -259.58011;
 _this setPos [3703.8511, 3635.3237, 8.2015991e-005];
};

_vehicle_84 = objNull;
if (true) then
{
 _this = createVehicle ["UAZ_RU", [3889.8586, 3578.4531, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_84 = _this;
 _this setDir 282.6626;
 _this setPos [3889.8586, 3578.4531, 1.9073486e-005];
};

_vehicle_85 = objNull;
if (true) then
{
 _this = createVehicle ["KamazOpen", [3754.7517, 3565.8955, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_85 = _this;
 _this setDir -106.35979;
 _this setPos [3754.7517, 3565.8955, 1.9073486e-006];
};

_unit_8 = objNull;
if (true) then
{
 _this = _group_0 createUnit ["US_Soldier_Pilot_EP1", [3539.2793, 3546.53], [], 0, "CAN_COLLIDE"];
 _unit_8 = _this;
 _this setUnitAbility 0.60000002;
 if (true) then {_group_0 selectLeader _this;};
 if (true) then {setPlayable _this;};
};

_this = createCenter east;
_this setFriend [west, 0];
_center_1 = _this;

_group_1 = createGroup _center_1;

_unit_9 = objNull;
if (true) then
{
 _this = _group_1 createUnit ["RU_Soldier_Pilot", [3796.5054, 3554.8076], [], 0, "CAN_COLLIDE"];
 _unit_9 = _this;
 _this setUnitAbility 0.60000002;
 if (true) then {_group_1 selectLeader _this;};
 if (true) then {setPlayable _this;};
};

_vehicle_87 = objNull;
if (true) then
{
 _this = createVehicle ["2S6M_Tunguska", [3749.4663, 3511.4668, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_87 = _this;
 _this setDir 42.784184;
 _this setVehicleArmor 0.89999998;
 _this setPos [3749.4663, 3511.4668, 1.1444092e-005];
};

_vehicle_88 = objNull;
if (true) then
{
 _this = createVehicle ["M1A2_US_TUSK_MG_EP1", [3576.8354, 3530.9226, 1.335144e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_88 = _this;
 _this setDir 43.254578;
 _this setPos [3576.8354, 3530.9226, 1.335144e-005];
};

_vehicle_95 = objNull;
if (true) then
{
 _this = createVehicle ["UralOpen_CDF", [3826.3218, 3633.2898], [], 0, "CAN_COLLIDE"];
 _vehicle_95 = _this;
 _this setDir -97.855743;
 _this setPos [3826.3218, 3633.2898];
};

_vehicle_96 = objNull;
if (true) then
{
 _this = createVehicle ["Ural_ZU23_Gue", [3819.2727, 3641.7148, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_96 = _this;
 _this setDir 140.27451;
 _this setPos [3819.2727, 3641.7148, 3.8146973e-006];
};

_vehicle_101 = objNull;
if (true) then
{
 _this = createVehicle ["USMC_WarfareBBarracks", [3590.8281, 3552.0212, -1.7166138e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_101 = _this;
 _this setPos [3590.8281, 3552.0212, -1.7166138e-005];
};

_vehicle_104 = objNull;
if (true) then
{
 _this = createVehicle ["RU_WarfareBBarracks", [3859.0774, 3525.4236, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_104 = _this;
 _this setDir -95.858849;
 _this setPos [3859.0774, 3525.4236, 1.9073486e-006];
};

_vehicle_107 = objNull;
if (true) then
{
 _this = createVehicle ["Land_Destroyer", [1572.9641, 916.24225, -0.010512099], [], 0, "CAN_COLLIDE"];
 _vehicle_107 = _this;
 _this setDir 183.35811;
 _this setPos [1572.9641, 916.24225, -0.010512099];
};

_vehicle_108 = objNull;
if (true) then
{
 _this = createVehicle ["Land_Fregata", [1262.2609, 1155.8845, -0.055472881], [], 0, "CAN_COLLIDE"];
 _vehicle_108 = _this;
 _this setDir -184.11348;
 _this setPos [1262.2609, 1155.8845, -0.055472881];
};

_vehicle_109 = objNull;
if (true) then
{
 _this = createVehicle ["RHIB2Turret", [1386.5229, 870.5708, 0.14296767], [], 0, "CAN_COLLIDE"];
 _vehicle_109 = _this;
 _this setDir -76.682373;
 _this setPos [1386.5229, 870.5708, 0.14296767];
};

_vehicle_110 = objNull;
if (true) then
{
 _this = createVehicle ["F35B", [1376.2196, 947.77374, 15.714421], [], 0, "CAN_COLLIDE"];
 _vehicle_110 = _this;
 _this setDir -33.831345;
 _this setPos [1376.2196, 947.77374, 15.714421];
};

_vehicle_111 = objNull;
if (true) then
{
 _this = createVehicle ["F35B", [1375.431, 931.68585, 15.755292], [], 0, "CAN_COLLIDE"];
 _vehicle_111 = _this;
 _this setDir -42.443237;
 _this setPos [1375.431, 931.68585, 15.755292];
};

_vehicle_115 = objNull;
if (true) then
{
 _this = createVehicle ["AV8B", [1390.3618, 917.2522, 16.515856], [], 0, "CAN_COLLIDE"];
 _vehicle_115 = _this;
 _this setDir 85.418976;
 _this setPos [1390.3618, 917.2522, 16.515856];
};

_vehicle_116 = objNull;
if (true) then
{
 _this = createVehicle ["CH_47F_BAF", [1377.1051, 1083.0602, 15.601326], [], 0, "CAN_COLLIDE"];
 _vehicle_116 = _this;
 _this setDir -56.78952;
 _this setPos [1377.1051, 1083.0602, 15.601326];
};

_vehicle_117 = objNull;
if (true) then
{
 _this = createVehicle ["BAF_Apache_AH1_D", [1376.463, 1063.8358, 15.999695], [], 0, "CAN_COLLIDE"];
 _vehicle_117 = _this;
 _this setDir -45.006443;
 _this setPos [1376.463, 1063.8358, 15.999695];
};

_vehicle_118 = objNull;
if (true) then
{
 _this = createVehicle ["AH6X_EP1", [1376.173, 1098.7018, 15.932185], [], 0, "CAN_COLLIDE"];
 _vehicle_118 = _this;
 _this setDir -52.443359;
 _this setPos [1376.173, 1098.7018, 15.932185];
};

_vehicle_122 = objNull;
if (true) then
{
 _this = createVehicle ["AH1Z", [1375.9143, 1120.0316, 16.133728], [], 0, "CAN_COLLIDE"];
 _vehicle_122 = _this;
 _this setDir -60.59647;
 _this setPos [1375.9143, 1120.0316, 16.133728];
};

_vehicle_123 = objNull;
if (true) then
{
 _this = createVehicle ["AH6J_EP1", [1377.1533, 1107.2167, 15.578265], [], 0, "CAN_COLLIDE"];
 _vehicle_123 = _this;
 _this setDir -56.480091;
 _this setPos [1377.1533, 1107.2167, 15.578265];
};

_vehicle_124 = objNull;
if (true) then
{
 _this = createVehicle ["MQ9PredatorB", [1375.3813, 1134.3021, 15.914616], [], 0, "CAN_COLLIDE"];
 _vehicle_124 = _this;
 _this setDir -52.056511;
 _this setPos [1375.3813, 1134.3021, 15.914616];
};

_vehicle_130 = objNull;
if (true) then
{
 _this = createVehicle ["BMP2_Gue", [3701.0903, 3460.3733, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_130 = _this;
 _this setDir 18.099646;
 _this setPos [3701.0903, 3460.3733, -3.8146973e-006];
};

_vehicle_131 = objNull;
if (true) then
{
 _this = createVehicle ["BMP2_Gue", [3696.95, 3463.2732, 9.5367432e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_131 = _this;
 _this setDir 17.450111;
 _this setPos [3696.95, 3463.2732, 9.5367432e-006];
};

_vehicle_132 = objNull;
if (true) then
{
 _this = createVehicle ["BTR90", [3700.8457, 3502.4146, 9.5367432e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_132 = _this;
 _this setDir -220.18692;
 _this setPos [3700.8457, 3502.4146, 9.5367432e-006];
};

_vehicle_135 = objNull;
if (true) then
{
 _this = createVehicle ["T55_TK_GUE_EP1", [3691.4233, 3469.3757, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_135 = _this;
 _this setDir 49.262653;
 _this setPos [3691.4233, 3469.3757, 1.5258789e-005];
};

_vehicle_136 = objNull;
if (true) then
{
 _this = createVehicle ["T55_TK_GUE_EP1", [3688.6206, 3472.4626, 1.335144e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_136 = _this;
 _this setDir 50.274704;
 _this setPos [3688.6206, 3472.4626, 1.335144e-005];
};

_vehicle_137 = objNull;
if (true) then
{
 _this = createVehicle ["T55_TK_GUE_EP1", [3685.9089, 3475.8218, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_137 = _this;
 _this setDir 51.299725;
 _this setPos [3685.9089, 3475.8218, 1.1444092e-005];
};

_vehicle_138 = objNull;
if (true) then
{
 _this = createVehicle ["T72_RU", [3674.1135, 3490.0972, 9.5367432e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_138 = _this;
 _this setDir 80.236702;
 _this setPos [3674.1135, 3490.0972, 9.5367432e-006];
};

_vehicle_139 = objNull;
if (true) then
{
 _this = createVehicle ["T72_RU", [3673.4883, 3494.0195, -1.9073486e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_139 = _this;
 _this setDir 81.854767;
 _this setPos [3673.4883, 3494.0195, -1.9073486e-006];
};

_vehicle_140 = objNull;
if (true) then
{
 _this = createVehicle ["T72_RU", [3674.6304, 3485.5403, 1.335144e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_140 = _this;
 _this setDir 79.675751;
 _this setPos [3674.6304, 3485.5403, 1.335144e-005];
};

_vehicle_141 = objNull;
if (true) then
{
 _this = createVehicle ["T90", [3709.0811, 3507.9553, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_141 = _this;
 _this setDir -220.84044;
 _this setPos [3709.0811, 3507.9553, 1.5258789e-005];
};

_vehicle_142 = objNull;
if (true) then
{
 _this = createVehicle ["T90", [3712.4036, 3511.3865, 9.5367432e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_142 = _this;
 _this setDir 139.69125;
 _this setPos [3712.4036, 3511.3865, 9.5367432e-006];
};

_vehicle_147 = objNull;
if (true) then
{
 _this = createVehicle ["ZSU_INS", [3692.4426, 3492.9141, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_147 = _this;
 _this setDir -164.95879;
 _this setPos [3692.4426, 3492.9141, 1.9073486e-006];
};

_vehicle_150 = objNull;
if (true) then
{
 _this = createVehicle ["M6_EP1", [3829.4353, 3320.2493, 2.6702881e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_150 = _this;
 _this setPos [3829.4353, 3320.2493, 2.6702881e-005];
};

_vehicle_151 = objNull;
if (true) then
{
 _this = createVehicle ["M6_EP1", [3824.6003, 3321.7151, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_151 = _this;
 _this setPos [3824.6003, 3321.7151, 6.1035156e-005];
};

_vehicle_152 = objNull;
if (true) then
{
 _this = createVehicle ["M1A2_US_TUSK_MG_EP1", [3814.093, 3326.5593], [], 0, "CAN_COLLIDE"];
 _vehicle_152 = _this;
 _this setDir 42.752972;
 _this setPos [3814.093, 3326.5593];
};

_vehicle_153 = objNull;
if (true) then
{
 _this = createVehicle ["M1A2_US_TUSK_MG_EP1", [3809.6045, 3331.657, 3.6239624e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_153 = _this;
 _this setDir 63.28035;
 _this setPos [3809.6045, 3331.657, 3.6239624e-005];
};

_vehicle_154 = objNull;
if (true) then
{
 _this = createVehicle ["M1A2_US_TUSK_MG_EP1", [3808.4111, 3339.0024, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_154 = _this;
 _this setDir 82.832321;
 _this setPos [3808.4111, 3339.0024, 1.1444092e-005];
};

_vehicle_155 = objNull;
if (true) then
{
 _this = createVehicle ["M1126_ICV_M2_EP1", [3818.4856, 3348.8877, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_155 = _this;
 _this setDir 183.82959;
 _this setPos [3818.4856, 3348.8877, 2.2888184e-005];
};

_vehicle_156 = objNull;
if (true) then
{
 _this = createVehicle ["M1126_ICV_M2_EP1", [3812.5813, 3348.1548, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_156 = _this;
 _this setDir 159.50394;
 _this setPos [3812.5813, 3348.1548, 1.1444092e-005];
};

_vehicle_157 = objNull;
if (true) then
{
 _this = createVehicle ["MLRS_DES_EP1", [3820.0273, 3310.4468, 5.9127808e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_157 = _this;
 _this setDir 10.097945;
 _this setPos [3820.0273, 3310.4468, 5.9127808e-005];
};

_vehicle_158 = objNull;
if (true) then
{
 _this = createVehicle ["MLRS_DES_EP1", [3826.2791, 3308.4473, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_158 = _this;
 _this setDir 3.0077751;
 _this setPos [3826.2791, 3308.4473, 3.0517578e-005];
};

_vehicle_159 = objNull;
if (true) then
{
 _this = createVehicle ["M1128_MGS_EP1", [3832.8186, 3316.1692, -0.00019645691], [], 0, "CAN_COLLIDE"];
 _vehicle_159 = _this;
 _this setDir 20.982361;
 _this setPos [3832.8186, 3316.1692, -0.00019645691];
};

_vehicle_160 = objNull;
if (true) then
{
 _this = createVehicle ["AAV", [3471.6157, 3582.0837, 0.32536972], [], 0, "CAN_COLLIDE"];
 _vehicle_160 = _this;
 _this setDir 56.154778;
 _this setPos [3471.6157, 3582.0837, 0.32536972];
};

_vehicle_163 = objNull;
if (true) then
{
 _this = createVehicle ["Mi171Sh_rockets_CZ_EP1", [3685.7561, 3439.9685, 2.0980835e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_163 = _this;
 _this setDir 46.434021;
 _this setPos [3685.7561, 3439.9685, 2.0980835e-005];
};

_vehicle_164 = objNull;
if (true) then
{
 _this = createVehicle ["Mi171Sh_rockets_CZ_EP1", [3670.8359, 3456.6741, -7.6293945e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_164 = _this;
 _this setDir 50.846836;
 _this setPos [3670.8359, 3456.6741, -7.6293945e-006];
};

_vehicle_167 = objNull;
if (true) then
{
 _this = createVehicle ["Mi24_P", [3725.2229, 3488.9756, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_167 = _this;
 _this setDir -36.894524;
 _this setPos [3725.2229, 3488.9756, 1.9073486e-006];
};

_objectComposition_2 = [[3721.8669, 3537.6631, -9.5367432e-006], 0, "FuelDump1_RU"] call (compile (preprocessFileLineNumbers "ca\modules\dyno\data\scripts\objectmapper.sqf"));

_vehicle_170 = objNull;
if (true) then
{
 _this = createVehicle ["Mi17_rockets_RU", [3657.7778, 3474.0537, -0.36783835], [], 0, "CAN_COLLIDE"];
 _vehicle_170 = _this;
 _this setDir 53.34314;
 _this setPos [3657.7778, 3474.0537, -0.36783835];
};

_vehicle_171 = objNull;
if (true) then
{
 _this = createVehicle ["Mi17_Ins", [3709.929, 3477.4858, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_171 = _this;
 _this setDir -48.052475;
 _this setPos [3709.929, 3477.4858, 7.6293945e-006];
};

_vehicle_173 = objNull;
if (true) then
{
 _this = createVehicle ["UH1Y", [1350.8152, 968.74463, 15.596638], [], 0, "CAN_COLLIDE"];
 _vehicle_173 = _this;
 _this setDir 84.601532;
 _this setPos [1350.8152, 968.74463, 15.596638];
};

_vehicle_174 = objNull;
if (true) then
{
 _this = createVehicle ["UH60M_EP1", [1378.5349, 902.0108, 15.913902], [], 0, "CAN_COLLIDE"];
 _vehicle_174 = _this;
 _this setDir -73.612206;
 _this setPos [1378.5349, 902.0108, 15.913902];
};

_vehicle_175 = objNull;
if (true) then
{
 _this = createVehicle ["HMMWV_M2", [3542.3149, 3637.9739, -0.10027465], [], 0, "CAN_COLLIDE"];
 _vehicle_175 = _this;
 _this setDir -177.06856;
 _this setPos [3542.3149, 3637.9739, -0.10027465];
};

_vehicle_176 = objNull;
if (true) then
{
 _this = createVehicle ["HMMWV_M2", [3545.8491, 3637.7583, -0.10025939], [], 0, "CAN_COLLIDE"];
 _vehicle_176 = _this;
 _this setDir -177.06856;
 _this setPos [3545.8491, 3637.7583, -0.10025939];
};

_vehicle_177 = objNull;
if (true) then
{
 _this = createVehicle ["HMMWV_MK19", [3531.2705, 3638.4727, -0.10028229], [], 0, "CAN_COLLIDE"];
 _vehicle_177 = _this;
 _this setDir -177.06856;
 _this setPos [3531.2705, 3638.4727, -0.10028229];
};

_vehicle_178 = objNull;
if (true) then
{
 _this = createVehicle ["HMMWV_MK19", [3527.7297, 3638.7283, -0.10028037], [], 0, "CAN_COLLIDE"];
 _vehicle_178 = _this;
 _this setDir -177.06856;
 _this setPos [3527.7297, 3638.7283, -0.10028037];
};

_vehicle_180 = objNull;
if (true) then
{
 _this = createVehicle ["HMMWV_TOW", [3538.5339, 3638.3096, -0.10026702], [], 0, "CAN_COLLIDE"];
 _vehicle_180 = _this;
 _this setDir -177.06856;
 _this setPos [3538.5339, 3638.3096, -0.10026702];
};

_vehicle_181 = objNull;
if (true) then
{
 _this = createVehicle ["HMMWV_TOW", [3534.9961, 3638.3516, -0.10027275], [], 0, "CAN_COLLIDE"];
 _vehicle_181 = _this;
 _this setDir -177.06856;
 _this setPos [3534.9961, 3638.3516, -0.10027275];
};

_vehicle_183 = objNull;
if (true) then
{
 _this = createVehicle ["HMMWV_Avenger", [3523.3657, 3638.4614, -0.10027275], [], 0, "CAN_COLLIDE"];
 _vehicle_183 = _this;
 _this setDir -177.06856;
 _this setPos [3523.3657, 3638.4614, -0.10027275];
};

_vehicle_187 = objNull;
if (true) then
{
 _this = createVehicle ["HMMWV_M998A2_SOV_DES_EP1", [3536.4895, 3540.2219, 5.7220459e-006], [], 0, "CAN_COLLIDE"];
 _vehicle_187 = _this;
 _this setDir 33.379044;
 _this setPos [3536.4895, 3540.2219, 5.7220459e-006];
};

_vehicle_190 = objNull;
if (true) then
{
 _this = createVehicle ["SUV_PMC_BAF", [3567.3796, 3635.2131, -1.5258789e-005], [], 0, "CAN_COLLIDE"];
 _vehicle_190 = _this;
 _this setDir -99.329353;
 _this setPos [3567.3796, 3635.2131, -1.5258789e-005];
};

_this = createCenter resistance;
_this setFriend [east, 0];
_this setFriend [west, 0];
_center_2 = _this;

_group_2 = createGroup _center_2;

_unit_14 = objNull;
if (true) then
{
 _this = _group_2 createUnit ["Soldier_Pilot_PMC", [3688.2654, 3451.9734, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
 _unit_14 = _this;
 _this setDir 66.836342;
 _this setUnitAbility 0.60000002;
 if (true) then {_group_2 selectLeader _this;};
 if (true) then {setPlayable _this;};
};

_unit_15 = objNull;
if (true) then
{
 _this = _group_0 createUnit ["USMC_Soldier_Pilot", [1353.8342, 1013.6479, 15.372798], [], 0, "CAN_COLLIDE"];
 _unit_15 = _this;
 _this setDir -193.60413;
 _this setUnitAbility 0.60000002;
 if (false) then {_group_0 selectLeader _this;};
 if (true) then {setPlayable _this;};
};
setAccTime 1;

Share this post


Link to post
Share on other sites

Try it with the conversion tool rather than trying to mix the two mission types. You're learning how to make missions the absolute most confusing and incompatible way.

Either use the 3D editor entirely (and not using a mission.sqm or the 2D editor) or use the 3D editor to lay out static items and merge them after conversion into your 2D map. Don't mix the two.

Share this post


Link to post
Share on other sites

Okay, thanks. I used the the program you described. It worked flawlessy, except the units on the carrier won't work. I read about a "getpos" command that does that but I am not sure where I should add/insert it to the script.

The code below is the units that should have an height (and thus sits on the carrier but the converter didnt copy height options apperntly).

Can anyone explain how I use the code properly? I can't seem to get it right :p

Thanks in advance!

class Item105
	{
		position[]={1377.8553,15.921541,1128.2404};
		azimut=-43.413921;
		id=105;
		side="EMPTY";
		vehicle="AH1Z";
		skill=1;
	};
	class Item106
	{
		position[]={1377.3688,15.5422,1114.6318};
		azimut=-53.944881;
		id=106;
		side="EMPTY";
		vehicle="AH1Z";
		skill=1;
	};
	class Item107
	{
		position[]={1376.4607,15.60084,1103.304};
		azimut=-55.68166;
		id=107;
		side="EMPTY";
		vehicle="AH6J_EP1";
		skill=1;
	};
	class Item108
	{
		position[]={1377.8867,16.375034,1072.821};
		azimut=-2.649123;
		id=108;
		side="EMPTY";
		vehicle="CH_47F_EP1";
		skill=1;
	};
	class Item109
	{
		position[]={1374.2705,15.817028,955.7749};
		azimut=-53.699081;
		id=109;
		side="EMPTY";
		vehicle="F35B";
		skill=1;
	};
	class Item110
	{
		position[]={1373.8594,15.99974,942.86249};
		azimut=-53.699081;
		id=110;
		side="EMPTY";
		vehicle="F35B";
		skill=1;
	};
	class Item111
	{
		position[]={1376.4448,16.056614,898.6181};
		azimut=-43.422279;
		id=111;
		side="EMPTY";
		vehicle="MH60S";
		skill=1;
	};
	class Item112
	{
		position[]={1374.5325,16.005697,1093.6333};
		azimut=-58.614441;
		id=112;
		side="EMPTY";
		vehicle="MH6J_EP1";
		skill=1;
	};
	class Item113
	{
		position[]={1388.6293,16.385519,919.60699};
		azimut=89.993347;
		id=113;
		side="EMPTY";
		vehicle="AV8B";
		skill=1;
	};
	class Item114
	{
		position[]={1347.3118,15.953579,967.46594};
		azimut=87.377129;
		id=114;
		side="EMPTY";
		vehicle="UH1Y";
		skill=1;
	};
};
};

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×