Inevitable Gaming Posted May 5, 2014 Report Share Posted May 5, 2014 I've been trying to add custom buildings for a MONTH now and it doesnt work! I'm being serious when i say that i've wasted 20 hours on this! Here is my mission.pbo https://www.dropbox.com/s/9biaggzgtxx9uss/dayz_mission.pbo Server.pbo (I assume you dont need it) https://www.dropbox.com/s/lkzy9tbd0jk3pab/dayz_server.pbo Mission Biedi https://www.dropbox.com/s/lb5ez0tdudf2ent/mission.biedi Mission Sqf https://www.dropbox.com/s/6vugf74srx89iqx/mission.sqf I challenge you to add them to my mission.pbo and make them work, the one to do this has to be a genius because it is impossible! Link to comment Share on other sites More sharing options...
Hooch Posted May 5, 2014 Report Share Posted May 5, 2014 if (isServer) then { Add this line in at the top of your SQM. Delete this part below this = createCenter west; _center_0 = _this; _group_0 = createGroup _center_0; and this part...... processInitCommands; runInitScript; finishMissionInit; just have a }; under the last vehicle you have. Link to comment Share on other sites More sharing options...
Inevitable Gaming Posted May 5, 2014 Author Report Share Posted May 5, 2014 if (isServer) then { Add this line in at the top of your SQM. Delete this part below this = createCenter west; _center_0 = _this; _group_0 = createGroup _center_0; and this part...... processInitCommands; runInitScript; finishMissionInit; just have a }; under the last vehicle you have. Trust me this is what ive done the past 30 days, see for yourself it doesnt work... Link to comment Share on other sites More sharing options...
PetuniaEpoch Posted May 5, 2014 Report Share Posted May 5, 2014 EDIT - Ignore this message and scroll down to see my latest, with a link to a PBO for you to try :) Just to check - is the last mission.sqf file the one with the buildings you want to place? I can help you with this, just want to double check the final mission.sqf in your list is the one with the buildings. Next, do you want them to be client side or server side? I can add to either mission pbo or server - personally I prefer server pbo :D (smaller downloads for clients) I've been trying to add custom buildings for a MONTH now and it doesnt work! I'm being serious when i say that i've wasted 20 hours on this! Here is my mission.pbo https://www.dropbox.com/s/9biaggzgtxx9uss/dayz_mission.pbo Server.pbo (I assume you dont need it) https://www.dropbox.com/s/lkzy9tbd0jk3pab/dayz_server.pbo Mission Biedi https://www.dropbox.com/s/lb5ez0tdudf2ent/mission.biedi Mission Sqf https://www.dropbox.com/s/6vugf74srx89iqx/mission.sqf I challenge you to add them to my mission.pbo and make them work, the one to do this has to be a genius because it is impossible! Link to comment Share on other sites More sharing options...
PetuniaEpoch Posted May 5, 2014 Report Share Posted May 5, 2014 Hey - Try this server PBO file, I added the buildings server side for you - http://petuniaserver.com/maxwi/dayz_server.pbo Keep your standard mission PBO file (no extra buildings) and the attached server PBO. Should work - let me know if you have any problems though. Basically the editor adds some shit you need to remove (at top, bottom and even some stuff in the middle!). I've edited the SQF and cleaned it up, plus added them to your server pbo in a pretty efficient way (using a compile call). This is what I do and it works better for me (and keeps the mission file download sizes smaller!). Hope that helps :) I've been trying to add custom buildings for a MONTH now and it doesnt work! I'm being serious when i say that i've wasted 20 hours on this! Here is my mission.pbo https://www.dropbox.com/s/9biaggzgtxx9uss/dayz_mission.pbo Server.pbo (I assume you dont need it) https://www.dropbox.com/s/lkzy9tbd0jk3pab/dayz_server.pbo Mission Biedi https://www.dropbox.com/s/lb5ez0tdudf2ent/mission.biedi Mission Sqf https://www.dropbox.com/s/6vugf74srx89iqx/mission.sqf I challenge you to add them to my mission.pbo and make them work, the one to do this has to be a genius because it is impossible! Link to comment Share on other sites More sharing options...
PetuniaEpoch Posted May 5, 2014 Report Share Posted May 5, 2014 Let me know if it works, or if you have any problems. :) Link to comment Share on other sites More sharing options...
FoamysWorld Posted May 5, 2014 Report Share Posted May 5, 2014 You guys are close but not quite doing it right. When doing map edits, do it in the 3D editor. Once you are done open up the mission.sqf file and edit it accordingly. Inside you will see the object code wrapped in more code... all you need from that code to make a map edit file is this section from each object. _this = createVehicle ["MAP_Mil_Barracks_i", [4630.978, 2545.8049, 9.5367432e-007], [], 0, "CAN_COLLIDE"]; _vehicle_2 = _this; _this setDir 41.110874; _this setPos [4630.978, 2545.8049, 9.5367432e-007]; That's it... stack em up and number them like this. _this = createVehicle ["MAP_Mil_Barracks_i", [4630.978, 2545.8049, 9.5367432e-007], [], 0, "CAN_COLLIDE"]; _barrack_cherno_1 = _this; _this setDir 41.110874; _this setPos [4630.978, 2545.8049, 9.5367432e-007]; Notice I gave it a name that identifies what it is and it's location then a number.. _barrack_cherno_1 Easy... Also that myth about converting the name to bldObj or whatever name they used is just that.. a myth. All they were doing was giving it a name thinking they were changing the object type to some light working version that was superior. You can name it anything, it makes no difference unless you duplicate names. Anyways, I hope this helps you guys with your map edits. So to close... the file you posted would look something like this.. /* File Name: filename.sqf Description: Loads custom map edits */ _this = createVehicle ["MAP_Mil_Barracks_i", [4630.978, 2545.8049, 9.5367432e-007], [], 0, "CAN_COLLIDE"]; _vehicle_2 = _this; _this setDir 41.110874; _this setPos [4630.978, 2545.8049, 9.5367432e-007]; _this = createVehicle ["MAP_Mil_Barracks_i", [4637.3193, 2553.2908, -9.5367432e-007], [], 0, "CAN_COLLIDE"]; _vehicle_3 = _this; _this setDir 40.798927; _this setPos [4637.3193, 2553.2908, -9.5367432e-007]; _this = createVehicle ["MAP_Mil_Barracks_i", [4631.9946, 2526.5972, 3.8146973e-006], [], 0, "CAN_COLLIDE"]; _vehicle_4 = _this; _this setDir -47.981148; _this setPos [4631.9946, 2526.5972, 3.8146973e-006]; _this = createVehicle ["MAP_Mil_Barracks_i", [4639.1455, 2519.9397, -3.8146973e-006], [], 0, "CAN_COLLIDE"]; _vehicle_5 = _this; _this setDir -47.686169; _this setPos [4639.1455, 2519.9397, -3.8146973e-006]; _this = createVehicle ["MAP_HBarrier5", [4629.6011, 2531.467, -5.7220459e-006], [], 0, "CAN_COLLIDE"]; _vehicle_10 = _this; _this setDir 133.49239; _this setPos [4629.6011, 2531.467, -5.7220459e-006]; _this = createVehicle ["MAP_HBarrier5", [4629.123, 2516.0547, 9.5367432e-007], [], 0, "CAN_COLLIDE"]; _vehicle_11 = _this; _this setDir 41.356205; _this setPos [4629.123, 2516.0547, 9.5367432e-007]; _this = createVehicle ["MAP_HBarrier5", [4625.2031, 2519.603, 2.2888184e-005], [], 0, "CAN_COLLIDE"]; _vehicle_12 = _this; _this setDir 42.439362; _this setPos [4625.2031, 2519.603, 2.2888184e-005]; _this = createVehicle ["MAP_HBarrier5", [4632.4092, 2513.2437, 1.7166138e-005], [], 0, "CAN_COLLIDE"]; _vehicle_13 = _this; _this setDir 43.042461; _this setPos [4632.4092, 2513.2437, 1.7166138e-005]; _this = createVehicle ["MAP_HBarrier5", [4636.1641, 2511.1113, 2.0027161e-005], [], 0, "CAN_COLLIDE"]; _vehicle_15 = _this; _this setDir -46.383846; _this setPos [4636.1641, 2511.1113, 2.0027161e-005]; _this = createVehicle ["MAP_HBarrier5", [4639.9985, 2515.2161, -1.9073486e-006], [], 0, "CAN_COLLIDE"]; _vehicle_16 = _this; _this setDir -47.593098; _this setPos [4639.9985, 2515.2161, -1.9073486e-006]; _this = createVehicle ["MAP_HBarrier5", [4643.7944, 2519.3369, 8.5830688e-006], [], 0, "CAN_COLLIDE"]; _vehicle_17 = _this; _this setDir -47.029457; _this setPos [4643.7944, 2519.3369, 8.5830688e-006]; _this = createVehicle ["MAP_HBarrier5", [4646.3496, 2522.2214, 4.7683716e-006], [], 0, "CAN_COLLIDE"]; _vehicle_18 = _this; _this setDir -48.363853; _this setPos [4646.3496, 2522.2214, 4.7683716e-006]; _this = createVehicle ["MAP_HBarrier5", [4622.249, 2522.2019, 6.6757202e-006], [], 0, "CAN_COLLIDE"]; _vehicle_19 = _this; _this setDir 41.922379; _this setPos [4622.249, 2522.2019, 6.6757202e-006]; _this = createVehicle ["MAP_HBarrier5", [4624.3428, 2525.8884], [], 0, "CAN_COLLIDE"]; _vehicle_20 = _this; _this setDir 130.61446; _this setPos [4624.3428, 2525.8884]; _this = createVehicle ["MAP_HBarrier5", [4625.9575, 2527.6191, -3.7193298e-005], [], 0, "CAN_COLLIDE"]; _vehicle_22 = _this; _this setDir 131.7065; _this setPos [4625.9575, 2527.6191, -3.7193298e-005]; _this = createVehicle ["MAP_HBarrier5", [4630.2026, 2532.3025, 9.5367432e-007], [], 0, "CAN_COLLIDE"]; _vehicle_23 = _this; _this setDir -47.639908; _this setPos [4630.2026, 2532.3025, 9.5367432e-007]; _this = createVehicle ["MAP_HBarrier5", [4630.6694, 2539.3232, 1.335144e-005], [], 0, "CAN_COLLIDE"]; _vehicle_24 = _this; _this setDir 41.682335; _this setPos [4630.6694, 2539.3232, 1.335144e-005]; _this = createVehicle ["MAP_HBarrier5", [4620.3164, 2548.45, 7.6293945e-006], [], 0, "CAN_COLLIDE"]; _vehicle_25 = _this; _this setDir 40.39814; _this setPos [4620.3164, 2548.45, 7.6293945e-006]; _this = createVehicle ["MAP_HBarrier5", [4627.1196, 2542.5078, 9.5367432e-007], [], 0, "CAN_COLLIDE"]; _vehicle_26 = _this; _this setDir 42.582886; _this setPos [4627.1196, 2542.5078, 9.5367432e-007]; _this = createVehicle ["MAP_HBarrier5", [4622.7334, 2551.9875, 1.9073486e-005], [], 0, "CAN_COLLIDE"]; _vehicle_27 = _this; _this setDir 129.85599; _this setPos [4622.7334, 2551.9875, 1.9073486e-005]; _this = createVehicle ["MAP_HBarrier5", [4623.1797, 2546.1238], [], 0, "CAN_COLLIDE"]; _vehicle_28 = _this; _this setDir 42.319439; _this setPos [4623.1797, 2546.1238]; _this = createVehicle ["MAP_HBarrier5", [4623.2026, 2552.5435], [], 0, "CAN_COLLIDE"]; _vehicle_29 = _this; _this setDir -47.593784; _this setPos [4623.2026, 2552.5435]; _this = createVehicle ["MAP_HBarrier5", [4629.7695, 2560.1909, 1.335144e-005], [], 0, "CAN_COLLIDE"]; _vehicle_30 = _this; _this setDir -46.900871; _this setPos [4629.7695, 2560.1909, 1.335144e-005]; _this = createVehicle ["MAP_HBarrier5", [4629.4258, 2559.644, -4.7683716e-006], [], 0, "CAN_COLLIDE"]; _vehicle_31 = _this; _this setDir 128.25954; _this setPos [4629.4258, 2559.644, -4.7683716e-006]; _this = createVehicle ["MAP_HBarrier5", [4633.8047, 2562.4824], [], 0, "CAN_COLLIDE"]; _vehicle_32 = _this; _this setDir 42.404865; _this setPos [4633.8047, 2562.4824]; _this = createVehicle ["MAP_HBarrier5", [4637.856, 2558.8835, 1.9073486e-006], [], 0, "CAN_COLLIDE"]; _vehicle_33 = _this; _this setDir 41.612587; _this setPos [4637.856, 2558.8835, 1.9073486e-006]; _this = createVehicle ["MAP_HBarrier5", [4641.8906, 2555.2737, 9.5367432e-006], [], 0, "CAN_COLLIDE"]; _vehicle_34 = _this; _this setDir 42.672382; _this setPos [4641.8906, 2555.2737, 9.5367432e-006]; _this = createVehicle ["MAP_HBarrier5", [4644.9097, 2552.5891, -5.7220459e-006], [], 0, "CAN_COLLIDE"]; _vehicle_35 = _this; _this setDir 41.411564; _this setPos [4644.9097, 2552.5891, -5.7220459e-006]; _this = createVehicle ["MAP_Fortress_02", [4650.0576, 2544.5908, 1.9073486e-006], [], 0, "CAN_COLLIDE"]; _vehicle_36 = _this; _this setDir -140.60161; _this setPos [4650.0576, 2544.5908, 1.9073486e-006]; _this = createVehicle ["MAP_Hlidac_budka", [4652.2041, 2528.0376, -1.335144e-005], [], 0, "CAN_COLLIDE"]; _vehicle_42 = _this; _this setDir 132.2186; _this setPos [4652.2041, 2528.0376, -1.335144e-005]; _this = createVehicle ["MAP_fort_bagfence_corner", [4661.9639, 2539.5525, -2.8610229e-006], [], 0, "CAN_COLLIDE"]; _vehicle_44 = _this; _this setDir -140.95042; _this setPos [4661.9639, 2539.5525, -2.8610229e-006]; _this = createVehicle ["MAP_fort_bagfence_long", [4655.5938, 2545.281, -7.6293945e-006], [], 0, "CAN_COLLIDE"]; _vehicle_45 = _this; _this setDir 24.891474; _this setPos [4655.5938, 2545.281, -7.6293945e-006]; _this = createVehicle ["MAP_fort_bagfence_long", [4657.7646, 2543.8953, 1.2397766e-005], [], 0, "CAN_COLLIDE"]; _vehicle_46 = _this; _this setDir 40.029469; _this setPos [4657.7646, 2543.8953, 1.2397766e-005]; _this = createVehicle ["MAP_fort_bagfence_long", [4659.9888, 2541.9844, -1.1444092e-005], [], 0, "CAN_COLLIDE"]; _vehicle_47 = _this; _this setDir 41.890106; _this setPos [4659.9888, 2541.9844, -1.1444092e-005]; _this = createVehicle ["MAP_fort_bagfence_long", [4658.9824, 2534.2109, 1.9073486e-006], [], 0, "CAN_COLLIDE"]; _vehicle_48 = _this; _this setDir -49.551083; _this setPos [4658.9824, 2534.2109, 1.9073486e-006]; _this = createVehicle ["MAP_fort_bagfence_long", [4660.6045, 2536.1299, 2.0027161e-005], [], 0, "CAN_COLLIDE"]; _vehicle_49 = _this; _this setDir -49.89035; _this setPos [4660.6045, 2536.1299, 2.0027161e-005]; _this = createVehicle ["MAP_Barbedwire", [4661.6616, 2537.6094, -1.4305115e-005], [], 0, "CAN_COLLIDE"]; _vehicle_50 = _this; _this setDir -49.687786; _this setPos [4661.6616, 2537.6094, -1.4305115e-005]; _this = createVehicle ["MAP_Barbedwire", [4659.8398, 2535.447, -1.8119812e-005], [], 0, "CAN_COLLIDE"]; _vehicle_51 = _this; _this setDir -50.980148; _this setPos [4659.8398, 2535.447, -1.8119812e-005]; _this = createVehicle ["MAP_Barbedwire", [4661.7134, 2540.4543, 1.335144e-005], [], 0, "CAN_COLLIDE"]; _vehicle_52 = _this; _this setDir 41.009865; _this setPos [4661.7134, 2540.4543, 1.335144e-005]; _this = createVehicle ["MAP_Barbedwire", [4659.2905, 2542.7207, 2.3841858e-005], [], 0, "CAN_COLLIDE"]; _vehicle_53 = _this; _this setDir 37.848091; _this setPos [4659.2905, 2542.7207, 2.3841858e-005]; _this = createVehicle ["MAP_Barbedwire", [4657.022, 2544.2822, -6.6757202e-006], [], 0, "CAN_COLLIDE"]; _vehicle_54 = _this; _this setDir 31.892984; _this setPos [4657.022, 2544.2822, -6.6757202e-006]; _this = createVehicle ["MBG_Police_Station_EU", [4830.7393, 2577.582], [], 0, "CAN_COLLIDE"]; _vehicle_57 = _this; _this setDir -60.87299; _this setPos [4830.7393, 2577.582]; _this = createVehicle ["MAP_A_GeneralStore_01", [1862.1089, 2172.479, 2.8610229e-006], [], 0, "CAN_COLLIDE"]; _vehicle_59 = _this; _this setDir -14.93964; _this setPos [1862.1089, 2172.479, 2.8610229e-006]; _this = createVehicle ["MAP_A_Office01", [1799.6304, 2129.0381, 1.7166138e-005], [], 0, "CAN_COLLIDE"]; _vehicle_60 = _this; _this setDir -14.700363; _this setPos [1799.6304, 2129.0381, 1.7166138e-005]; _this = createVehicle ["MAP_Mil_Barracks_i", [1775.3047, 2123.7915, 1.6689301e-005], [], 0, "CAN_COLLIDE"]; _vehicle_61 = _this; _this setDir 75.397995; _this setPos [1775.3047, 2123.7915, 1.6689301e-005]; _this = createVehicle ["MAP_Misc_Cargo1A", [8157.502, 3134.3801, -1.4305115e-006], [], 0, "CAN_COLLIDE"]; _vehicle_70 = _this; _this setDir 24.730215; _this setPos [8157.502, 3134.3801, -1.4305115e-006]; _this = createVehicle ["MAP_Misc_Cargo1A", [8159.9771, 3139.7375, -3.1471252e-005], [], 0, "CAN_COLLIDE"]; _vehicle_71 = _this; _this setDir 24.189337; _this setPos [8159.9771, 3139.7375, -3.1471252e-005]; _this = createVehicle ["MAP_Misc_Cargo1A", [8164.8877, 3150.7278, -4.6730042e-005], [], 0, "CAN_COLLIDE"]; _vehicle_72 = _this; _this setDir 24.195263; _this setPos [8164.8877, 3150.7278, -4.6730042e-005]; _this = createVehicle ["MAP_Misc_Cargo1A", [8162.3989, 3145.2444, -1.8596649e-005], [], 0, "CAN_COLLIDE"]; _vehicle_73 = _this; _this setDir 24.238379; _this setPos [8162.3989, 3145.2444, -1.8596649e-005]; _this = createVehicle ["MAP_Misc_Cargo1A", [8168.1553, 3129.6716, -3.8146973e-006], [], 0, "CAN_COLLIDE"]; _vehicle_74 = _this; _this setDir 114.44846; _this setPos [8168.1553, 3129.6716, -3.8146973e-006]; _this = createVehicle ["MAP_Misc_Cargo1A", [8162.6318, 3132.1519, 1.3828278e-005], [], 0, "CAN_COLLIDE"]; _vehicle_75 = _this; _this setDir 114.79353; _this setPos [8162.6318, 3132.1519, 1.3828278e-005]; _this = createVehicle ["MAP_Misc_Cargo1A", [8173.5601, 3127.22, -8.5830688e-006], [], 0, "CAN_COLLIDE"]; _vehicle_76 = _this; _this setDir -64.756554; _this setPos [8173.5601, 3127.22, -8.5830688e-006]; _this = createVehicle ["MAP_Misc_Cargo1A", [8178.4199, 3124.6563, 2.3841858e-005], [], 0, "CAN_COLLIDE"]; _vehicle_77 = _this; _this setDir 25.231432; _this setPos [8178.4199, 3124.6563, 2.3841858e-005]; _this = createVehicle ["MAP_Misc_Cargo1A", [8172.0488, 3156.6208, 3.9577484e-005], [], 0, "CAN_COLLIDE"]; _vehicle_78 = _this; _this setDir 113.43507; _this setPos [8172.0488, 3156.6208, 3.9577484e-005]; _this = createVehicle ["MAP_Misc_Cargo1A", [8167.3716, 3156.2061, -1.001358e-005], [], 0, "CAN_COLLIDE"]; _vehicle_79 = _this; _this setDir 24.276375; _this setPos [8167.3716, 3156.2061, -1.001358e-005]; _this = createVehicle ["MAP_Misc_Cargo1A", [8183.3628, 3135.3655, -2.3841858e-006], [], 0, "CAN_COLLIDE"]; _vehicle_80 = _this; _this setDir 24.337599; _this setPos [8183.3628, 3135.3655, -2.3841858e-006]; _this = createVehicle ["MAP_Misc_Cargo1A", [8182.8892, 3151.7925, -2.2411346e-005], [], 0, "CAN_COLLIDE"]; _vehicle_81 = _this; _this setDir 113.96686; _this setPos [8182.8892, 3151.7925, -2.2411346e-005]; _this = createVehicle ["MAP_Misc_Cargo1A", [8177.5103, 3154.1626, 4.9114227e-005], [], 0, "CAN_COLLIDE"]; _vehicle_82 = _this; _this setDir 113.69148; _this setPos [8177.5103, 3154.1626, 4.9114227e-005]; _this = createVehicle ["MAP_Misc_Cargo1A", [8187.7544, 3149.7231, 5.5789948e-005], [], 0, "CAN_COLLIDE"]; _vehicle_83 = _this; _this setDir -66.041161; _this setPos [8187.7544, 3149.7231, 5.5789948e-005]; _this = createVehicle ["MAP_Misc_Cargo1A", [8180.9482, 3129.9832, -2.6702881e-005], [], 0, "CAN_COLLIDE"]; _vehicle_84 = _this; _this setDir 24.967136; _this setPos [8180.9482, 3129.9832, -2.6702881e-005]; _this = createVehicle ["MAP_Misc_Cargo1A", [8185.834, 3140.7644, -5.7220459e-006], [], 0, "CAN_COLLIDE"]; _vehicle_85 = _this; _this setDir 23.719893; _this setPos [8185.834, 3140.7644, -5.7220459e-006]; _this = createVehicle ["MAP_Mil_Barracks_i", [8167.334, 3144.8535, 2.4318695e-005], [], 0, "CAN_COLLIDE"]; _vehicle_86 = _this; _this setDir 113.46117; _this setPos [8167.334, 3144.8535, 2.4318695e-005]; _this = createVehicle ["MAP_Misc_Cargo1A", [8188.1909, 3146.1167, 2.6702881e-005], [], 0, "CAN_COLLIDE"]; _vehicle_89 = _this; _this setDir 24.57288; _this setPos [8188.1909, 3146.1167, 2.6702881e-005]; _this = createVehicle ["MAP_Stan_east", [8182.8687, 3146.5701, -1.9073486e-006], [], 0, "CAN_COLLIDE"]; _vehicle_90 = _this; _this setDir 113.33015; _this setPos [8182.8687, 3146.5701, -1.9073486e-006]; _this = createVehicle ["MAP_Stan_east", [8179.9771, 3140.0623, 1.9073486e-005], [], 0, "CAN_COLLIDE"]; _vehicle_91 = _this; _this setDir 114.35054; _this setPos [8179.9771, 3140.0623, 1.9073486e-005]; _this = createVehicle ["MAP_Stan_east", [8176.895, 3133.4856, -2.1457672e-005], [], 0, "CAN_COLLIDE"]; _vehicle_92 = _this; _this setDir 114.45397; _this setPos [8176.895, 3133.4856, -2.1457672e-005]; _this = createVehicle ["Land_MBG_Shoothouse_1", [6568.9209, 14147.999, -0.018998343], [], 0, "CAN_COLLIDE"]; _vehicle_94 = _this; _this setPos [6568.9209, 14147.999, -0.018998343]; _this = createVehicle ["Land_MBG_Shoothouse_1", [6589.0186, 14163.82, 0.18911363], [], 0, "CAN_COLLIDE"]; _vehicle_95 = _this; _this setPos [6589.0186, 14163.82, 0.18911363]; _this = createVehicle ["Land_MBG_Shoothouse_1", [6556.6685, 14171.021, 0.59685522], [], 0, "CAN_COLLIDE"]; _vehicle_96 = _this; _this setDir 89.991463; _this setPos [6556.6685, 14171.021, 0.59685522]; _this = createVehicle ["Land_MBG_Shoothouse_1", [6579.6152, 14189.855, 0.65956563], [], 0, "CAN_COLLIDE"]; _vehicle_97 = _this; _this setPos [6579.6152, 14189.855, 0.65956563]; _this = createVehicle ["MBG_Cinderwall_5_InEditor", [6582.1172, 14176.028, 0.55095476], [], 0, "CAN_COLLIDE"]; _vehicle_98 = _this; _this setPos [6582.1172, 14176.028, 0.55095476]; _this = createVehicle ["Land_MBG_Shoothouse_1", [6548.9102, 14125.607, -0.55850452], [], 0, "CAN_COLLIDE"]; _vehicle_100 = _this; _this setDir 180.17879; _this setPos [6548.9102, 14125.607, -0.55850452]; _this = createVehicle ["MBG_Cinderwall_5_InEditor", [6546.6509, 14180.494, 0.36204943], [], 0, "CAN_COLLIDE"]; _vehicle_101 = _this; _this setPos [6546.6509, 14180.494, 0.36204943]; _this = createVehicle ["MBG_Cinderwall_5_InEditor", [6539.3354, 14121.696, -0.34124139], [], 0, "CAN_COLLIDE"]; _vehicle_102 = _this; _this setDir 90.159882; _this setPos [6539.3354, 14121.696, -0.34124139]; _this = createVehicle ["MBG_Cinderwall_5_InEditor", [6598.5874, 14168.513, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_103 = _this; _this setDir 89.904221; _this setPos [6598.5874, 14168.513, 6.1035156e-005]; _this = createVehicle ["MBG_Cinderwall_5_InEditor", [6611.4834, 14169.561, 9.1552734e-005], [], 0, "CAN_COLLIDE"]; _vehicle_104 = _this; _this setDir 89.769493; _this setPos [6611.4834, 14169.561, 9.1552734e-005]; _this = createVehicle ["Land_MBG_Shoothouse_1", [6602.4004, 14202.023, 0.63312674], [], 0, "CAN_COLLIDE"]; _vehicle_106 = _this; _this setDir -89.869751; _this setPos [6602.4004, 14202.023, 0.63312674]; _this = createVehicle ["Land_MBG_Shoothouse_1", [6621.0615, 14179.388, 0.16676113], [], 0, "CAN_COLLIDE"]; _vehicle_107 = _this; _this setDir 0.77605003; _this setPos [6621.0615, 14179.388, 0.16676113]; _this = createVehicle ["MBG_Cinderwall_5_InEditor", [6573.0967, 14202.017, 0.31949198], [], 0, "CAN_COLLIDE"]; _vehicle_109 = _this; _this setPos [6573.0967, 14202.017, 0.31949198]; _this = createVehicle ["MBG_Cinderwall_5_InEditor", [6598.2803, 14211.567, 0.58764577], [], 0, "CAN_COLLIDE"]; _vehicle_110 = _this; _this setDir 0.3868477; _this setPos [6598.2803, 14211.567, 0.58764577]; Number it yourself. Link to comment Share on other sites More sharing options...
PetuniaEpoch Posted May 5, 2014 Report Share Posted May 5, 2014 Hey Foamysworld, Nice :D Altho - using the file I added seems to work for me? I add that to an sqf file, the in the server_functions file I compile it and call it - seems to work fine? Here's what I added to his server pbo file (and called in the server_functions) if (isServer) then { _vehicle_2 = objNull; if (true) then { _this = createVehicle ["MAP_Mil_Barracks_i", [4630.978, 2545.8049, 9.5367432e-007], [], 0, "CAN_COLLIDE"]; _vehicle_2 = _this; _this setDir 41.110874; _this setPos [4630.978, 2545.8049, 9.5367432e-007]; }; _vehicle_3 = objNull; if (true) then { _this = createVehicle ["MAP_Mil_Barracks_i", [4637.3193, 2553.2908, -9.5367432e-007], [], 0, "CAN_COLLIDE"]; _vehicle_3 = _this; _this setDir 40.798927; _this setPos [4637.3193, 2553.2908, -9.5367432e-007]; }; _vehicle_4 = objNull; if (true) then { _this = createVehicle ["MAP_Mil_Barracks_i", [4631.9946, 2526.5972, 3.8146973e-006], [], 0, "CAN_COLLIDE"]; _vehicle_4 = _this; _this setDir -47.981148; _this setPos [4631.9946, 2526.5972, 3.8146973e-006]; }; _vehicle_5 = objNull; if (true) then { _this = createVehicle ["MAP_Mil_Barracks_i", [4639.1455, 2519.9397, -3.8146973e-006], [], 0, "CAN_COLLIDE"]; _vehicle_5 = _this; _this setDir -47.686169; _this setPos [4639.1455, 2519.9397, -3.8146973e-006]; }; _vehicle_10 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4629.6011, 2531.467, -5.7220459e-006], [], 0, "CAN_COLLIDE"]; _vehicle_10 = _this; _this setDir 133.49239; _this setPos [4629.6011, 2531.467, -5.7220459e-006]; }; _vehicle_11 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4629.123, 2516.0547, 9.5367432e-007], [], 0, "CAN_COLLIDE"]; _vehicle_11 = _this; _this setDir 41.356205; _this setPos [4629.123, 2516.0547, 9.5367432e-007]; }; _vehicle_12 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4625.2031, 2519.603, 2.2888184e-005], [], 0, "CAN_COLLIDE"]; _vehicle_12 = _this; _this setDir 42.439362; _this setPos [4625.2031, 2519.603, 2.2888184e-005]; }; _vehicle_13 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4632.4092, 2513.2437, 1.7166138e-005], [], 0, "CAN_COLLIDE"]; _vehicle_13 = _this; _this setDir 43.042461; _this setPos [4632.4092, 2513.2437, 1.7166138e-005]; }; _vehicle_15 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4636.1641, 2511.1113, 2.0027161e-005], [], 0, "CAN_COLLIDE"]; _vehicle_15 = _this; _this setDir -46.383846; _this setPos [4636.1641, 2511.1113, 2.0027161e-005]; }; _vehicle_16 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4639.9985, 2515.2161, -1.9073486e-006], [], 0, "CAN_COLLIDE"]; _vehicle_16 = _this; _this setDir -47.593098; _this setPos [4639.9985, 2515.2161, -1.9073486e-006]; }; _vehicle_17 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4643.7944, 2519.3369, 8.5830688e-006], [], 0, "CAN_COLLIDE"]; _vehicle_17 = _this; _this setDir -47.029457; _this setPos [4643.7944, 2519.3369, 8.5830688e-006]; }; _vehicle_18 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4646.3496, 2522.2214, 4.7683716e-006], [], 0, "CAN_COLLIDE"]; _vehicle_18 = _this; _this setDir -48.363853; _this setPos [4646.3496, 2522.2214, 4.7683716e-006]; }; _vehicle_19 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4622.249, 2522.2019, 6.6757202e-006], [], 0, "CAN_COLLIDE"]; _vehicle_19 = _this; _this setDir 41.922379; _this setPos [4622.249, 2522.2019, 6.6757202e-006]; }; _vehicle_20 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4624.3428, 2525.8884], [], 0, "CAN_COLLIDE"]; _vehicle_20 = _this; _this setDir 130.61446; _this setPos [4624.3428, 2525.8884]; }; _vehicle_22 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4625.9575, 2527.6191, -3.7193298e-005], [], 0, "CAN_COLLIDE"]; _vehicle_22 = _this; _this setDir 131.7065; _this setPos [4625.9575, 2527.6191, -3.7193298e-005]; }; _vehicle_23 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4630.2026, 2532.3025, 9.5367432e-007], [], 0, "CAN_COLLIDE"]; _vehicle_23 = _this; _this setDir -47.639908; _this setPos [4630.2026, 2532.3025, 9.5367432e-007]; }; _vehicle_24 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4630.6694, 2539.3232, 1.335144e-005], [], 0, "CAN_COLLIDE"]; _vehicle_24 = _this; _this setDir 41.682335; _this setPos [4630.6694, 2539.3232, 1.335144e-005]; }; _vehicle_25 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4620.3164, 2548.45, 7.6293945e-006], [], 0, "CAN_COLLIDE"]; _vehicle_25 = _this; _this setDir 40.39814; _this setPos [4620.3164, 2548.45, 7.6293945e-006]; }; _vehicle_26 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4627.1196, 2542.5078, 9.5367432e-007], [], 0, "CAN_COLLIDE"]; _vehicle_26 = _this; _this setDir 42.582886; _this setPos [4627.1196, 2542.5078, 9.5367432e-007]; }; _vehicle_27 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4622.7334, 2551.9875, 1.9073486e-005], [], 0, "CAN_COLLIDE"]; _vehicle_27 = _this; _this setDir 129.85599; _this setPos [4622.7334, 2551.9875, 1.9073486e-005]; }; _vehicle_28 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4623.1797, 2546.1238], [], 0, "CAN_COLLIDE"]; _vehicle_28 = _this; _this setDir 42.319439; _this setPos [4623.1797, 2546.1238]; }; _vehicle_29 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4623.2026, 2552.5435], [], 0, "CAN_COLLIDE"]; _vehicle_29 = _this; _this setDir -47.593784; _this setPos [4623.2026, 2552.5435]; }; _vehicle_30 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4629.7695, 2560.1909, 1.335144e-005], [], 0, "CAN_COLLIDE"]; _vehicle_30 = _this; _this setDir -46.900871; _this setPos [4629.7695, 2560.1909, 1.335144e-005]; }; _vehicle_31 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4629.4258, 2559.644, -4.7683716e-006], [], 0, "CAN_COLLIDE"]; _vehicle_31 = _this; _this setDir 128.25954; _this setPos [4629.4258, 2559.644, -4.7683716e-006]; }; _vehicle_32 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4633.8047, 2562.4824], [], 0, "CAN_COLLIDE"]; _vehicle_32 = _this; _this setDir 42.404865; _this setPos [4633.8047, 2562.4824]; }; _vehicle_33 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4637.856, 2558.8835, 1.9073486e-006], [], 0, "CAN_COLLIDE"]; _vehicle_33 = _this; _this setDir 41.612587; _this setPos [4637.856, 2558.8835, 1.9073486e-006]; }; _vehicle_34 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4641.8906, 2555.2737, 9.5367432e-006], [], 0, "CAN_COLLIDE"]; _vehicle_34 = _this; _this setDir 42.672382; _this setPos [4641.8906, 2555.2737, 9.5367432e-006]; }; _vehicle_35 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4644.9097, 2552.5891, -5.7220459e-006], [], 0, "CAN_COLLIDE"]; _vehicle_35 = _this; _this setDir 41.411564; _this setPos [4644.9097, 2552.5891, -5.7220459e-006]; }; _vehicle_36 = objNull; if (true) then { _this = createVehicle ["MAP_Fortress_02", [4650.0576, 2544.5908, 1.9073486e-006], [], 0, "CAN_COLLIDE"]; _vehicle_36 = _this; _this setDir -140.60161; _this setPos [4650.0576, 2544.5908, 1.9073486e-006]; }; _vehicle_42 = objNull; if (true) then { _this = createVehicle ["MAP_Hlidac_budka", [4652.2041, 2528.0376, -1.335144e-005], [], 0, "CAN_COLLIDE"]; _vehicle_42 = _this; _this setDir 132.2186; _this setPos [4652.2041, 2528.0376, -1.335144e-005]; }; _vehicle_44 = objNull; if (true) then { _this = createVehicle ["MAP_fort_bagfence_corner", [4661.9639, 2539.5525, -2.8610229e-006], [], 0, "CAN_COLLIDE"]; _vehicle_44 = _this; _this setDir -140.95042; _this setPos [4661.9639, 2539.5525, -2.8610229e-006]; }; _vehicle_45 = objNull; if (true) then { _this = createVehicle ["MAP_fort_bagfence_long", [4655.5938, 2545.281, -7.6293945e-006], [], 0, "CAN_COLLIDE"]; _vehicle_45 = _this; _this setDir 24.891474; _this setPos [4655.5938, 2545.281, -7.6293945e-006]; }; _vehicle_46 = objNull; if (true) then { _this = createVehicle ["MAP_fort_bagfence_long", [4657.7646, 2543.8953, 1.2397766e-005], [], 0, "CAN_COLLIDE"]; _vehicle_46 = _this; _this setDir 40.029469; _this setPos [4657.7646, 2543.8953, 1.2397766e-005]; }; _vehicle_47 = objNull; if (true) then { _this = createVehicle ["MAP_fort_bagfence_long", [4659.9888, 2541.9844, -1.1444092e-005], [], 0, "CAN_COLLIDE"]; _vehicle_47 = _this; _this setDir 41.890106; _this setPos [4659.9888, 2541.9844, -1.1444092e-005]; }; _vehicle_48 = objNull; if (true) then { _this = createVehicle ["MAP_fort_bagfence_long", [4658.9824, 2534.2109, 1.9073486e-006], [], 0, "CAN_COLLIDE"]; _vehicle_48 = _this; _this setDir -49.551083; _this setPos [4658.9824, 2534.2109, 1.9073486e-006]; }; _vehicle_49 = objNull; if (true) then { _this = createVehicle ["MAP_fort_bagfence_long", [4660.6045, 2536.1299, 2.0027161e-005], [], 0, "CAN_COLLIDE"]; _vehicle_49 = _this; _this setDir -49.89035; _this setPos [4660.6045, 2536.1299, 2.0027161e-005]; }; _vehicle_50 = objNull; if (true) then { _this = createVehicle ["MAP_Barbedwire", [4661.6616, 2537.6094, -1.4305115e-005], [], 0, "CAN_COLLIDE"]; _vehicle_50 = _this; _this setDir -49.687786; _this setPos [4661.6616, 2537.6094, -1.4305115e-005]; }; _vehicle_51 = objNull; if (true) then { _this = createVehicle ["MAP_Barbedwire", [4659.8398, 2535.447, -1.8119812e-005], [], 0, "CAN_COLLIDE"]; _vehicle_51 = _this; _this setDir -50.980148; _this setPos [4659.8398, 2535.447, -1.8119812e-005]; }; _vehicle_52 = objNull; if (true) then { _this = createVehicle ["MAP_Barbedwire", [4661.7134, 2540.4543, 1.335144e-005], [], 0, "CAN_COLLIDE"]; _vehicle_52 = _this; _this setDir 41.009865; _this setPos [4661.7134, 2540.4543, 1.335144e-005]; }; _vehicle_53 = objNull; if (true) then { _this = createVehicle ["MAP_Barbedwire", [4659.2905, 2542.7207, 2.3841858e-005], [], 0, "CAN_COLLIDE"]; _vehicle_53 = _this; _this setDir 37.848091; _this setPos [4659.2905, 2542.7207, 2.3841858e-005]; }; _vehicle_54 = objNull; if (true) then { _this = createVehicle ["MAP_Barbedwire", [4657.022, 2544.2822, -6.6757202e-006], [], 0, "CAN_COLLIDE"]; _vehicle_54 = _this; _this setDir 31.892984; _this setPos [4657.022, 2544.2822, -6.6757202e-006]; }; _vehicle_57 = objNull; if (true) then { _this = createVehicle ["MBG_Police_Station_EU", [4830.7393, 2577.582], [], 0, "CAN_COLLIDE"]; _vehicle_57 = _this; _this setDir -60.87299; _this setPos [4830.7393, 2577.582]; }; _vehicle_59 = objNull; if (true) then { _this = createVehicle ["MAP_A_GeneralStore_01", [1862.1089, 2172.479, 2.8610229e-006], [], 0, "CAN_COLLIDE"]; _vehicle_59 = _this; _this setDir -14.93964; _this setPos [1862.1089, 2172.479, 2.8610229e-006]; }; _vehicle_60 = objNull; if (true) then { _this = createVehicle ["MAP_A_Office01", [1799.6304, 2129.0381, 1.7166138e-005], [], 0, "CAN_COLLIDE"]; _vehicle_60 = _this; _this setDir -14.700363; _this setPos [1799.6304, 2129.0381, 1.7166138e-005]; }; _vehicle_61 = objNull; if (true) then { _this = createVehicle ["MAP_Mil_Barracks_i", [1775.3047, 2123.7915, 1.6689301e-005], [], 0, "CAN_COLLIDE"]; _vehicle_61 = _this; _this setDir 75.397995; _this setPos [1775.3047, 2123.7915, 1.6689301e-005]; }; _vehicle_70 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8157.502, 3134.3801, -1.4305115e-006], [], 0, "CAN_COLLIDE"]; _vehicle_70 = _this; _this setDir 24.730215; _this setPos [8157.502, 3134.3801, -1.4305115e-006]; }; _vehicle_71 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8159.9771, 3139.7375, -3.1471252e-005], [], 0, "CAN_COLLIDE"]; _vehicle_71 = _this; _this setDir 24.189337; _this setPos [8159.9771, 3139.7375, -3.1471252e-005]; }; _vehicle_72 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8164.8877, 3150.7278, -4.6730042e-005], [], 0, "CAN_COLLIDE"]; _vehicle_72 = _this; _this setDir 24.195263; _this setPos [8164.8877, 3150.7278, -4.6730042e-005]; }; _vehicle_73 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8162.3989, 3145.2444, -1.8596649e-005], [], 0, "CAN_COLLIDE"]; _vehicle_73 = _this; _this setDir 24.238379; _this setPos [8162.3989, 3145.2444, -1.8596649e-005]; }; _vehicle_74 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8168.1553, 3129.6716, -3.8146973e-006], [], 0, "CAN_COLLIDE"]; _vehicle_74 = _this; _this setDir 114.44846; _this setPos [8168.1553, 3129.6716, -3.8146973e-006]; }; _vehicle_75 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8162.6318, 3132.1519, 1.3828278e-005], [], 0, "CAN_COLLIDE"]; _vehicle_75 = _this; _this setDir 114.79353; _this setPos [8162.6318, 3132.1519, 1.3828278e-005]; }; _vehicle_76 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8173.5601, 3127.22, -8.5830688e-006], [], 0, "CAN_COLLIDE"]; _vehicle_76 = _this; _this setDir -64.756554; _this setPos [8173.5601, 3127.22, -8.5830688e-006]; }; _vehicle_77 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8178.4199, 3124.6563, 2.3841858e-005], [], 0, "CAN_COLLIDE"]; _vehicle_77 = _this; _this setDir 25.231432; _this setPos [8178.4199, 3124.6563, 2.3841858e-005]; }; _vehicle_78 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8172.0488, 3156.6208, 3.9577484e-005], [], 0, "CAN_COLLIDE"]; _vehicle_78 = _this; _this setDir 113.43507; _this setPos [8172.0488, 3156.6208, 3.9577484e-005]; }; _vehicle_79 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8167.3716, 3156.2061, -1.001358e-005], [], 0, "CAN_COLLIDE"]; _vehicle_79 = _this; _this setDir 24.276375; _this setPos [8167.3716, 3156.2061, -1.001358e-005]; }; _vehicle_80 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8183.3628, 3135.3655, -2.3841858e-006], [], 0, "CAN_COLLIDE"]; _vehicle_80 = _this; _this setDir 24.337599; _this setPos [8183.3628, 3135.3655, -2.3841858e-006]; }; _vehicle_81 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8182.8892, 3151.7925, -2.2411346e-005], [], 0, "CAN_COLLIDE"]; _vehicle_81 = _this; _this setDir 113.96686; _this setPos [8182.8892, 3151.7925, -2.2411346e-005]; }; _vehicle_82 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8177.5103, 3154.1626, 4.9114227e-005], [], 0, "CAN_COLLIDE"]; _vehicle_82 = _this; _this setDir 113.69148; _this setPos [8177.5103, 3154.1626, 4.9114227e-005]; }; _vehicle_83 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8187.7544, 3149.7231, 5.5789948e-005], [], 0, "CAN_COLLIDE"]; _vehicle_83 = _this; _this setDir -66.041161; _this setPos [8187.7544, 3149.7231, 5.5789948e-005]; }; _vehicle_84 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8180.9482, 3129.9832, -2.6702881e-005], [], 0, "CAN_COLLIDE"]; _vehicle_84 = _this; _this setDir 24.967136; _this setPos [8180.9482, 3129.9832, -2.6702881e-005]; }; _vehicle_85 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8185.834, 3140.7644, -5.7220459e-006], [], 0, "CAN_COLLIDE"]; _vehicle_85 = _this; _this setDir 23.719893; _this setPos [8185.834, 3140.7644, -5.7220459e-006]; }; _vehicle_86 = objNull; if (true) then { _this = createVehicle ["MAP_Mil_Barracks_i", [8167.334, 3144.8535, 2.4318695e-005], [], 0, "CAN_COLLIDE"]; _vehicle_86 = _this; _this setDir 113.46117; _this setPos [8167.334, 3144.8535, 2.4318695e-005]; }; _vehicle_89 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8188.1909, 3146.1167, 2.6702881e-005], [], 0, "CAN_COLLIDE"]; _vehicle_89 = _this; _this setDir 24.57288; _this setPos [8188.1909, 3146.1167, 2.6702881e-005]; }; _vehicle_90 = objNull; if (true) then { _this = createVehicle ["MAP_Stan_east", [8182.8687, 3146.5701, -1.9073486e-006], [], 0, "CAN_COLLIDE"]; _vehicle_90 = _this; _this setDir 113.33015; _this setPos [8182.8687, 3146.5701, -1.9073486e-006]; }; _vehicle_91 = objNull; if (true) then { _this = createVehicle ["MAP_Stan_east", [8179.9771, 3140.0623, 1.9073486e-005], [], 0, "CAN_COLLIDE"]; _vehicle_91 = _this; _this setDir 114.35054; _this setPos [8179.9771, 3140.0623, 1.9073486e-005]; }; _vehicle_92 = objNull; if (true) then { _this = createVehicle ["MAP_Stan_east", [8176.895, 3133.4856, -2.1457672e-005], [], 0, "CAN_COLLIDE"]; _vehicle_92 = _this; _this setDir 114.45397; _this setPos [8176.895, 3133.4856, -2.1457672e-005]; }; _vehicle_94 = objNull; if (true) then { _this = createVehicle ["Land_MBG_Shoothouse_1", [6568.9209, 14147.999, -0.018998343], [], 0, "CAN_COLLIDE"]; _vehicle_94 = _this; _this setPos [6568.9209, 14147.999, -0.018998343]; }; _vehicle_95 = objNull; if (true) then { _this = createVehicle ["Land_MBG_Shoothouse_1", [6589.0186, 14163.82, 0.18911363], [], 0, "CAN_COLLIDE"]; _vehicle_95 = _this; _this setPos [6589.0186, 14163.82, 0.18911363]; }; _vehicle_96 = objNull; if (true) then { _this = createVehicle ["Land_MBG_Shoothouse_1", [6556.6685, 14171.021, 0.59685522], [], 0, "CAN_COLLIDE"]; _vehicle_96 = _this; _this setDir 89.991463; _this setPos [6556.6685, 14171.021, 0.59685522]; }; _vehicle_97 = objNull; if (true) then { _this = createVehicle ["Land_MBG_Shoothouse_1", [6579.6152, 14189.855, 0.65956563], [], 0, "CAN_COLLIDE"]; _vehicle_97 = _this; _this setPos [6579.6152, 14189.855, 0.65956563]; }; _vehicle_98 = objNull; if (true) then { _this = createVehicle ["MBG_Cinderwall_5_InEditor", [6582.1172, 14176.028, 0.55095476], [], 0, "CAN_COLLIDE"]; _vehicle_98 = _this; _this setPos [6582.1172, 14176.028, 0.55095476]; }; _vehicle_100 = objNull; if (true) then { _this = createVehicle ["Land_MBG_Shoothouse_1", [6548.9102, 14125.607, -0.55850452], [], 0, "CAN_COLLIDE"]; _vehicle_100 = _this; _this setDir 180.17879; _this setPos [6548.9102, 14125.607, -0.55850452]; }; _vehicle_101 = objNull; if (true) then { _this = createVehicle ["MBG_Cinderwall_5_InEditor", [6546.6509, 14180.494, 0.36204943], [], 0, "CAN_COLLIDE"]; _vehicle_101 = _this; _this setPos [6546.6509, 14180.494, 0.36204943]; }; _vehicle_102 = objNull; if (true) then { _this = createVehicle ["MBG_Cinderwall_5_InEditor", [6539.3354, 14121.696, -0.34124139], [], 0, "CAN_COLLIDE"]; _vehicle_102 = _this; _this setDir 90.159882; _this setPos [6539.3354, 14121.696, -0.34124139]; }; _vehicle_103 = objNull; if (true) then { _this = createVehicle ["MBG_Cinderwall_5_InEditor", [6598.5874, 14168.513, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_103 = _this; _this setDir 89.904221; _this setPos [6598.5874, 14168.513, 6.1035156e-005]; }; _vehicle_104 = objNull; if (true) then { _this = createVehicle ["MBG_Cinderwall_5_InEditor", [6611.4834, 14169.561, 9.1552734e-005], [], 0, "CAN_COLLIDE"]; _vehicle_104 = _this; _this setDir 89.769493; _this setPos [6611.4834, 14169.561, 9.1552734e-005]; }; _vehicle_106 = objNull; if (true) then { _this = createVehicle ["Land_MBG_Shoothouse_1", [6602.4004, 14202.023, 0.63312674], [], 0, "CAN_COLLIDE"]; _vehicle_106 = _this; _this setDir -89.869751; _this setPos [6602.4004, 14202.023, 0.63312674]; }; _vehicle_107 = objNull; if (true) then { _this = createVehicle ["Land_MBG_Shoothouse_1", [6621.0615, 14179.388, 0.16676113], [], 0, "CAN_COLLIDE"]; _vehicle_107 = _this; _this setDir 0.77605003; _this setPos [6621.0615, 14179.388, 0.16676113]; }; _vehicle_109 = objNull; if (true) then { _this = createVehicle ["MBG_Cinderwall_5_InEditor", [6573.0967, 14202.017, 0.31949198], [], 0, "CAN_COLLIDE"]; _vehicle_109 = _this; _this setPos [6573.0967, 14202.017, 0.31949198]; }; _vehicle_110 = objNull; if (true) then { _this = createVehicle ["MBG_Cinderwall_5_InEditor", [6598.2803, 14211.567, 0.58764577], [], 0, "CAN_COLLIDE"]; _vehicle_110 = _this; _this setDir 0.3868477; _this setPos [6598.2803, 14211.567, 0.58764577]; }; }; Seems to work file for me? Although I've just spotted the '_InEditor' in the classname, which I'm not 100% about, would have to check! Link to comment Share on other sites More sharing options...
Fully Posted May 6, 2014 Report Share Posted May 6, 2014 FYI: MAP_Mil_Barracks_i does not spawn loot or zombies. change Barracks to Land_Mil_Barracks_i will spawn loot/zombies now. Someothers Firestation Land_a_stationhouse Store Land_A_GeneralStore_01 Hospital Land_A_Hospital Office building (School) Land_A_Office01 Industrial Land_A_BuildingWIP Enjoy =) Link to comment Share on other sites More sharing options...
FoamysWorld Posted May 6, 2014 Report Share Posted May 6, 2014 Hey Foamysworld, Nice :D Altho - using the file I added seems to work for me? I add that to an sqf file, the in the server_functions file I compile it and call it - seems to work fine? Here's what I added to his server pbo file (and called in the server_functions) if (isServer) then { _vehicle_2 = objNull; if (true) then { _this = createVehicle ["MAP_Mil_Barracks_i", [4630.978, 2545.8049, 9.5367432e-007], [], 0, "CAN_COLLIDE"]; _vehicle_2 = _this; _this setDir 41.110874; _this setPos [4630.978, 2545.8049, 9.5367432e-007]; }; _vehicle_3 = objNull; if (true) then { _this = createVehicle ["MAP_Mil_Barracks_i", [4637.3193, 2553.2908, -9.5367432e-007], [], 0, "CAN_COLLIDE"]; _vehicle_3 = _this; _this setDir 40.798927; _this setPos [4637.3193, 2553.2908, -9.5367432e-007]; }; _vehicle_4 = objNull; if (true) then { _this = createVehicle ["MAP_Mil_Barracks_i", [4631.9946, 2526.5972, 3.8146973e-006], [], 0, "CAN_COLLIDE"]; _vehicle_4 = _this; _this setDir -47.981148; _this setPos [4631.9946, 2526.5972, 3.8146973e-006]; }; _vehicle_5 = objNull; if (true) then { _this = createVehicle ["MAP_Mil_Barracks_i", [4639.1455, 2519.9397, -3.8146973e-006], [], 0, "CAN_COLLIDE"]; _vehicle_5 = _this; _this setDir -47.686169; _this setPos [4639.1455, 2519.9397, -3.8146973e-006]; }; _vehicle_10 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4629.6011, 2531.467, -5.7220459e-006], [], 0, "CAN_COLLIDE"]; _vehicle_10 = _this; _this setDir 133.49239; _this setPos [4629.6011, 2531.467, -5.7220459e-006]; }; _vehicle_11 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4629.123, 2516.0547, 9.5367432e-007], [], 0, "CAN_COLLIDE"]; _vehicle_11 = _this; _this setDir 41.356205; _this setPos [4629.123, 2516.0547, 9.5367432e-007]; }; _vehicle_12 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4625.2031, 2519.603, 2.2888184e-005], [], 0, "CAN_COLLIDE"]; _vehicle_12 = _this; _this setDir 42.439362; _this setPos [4625.2031, 2519.603, 2.2888184e-005]; }; _vehicle_13 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4632.4092, 2513.2437, 1.7166138e-005], [], 0, "CAN_COLLIDE"]; _vehicle_13 = _this; _this setDir 43.042461; _this setPos [4632.4092, 2513.2437, 1.7166138e-005]; }; _vehicle_15 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4636.1641, 2511.1113, 2.0027161e-005], [], 0, "CAN_COLLIDE"]; _vehicle_15 = _this; _this setDir -46.383846; _this setPos [4636.1641, 2511.1113, 2.0027161e-005]; }; _vehicle_16 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4639.9985, 2515.2161, -1.9073486e-006], [], 0, "CAN_COLLIDE"]; _vehicle_16 = _this; _this setDir -47.593098; _this setPos [4639.9985, 2515.2161, -1.9073486e-006]; }; _vehicle_17 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4643.7944, 2519.3369, 8.5830688e-006], [], 0, "CAN_COLLIDE"]; _vehicle_17 = _this; _this setDir -47.029457; _this setPos [4643.7944, 2519.3369, 8.5830688e-006]; }; _vehicle_18 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4646.3496, 2522.2214, 4.7683716e-006], [], 0, "CAN_COLLIDE"]; _vehicle_18 = _this; _this setDir -48.363853; _this setPos [4646.3496, 2522.2214, 4.7683716e-006]; }; _vehicle_19 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4622.249, 2522.2019, 6.6757202e-006], [], 0, "CAN_COLLIDE"]; _vehicle_19 = _this; _this setDir 41.922379; _this setPos [4622.249, 2522.2019, 6.6757202e-006]; }; _vehicle_20 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4624.3428, 2525.8884], [], 0, "CAN_COLLIDE"]; _vehicle_20 = _this; _this setDir 130.61446; _this setPos [4624.3428, 2525.8884]; }; _vehicle_22 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4625.9575, 2527.6191, -3.7193298e-005], [], 0, "CAN_COLLIDE"]; _vehicle_22 = _this; _this setDir 131.7065; _this setPos [4625.9575, 2527.6191, -3.7193298e-005]; }; _vehicle_23 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4630.2026, 2532.3025, 9.5367432e-007], [], 0, "CAN_COLLIDE"]; _vehicle_23 = _this; _this setDir -47.639908; _this setPos [4630.2026, 2532.3025, 9.5367432e-007]; }; _vehicle_24 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4630.6694, 2539.3232, 1.335144e-005], [], 0, "CAN_COLLIDE"]; _vehicle_24 = _this; _this setDir 41.682335; _this setPos [4630.6694, 2539.3232, 1.335144e-005]; }; _vehicle_25 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4620.3164, 2548.45, 7.6293945e-006], [], 0, "CAN_COLLIDE"]; _vehicle_25 = _this; _this setDir 40.39814; _this setPos [4620.3164, 2548.45, 7.6293945e-006]; }; _vehicle_26 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4627.1196, 2542.5078, 9.5367432e-007], [], 0, "CAN_COLLIDE"]; _vehicle_26 = _this; _this setDir 42.582886; _this setPos [4627.1196, 2542.5078, 9.5367432e-007]; }; _vehicle_27 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4622.7334, 2551.9875, 1.9073486e-005], [], 0, "CAN_COLLIDE"]; _vehicle_27 = _this; _this setDir 129.85599; _this setPos [4622.7334, 2551.9875, 1.9073486e-005]; }; _vehicle_28 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4623.1797, 2546.1238], [], 0, "CAN_COLLIDE"]; _vehicle_28 = _this; _this setDir 42.319439; _this setPos [4623.1797, 2546.1238]; }; _vehicle_29 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4623.2026, 2552.5435], [], 0, "CAN_COLLIDE"]; _vehicle_29 = _this; _this setDir -47.593784; _this setPos [4623.2026, 2552.5435]; }; _vehicle_30 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4629.7695, 2560.1909, 1.335144e-005], [], 0, "CAN_COLLIDE"]; _vehicle_30 = _this; _this setDir -46.900871; _this setPos [4629.7695, 2560.1909, 1.335144e-005]; }; _vehicle_31 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4629.4258, 2559.644, -4.7683716e-006], [], 0, "CAN_COLLIDE"]; _vehicle_31 = _this; _this setDir 128.25954; _this setPos [4629.4258, 2559.644, -4.7683716e-006]; }; _vehicle_32 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4633.8047, 2562.4824], [], 0, "CAN_COLLIDE"]; _vehicle_32 = _this; _this setDir 42.404865; _this setPos [4633.8047, 2562.4824]; }; _vehicle_33 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4637.856, 2558.8835, 1.9073486e-006], [], 0, "CAN_COLLIDE"]; _vehicle_33 = _this; _this setDir 41.612587; _this setPos [4637.856, 2558.8835, 1.9073486e-006]; }; _vehicle_34 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4641.8906, 2555.2737, 9.5367432e-006], [], 0, "CAN_COLLIDE"]; _vehicle_34 = _this; _this setDir 42.672382; _this setPos [4641.8906, 2555.2737, 9.5367432e-006]; }; _vehicle_35 = objNull; if (true) then { _this = createVehicle ["MAP_HBarrier5", [4644.9097, 2552.5891, -5.7220459e-006], [], 0, "CAN_COLLIDE"]; _vehicle_35 = _this; _this setDir 41.411564; _this setPos [4644.9097, 2552.5891, -5.7220459e-006]; }; _vehicle_36 = objNull; if (true) then { _this = createVehicle ["MAP_Fortress_02", [4650.0576, 2544.5908, 1.9073486e-006], [], 0, "CAN_COLLIDE"]; _vehicle_36 = _this; _this setDir -140.60161; _this setPos [4650.0576, 2544.5908, 1.9073486e-006]; }; _vehicle_42 = objNull; if (true) then { _this = createVehicle ["MAP_Hlidac_budka", [4652.2041, 2528.0376, -1.335144e-005], [], 0, "CAN_COLLIDE"]; _vehicle_42 = _this; _this setDir 132.2186; _this setPos [4652.2041, 2528.0376, -1.335144e-005]; }; _vehicle_44 = objNull; if (true) then { _this = createVehicle ["MAP_fort_bagfence_corner", [4661.9639, 2539.5525, -2.8610229e-006], [], 0, "CAN_COLLIDE"]; _vehicle_44 = _this; _this setDir -140.95042; _this setPos [4661.9639, 2539.5525, -2.8610229e-006]; }; _vehicle_45 = objNull; if (true) then { _this = createVehicle ["MAP_fort_bagfence_long", [4655.5938, 2545.281, -7.6293945e-006], [], 0, "CAN_COLLIDE"]; _vehicle_45 = _this; _this setDir 24.891474; _this setPos [4655.5938, 2545.281, -7.6293945e-006]; }; _vehicle_46 = objNull; if (true) then { _this = createVehicle ["MAP_fort_bagfence_long", [4657.7646, 2543.8953, 1.2397766e-005], [], 0, "CAN_COLLIDE"]; _vehicle_46 = _this; _this setDir 40.029469; _this setPos [4657.7646, 2543.8953, 1.2397766e-005]; }; _vehicle_47 = objNull; if (true) then { _this = createVehicle ["MAP_fort_bagfence_long", [4659.9888, 2541.9844, -1.1444092e-005], [], 0, "CAN_COLLIDE"]; _vehicle_47 = _this; _this setDir 41.890106; _this setPos [4659.9888, 2541.9844, -1.1444092e-005]; }; _vehicle_48 = objNull; if (true) then { _this = createVehicle ["MAP_fort_bagfence_long", [4658.9824, 2534.2109, 1.9073486e-006], [], 0, "CAN_COLLIDE"]; _vehicle_48 = _this; _this setDir -49.551083; _this setPos [4658.9824, 2534.2109, 1.9073486e-006]; }; _vehicle_49 = objNull; if (true) then { _this = createVehicle ["MAP_fort_bagfence_long", [4660.6045, 2536.1299, 2.0027161e-005], [], 0, "CAN_COLLIDE"]; _vehicle_49 = _this; _this setDir -49.89035; _this setPos [4660.6045, 2536.1299, 2.0027161e-005]; }; _vehicle_50 = objNull; if (true) then { _this = createVehicle ["MAP_Barbedwire", [4661.6616, 2537.6094, -1.4305115e-005], [], 0, "CAN_COLLIDE"]; _vehicle_50 = _this; _this setDir -49.687786; _this setPos [4661.6616, 2537.6094, -1.4305115e-005]; }; _vehicle_51 = objNull; if (true) then { _this = createVehicle ["MAP_Barbedwire", [4659.8398, 2535.447, -1.8119812e-005], [], 0, "CAN_COLLIDE"]; _vehicle_51 = _this; _this setDir -50.980148; _this setPos [4659.8398, 2535.447, -1.8119812e-005]; }; _vehicle_52 = objNull; if (true) then { _this = createVehicle ["MAP_Barbedwire", [4661.7134, 2540.4543, 1.335144e-005], [], 0, "CAN_COLLIDE"]; _vehicle_52 = _this; _this setDir 41.009865; _this setPos [4661.7134, 2540.4543, 1.335144e-005]; }; _vehicle_53 = objNull; if (true) then { _this = createVehicle ["MAP_Barbedwire", [4659.2905, 2542.7207, 2.3841858e-005], [], 0, "CAN_COLLIDE"]; _vehicle_53 = _this; _this setDir 37.848091; _this setPos [4659.2905, 2542.7207, 2.3841858e-005]; }; _vehicle_54 = objNull; if (true) then { _this = createVehicle ["MAP_Barbedwire", [4657.022, 2544.2822, -6.6757202e-006], [], 0, "CAN_COLLIDE"]; _vehicle_54 = _this; _this setDir 31.892984; _this setPos [4657.022, 2544.2822, -6.6757202e-006]; }; _vehicle_57 = objNull; if (true) then { _this = createVehicle ["MBG_Police_Station_EU", [4830.7393, 2577.582], [], 0, "CAN_COLLIDE"]; _vehicle_57 = _this; _this setDir -60.87299; _this setPos [4830.7393, 2577.582]; }; _vehicle_59 = objNull; if (true) then { _this = createVehicle ["MAP_A_GeneralStore_01", [1862.1089, 2172.479, 2.8610229e-006], [], 0, "CAN_COLLIDE"]; _vehicle_59 = _this; _this setDir -14.93964; _this setPos [1862.1089, 2172.479, 2.8610229e-006]; }; _vehicle_60 = objNull; if (true) then { _this = createVehicle ["MAP_A_Office01", [1799.6304, 2129.0381, 1.7166138e-005], [], 0, "CAN_COLLIDE"]; _vehicle_60 = _this; _this setDir -14.700363; _this setPos [1799.6304, 2129.0381, 1.7166138e-005]; }; _vehicle_61 = objNull; if (true) then { _this = createVehicle ["MAP_Mil_Barracks_i", [1775.3047, 2123.7915, 1.6689301e-005], [], 0, "CAN_COLLIDE"]; _vehicle_61 = _this; _this setDir 75.397995; _this setPos [1775.3047, 2123.7915, 1.6689301e-005]; }; _vehicle_70 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8157.502, 3134.3801, -1.4305115e-006], [], 0, "CAN_COLLIDE"]; _vehicle_70 = _this; _this setDir 24.730215; _this setPos [8157.502, 3134.3801, -1.4305115e-006]; }; _vehicle_71 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8159.9771, 3139.7375, -3.1471252e-005], [], 0, "CAN_COLLIDE"]; _vehicle_71 = _this; _this setDir 24.189337; _this setPos [8159.9771, 3139.7375, -3.1471252e-005]; }; _vehicle_72 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8164.8877, 3150.7278, -4.6730042e-005], [], 0, "CAN_COLLIDE"]; _vehicle_72 = _this; _this setDir 24.195263; _this setPos [8164.8877, 3150.7278, -4.6730042e-005]; }; _vehicle_73 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8162.3989, 3145.2444, -1.8596649e-005], [], 0, "CAN_COLLIDE"]; _vehicle_73 = _this; _this setDir 24.238379; _this setPos [8162.3989, 3145.2444, -1.8596649e-005]; }; _vehicle_74 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8168.1553, 3129.6716, -3.8146973e-006], [], 0, "CAN_COLLIDE"]; _vehicle_74 = _this; _this setDir 114.44846; _this setPos [8168.1553, 3129.6716, -3.8146973e-006]; }; _vehicle_75 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8162.6318, 3132.1519, 1.3828278e-005], [], 0, "CAN_COLLIDE"]; _vehicle_75 = _this; _this setDir 114.79353; _this setPos [8162.6318, 3132.1519, 1.3828278e-005]; }; _vehicle_76 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8173.5601, 3127.22, -8.5830688e-006], [], 0, "CAN_COLLIDE"]; _vehicle_76 = _this; _this setDir -64.756554; _this setPos [8173.5601, 3127.22, -8.5830688e-006]; }; _vehicle_77 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8178.4199, 3124.6563, 2.3841858e-005], [], 0, "CAN_COLLIDE"]; _vehicle_77 = _this; _this setDir 25.231432; _this setPos [8178.4199, 3124.6563, 2.3841858e-005]; }; _vehicle_78 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8172.0488, 3156.6208, 3.9577484e-005], [], 0, "CAN_COLLIDE"]; _vehicle_78 = _this; _this setDir 113.43507; _this setPos [8172.0488, 3156.6208, 3.9577484e-005]; }; _vehicle_79 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8167.3716, 3156.2061, -1.001358e-005], [], 0, "CAN_COLLIDE"]; _vehicle_79 = _this; _this setDir 24.276375; _this setPos [8167.3716, 3156.2061, -1.001358e-005]; }; _vehicle_80 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8183.3628, 3135.3655, -2.3841858e-006], [], 0, "CAN_COLLIDE"]; _vehicle_80 = _this; _this setDir 24.337599; _this setPos [8183.3628, 3135.3655, -2.3841858e-006]; }; _vehicle_81 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8182.8892, 3151.7925, -2.2411346e-005], [], 0, "CAN_COLLIDE"]; _vehicle_81 = _this; _this setDir 113.96686; _this setPos [8182.8892, 3151.7925, -2.2411346e-005]; }; _vehicle_82 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8177.5103, 3154.1626, 4.9114227e-005], [], 0, "CAN_COLLIDE"]; _vehicle_82 = _this; _this setDir 113.69148; _this setPos [8177.5103, 3154.1626, 4.9114227e-005]; }; _vehicle_83 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8187.7544, 3149.7231, 5.5789948e-005], [], 0, "CAN_COLLIDE"]; _vehicle_83 = _this; _this setDir -66.041161; _this setPos [8187.7544, 3149.7231, 5.5789948e-005]; }; _vehicle_84 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8180.9482, 3129.9832, -2.6702881e-005], [], 0, "CAN_COLLIDE"]; _vehicle_84 = _this; _this setDir 24.967136; _this setPos [8180.9482, 3129.9832, -2.6702881e-005]; }; _vehicle_85 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8185.834, 3140.7644, -5.7220459e-006], [], 0, "CAN_COLLIDE"]; _vehicle_85 = _this; _this setDir 23.719893; _this setPos [8185.834, 3140.7644, -5.7220459e-006]; }; _vehicle_86 = objNull; if (true) then { _this = createVehicle ["MAP_Mil_Barracks_i", [8167.334, 3144.8535, 2.4318695e-005], [], 0, "CAN_COLLIDE"]; _vehicle_86 = _this; _this setDir 113.46117; _this setPos [8167.334, 3144.8535, 2.4318695e-005]; }; _vehicle_89 = objNull; if (true) then { _this = createVehicle ["MAP_Misc_Cargo1A", [8188.1909, 3146.1167, 2.6702881e-005], [], 0, "CAN_COLLIDE"]; _vehicle_89 = _this; _this setDir 24.57288; _this setPos [8188.1909, 3146.1167, 2.6702881e-005]; }; _vehicle_90 = objNull; if (true) then { _this = createVehicle ["MAP_Stan_east", [8182.8687, 3146.5701, -1.9073486e-006], [], 0, "CAN_COLLIDE"]; _vehicle_90 = _this; _this setDir 113.33015; _this setPos [8182.8687, 3146.5701, -1.9073486e-006]; }; _vehicle_91 = objNull; if (true) then { _this = createVehicle ["MAP_Stan_east", [8179.9771, 3140.0623, 1.9073486e-005], [], 0, "CAN_COLLIDE"]; _vehicle_91 = _this; _this setDir 114.35054; _this setPos [8179.9771, 3140.0623, 1.9073486e-005]; }; _vehicle_92 = objNull; if (true) then { _this = createVehicle ["MAP_Stan_east", [8176.895, 3133.4856, -2.1457672e-005], [], 0, "CAN_COLLIDE"]; _vehicle_92 = _this; _this setDir 114.45397; _this setPos [8176.895, 3133.4856, -2.1457672e-005]; }; _vehicle_94 = objNull; if (true) then { _this = createVehicle ["Land_MBG_Shoothouse_1", [6568.9209, 14147.999, -0.018998343], [], 0, "CAN_COLLIDE"]; _vehicle_94 = _this; _this setPos [6568.9209, 14147.999, -0.018998343]; }; _vehicle_95 = objNull; if (true) then { _this = createVehicle ["Land_MBG_Shoothouse_1", [6589.0186, 14163.82, 0.18911363], [], 0, "CAN_COLLIDE"]; _vehicle_95 = _this; _this setPos [6589.0186, 14163.82, 0.18911363]; }; _vehicle_96 = objNull; if (true) then { _this = createVehicle ["Land_MBG_Shoothouse_1", [6556.6685, 14171.021, 0.59685522], [], 0, "CAN_COLLIDE"]; _vehicle_96 = _this; _this setDir 89.991463; _this setPos [6556.6685, 14171.021, 0.59685522]; }; _vehicle_97 = objNull; if (true) then { _this = createVehicle ["Land_MBG_Shoothouse_1", [6579.6152, 14189.855, 0.65956563], [], 0, "CAN_COLLIDE"]; _vehicle_97 = _this; _this setPos [6579.6152, 14189.855, 0.65956563]; }; _vehicle_98 = objNull; if (true) then { _this = createVehicle ["MBG_Cinderwall_5_InEditor", [6582.1172, 14176.028, 0.55095476], [], 0, "CAN_COLLIDE"]; _vehicle_98 = _this; _this setPos [6582.1172, 14176.028, 0.55095476]; }; _vehicle_100 = objNull; if (true) then { _this = createVehicle ["Land_MBG_Shoothouse_1", [6548.9102, 14125.607, -0.55850452], [], 0, "CAN_COLLIDE"]; _vehicle_100 = _this; _this setDir 180.17879; _this setPos [6548.9102, 14125.607, -0.55850452]; }; _vehicle_101 = objNull; if (true) then { _this = createVehicle ["MBG_Cinderwall_5_InEditor", [6546.6509, 14180.494, 0.36204943], [], 0, "CAN_COLLIDE"]; _vehicle_101 = _this; _this setPos [6546.6509, 14180.494, 0.36204943]; }; _vehicle_102 = objNull; if (true) then { _this = createVehicle ["MBG_Cinderwall_5_InEditor", [6539.3354, 14121.696, -0.34124139], [], 0, "CAN_COLLIDE"]; _vehicle_102 = _this; _this setDir 90.159882; _this setPos [6539.3354, 14121.696, -0.34124139]; }; _vehicle_103 = objNull; if (true) then { _this = createVehicle ["MBG_Cinderwall_5_InEditor", [6598.5874, 14168.513, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_103 = _this; _this setDir 89.904221; _this setPos [6598.5874, 14168.513, 6.1035156e-005]; }; _vehicle_104 = objNull; if (true) then { _this = createVehicle ["MBG_Cinderwall_5_InEditor", [6611.4834, 14169.561, 9.1552734e-005], [], 0, "CAN_COLLIDE"]; _vehicle_104 = _this; _this setDir 89.769493; _this setPos [6611.4834, 14169.561, 9.1552734e-005]; }; _vehicle_106 = objNull; if (true) then { _this = createVehicle ["Land_MBG_Shoothouse_1", [6602.4004, 14202.023, 0.63312674], [], 0, "CAN_COLLIDE"]; _vehicle_106 = _this; _this setDir -89.869751; _this setPos [6602.4004, 14202.023, 0.63312674]; }; _vehicle_107 = objNull; if (true) then { _this = createVehicle ["Land_MBG_Shoothouse_1", [6621.0615, 14179.388, 0.16676113], [], 0, "CAN_COLLIDE"]; _vehicle_107 = _this; _this setDir 0.77605003; _this setPos [6621.0615, 14179.388, 0.16676113]; }; _vehicle_109 = objNull; if (true) then { _this = createVehicle ["MBG_Cinderwall_5_InEditor", [6573.0967, 14202.017, 0.31949198], [], 0, "CAN_COLLIDE"]; _vehicle_109 = _this; _this setPos [6573.0967, 14202.017, 0.31949198]; }; _vehicle_110 = objNull; if (true) then { _this = createVehicle ["MBG_Cinderwall_5_InEditor", [6598.2803, 14211.567, 0.58764577], [], 0, "CAN_COLLIDE"]; _vehicle_110 = _this; _this setDir 0.3868477; _this setPos [6598.2803, 14211.567, 0.58764577]; }; }; Seems to work file for me? Although I've just spotted the '_InEditor' in the classname, which I'm not 100% about, would have to check! It will work that way but its messy and unnecessary. The file is literally twice as long as it needs to be the way you are doing it. Link to comment Share on other sites More sharing options...
PetuniaEpoch Posted May 10, 2014 Report Share Posted May 10, 2014 Okay cool - I'll get rid of some of the extra bloat from my scripts then :D Re: the LAND vs MAP stuff - I use MAP_ instead of LAND_ for stuff like custom buildables for bases sometimes... stops players having Z's spawn in their bases :D It will work that way but its messy and unnecessary. The file is literally twice as long as it needs to be the way you are doing it. Link to comment Share on other sites More sharing options...
TheKingIDC Posted May 24, 2014 Report Share Posted May 24, 2014 this is far from impossible, but its better to add them server side, No zed glitching and less for clients to download. If your still having trouble with this add me on Skype, ill help you out ricebox666 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now