Advertisement
Guest User

Untitled

a guest
May 24th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.82 KB | None | 0 0
  1. // If you want to base a loadout on an existing one, this repository contains them all:
  2. // https://github.com/Sniperhid/1tac_misc/tree/master/addons/tm_tmf_loadouts/loadouts
  3.  
  4. class baseMan {// Weaponless baseclass
  5. displayName = "Unarmed";
  6. // All randomized.
  7. uniform[] = {"U_LIB_SOV_Strelok_w","U_LIB_SOV_Strelok_2_w"};
  8. vest[] = {"V_LIB_SOV_RA_MosinBelt"};
  9. backpack[] = {"B_LIB_SOV_RA_Rucksack","B_LIB_SOV_RA_Rucksack2"};
  10. headgear[] = {};
  11. goggles[] = {"default"};
  12. hmd[] = {};
  13. // Leave empty to remove all. "Default" > leave original item.
  14.  
  15. // All randomized
  16. primaryWeapon[] = {};
  17. scope[] = {};
  18. bipod[] = {};
  19. attachment[] = {};
  20. silencer[] = {};
  21. // Leave empty to remove all. "Default" for primaryWeapon > leave original weapon.
  22.  
  23. // Only *Weapons[] arrays are randomized
  24. secondaryWeapon[] = {};
  25. secondaryAttachments[] = {};
  26. sidearmWeapon[] = {};
  27. sidearmAttachments[] = {};
  28. // Leave empty to remove all. "Default" for secondaryWeapon or sidearmWeapon > leave original weapon.
  29.  
  30. // These are added to the uniform or vest
  31. magazines[] = {};
  32. items[] = {LIST_3("ACE_fieldDressing")};
  33. // These are added directly into their respective slots
  34. linkedItems[] = {
  35. "ItemMap",
  36. "ItemCompass",
  37. "ItemWatch"
  38. };
  39.  
  40. // These are put into the backpack
  41. backpackItems[] = {};
  42.  
  43. // This is executed after unit init is complete. argument: _this = _unit.
  44. code = "";
  45. };
  46. class r : baseMan
  47. {
  48. displayName = "Rifleman";
  49. headgear[] = {"H_LIB_SOV_Ushanka2","H_LIB_SOV_Ushanka","H_LIB_SOV_RA_Helmet_w"};
  50. primaryWeapon[] = {"LIB_M9130"};
  51. magazines[] = {LIST_11("LIB_5Rnd_762x54")};
  52. };
  53. class rat : r
  54. {
  55. displayName = "Rifleman (AT Grenades)";
  56. magazines[] += {LIST_3("LIB_Rpg6")};
  57. };
  58. class m : r
  59. {
  60. displayName = "Medic";
  61. primaryWeapon = {};
  62. sidearmWeapon[] = {"LIB_TT33"};
  63. magazines[] =
  64. {
  65. LIST_5("LIB_8Rnd_762x25")
  66. };
  67. backpackItems[] = {
  68. LIST_15("ACE_fieldDressing"),
  69. LIST_15("ACE_morphine"),
  70. LIST_6("ACE_epinephrine"),
  71. LIST_2("SmokeShell")
  72. };
  73. };
  74. class smg : r
  75. {
  76. displayName = "Submachinegunner";
  77. headgear[] = {"H_LIB_SOV_RA_Helmet_w"};
  78. primaryWeapon[] = {"LIB_PPSh41_m"};
  79. magazines[] =
  80. {
  81. LIST_6("LIB_71Rnd_762x25"),
  82. };
  83. };
  84. class ftl : smg
  85. {
  86. displayName = "Fireteam Leader";
  87. magazines[] =
  88. {
  89. LIST_6("LIB_35Rnd_762x25"),
  90. "HandGrenade",
  91. "SmokeShell"
  92. };
  93. linkedItems[] += {"Binocular","ItemGPS"};
  94. };
  95. class sl : ftl
  96. {
  97. displayName = "Squad Leader";
  98. sidearmWeapon[] = {"LIB_TT33"};
  99. vest[] = {"V_LIB_SOV_RA_TankOfficerSet"};
  100. magazines[] +=
  101. {
  102. LIST_4("LIB_8Rnd_762x25")
  103. };
  104. linkedItems[] =
  105. {
  106. "ItemMap",
  107. "ItemCompass",
  108. "ItemWatch"
  109. };
  110. };
  111. class co : sl
  112. {
  113. displayName = "Platoon Leader";
  114. vest[] = {"V_LIB_SOV_RAZV_OfficerVest"};
  115. };
  116. class ar : r
  117. {
  118. displayName = "LMG Gunner";
  119. vest[] = {"V_LIB_SOV_IShBrVestMG"};
  120. primaryWeapon[] = {"LIB_DP28"};
  121. sidearmWeapon[] = {"LIB_TT33"};
  122. magazines[] =
  123. {
  124. LIST_7("LIB_47Rnd_762x54"),
  125. LIST_2("LIB_8Rnd_762x25")
  126. };
  127. };
  128. class aar : r
  129. {
  130. displayName = "LMG Assistant";
  131. backpack[] = {"B_LIB_SOV_RA_MGAmmoBag_Empty"};
  132. backpackItems[] =
  133. {
  134. LIST_4("LIB_47Rnd_762x54")
  135. };
  136. linkedItems[] += {"Binocular"};
  137. };
  138. class sn : r
  139. {
  140. displayName = "Sniper";
  141. uniform[] = {"U_LIB_SOV_Sniper_w"};
  142. vest[] = {"B_LIB_SOV_RA_Shinel"};
  143. headgear[] = {"H_LIB_SOV_RA_Helmet_w"};
  144. goggles[] = {"default"};
  145. primaryWeapon[] = {"LIB_M9130PU"};
  146. sidearmWeapon[] = {"LIB_TT33"};
  147. magazines[] =
  148. {
  149. LIST_7("LIB_5Rnd_762x54"),
  150. LIST_2("HandGrenade"),
  151. LIST_4("LIB_8Rnd_762x25")
  152. };
  153. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement