Advertisement
Guest User

Something

a guest
Dec 28th, 2015
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 13.72 KB | None | 0 0
  1. _markerstyle = "select";
  2. _centerRadius = 5701;          
  3. _mapcenter = [6170.4932,6355.001,0.00143813];
  4. _main = [_mapcenter, 1, _centerRadius, 3, 0, 201, 0] call BIS_fnc_findSafePos;
  5. _spot1 = [_mapcenter, 1, _centerRadius, 3, 0, 201, 0] call BIS_fnc_findSafePos;                
  6. _spot2 = [_mapcenter, 1, _centerRadius, 3, 0, 201, 0] call BIS_fnc_findSafePos;
  7. _spot3 = [_mapcenter, 1, _centerRadius, 3, 0, 201, 0] call BIS_fnc_findSafePos;
  8. _spot4 = [_mapcenter, 1, _centerRadius, 3, 0, 201, 0] call BIS_fnc_findSafePos;
  9. _spot5 = [_mapcenter, 1, _centerRadius, 3, 0, 201, 0] call BIS_fnc_findSafePos;
  10. _spot6 = [_mapcenter, 1, _centerRadius, 3, 0, 201, 0] call BIS_fnc_findSafePos;
  11. _spot7 = [_mapcenter, 1, _centerRadius, 3, 0, 201, 0] call BIS_fnc_findSafePos;
  12. _spot8 = [_mapcenter, 1, _centerRadius, 3, 0, 201, 0] call BIS_fnc_findSafePos;
  13. _spot9 = [_mapcenter, 1, _centerRadius, 3, 0, 201, 0] call BIS_fnc_findSafePos;
  14. _ap = [[10839.1,4794.11,0.0013876],[10515.3,4816.83,0.00143909],[10139,4844.74,0.00143242],[9879.68,4844.44,0.00143909],[9968.97,4843.79,0.00142956]] call BIS_fnc_selectRandom;
  15. _boat = [[6556.12,5774.01,0.00179982],[7164.01,5744.11,0.00155091],[7970.9,5256.12,0.00160885],[8770.92,5167.03,0.00129628],[10633.9,5289.73,0.00181532],[11466.5,4931.92,0.00159788]] call BIS_fnc_selectRandom;
  16. _marker = createMarker [_spot1 joinString " ",_spot1];
  17. _marker setMarkerType _markerstyle;
  18. _marker setMarkerText "Hardware";
  19. _marker2 = createMarker [_spot2 joinString " ",_spot2];
  20. _marker2 setMarkerType _markerstyle;
  21. _marker2 setMarkerText "Armoury";
  22. _marker3 = createMarker [_spot3 joinString " ",_spot3];
  23. _marker3 setMarkerType _markerstyle;
  24. _marker3 setMarkerText "Food/Drink";
  25. _marker4 = createMarker [_spot4 joinString " ",_spot4];
  26. _marker4 setMarkerType _markerstyle;
  27. _marker4 setMarkerText "Equipment";
  28. _marker5 = createMarker [_spot5 joinString " ",_spot5];
  29. _marker5 setMarkerType _markerstyle;
  30. _marker5 setMarkerText "Spec Ops";
  31. _marker6 = createMarker [_spot6 joinString " ",_spot6];
  32. _marker6 setMarkerType _markerstyle;
  33. _marker6 setMarkerText "Office";
  34. _marker7 = createMarker [_spot7 joinString " ",_spot7];
  35. _marker7 setMarkerType _markerstyle;
  36. _marker7 setMarkerText "Waste";
  37. _marker8 = createMarker [_spot8 joinString " ",_spot8];
  38. _marker8 setMarkerType _markerstyle;
  39. _marker8 setMarkerText "Vehicle Customs";
  40. _marker9 = createMarker [_spot9 joinString " ",_spot9];
  41. _marker9 setMarkerType _markerstyle;
  42. _marker9 setMarkerText "Vehicles";
  43. _marker10 = createMarker [_ap joinString " ",_ap];
  44. _marker10 setMarkerType _markerstyle;
  45. _marker10 setMarkerText "Air";
  46. _marker11 = createMarker [_boat joinString " ",_boat];
  47. _marker11 setMarkerType _markerstyle;
  48. _marker11 setMarkerText "Boat";
  49. //******************************************************************************************************************** Hardware
  50. _t1 = createVehicle ["Land_transport_crates_EP1",_spot1,[], 0, "can_collide"];
  51. _t1 setPosATL [position _t1 select 0,position _t1 select 1, 0.1];
  52. _t1 setVectorUp surfaceNormal position _t1;
  53. _o2 = _t1;
  54. _props1 = createVehicle ["Land_CinderBlocks_F", getPos _o2, [], 0, "NONE"];
  55. _props1 attachTo [_t1, [-1.9, -0, -.7] ];
  56. _props1 = createVehicle ["Land_JunkPile_F", getPos _o2, [], 0, "NONE"];
  57. _props1 attachTo [_t1, [1.9, 1, -.5] ];
  58. _props1 = createVehicle ["Land_WaterBarrel_F", getPos _o2, [], 0, "NONE"];
  59. _props1 attachTo [_t1, [.5, 3, 0] ];
  60. _props1 = createVehicle ["Land_BagFence_Long_F", getPos _o2, [], 0, "NONE"];
  61. _props1 attachTo [_t1, [0, -3, -.5] ];
  62. _props1 = createVehicle ["Land_GarbageContainer_closed_F", getPos _o2, [], 0, "NONE"];
  63. _props1 attachTo [_t1, [-3.5, -2, 0] ];
  64. _props1 = createVehicle ["Land_PaperBox_closed_F", getPos _o2, [], 0, "NONE"];
  65. _props1 attachTo [_t1, [-3.5, 2, 0] ];
  66. [
  67.     "Exile_Trader_Hardware",
  68.     "WhiteHead_17",
  69.     ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
  70.     [0, -1.5, -.6],
  71.     201,
  72.     _t1
  73. ]
  74. call ExileClient_object_trader_create;
  75. //******************************************************************************************************************** Armoury
  76. _t2 = createVehicle ["Land_Cargo40_military_green_F",_spot2,[], 0, "can_collide"];
  77. _t2 setPosATL [position _t2 select 0,position _t2 select 1, 0.1];
  78. _t2 setVectorUp surfaceNormal position _t2;
  79. _obj = _t2;
  80. _props2 = createVehicle ["Land_WoodenBox_F", getPos _obj, [], 0, "NONE"];
  81. _props2 attachTo [_t2, [3.2, -0, -1.1] ];
  82. _props2 = createVehicle ["Land_WoodenBox_F", getPos _obj, [], 0, "NONE"];
  83. _props2 attachTo [_t2, [3.2, -0, -.7] ];
  84. _props2 = createVehicle ["Land_Sack_F", getPos _obj, [], 0, "NONE"];
  85. _props2 attachTo [_t2, [3.2, -0.5, -1] ];
  86. _props2 = createVehicle ["Land_CratesPlastic_F", getPos _obj, [], 0, "NONE"];
  87. _props2 attachTo [_t2, [3.3, -0.5, -1] ];
  88. _props2 = createVehicle ["Land_BarrelWater_F", getPos _obj, [], 0, "NONE"];
  89. _props2 attachTo [_t2, [4.3, 0.6, -.8] ];
  90. [
  91.     "Exile_Trader_Armory",
  92.     "PersianHead_A3_02",
  93.     ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
  94.     [0, -0.15, -1.1],
  95.     270,
  96.     _t2
  97. ]
  98. call ExileClient_object_trader_create;
  99. //******************************************************************************************************************** Food/Drink
  100. _t3 = createVehicle ["Land_Cargo40_military_green_F",_spot3,[], 0, "can_collide"];
  101. _t3 setPosATL [position _t3 select 0,position _t3 select 1, 0.1];
  102. _t3 setVectorUp surfaceNormal position _t3;
  103. _o3 = _t3;
  104. _props3 = createVehicle ["Land_WoodenBox_F", getPos _o3, [], 0, "NONE"];
  105. _props3 attachTo [_t3, [3.2, -0, -1.1] ];
  106. _props3 = createVehicle ["Land_WoodenBox_F", getPos _o3, [], 0, "NONE"];
  107. _props3 attachTo [_t3, [3.2, -0, -.7] ];
  108. _props3 = createVehicle ["Land_Sack_F", getPos _o3, [], 0, "NONE"];
  109. _props3 attachTo [_t3, [3.2, -0.5, -1] ];
  110. _props3 = createVehicle ["Land_CratesPlastic_F", getPos _o3, [], 0, "NONE"];
  111. _props3 attachTo [_t3, [3.3, -0.5, -1] ];
  112. _props3 = createVehicle ["Land_BarrelWater_F", getPos _o3, [], 0, "NONE"];
  113. _props3 attachTo [_t3, [4.3, 0.6, -.8] ];
  114. [
  115.     "Exile_Trader_Food",
  116.     "GreekHead_A3_01",
  117.     ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
  118.     [0.1, 0.5, -1.1],
  119.     270,
  120.     _t3
  121. ]
  122. call ExileClient_object_trader_create;
  123. //******************************************************************************************************************** Equipment
  124. _t4 = createVehicle ["Land_Cargo40_military_green_F",_spot4,[], 0, "can_collide"];
  125. _t4 setPosATL [position _t4 select 0,position _t4 select 1, 0.1];
  126. _t4 setVectorUp surfaceNormal position _t4;
  127. _o4 = _t4;
  128. _props4 = createVehicle ["Land_WoodenBox_F", getPos _o4, [], 0, "NONE"];
  129. _props4 attachTo [_t4, [3.2, -0, -1.1] ];
  130. _props4 = createVehicle ["Land_WoodenBox_F", getPos _o4, [], 0, "NONE"];
  131. _props4 attachTo [_t4, [3.2, -0, -.7] ];
  132. _props4 = createVehicle ["Land_Sack_F", getPos _o4, [], 0, "NONE"];
  133. _props4 attachTo [_t4, [3.2, -0.5, -1] ];
  134. _props4 = createVehicle ["Land_CratesPlastic_F", getPos _o4, [], 0, "NONE"];
  135. _props4 attachTo [_t4, [3.3, -0.5, -1] ];
  136. _props4 = createVehicle ["Land_BarrelWater_F", getPos _o4, [], 0, "NONE"];
  137. _props4 attachTo [_t4, [4.3, 0.6, -.8] ];
  138. [
  139.     "Exile_Trader_Equipment",
  140.     "WhiteHead_19",
  141.     ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
  142.     [0, 0, -1.1],
  143.     270,
  144.     _t4
  145. ]
  146. call ExileClient_object_trader_create;
  147. //******************************************************************************************************************** Spec ops
  148. _t5 = createVehicle ["Misc_cargo_cont_net3",_spot5,[], 0, "can_collide"];
  149. _t5 setPosATL [position _t5 select 0,position _t5 select 1, 0.1];
  150. _t5 setVectorUp surfaceNormal position _t5;
  151. _o5 = _t5;
  152. _props5 = createVehicle ["Land_CargoBox_V1_F", getPos _o5, [], 0, "NONE"];
  153. _props5 attachTo [_t5, [3, -2.5, -.6] ];
  154. _props5 = createVehicle ["Land_BagFence_Long_F", getPos _o5, [], 0, "NONE"];
  155. _props5 attachTo [_t5, [0, -4.5, -1] ];
  156. _props5 = createVehicle ["Land_BarrelWater_grey_F", getPos _o5, [], 0, "NONE"];
  157. _props5 attachTo [_t5, [-2, -3.7, -1] ];
  158. _props5 = createVehicle ["Land_PaperBox_closed_F", getPos _o5, [], 0, "NONE"];
  159. _props5 attachTo [_t5, [-3, -1, -.7] ];
  160.  
  161.  
  162. [
  163.     "Exile_Trader_SpecialOperations",
  164.     "AfricanHead_02",
  165.     ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
  166.     [0, -3.7, -1.3],
  167.     210,
  168.     _t5
  169. ]
  170. call ExileClient_object_trader_create;
  171. //******************************************************************************************************************** Office
  172. _t6 = createVehicle ["Land_GuardShed",_spot6,[], 0, "can_collide"];
  173. _t6 setPosATL [position _t6 select 0,position _t6 select 1, 0.1];
  174. _t6 setVectorUp surfaceNormal position _t6;
  175. _o6 = _t6;
  176. _props6 = createVehicle ["MapBoard_seismic_F", getPos _o6, [], 0, "NONE"];
  177. _props6 attachTo [_t6, [2.5, -.5, 0] ];
  178. _props6 = createVehicle ["Flag_ARMEX_F", getPos _o6, [], 0, "NONE"];
  179. _props6 attachTo [_t6, [-3, -.5, 3.5] ];
  180. [
  181.     "Exile_Trader_Office",
  182.     "GreekHead_A3_04",
  183.     ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
  184.     [0, -.5, -.5],
  185.     201,
  186.     _t6
  187. ]
  188. call ExileClient_object_trader_create;
  189. //******************************************************************************************************************** Waste
  190. _t7 = createVehicle ["Land_Misc_GContainer_Big",_spot7,[], 0, "can_collide"];
  191. _t7 setPosATL [position _t7 select 0,position _t7 select 1, 0.1];
  192. _t7 setVectorUp surfaceNormal position _t7;
  193. _o7 = _t7;
  194. _props7 = createVehicle ["Land_Sunshade_03_F", getPos _o7, [], 0, "NONE"];
  195. _props7 attachTo [_t7, [0, -3.5, .5] ];
  196. _props7 = createVehicle ["Land_Scrap_MRAP_01_F", getPos _o7, [], 0, "NONE"];
  197. _props7 attachTo [_t7, [4.7, -2.5, 0] ];
  198. [
  199.     "Exile_Trader_WasteDump",
  200.     "GreekHead_A3_01",
  201.     ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
  202.     [0, -2.5, -.8],
  203.     210,
  204.     _t7
  205. ]
  206. call ExileClient_object_trader_create;
  207. //******************************************************************************************************************** Vehicle Customs
  208. _t8 = createVehicle ["Land_PalletTrolley_01_yellow_F",_spot8,[], 0, "can_collide"];
  209. _t8 setPosATL [position _t8 select 0,position _t8 select 1, 0.1];
  210. _t8 setVectorUp surfaceNormal position _t8;
  211. _o8 = _t8;
  212. _props8 = createVehicle ["Land_Bucket_painted_F", getPos _o8, [], 0, "NONE"];
  213. _props8 attachTo [_t8, [2, -1, -.4] ];
  214. _props8 = createVehicle ["Land_Bucket_painted_F", getPos _o8, [], 0, "NONE"];
  215. _props8 attachTo [_t8, [-2, 1, -.4] ];
  216. _props8 = createVehicle ["Land_MetalBarrel_empty_F", getPos _o8, [], 0, "NONE"];
  217. _props8 attachTo [_t8, [-1, 2, -.1] ];
  218. _props8 = createVehicle ["Land_FireExtinguisher_F", getPos _o8, [], 0, "NONE"];
  219. _props8 attachTo [_t8, [-.5, .5, -.1] ];
  220. _props8 = createVehicle ["Land_Tyre_F", getPos _o8, [], 0, "NONE"];
  221. _props8 attachTo [_t8, [1, -.5, -.5] ];
  222. _props8 = createVehicle ["Land_Wreck_Van_F", getPos _o8, [], 0, "NONE"];
  223. _props8 attachTo [_t8, [2, 4, .5] ];
  224. [
  225.     "Exile_Trader_VehicleCustoms",
  226.     "WhiteHead_11",
  227.     ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
  228.     [2, -3.5, -.6],
  229.     201,
  230.     _t8
  231. ]
  232. call ExileClient_object_trader_create;
  233. //******************************************************************************************************************** Vehicle
  234. _t9 = createVehicle ["Land_Wreck_Skodovka_F",_spot9,[], 0, "can_collide"];
  235. _t9 setPosATL [position _t9 select 0,position _t9 select 1, 0.1];
  236. _t9 setVectorUp surfaceNormal position _t9;
  237. _o9 = _t9;
  238. _props9 = createVehicle ["Land_Wreck_Car2_F", getPos _o9, [], 0, "NONE"];
  239. _props9 attachTo [_t9, [3.5, 0, 0] ];
  240. _props9 = createVehicle ["Land_Wreck_Car_F", getPos _o9, [], 0, "NONE"];
  241. _props9 attachTo [_t9, [2, 0, 0] ];
  242. _props9 = createVehicle ["Land_Wreck_Car3_F", getPos _o9, [], 0, "NONE"];
  243. _props9 attachTo [_t9, [-2, 0, 0] ];
  244. _props9 = createVehicle ["Land_WoodenTable_small_F", getPos _o9, [], 0, "NONE"];
  245. _props9 attachTo [_t9, [0, -5, 0] ];  
  246. _props9a = createVehicle ["Land_Cargo40_red_F", getPos _o9, [], 0, "NONE"];
  247. _props9a attachTo [_t9, [8, 2, .5] ]; _props9a setDir 90;
  248. [
  249.     "Exile_Trader_Vehicle",
  250.     "GreekHead_A3_01",
  251.     ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
  252.     [0, -3.8, -.6],
  253.     205,
  254.     _t9
  255. ]
  256. call ExileClient_object_trader_create;
  257. //********************************************************************************************************************Air
  258. _t10= createVehicle ["Land_Slum_House03_F",_ap,[], 0, "can_collide"];
  259. _t10 setPosATL [position _t10 select 0,position _t10 select 1, 0.1];
  260. _t10 setVectorUp surfaceNormal position _t10;
  261. _o10 = _t10;
  262. _props10 = createVehicle ["Campfire_burning_F", getPos _o10, [], 0, "NONE"];
  263. _props10 attachTo [_t10, [-2.2, 1.6, -.9] ];
  264. _props10 = createVehicle ["Land_Sack_F", getPos _o10, [], 0, "NONE"];
  265. _props10 attachTo [_t10, [3.5, 2.3, -.6] ];
  266. _props10 = createVehicle ["Land_CratesPlastic_F", getPos _o10, [], 0, "NONE"];
  267. _props10 attachTo [_t10, [3.5, 1.2, -.8] ];
  268. [
  269.     "Exile_Trader_Aircraft",
  270.     "WhiteHead_17",
  271.     ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
  272.     [0, 1.2, -1.1],
  273.     205,
  274.     _t10
  275. ]
  276. call ExileClient_object_trader_create;
  277. [
  278.     "Exile_Trader_AircraftCustoms",
  279.     "WhiteHead_17",
  280.     ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
  281.     [-1.4, -1.5, -1.1],
  282.     201,
  283.     _t10
  284. ]
  285. call ExileClient_object_trader_create;
  286. //********************************************************************************************************************Boat
  287. _t11= createVehicle ["Land_Slum_House01_F",_boat,[], 0, "can_collide"];
  288. _t11 setPosATL [position _t11 select 0,position _t11 select 1, 0.1];
  289. _t11 setVectorUp surfaceNormal position _t11;
  290. _o11 = _t11;
  291. [
  292.     "Exile_Trader_Boat",
  293.     "WhiteHead_17",
  294.     ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
  295.     [.5, .5, -1.1],
  296.     270,
  297.     _t11
  298. ]
  299. call ExileClient_object_trader_create;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement