daily pastebin goal
48%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //JANFU Gear Script by Aiello, inspired by gear script in Olsen's Framework V5
  2. // ====================================================================================
  3. //
  4. // Defined loadouts:
  5. //              SL                      - Platoon/Squad Leader
  6. //              FL                      - Fireteam Leader
  7. //              MD                      - Medic
  8. //              AR                      - Auto. Rifleman
  9. //              AAR                     - Assistant Auto. Rifleman
  10. //              LAT                     - Rifleman (AT)
  11. //              RIF                     - Rifleman
  12. //              MG                      - Machinegunner
  13. //              AMG                     - Assistant Machinegunner
  14. //              CREW                     - Vehicle Crewman
  15. //              PIL                     - Pilot
  16. //
  17. // =====================================================================================
  18. _unit = player;
  19. removeallweapons _unit;
  20. removeAllAssignedItems _unit;
  21. removebackpack _unit;
  22. removeVest _unit;
  23. removeUniform _unit;
  24. removeHeadGear _unit;
  25. removeGoggles _unit;
  26. sleep 0;
  27. #define BASIC \
  28. _unit linkItem "ItemMap"; \
  29. _unit linkItem "ItemWatch"; \
  30. _unit linkItem "ItemCompass"; \
  31. _unit addItem "ACRE_PRC343"; \
  32. _unit additem "ACE_Earbuds";\
  33. _unit additem "ACE_Morphine";\
  34. _unit additem "ACE_elasticBandage";\
  35. _unit additem "ACE_elasticBandage";\
  36. _unit additem "ACE_elasticBandage";\
  37. _unit additem "ACE_elasticBandage";\
  38. _unit additem "ACE_elasticBandage";\
  39. _unit additem "ACE_elasticBandage";\
  40. _unit additem "ACE_packingBandage";\
  41. _unit additem "ACE_packingBandage";\
  42. _unit additem "ACE_packingBandage";\
  43. _unit additem "ACE_packingBandage";\
  44. _unit additem "ACE_packingBandage";\
  45. _unit additem "ACE_packingBandage";
  46.  
  47. _UniformArray = ["rhs_uniform_cu_ocp_101st"];
  48.  
  49. _HeadgearArray = ["rhsusf_ach_helmet_ESS_ocp"];
  50.  
  51. _VestArray = ["rhsusf_spcs_ocp_rifleman"];
  52. _randomUniform = _UniformArray select floor random count _UniformArray;
  53. _randomHeadgear = _HeadgearArray select floor random count _HeadgearArray;
  54. _randomVest = _VestArray select floor random count _VestArray;
  55.  
  56. #define UNIFORM \
  57. _unit forceadduniform _randomUniform; \
  58. _unit addvest _randomVest; \
  59. _unit addheadgear _randomHeadgear;
  60. switch (typeOf _unit) do
  61. {
  62. case "B_Soldier_SL_F":
  63. {
  64. UNIFORM;
  65. removeVest _unit;
  66. _unit addVest "CUP_V_B_Eagle_SPC_Officer";
  67. _unit addweapon "RH_M4A6";
  68. _unit addmagazines ["RH_30Rnd_68x43_FMJ",8];
  69. _unit addPrimaryWeaponItem "RH_fa556";
  70. _unit addPrimaryWeaponItem "FHQ_optic_AIM";
  71. _unit addWeapon "Binocular";
  72. _unit additem "ACRE_PRC148";
  73. _unit linkItem "ItemGPS";
  74. _unit addbackpack "B_Parachute";
  75. _unit addHeadgear "rhsusf_ach_helmet_ESS_ocp";
  76. _unit addGoggles "CUP_RUS_Balaclava_blk";
  77. _unit addmagazines ["SmokeShellGreen",2];
  78. BASIC;
  79. };
  80. case "B_Soldier_TL_F":
  81. {
  82. UNIFORM;
  83. _unit addweapon "RH_M4A6";
  84. _unit addmagazines ["RH_30Rnd_68x43_FMJ",8];
  85. _unit addPrimaryWeaponItem "RH_fa556";
  86. _unit addPrimaryWeaponItem "FHQ_optic_AIM";
  87. _unit addWeapon "Binocular";
  88. _unit linkItem "ItemGPS";
  89. _unit addbackpack "B_Parachute";
  90. _unit addHeadgear "rhsusf_ach_helmet_ESS_ocp";
  91. _unit addGoggles "CUP_RUS_Balaclava_blk";
  92. _unit addmagazines ["SmokeShellGreen",1];
  93. BASIC;
  94. };
  95. case "B_medic_F":
  96. {
  97. UNIFORM;
  98. _unit addweapon "RH_M4A6";
  99. _unit addPrimaryWeaponItem "RH_fa556";
  100. _unit addPrimaryWeaponItem "FHQ_optic_AIM";
  101. _unit addmagazines ["RH_30Rnd_68x43_FMJ",8];
  102. _unit addmagazines ["SmokeShell",2];
  103. _unit addbackpack "rhsusf_assault_eagleaiii_ocp_medic";
  104. [_unit,"MedB"] call bis_fnc_setUnitInsignia;
  105. _unit setvariable ["ace_medical_medicClass", 1, true];
  106. unitbackpack _unit addItemCargoGlobal ["ACE_elasticBandage",30];
  107. unitbackpack _unit addItemCargoGlobal ["ACE_packingBandage",30];
  108. unitbackpack _unit addItemCargoGlobal ["ACE_epinephrine",15];
  109. unitbackpack _unit addItemCargoGlobal ["ACE_Morphine",15];
  110. unitbackpack _unit addItemCargoGlobal ["ACE_personalAidKit",4];
  111. unitbackpack _unit addItemCargoGlobal ["ACE_salineIV_500",1];
  112. _unit addmagazines ["SmokeShell",4];
  113. _unit addHeadgear "rhsusf_ach_helmet_ESS_ocp";
  114. _unit addGoggles "CUP_RUS_Balaclava_blk";
  115. BASIC;
  116. };
  117. case "B_soldier_AR_F":
  118. {
  119. UNIFORM;
  120. _unit addweapon "RH_M27IAR";
  121. _unit addPrimaryWeaponItem "RH_fa556";
  122. _unit addPrimaryWeaponItem "FHQ_optic_AIM";
  123. _unit addPrimaryWeaponItem "bipod_01_F_blk";
  124. _unit addmagazines ["RH_60Rnd_556x45_M855A1",2];
  125. _unit addmagazines ["SmokeShell",2];
  126. _unit addBackpack "rhsusf_assault_eagleaiii_ocp";
  127. unitbackpack _unit addmagazineCargoGlobal ["RH_60Rnd_556x45_M855A1",8];
  128. _unit addHeadgear "rhsusf_ach_helmet_ESS_ocp";
  129. _unit addGoggles "CUP_RUS_Balaclava_blk";
  130. BASIC;
  131. };
  132. case "B_soldier_AAR_F":
  133. {
  134. UNIFORM;
  135. _unit addweapon "RH_M4A6";
  136. _unit addmagazines ["RH_30Rnd_68x43_FMJ",8];
  137. _unit addPrimaryWeaponItem "RH_fa556";
  138. _unit addPrimaryWeaponItem "FHQ_optic_AIM";
  139. _unit addWeapon "Binocular";
  140. _unit linkItem "ItemGPS";
  141. _unit addbackpack "B_Parachute";
  142. _unit addHeadgear "rhsusf_ach_helmet_ESS_ocp";
  143. _unit addGoggles "CUP_RUS_Balaclava_blk";
  144. _unit addmagazines ["SmokeShellGreen",1];
  145. _unit addBackpack "rhsusf_assault_eagleaiii_ocp";
  146. unitbackpack _unit addmagazineCargoGlobal ["RH_60Rnd_556x45_M855A1",8];
  147. BASIC;
  148. };
  149. case "B_soldier_LAT_F":
  150. {
  151. UNIFORM;
  152. _unit addweapon "RH_M4A6";
  153. _unit addmagazines ["RH_30Rnd_68x43_FMJ",12];
  154. _unit addPrimaryWeaponItem "RH_fa556";
  155. _unit addPrimaryWeaponItem "FHQ_optic_AIM";
  156. _unit linkItem "ItemGPS";
  157. _unit addbackpack "B_Parachute";
  158. _unit addHeadgear "rhsusf_ach_helmet_ESS_ocp";
  159. _unit addGoggles "CUP_RUS_Balaclava_blk";
  160. _unit addmagazines ["SmokeShellGreen",1];
  161. _unit addWeapon "rhs_weap_M136";
  162. BASIC;
  163. };
  164. case "B_soldier_AAT_F":
  165. {
  166. UNIFORM;
  167. _unit addweapon "RH_M4A6";
  168. _unit addmagazines ["RH_30Rnd_68x43_FMJ",12];
  169. _unit addPrimaryWeaponItem "RH_fa556";
  170. _unit addPrimaryWeaponItem "FHQ_optic_AIM";
  171. _unit addBackpack "rhs_Tow_Tripod_Bag";
  172. _unit addHeadgear "rhsusf_ach_helmet_ESS_ocp";
  173. _unit addGoggles "CUP_RUS_Balaclava_blk";
  174. BASIC;
  175. };
  176. case "C_journalist_F": //FL
  177. {
  178. _unit forceAddUniform "U_C_Journalist";
  179. _unit addVest "V_Press_F";
  180. _unit addItemToVest "ACE_epinephrine";
  181. for "_i" from 1 to 4 do {this addItemToVest "ACE_packingBandage";};
  182. _unit addItemToVest "ACE_morphine";
  183. for "_i" from 1 to 4 do {this addItemToVest "ACE_elasticBandage";};
  184. _unit addItemToVest "MCC_bottle_water";
  185. _unit addItemToVest "MCC_RedGull";
  186. _unit addItemToVest "MCC_vitamine";
  187. _unit addBackpack "B_Parachute";
  188. _unit addHeadgear "rhsgref_helmet_pasgt_press";
  189. BASIC;
  190. };
  191. case "B_Soldier_F":
  192. {
  193. UNIFORM;
  194. _unit addweapon "RH_M4A6";
  195. _unit addmagazines ["RH_30Rnd_68x43_FMJ",12];
  196. _unit addPrimaryWeaponItem "RH_fa556";
  197. _unit addPrimaryWeaponItem "FHQ_optic_AIM";
  198. _unit addBackpack "rhs_Tow_Gun_Bag";
  199. _unit addHeadgear "rhsusf_ach_helmet_ESS_ocp";
  200. _unit addGoggles "CUP_RUS_Balaclava_blk";
  201. BASIC;
  202. };
  203. case "B_Soldier_GL_F":
  204. {
  205. UNIFORM;
  206. _unit addWeapon "rhs_weap_m4a1_carryhandle_m203";
  207. _unit addItemToVest "RH_fa556";
  208. _unit addPrimaryWeaponItem "FHQ_optic_AIM";
  209. _unit addmagazines ["30Rnd_556x45_Stanag",8];
  210. _unit addmagazines ["1Rnd_HE_Grenade_shell",8];
  211. _unit addmagazines ["SmokeShell",2];
  212. _unit addbackpack "B_Parachute";
  213. _unit addHeadgear "rhsusf_ach_helmet_ESS_ocp";
  214. _unit addGoggles "CUP_RUS_Balaclava_blk";
  215. BASIC;
  216. };
  217. case "B_soldier_M_F":
  218. {
  219. _unit AddUniform "CUP_U_B_USArmy_PilotOverall";
  220. _unit addVest "CUP_V_B_USArmy_PilotVest";
  221. _unit addHeadgear "rhs_zsh7a_alt";
  222. _unit additem "ACRE_PRC148";
  223. BASIC;
  224. };
  225.  
  226. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top