Jump to content
  • 0

Problems with custom map buildings


nidico100

Question

I built an base in the editor:

Spoiler

if (isServer) then {

_vehicle_10 = objNull;
if (true) then
{
  _this = createVehicle ["mbg_brickhouse_03_EO", [9010.1865, 12929.909, 0.1996108], [], 0, "CAN_COLLIDE"];
  _vehicle_10 = _this;
  _this setDir -137.63887;
  _this setPos [9010.1865, 12929.909, 0.1996108];
};

_vehicle_20 = objNull;
if (true) then
{
  _this = createVehicle ["mbg_slum01_EO", [9027.9082, 12929.496, -1.5258789e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_20 = _this;
  _this setDir 143.62804;
  _this setPos [9027.9082, 12929.496, -1.5258789e-005];
};

_vehicle_27 = objNull;
if (true) then
{
  _this = createVehicle ["Land_bags_stack_EP1", [9009.9248, 12933.339, 3.8146973e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_27 = _this;
  _this setDir -166.40646;
  _this setPos [9009.9248, 12933.339, 3.8146973e-005];
};

_vehicle_34 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Misc_Scaffolding", [9008.6299, 12925.025, 0.26146442], [], 0, "CAN_COLLIDE"];
  _vehicle_34 = _this;
  _this setDir -47.088337;
  _this setPos [9008.6299, 12925.025, 0.26146442];
};

_vehicle_35 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Crates_stack_EP1", [9029.1133, 12928.901, 0.0028184012], [], 0, "CAN_COLLIDE"];
  _vehicle_35 = _this;
  _this setPos [9029.1133, 12928.901, 0.0028184012];
};

_vehicle_37 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Ind_TankSmall2", [9000.6045, 12936.255, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_37 = _this;
  _this setDir 126.94191;
  _this setPos [9000.6045, 12936.255, 9.1552734e-005];
};

_vehicle_52 = objNull;
if (true) then
{
  _this = createVehicle ["Land_transport_crates_EP1", [9011.5527, 12931.697, 0.017630585], [], 0, "CAN_COLLIDE"];
  _vehicle_52 = _this;
  _this setDir 46.696278;
  _this setPos [9011.5527, 12931.697, 0.017630585];
};

_vehicle_69 = objNull;
if (true) then
{
  _this = createVehicle ["OutHouse_DZ", [8999.1982, 12943.307, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_69 = _this;
  _this setDir -101.94044;
  _this setPos [8999.1982, 12943.307, 1.5258789e-005];
};

_unit_6 = objNull;
if (true) then
{
  _this = _group_3 createUnit ["UN_CDF_Soldier_AAT_EP1", [9008.4189, 12943.334, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _unit_6 = _this;
  _this setUnitAbility 0.60000002;
  if (true) then {_group_3 selectLeader _this;};
  if (true) then {selectPlayer _this;};
  if (true) then {setPlayable _this;};
};

_vehicle_114 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9023.6328, 12938.506, -3.8146973e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_114 = _this;
  _this setPos [9023.6328, 12938.506, -3.8146973e-005];
};

_vehicle_149 = objNull;
if (true) then
{
  _this = createVehicle ["Land_bags_stack_EP1", [9032.5801, 12931.402, 1.0003071], [], 0, "CAN_COLLIDE"];
  _vehicle_149 = _this;
  _this setDir 201.53522;
  _this setPos [9032.5801, 12931.402, 1.0003071];
};

_vehicle_151 = objNull;
if (true) then
{
  _this = createVehicle ["Land_bags_stack_EP1", [9013.5225, 12932.917, 0.25614053], [], 0, "CAN_COLLIDE"];
  _vehicle_151 = _this;
  _this setDir -162.56001;
  _this setPos [9013.5225, 12932.917, 0.25614053];
};

_vehicle_153 = objNull;
if (true) then
{
  _this = createVehicle ["Land_bags_stack_EP1", [9009.877, 12934.777, 5.3405762e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_153 = _this;
  _this setDir -86.882942;
  _this setPos [9009.877, 12934.777, 5.3405762e-005];
};

_vehicle_161 = objNull;
if (true) then
{
  _this = createVehicle ["Paleta1", [9013.083, 12932.569, 0.044510506], [], 0, "CAN_COLLIDE"];
  _vehicle_161 = _this;
  _this setDir 16.673784;
  _this setPos [9013.083, 12932.569, 0.044510506];
};

_vehicle_162 = objNull;
if (true) then
{
  _this = createVehicle ["Paleta2", [9011.4365, 12933.042, -0.012683003], [], 0, "CAN_COLLIDE"];
  _vehicle_162 = _this;
  _this setDir -25.659601;
  _this setPos [9011.4365, 12933.042, -0.012683003];
};

_vehicle_175 = objNull;
if (true) then
{
  _this = createVehicle ["Land_transport_cart_EP1", [9031.5488, 12931.597, -0.022413157], [], 0, "CAN_COLLIDE"];
  _vehicle_175 = _this;
  _this setDir 104.78625;
  _this setPos [9031.5488, 12931.597, -0.022413157];
};

_vehicle_186 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_SmallObj_money", [9006.9541, 12931.413, 4.3921809], [], 0, "CAN_COLLIDE"];
  _vehicle_186 = _this;
  _this setPos [9006.9541, 12931.413, 4.3921809];
};

_vehicle_188 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_SmallObj_moscow_docs", [9006.4141, 12931.029, 4.3670654], [], 0, "CAN_COLLIDE"];
  _vehicle_188 = _this;
  _this setDir -8.7260981;
  _this setPos [9006.4141, 12931.029, 4.3670654];
};

_vehicle_191 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_chair", [9005.7793, 12931.559, 3.6511281], [], 0, "CAN_COLLIDE"];
  _vehicle_191 = _this;
  _this setDir -48.148903;
  _this setPos [9005.7793, 12931.559, 3.6511281];
};

_vehicle_192 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_conference_table_a", [9006.6396, 12931.105, 3.6791992], [], 0, "CAN_COLLIDE"];
  _vehicle_192 = _this;
  _this setDir -45.332043;
  _this setPos [9006.6396, 12931.105, 3.6791992];
};

_vehicle_193 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_briefcase", [9005.9941, 12930.534, 3.6425858], [], 0, "CAN_COLLIDE"];
  _vehicle_193 = _this;
  _this setDir 45.656857;
  _this setPos [9005.9941, 12930.534, 3.6425858];
};

_vehicle_196 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_picture_a_03", [9006.126, 12933.377, 4.3327508], [], 0, "CAN_COLLIDE"];
  _vehicle_196 = _this;
  _this setDir 135.26016;
  _this setPos [9006.126, 12933.377, 4.3327508];
};

_vehicle_200 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_wall_board_03", [9004.5195, 12928.885, 3.9469461], [], 0, "CAN_COLLIDE"];
  _vehicle_200 = _this;
  _this setDir 43.366463;
  _this setPos [9004.5195, 12928.885, 3.9469461];
};

_vehicle_206 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Misc_Boogieman", [9024.5488, 12940.621, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_206 = _this;
  _this setDir -113.60766;
  _this setPos [9024.5488, 12940.621, 2.2888184e-005];
};

_vehicle_209 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Misc_WellPump", [9024.8262, 12928.366, -0.08088886], [], 0, "CAN_COLLIDE"];
  _vehicle_209 = _this;
  _this setDir 282.21912;
  _this setPos [9024.8262, 12928.366, -0.08088886];
};

_vehicle_228 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Misc_TyreHeap", [9004.7842, 12934.979, 0.011758575], [], 0, "CAN_COLLIDE"];
  _vehicle_228 = _this;
  _this setPos [9004.7842, 12934.979, 0.011758575];
};

_vehicle_246 = objNull;
if (true) then
{
  _this = createVehicle ["Land_cages_EP1", [9012.8965, 12922.869, 3.5565181], [], 0, "CAN_COLLIDE"];
  _vehicle_246 = _this;
  _this setDir 259.53946;
  _this setPos [9012.8965, 12922.869, 3.5565181];
};

_vehicle_248 = objNull;
if (true) then
{
  _this = createVehicle ["AmmoCrates_NoInteractive_Large", [9016.3457, 12926.683, 3.6531131], [], 0, "CAN_COLLIDE"];
  _vehicle_248 = _this;
  _this setDir -66.0355;
  _this setPos [9016.3457, 12926.683, 3.6531131];
};

_vehicle_252 = objNull;
if (true) then
{
  _this = createVehicle ["AmmoCrates_NoInteractive_Medium", [9007.5781, 12926.843, 3.6150992], [], 0, "CAN_COLLIDE"];
  _vehicle_252 = _this;
  _this setDir 84.682304;
  _this setPos [9007.5781, 12926.843, 3.6150992];
};

_vehicle_256 = objNull;
if (true) then
{
  _this = createVehicle ["Body", [9005.1934, 12930.201, 0.34983155], [], 0, "CAN_COLLIDE"];
  _vehicle_256 = _this;
  _this setDir 46.809952;
  _this setPos [9005.1934, 12930.201, 0.34983155];
};

_vehicle_260 = objNull;
if (true) then
{
  _this = createVehicle ["Body", [9006.248, 12929.221, 0.33885282], [], 0, "CAN_COLLIDE"];
  _vehicle_260 = _this;
  _this setDir 46.809952;
  _this setPos [9006.248, 12929.221, 0.33885282];
};

_vehicle_262 = objNull;
if (true) then
{
  _this = createVehicle ["Body", [9007.4258, 12928.2, 0.32500392], [], 0, "CAN_COLLIDE"];
  _vehicle_262 = _this;
  _this setDir 46.809952;
  _this setPos [9007.4258, 12928.2, 0.32500392];
};

_vehicle_266 = objNull;
if (true) then
{
  _this = createVehicle ["Body", [9007.2061, 12932.114, 0.38681564], [], 0, "CAN_COLLIDE"];
  _vehicle_266 = _this;
  _this setDir -137.61824;
  _this setPos [9007.2061, 12932.114, 0.38681564];
};

_vehicle_268 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Wheel_cart_EP1", [9014.0117, 12928.813, 0.38119316], [], 0, "CAN_COLLIDE"];
  _vehicle_268 = _this;
  _this setDir -72.640549;
  _this setPos [9014.0117, 12928.813, 0.38119316];
};

_vehicle_273 = objNull;
if (true) then
{
  _this = createVehicle ["AmmoCrates_NoInteractive_Small", [9027.3027, 12928.585, 0.02336337], [], 0, "CAN_COLLIDE"];
  _vehicle_273 = _this;
  _this setDir 122.88802;
  _this setPos [9027.3027, 12928.585, 0.02336337];
};

_vehicle_279 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9021.6475, 12941.2, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_279 = _this;
  _this setPos [9021.6475, 12941.2, 7.6293945e-006];
};

_vehicle_281 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9023.8242, 12943.091, -4.5776367e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_281 = _this;
  _this setPos [9023.8242, 12943.091, -4.5776367e-005];
};

_vehicle_283 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9024.2988, 12945.313], [], 0, "CAN_COLLIDE"];
  _vehicle_283 = _this;
  _this setPos [9024.2988, 12945.313];
};

_vehicle_285 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9021.1719, 12944.113, 8.392334e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_285 = _this;
  _this setPos [9021.1719, 12944.113, 8.392334e-005];
};

_vehicle_287 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9018.8135, 12941.938, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_287 = _this;
  _this setPos [9018.8135, 12941.938, 3.0517578e-005];
};

_vehicle_289 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9020.6094, 12938.231, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_289 = _this;
  _this setPos [9020.6094, 12938.231, -6.1035156e-005];
};

_vehicle_291 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9020.3262, 12946.362, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_291 = _this;
  _this setPos [9020.3262, 12946.362, 7.6293945e-006];
};

_vehicle_293 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9018.3203, 12944.568, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_293 = _this;
  _this setPos [9018.3203, 12944.568, 3.0517578e-005];
};

_vehicle_301 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9026.6826, 12946.492, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_301 = _this;
  _this setPos [9026.6826, 12946.492, 6.1035156e-005];
};

_vehicle_303 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9029.8789, 12941.016, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_303 = _this;
  _this setPos [9029.8789, 12941.016, 2.2888184e-005];
};

_vehicle_305 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9024.502, 12947.974, 0.00015258789], [], 0, "CAN_COLLIDE"];
  _vehicle_305 = _this;
  _this setPos [9024.502, 12947.974, 0.00015258789];
};

_vehicle_307 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9022.1025, 12947.898, 6.8664551e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_307 = _this;
  _this setPos [9022.1025, 12947.898, 6.8664551e-005];
};

_vehicle_311 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9016.8174, 12947.158, -5.3405762e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_311 = _this;
  _this setPos [9016.8174, 12947.158, -5.3405762e-005];
};

_vehicle_313 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9019.251, 12948.965, -2.2888184e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_313 = _this;
  _this setPos [9019.251, 12948.965, -2.2888184e-005];
};

_vehicle_315 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9015.417, 12944.541, -2.2888184e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_315 = _this;
  _this setPos [9015.417, 12944.541, -2.2888184e-005];
};

_vehicle_317 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9017.5029, 12939.988, 5.3405762e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_317 = _this;
  _this setPos [9017.5029, 12939.988, 5.3405762e-005];
};

_vehicle_319 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9016.2764, 12942.37, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_319 = _this;
  _this setPos [9016.2764, 12942.37, 7.6293945e-006];
};

_vehicle_321 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9026.7568, 12941.954, 3.8146973e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_321 = _this;
  _this setPos [9026.7568, 12941.954, 3.8146973e-005];
};

_vehicle_323 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9027.7598, 12939.567, 6.8664551e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_323 = _this;
  _this setPos [9027.7598, 12939.567, 6.8664551e-005];
};

_vehicle_325 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9029.4951, 12943.715, -7.6293945e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_325 = _this;
  _this setPos [9029.4951, 12943.715, -7.6293945e-006];
};

_vehicle_329 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9026.4277, 12937.903, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_329 = _this;
  _this setPos [9026.4277, 12937.903, 7.6293945e-006];
};

_vehicle_333 = objNull;
if (true) then
{
  _this = createVehicle ["fiberplant", [9027.1074, 12944.475, 0.00015258789], [], 0, "CAN_COLLIDE"];
  _vehicle_333 = _this;
  _this setPos [9027.1074, 12944.475, 0.00015258789];
};

_vehicle_336 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Misc_Boogieman", [9022.2803, 12945.343, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_336 = _this;
  _this setDir -113.60766;
  _this setPos [9022.2803, 12945.343, -3.0517578e-005];
};

_this = createMarker ["Hemp-Plantation", [9015.7412, 12935.761]];
_this setMarkerText "Hemp-Plantation";
_this setMarkerShape "ELLIPSE";
_this setMarkerType "Warning";
_this setMarkerColor "ColorGreen";
_this setMarkerBrush "Grid";
_this setMarkerSize [20, 20];
_marker_0 = _this;

}
 

but this happened:

Unbenannt.jpg

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

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
  • Discord

×
×
  • Create New...