Advertisement
cooterflood

Untitled

Jan 8th, 2021
445
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.23 KB | None | 0 0
  1. /*
  2. Author: Maverick Applications
  3. Convoy sidemission for Altis Life servers
  4. */
  5.  
  6. class Maverick_ConvoySidemission
  7. {
  8. class Config
  9. {
  10. ConfigPool[] = {"GoldBarTransport","WeaponTransport"};
  11. ForceConfigAtIndex = 1;
  12. SleepTime = 5000;
  13. MakePlayersHostileFor = 60;
  14. TimeoutBetweenMarkers = 300;
  15. SidesNotAttackable[] = {};
  16. AIDifficulty[] = {
  17. {"aimingAccuracy", 1},
  18. {"aimingShake", 1},
  19. {"aimingSpeed", 1},
  20. {"endurance", 1},
  21. {"spotDistance", 1},
  22. {"spotTime", 1},
  23. {"courage", 1},
  24. {"reloadSpeed", 1},
  25. {"commanding", 1},
  26. {"general", 1}
  27. };
  28. };
  29. class ConvoyConfigurationsPool
  30. {
  31. /*********************** EXAMPLE TRANSPORT FOR VIRTUAL ITEMS ***********************/
  32. class GoldBarTransport
  33. {
  34. class MapConfiguration
  35. {
  36. showMapMarker = 1;
  37. text = "Gold Transport";
  38. };
  39.  
  40. class AIUnits
  41. {
  42. gear[] = {
  43. "H_MilCap_gen_F", // Headgear
  44. "", // Glasses
  45. "U_B_GEN_Soldier_F", // Uniform
  46. "V_TacVest_gen_F", // Vest
  47. "", // Backpack
  48. {"arifle_SPAR_01_blk_F", "30Rnd_556x45_Stanag", 5}, // Primary weapon, ammo and how many magazines
  49. {"", "", 5} // Secondary weapon, ammo and how many magazines
  50. };
  51. };
  52.  
  53. class Messages
  54. {
  55. // Enable messages?
  56. enabled = 1;
  57.  
  58. // Mission started announcement
  59. startAnnouncementHeader = "Gold Transport";
  60. startAnnouncementDescription = "The Federal Reserve's guarded transporter is currently moving larger amounts of gold.";
  61.  
  62. // Mission objective completed
  63. stoppedAnnouncementHeader = "Gold Transporter disabled";
  64. stoppedAnnouncementDescription = "The gold transporter has been disabled.";
  65.  
  66. // Mission completed announcement
  67. endAnnouncementHeader = "Gold Transport ended";
  68. endAnnouncementDescription = "The mission has ended.";
  69. };
  70.  
  71. class Vehicles
  72. {
  73. // Vehicle configuration
  74. vehiclesInOrder[] = {"O_T_LSV_02_armed_F","O_T_Truck_03_ammo_ghex_F","O_T_LSV_02_unarmed_F"};
  75. vehiclesSpawnMarkersInOrder[] = {"mav_convoy_spawn1","mav_convoy_spawn2","mav_convoy_spawn3"};
  76. vehiclesInheritDirection = 1;
  77. mainVehicleAtIndex = 1;
  78. maxSpeed = 50;
  79. removeVehiclesAfterSeconds = 600;
  80. additionalUnitsAmount = 10;
  81. };
  82.  
  83. class Route
  84. {
  85. // Route configuration
  86. markers[] = {"mav_convoy_waypoint1","mav_convoy_waypoint2","mav_convoy_waypoint3","mav_convoy_waypoint4","mav_convoy_waypoint5","mav_convoy_waypoint6","mav_convoy_waypoint7","mav_convoy_waypoint8","mav_convoy_waypoint9","mav_convoy_waypoint10","mav_convoy_waypoint11","mav_convoy_waypoint12","mav_convoy_waypoint13"};
  87. };
  88.  
  89. class Loot
  90. {
  91. type = "virtual";
  92. container = "Land_CargoBox_V1_F";
  93. data[] = {
  94. {"goldbar", 10}
  95. };
  96. };
  97. };
  98.  
  99.  
  100. /*********************** EXAMPLE TRANSPORT FOR REAL ITEMS ***********************/
  101. class WeaponTransport
  102. {
  103. class MapConfiguration
  104. {
  105. showMapMarker = 1;
  106. text = "Weapon Transport";
  107. };
  108.  
  109. class AIUnits
  110. {
  111. gear[] = {
  112. "H_MilCap_gen_F", // Headgear
  113. "", // Glasses
  114. "U_B_GEN_Soldier_F", // Uniform
  115. "V_TacVest_gen_F", // Vest
  116. "", // Backpack
  117. {"arifle_SPAR_01_blk_F", "30Rnd_556x45_Stanag", 5}, // Primary weapon, ammo and how many magazines
  118. {"", "", 5} // Secondary weapon, ammo and how many magazines
  119. };
  120. };
  121.  
  122. class Messages
  123. {
  124. // Enable messages?
  125. enabled = 1;
  126.  
  127. // Mission started announcement
  128. startAnnouncementHeader = "Weapon Transport";
  129. startAnnouncementDescription = "The local army is currently transporting larger amounts of weapons through Tanoa with ground vehicles.";
  130.  
  131. // Mission objective completed
  132. stoppedAnnouncementHeader = "Weapon Transporter disabled";
  133. stoppedAnnouncementDescription = "The Weapon transporter has been disabled.";
  134.  
  135. // Mission completed announcement
  136. endAnnouncementHeader = "Weapon Transport ended";
  137. endAnnouncementDescription = "The mission has ended.";
  138. };
  139.  
  140. class Vehicles
  141. {
  142. // Vehicle configuration
  143. vehiclesInOrder[] = {"O_T_LSV_02_armed_F","O_T_LSV_02_unarmed_F","O_T_Truck_03_ammo_ghex_F","O_T_LSV_02_unarmed_F"};
  144. vehiclesSpawnMarkersInOrder[] = {"mav_convoy_spawn1","mav_convoy_spawn2","mav_convoy_spawn3","mav_convoy_spawn4"};
  145. vehiclesInheritDirection = 1;
  146. mainVehicleAtIndex = 2;
  147. maxSpeed = 50;
  148. removeVehiclesAfterSeconds = 600;
  149. additionalUnitsAmount = 10;
  150. };
  151.  
  152. class Route
  153. {
  154. // Route configuration
  155. markers[] = {"mav_convoy_waypoint1","mav_convoy_waypoint2","mav_convoy_waypoint3","mav_convoy_waypoint4","mav_convoy_waypoint5"};
  156. };
  157.  
  158. class Loot
  159. {
  160. type = "real";
  161. container = "B_CargoNet_01_ammo_F";
  162. data[] = {
  163. {"srifle_DMR_01_F", 1, "WEAPON"},
  164. {"optic_SOS", 1, "ITEM"},
  165. {"10Rnd_762x54_Mag", 1, "MAGAZINE"},
  166. {"B_Kitbag_mcamo", 1, "BACKPACK"}
  167. };
  168. };
  169. };
  170. };
  171. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement