Jump to content
  • 0

Multiple Barracks inside each other


WoC

Question

Hey guys i was wondering if i might find some help here since i ran out of ideas what i am doing wrong

 

i am running  DayZEpoch (1.0.2.5/1.62.103718) and wanted to add some custom buildings like more racks at the airfield etc.

i am inserting the buildings via execVM 2dmapdata.sqf with the custom buildings saved in a 2d sqf converted from the 3d file off the editor. i was using arma II Joe's Editor.

 

everythings is working fine , every building is in place and spawns loot, only problem is, every single Land_Mil_Barracks_i has like another 5 Land_Mil_Barracks_i inside of it, sou you basically have to open like 6 Doors per doorway.

 

This is my map addition sqf, any idea what am i missing ?

 

 

_vehicle_3 = objNull;
if (true) then
{
  _this = createVehicle ["Land_A_Hospital", [4961.4854, 9671.7266, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_3 = _this;
  _this setDir -207.51888;
  _this setPos [4961.4854, 9671.7266, 6.1035156e-005];
};

_vehicle_7 = objNull;
if (true) then
{
  _this = createVehicle ["Land_A_Hospital", [12493.301, 12599.687], [], 0, "CAN_COLLIDE"];
  _vehicle_7 = _this;
  _this setDir 17.913336;
  _this setPos [12493.301, 12599.687];
};

_vehicle_14 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [12154.906, 12727.81, 0.091675416], [], 0, "CAN_COLLIDE"];
  _vehicle_14 = _this;
  _this setDir 108.89577;
  _this setPos [12154.906, 12727.81, 0.091675416];
};

_vehicle_15 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [12165.99, 12723.108, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_15 = _this;
  _this setDir -245.87474;
  _this setPos [12165.99, 12723.108, 1.5258789e-005];
};

_vehicle_16 = objNull;
if (true) then
{
  _this = createVehicle ["Land_A_BuildingWIP", [11790.346, 12842.648], [], 0, "CAN_COLLIDE"];
  _vehicle_16 = _this;
  _this setDir -53.321148;
  _this setPos [11790.346, 12842.648];
};

_vehicle_19 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [12246.663, 12581.261, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_19 = _this;
  _this setDir 19.406694;
  _this setPos [12246.663, 12581.261, 1.5258789e-005];
};

_vehicle_20 = objNull;
if (true) then
{
  _this = createVehicle ["Land_A_GeneralStore_01a", [11859.713, 12689.516, -0.0091977753], [], 0, "CAN_COLLIDE"];
  _vehicle_20 = _this;
  _this setDir -158.4379;
  _this setPos [11859.713, 12689.516, -0.0091977753];
};

_vehicle_21 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [13406.162, 4258.4785, 7.8201294e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_21 = _this;
  _this setDir 22.576216;
  _this setPos [13406.162, 4258.4785, 7.8201294e-005];
};

_vehicle_22 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [8466.2432, 3013.5454, 0.22971638], [], 0, "CAN_COLLIDE"];
  _vehicle_22 = _this;
  _this setDir 143.46086;
  _this setPos [8466.2432, 3013.5454, 0.22971638];
};

_vehicle_23 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [1465.1539, 2354.0535, 4.7683716e-007], [], 0, "CAN_COLLIDE"];
  _vehicle_23 = _this;
  _this setDir -240.87773;
  _this setPos [1465.1539, 2354.0535, 4.7683716e-007];
};

_vehicle_24 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [4169.6621, 2643.2227, 4.7683716e-007], [], 0, "CAN_COLLIDE"];
  _vehicle_24 = _this;
  _this setDir 104.861;
  _this setPos [4169.6621, 2643.2227, 4.7683716e-007];
};

_vehicle_25 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [4260.1743, 10420.304, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_25 = _this;
  _this setPos [4260.1743, 10420.304, 6.1035156e-005];
};

_vehicle_26 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [4261.4546, 10431.494, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_26 = _this;
  _this setPos [4261.4546, 10431.494, -3.0517578e-005];
};

_vehicle_27 = objNull;
if (true) then
{
  _this = createVehicle ["Land_A_GeneralStore_01a", [4291.8696, 10980.072], [], 0, "CAN_COLLIDE"];
  _vehicle_27 = _this;
  _this setDir -114.42214;
  _this setPos [4291.8696, 10980.072];
};

_vehicle_29 = objNull;
if (true) then
{
  _this = createVehicle ["Land_A_Office01", [4190.1597, 10911.911, 0.28178531], [], 0, "CAN_COLLIDE"];
  _vehicle_29 = _this;
  _this setDir -26.171238;
  _this setPos [4190.1597, 10911.911, 0.28178531];
};

_vehicle_31 = objNull;
if (true) then
{
  _this = createVehicle ["Land_A_FuelStation_Shed", [4392.21, 10444.655, 0.047355067], [], 0, "CAN_COLLIDE"];
  _vehicle_31 = _this;
  _this setDir -28.880903;
  _this setPos [4392.21, 10444.655, 0.047355067];
};

_vehicle_32 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Fuel_tank_stairs", [4406.9976, 10449.271, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_32 = _this;
  _this setDir 59.285015;
  _this setPos [4406.9976, 10449.271, -3.0517578e-005];
};

_vehicle_33 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Fuel_tank_stairs", [4377.2139, 10441.921, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_33 = _this;
  _this setDir -121.75441;
  _this setPos [4377.2139, 10441.921, 6.1035156e-005];
};

_vehicle_34 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Fuel_tank_big", [4375.1211, 10440.667, 0.019856486], [], 0, "CAN_COLLIDE"];
  _vehicle_34 = _this;
  _this setDir -121.67525;
  _this setPos [4375.1211, 10440.667, 0.019856486];
};

_vehicle_35 = objNull;
if (true) then
{
  _this = createVehicle ["Land_A_FuelStation_Build", [4378.6836, 10458.82, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_35 = _this;
  _this setDir -31.388847;
  _this setPos [4378.6836, 10458.82, -3.0517578e-005];
};

_vehicle_37 = objNull;
if (true) then
{
  _this = createVehicle ["Land_A_FuelStation_Feed", [4385.6182, 10442.161, 0.35026839], [], 0, "CAN_COLLIDE"];
  _vehicle_37 = _this;
  _this setDir 60.697189;
  _this setPos [4385.6182, 10442.161, 0.35026839];
};

_vehicle_38 = objNull;
if (true) then
{
  _this = createVehicle ["Land_A_FuelStation_Feed", [4386.7085, 10440.339, 0.34024519], [], 0, "CAN_COLLIDE"];
  _vehicle_38 = _this;
  _this setDir 60.722851;
  _this setPos [4386.7085, 10440.339, 0.34024519];
};

_vehicle_39 = objNull;
if (true) then
{
  _this = createVehicle ["Land_A_FuelStation_Feed", [4391.7407, 10445.563, 0.32941404], [], 0, "CAN_COLLIDE"];
  _vehicle_39 = _this;
  _this setDir 59.591042;
  _this setPos [4391.7407, 10445.563, 0.32941404];
};

_vehicle_40 = objNull;
if (true) then
{
  _this = createVehicle ["Land_A_FuelStation_Feed", [4392.7295, 10443.671, 0.29519242], [], 0, "CAN_COLLIDE"];
  _vehicle_40 = _this;
  _this setDir 63.376183;
  _this setPos [4392.7295, 10443.671, 0.29519242];
};

_vehicle_41 = objNull;
if (true) then
{
  _this = createVehicle ["Land_A_FuelStation_Feed", [4398.0337, 10448.689, 0.35281107], [], 0, "CAN_COLLIDE"];
  _vehicle_41 = _this;
  _this setDir 61.600574;
  _this setPos [4398.0337, 10448.689, 0.35281107];
};

_vehicle_42 = objNull;
if (true) then
{
  _this = createVehicle ["Land_A_FuelStation_Feed", [4398.8521, 10446.924, 0.30574134], [], 0, "CAN_COLLIDE"];
  _vehicle_42 = _this;
  _this setDir 62.236042;
  _this setPos [4398.8521, 10446.924, 0.30574134];
};

_vehicle_43 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [4636.0781, 10494.039, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_43 = _this;
  _this setDir 59.166561;
  _this setPos [4636.0781, 10494.039, 3.0517578e-005];
};

_vehicle_44 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [4829.3828, 10273.044, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_44 = _this;
  _this setDir 149.81154;
  _this setPos [4829.3828, 10273.044, 3.0517578e-005];
};

_vehicle_45 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [4829.9521, 2518.3489], [], 0, "CAN_COLLIDE"];
  _vehicle_45 = _this;
  _this setDir 112.58866;
  _this setPos [4829.9521, 2518.3489];
};

_vehicle_46 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [4838.2798, 2514.6807, -0.10081995], [], 0, "CAN_COLLIDE"];
  _vehicle_46 = _this;
  _this setDir 113.15808;
  _this setPos [4838.2798, 2514.6807, -0.10081995];
};

_vehicle_50 = objNull;
if (true) then
{
  _this = createVehicle ["Land_a_stationhouse", [4916.4321, 2485.3088, 0.32501045], [], 0, "CAN_COLLIDE"];
  _vehicle_50 = _this;
  _this setDir 21.946812;
  _this setPos [4916.4321, 2485.3088, 0.32501045];
};

_vehicle_51 = objNull;
if (true) then
{
  _this = createVehicle ["Land_a_stationhouse", [2496.4658, 5096.6025, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_51 = _this;
  _this setDir -17.173986;
  _this setPos [2496.4658, 5096.6025, 1.5258789e-005];
};

_vehicle_52 = objNull;
if (true) then
{
  _this = createVehicle ["Land_A_GeneralStore_01a", [2550.0625, 5086.854, -0.075414099], [], 0, "CAN_COLLIDE"];
  _vehicle_52 = _this;
  _this setDir -23.819975;
  _this setPos [2550.0625, 5086.854, -0.075414099];
};

_vehicle_68 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Fire_barrel", [9862.6191, 3861.2146, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_68 = _this;
  _this setPos [9862.6191, 3861.2146, 1.5258789e-005];
};

_vehicle_72 = objNull;
if (true) then
{
  _this = createVehicle ["PowerGenerator", [9810.3037, 3815.9421, 0.00012207031], [], 0, "CAN_COLLIDE"];
  _vehicle_72 = _this;
  _this setPos [9810.3037, 3815.9421, 0.00012207031];
};

_vehicle_74 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Fuel_tank_stairs", [9780.9287, 3840.8901, 0.407307], [], 0, "CAN_COLLIDE"];
  _vehicle_74 = _this;
  _this setDir 173.92775;
  _this setPos [9780.9287, 3840.8901, 0.407307];
};

_vehicle_75 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Ind_Pec_03b", [9776.748, 3872.2412, -6.5186419], [], 0, "CAN_COLLIDE"];
  _vehicle_75 = _this;
  _this setDir -187.04758;
  _this setPos [9776.748, 3872.2412, -6.5186419];
};

_vehicle_76 = objNull;
if (true) then
{
  _this = createVehicle ["Land_pumpa", [9868.3281, 3860.7058, 0.00042724609], [], 0, "CAN_COLLIDE"];
  _vehicle_76 = _this;
  _this setPos [9868.3281, 3860.7058, 0.00042724609];
};
 

any help is appreciated , thanks in advance

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

this is my mission.sqf .  didnt change anything in it yet so it should be mint epoch

http://pastebin.com/cpvke3pj

 

i couldnt check into this yet , but will do soon

 

 if (isServer) then {

...

};

 

i am pretty new to this and my understanding of how everything works together like armaII ,the editor, the mods all the scripts left me pretty confused , but its starting to grow on me

Link to comment
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
  • Advertisement
  • Discord

×
×
  • Create New...