Advertisement
Guest User

Untitled

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