Advertisement
LadyVal

Marxet ChR

Feb 28th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.50 KB | None | 0 0
  1. /*
  2. *
  3. * MarXet_Traders.sqf
  4. * Author: WolfkillArcadia
  5. * © 2016 Arcas Industries
  6. * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
  7. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
  8. */
  9. private["_traders","_trader"];
  10. _traders = [];
  11. switch (toLower worldName) do {
  12. case "chernarusredux":
  13. {
  14. //////////////////////////////////////////////////////////
  15. // Up North Airfield
  16. //////////////////////////////////////////////////////////
  17. _trader =
  18. [
  19. "Exile_Cutscene_Prisoner01",
  20. "GreekHead_A3_01",
  21. ["AidlPercMstpSnonWnonDnon_G01", "AidlPercMstpSnonWnonDnon_G02", "AidlPercMstpSnonWnonDnon_G03", "AidlPercMstpSnonWnonDnon_G04", "AidlPercMstpSnonWnonDnon_G05", "AidlPercMstpSnonWnonDnon_G06"],
  22. [12114.3, 12637.1, 159.011], 226.73
  23. ]
  24. call ExileClient_object_trader_create;
  25.  
  26. _traders pushBack _trader;
  27.  
  28. private ["_signs"];
  29. _signs = [
  30. ["Exile_Sign_Armory",[12114.70, 12664.27, 159.011],18.61 [[0.250802, 0.968038, 0], [0, 0, 1]],false]
  31. //["Exile_Sign_Armory",[2986.82,18151.3,0.237748],294.574,[[-0.909421,0.415876,0],[0,0,1]],false],
  32. //["Exile_Sign_Armory",[23334.3,24201.4,-0.221748],181.915,[[-0.0334147,-0.999442,0],[-0,0,1]],false]
  33. ];
  34.  
  35. {
  36. private ["_sign"];
  37. _sign = createVehicle [_x select 0, [0,0,0], [], 0, ""];
  38. _sign enableSimulationGlobal false;
  39. _sign setObjectTextureGlobal [0, "MarXet\images\MarXet_Sign.jpg"];
  40. if (_x select 4) then {
  41. _sign setDir (_x select 2);
  42. _sign setPos (_x select 1);
  43. } else {
  44. _sign setPosATL (_x select 1);
  45. _sign setVectorDirAndUp (_x select 3);
  46. };
  47. } foreach _signs;
  48.  
  49. };
  50.  
  51. case "altis":
  52. {
  53. //////////////////////////////////////////////////////////
  54. // Airport MarXet Trader
  55. //////////////////////////////////////////////////////////
  56. _trader =
  57. [
  58. "Exile_Cutscene_Prisoner01",
  59. "GreekHead_A3_01",
  60. ["AidlPercMstpSnonWnonDnon_G01", "AidlPercMstpSnonWnonDnon_G02", "AidlPercMstpSnonWnonDnon_G03", "AidlPercMstpSnonWnonDnon_G04", "AidlPercMstpSnonWnonDnon_G05", "AidlPercMstpSnonWnonDnon_G06"],
  61. [14579.1,16755.5,0.126438],
  62. 38.0894
  63. ]
  64. call ExileClient_object_trader_create;
  65.  
  66. _traders pushBack _trader;
  67.  
  68. //////////////////////////////////////////////////////////
  69. // West MarXet Trader
  70. //////////////////////////////////////////////////////////
  71. _trader =
  72. [
  73. "Exile_Cutscene_Prisoner01",
  74. "GreekHead_A3_01",
  75. ["AidlPercMstpSnonWnonDnon_G01", "AidlPercMstpSnonWnonDnon_G02", "AidlPercMstpSnonWnonDnon_G03", "AidlPercMstpSnonWnonDnon_G04", "AidlPercMstpSnonWnonDnon_G05", "AidlPercMstpSnonWnonDnon_G06"],
  76. [2988.63,18152.7,0.381263],
  77. 113.04
  78. ]
  79. call ExileClient_object_trader_create;
  80.  
  81. _traders pushBack _trader;
  82.  
  83. //////////////////////////////////////////////////////////
  84. // Northern MarXet Trader
  85. ////////////////////////////////////////////////////////////
  86. _trader =
  87. [
  88. "Exile_Cutscene_Prisoner01",
  89. "GreekHead_A3_01",
  90. ["AidlPercMstpSnonWnonDnon_G01", "AidlPercMstpSnonWnonDnon_G02", "AidlPercMstpSnonWnonDnon_G03", "AidlPercMstpSnonWnonDnon_G04", "AidlPercMstpSnonWnonDnon_G05", "AidlPercMstpSnonWnonDnon_G06"],
  91. [23333.5,24202.9,0.00140905],
  92. 332.571
  93. ]
  94. call ExileClient_object_trader_create;
  95.  
  96. _traders pushBack _trader;
  97.  
  98. private ["_signs"];
  99. _signs = [
  100. ["Exile_Sign_Armory",[14577.6,16755.7,0],225.798,[[-0.716886,-0.69719,0],[-0,0,1]],false],
  101. ["Exile_Sign_Armory",[2986.82,18151.3,0.237748],294.574,[[-0.909421,0.415876,0],[0,0,1]],false],
  102. ["Exile_Sign_Armory",[23334.3,24201.4,-0.221748],181.915,[[-0.0334147,-0.999442,0],[-0,0,1]],false]
  103. ];
  104.  
  105. {
  106. private ["_sign"];
  107. _sign = createVehicle [_x select 0, [0,0,0], [], 0, ""];
  108. _sign enableSimulationGlobal false;
  109. _sign setObjectTextureGlobal [0, "MarXet\images\MarXet_Sign.jpg"];
  110. if (_x select 4) then {
  111. _sign setDir (_x select 2);
  112. _sign setPos (_x select 1);
  113. } else {
  114. _sign setPosATL (_x select 1);
  115. _sign setVectorDirAndUp (_x select 3);
  116. };
  117. } foreach _signs;
  118.  
  119. };
  120. case "namalsk":
  121. {
  122. //////////////////////////////////////////////////////////
  123. // Sebjan Mine MarXet Trader
  124. //////////////////////////////////////////////////////////
  125. _trader =
  126. [
  127. "Exile_Cutscene_Prisoner01",
  128. "GreekHead_A3_01",
  129. ["AidlPercMstpSnonWnonDnon_G01", "AidlPercMstpSnonWnonDnon_G02", "AidlPercMstpSnonWnonDnon_G03", "AidlPercMstpSnonWnonDnon_G04", "AidlPercMstpSnonWnonDnon_G05", "AidlPercMstpSnonWnonDnon_G06"],
  130. [5012.31,8011.31,4.12741],
  131. 93.9074
  132. ]
  133. call ExileClient_object_trader_create;
  134.  
  135. _traders pushBack _trader;
  136.  
  137. //////////////////////////////////////////////////////////
  138. // Northern Boat MarXet Trader
  139. //////////////////////////////////////////////////////////
  140. _trader =
  141. [
  142. "Exile_Cutscene_Prisoner01",
  143. "GreekHead_A3_01",
  144. ["AidlPercMstpSnonWnonDnon_G01", "AidlPercMstpSnonWnonDnon_G02", "AidlPercMstpSnonWnonDnon_G03", "AidlPercMstpSnonWnonDnon_G04", "AidlPercMstpSnonWnonDnon_G05", "AidlPercMstpSnonWnonDnon_G06"],
  145. [9131.12,10084.1,7.10316],
  146. 208.937
  147. ]
  148. call ExileClient_object_trader_create;
  149.  
  150. _traders pushBack _trader;
  151.  
  152. //////////////////////////////////////////////////////////
  153. // Southern Boat MarXet Trader
  154. //////////////////////////////////////////////////////////
  155. _trader =
  156. [
  157. "Exile_Cutscene_Prisoner01",
  158. "GreekHead_A3_01",
  159. ["AidlPercMstpSnonWnonDnon_G01", "AidlPercMstpSnonWnonDnon_G02", "AidlPercMstpSnonWnonDnon_G03", "AidlPercMstpSnonWnonDnon_G04", "AidlPercMstpSnonWnonDnon_G05", "AidlPercMstpSnonWnonDnon_G06"],
  160. [4353.53,4743.87,0.00144696],
  161. 50.5659
  162. ]
  163. call ExileClient_object_trader_create;
  164.  
  165. _traders pushBack _trader;
  166.  
  167. private ["_signs"];
  168. _signs = [
  169. ["Exile_Sign_Armory",[5017.71,8022.81,0],142.021,[[0.615369,-0.788239,0],[0,-0,1]],false],
  170. ["Exile_Sign_Armory",[9113.17,10095.6,0.15098],83.7766,[[0.994107,0.108405,0],[0,0,1]],false],
  171. ["Exile_Sign_Armory",[4353.01,4742.62,0],226.596,[[-0.726524,-0.687141,0],[-0,0,1]],false]
  172. ];
  173.  
  174. {
  175. private ["_sign"];
  176. _sign = createVehicle [_x select 0, [0,0,0], [], 0, ""];
  177. _sign enableSimulationGlobal false;
  178. _sign setObjectTextureGlobal [0, "MarXet\images\MarXet_Sign.jpg"];
  179. if (_x select 4) then {
  180. _sign setDir (_x select 2);
  181. _sign setPos (_x select 1);
  182. } else {
  183. _sign setPosATL (_x select 1);
  184. _sign setVectorDirAndUp (_x select 3);
  185. };
  186. } foreach _signs;
  187.  
  188. };
  189. };
  190.  
  191. {
  192. _x forceAddUniform "U_BG_Guerilla2_1";
  193. _x addVest "Exile_Vest_Snow";
  194. _x addHeadgear "H_Watchcap_blk";
  195. _x addGoggles "G_Bandanna_aviator";
  196. _x addWeapon "srifle_DMR_04_F";
  197. _x addPrimaryWeaponItem "optic_LRPS";
  198. _x addWeapon "hgun_ACPC2_F";
  199. _x addAction ["<img image='\a3\ui_f\data\IGUI\Cfg\Actions\reammo_ca.paa' size='1' shadow='false' />Access MarXet","createDialog 'RscMarXetDialog'","",1,false,true,"","((position player) distance _target) <= 4"];
  200. } forEach _traders;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement