Advertisement
LadyVal

Marxet original

Feb 28th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.10 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 "altis":
  13. {
  14. //////////////////////////////////////////////////////////
  15. // Airport MarXet Trader
  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. [14579.1,16755.5,0.126438],
  23. 38.0894
  24. ]
  25. call ExileClient_object_trader_create;
  26.  
  27. _traders pushBack _trader;
  28.  
  29. //////////////////////////////////////////////////////////
  30. // West MarXet Trader
  31. //////////////////////////////////////////////////////////
  32. _trader =
  33. [
  34. "Exile_Cutscene_Prisoner01",
  35. "GreekHead_A3_01",
  36. ["AidlPercMstpSnonWnonDnon_G01", "AidlPercMstpSnonWnonDnon_G02", "AidlPercMstpSnonWnonDnon_G03", "AidlPercMstpSnonWnonDnon_G04", "AidlPercMstpSnonWnonDnon_G05", "AidlPercMstpSnonWnonDnon_G06"],
  37. [2988.63,18152.7,0.381263],
  38. 113.04
  39. ]
  40. call ExileClient_object_trader_create;
  41.  
  42. _traders pushBack _trader;
  43.  
  44. //////////////////////////////////////////////////////////
  45. // Northern MarXet Trader
  46. ////////////////////////////////////////////////////////////
  47. _trader =
  48. [
  49. "Exile_Cutscene_Prisoner01",
  50. "GreekHead_A3_01",
  51. ["AidlPercMstpSnonWnonDnon_G01", "AidlPercMstpSnonWnonDnon_G02", "AidlPercMstpSnonWnonDnon_G03", "AidlPercMstpSnonWnonDnon_G04", "AidlPercMstpSnonWnonDnon_G05", "AidlPercMstpSnonWnonDnon_G06"],
  52. [23333.5,24202.9,0.00140905],
  53. 332.571
  54. ]
  55. call ExileClient_object_trader_create;
  56.  
  57. _traders pushBack _trader;
  58.  
  59. private ["_signs"];
  60. _signs = [
  61. ["Exile_Sign_Armory",[14577.6,16755.7,0],225.798,[[-0.716886,-0.69719,0],[-0,0,1]],false],
  62. ["Exile_Sign_Armory",[2986.82,18151.3,0.237748],294.574,[[-0.909421,0.415876,0],[0,0,1]],false],
  63. ["Exile_Sign_Armory",[23334.3,24201.4,-0.221748],181.915,[[-0.0334147,-0.999442,0],[-0,0,1]],false]
  64. ];
  65.  
  66. {
  67. private ["_sign"];
  68. _sign = createVehicle [_x select 0, [0,0,0], [], 0, ""];
  69. _sign enableSimulationGlobal false;
  70. _sign setObjectTextureGlobal [0, "MarXet\images\MarXet_Sign.jpg"];
  71. if (_x select 4) then {
  72. _sign setDir (_x select 2);
  73. _sign setPos (_x select 1);
  74. } else {
  75. _sign setPosATL (_x select 1);
  76. _sign setVectorDirAndUp (_x select 3);
  77. };
  78. } foreach _signs;
  79.  
  80. };
  81. case "namalsk":
  82. {
  83. //////////////////////////////////////////////////////////
  84. // Sebjan Mine 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. [5012.31,8011.31,4.12741],
  92. 93.9074
  93. ]
  94. call ExileClient_object_trader_create;
  95.  
  96. _traders pushBack _trader;
  97.  
  98. //////////////////////////////////////////////////////////
  99. // Northern Boat MarXet Trader
  100. //////////////////////////////////////////////////////////
  101. _trader =
  102. [
  103. "Exile_Cutscene_Prisoner01",
  104. "GreekHead_A3_01",
  105. ["AidlPercMstpSnonWnonDnon_G01", "AidlPercMstpSnonWnonDnon_G02", "AidlPercMstpSnonWnonDnon_G03", "AidlPercMstpSnonWnonDnon_G04", "AidlPercMstpSnonWnonDnon_G05", "AidlPercMstpSnonWnonDnon_G06"],
  106. [9131.12,10084.1,7.10316],
  107. 208.937
  108. ]
  109. call ExileClient_object_trader_create;
  110.  
  111. _traders pushBack _trader;
  112.  
  113. //////////////////////////////////////////////////////////
  114. // Southern Boat MarXet Trader
  115. //////////////////////////////////////////////////////////
  116. _trader =
  117. [
  118. "Exile_Cutscene_Prisoner01",
  119. "GreekHead_A3_01",
  120. ["AidlPercMstpSnonWnonDnon_G01", "AidlPercMstpSnonWnonDnon_G02", "AidlPercMstpSnonWnonDnon_G03", "AidlPercMstpSnonWnonDnon_G04", "AidlPercMstpSnonWnonDnon_G05", "AidlPercMstpSnonWnonDnon_G06"],
  121. [4353.53,4743.87,0.00144696],
  122. 50.5659
  123. ]
  124. call ExileClient_object_trader_create;
  125.  
  126. _traders pushBack _trader;
  127.  
  128. private ["_signs"];
  129. _signs = [
  130. ["Exile_Sign_Armory",[5017.71,8022.81,0],142.021,[[0.615369,-0.788239,0],[0,-0,1]],false],
  131. ["Exile_Sign_Armory",[9113.17,10095.6,0.15098],83.7766,[[0.994107,0.108405,0],[0,0,1]],false],
  132. ["Exile_Sign_Armory",[4353.01,4742.62,0],226.596,[[-0.726524,-0.687141,0],[-0,0,1]],false]
  133. ];
  134.  
  135. {
  136. private ["_sign"];
  137. _sign = createVehicle [_x select 0, [0,0,0], [], 0, ""];
  138. _sign enableSimulationGlobal false;
  139. _sign setObjectTextureGlobal [0, "MarXet\images\MarXet_Sign.jpg"];
  140. if (_x select 4) then {
  141. _sign setDir (_x select 2);
  142. _sign setPos (_x select 1);
  143. } else {
  144. _sign setPosATL (_x select 1);
  145. _sign setVectorDirAndUp (_x select 3);
  146. };
  147. } foreach _signs;
  148.  
  149. };
  150. };
  151.  
  152. {
  153. _x forceAddUniform "U_BG_Guerilla2_1";
  154. _x addVest "Exile_Vest_Snow";
  155. _x addHeadgear "H_Watchcap_blk";
  156. _x addGoggles "G_Bandanna_aviator";
  157. _x addWeapon "srifle_DMR_04_F";
  158. _x addPrimaryWeaponItem "optic_LRPS";
  159. _x addWeapon "hgun_ACPC2_F";
  160. _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"];
  161. } forEach _traders;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement