Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Author: Maverick Applications
- Convoy sidemission for Altis Life servers
- */
- class Maverick_ConvoySidemission
- {
- class Config
- {
- ConfigPool[] = {"GoldBarTransport","WeaponTransport","DrugTransport"};
- ForceConfigAtIndex = -1;
- SleepTime = 3600;
- MakePlayersHostileFor = 360;
- SidesNotAttackable[] = {"WEST"};
- AIDifficulty[] = {
- {"aimingAccuracy", 0.01},
- {"aimingShake", 0.01},
- {"aimingSpeed", 0.01},
- {"endurance", 0.01},
- {"spotDistance", 0.01},
- {"spotTime", 0.01},
- {"courage", 0.01},
- {"reloadSpeed", 0.01},
- {"commanding", 0.01},
- {"general", 0.01}
- };
- };
- class ConvoyConfigurationsPool
- {
- /*********************** EXAMPLE TRANSPORT FOR VIRTUAL ITEMS ***********************/
- class GoldBarTransport
- {
- class MapConfiguration
- {
- showMapMarker = 1;
- text = "Gold Transport";
- };
- class AIUnits
- {
- gear[] = {
- "H_Cap_police", // Headgear
- "G_Aviator", // Glasses
- "U_Rangemaster", // Uniform
- "V_TacVest_blk_POLICE", // Vest
- "", // Backpack
- {"arifle_MX_khk_F", "30Rnd_65x39_caseless_mag", 5}, // Primary weapon, ammo and how many magazines
- {"hgun_P07_khk_F", "16Rnd_9x21_Mag", 1}, // Secondary weapon, ammo and how many magazines
- };
- };
- class Messages
- {
- // Enable messages?
- enabled = 1;
- // Mission started announcement
- startAnnouncementHeader = "Gold Transport";
- startAnnouncementDescription = "The Federal Reserve's guarded transporter is currently moving larger amounts of gold.";
- // Mission objective completed
- stoppedAnnouncementHeader = "Gold Transporter disabled";
- stoppedAnnouncementDescription = "The gold transporter has been disabled.";
- // Mission completed announcement
- endAnnouncementHeader = "Gold Transport ended";
- endAnnouncementDescription = "The mission has ended.";
- };
- class Vehicles
- {
- // Vehicle configuration
- vehiclesInOrder[] = {"B_MRAP_01_hmg_F","B_Truck_01_covered_F","B_MRAP_01_F"};
- vehiclesSpawnMarkersInOrder[] = {"mav_convoy_spawn1","mav_convoy_spawn2","mav_convoy_spawn3"};
- vehiclesInheritDirection = 1;
- mainVehicleAtIndex = 1;
- maxSpeed = 50;
- removeVehiclesAfterSeconds = 600;
- additionalUnitsAmount = 10;
- };
- class Route
- {
- // Route configuration
- 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"};
- };
- class Loot
- {
- type = "virtual";
- container = "";
- data[] = {
- {"goldbar", 40}
- };
- };
- };
- class DrugTransport
- {
- class MapConfiguration
- {
- showMapMarker = 1;
- text = "drug Transport";
- };
- class AIUnits
- {
- gear[] = {
- "H_Cap_police", // Headgear
- "G_Aviator", // Glasses
- "U_Rangemaster", // Uniform
- "V_TacVest_blk_POLICE", // Vest
- "", // Backpack
- {"arifle_MX_khk_F", "30Rnd_65x39_caseless_mag", 5}, // Primary weapon, ammo and how many magazines
- {"hgun_P07_khk_F", "16Rnd_9x21_Mag", 1}, // Secondary weapon, ammo and how many magazines
- };
- };
- class Messages
- {
- // Enable messages?
- enabled = 1;
- // Mission started announcement
- startAnnouncementHeader = "drug Transport";
- startAnnouncementDescription = "The Federal Reserve's guarded transporter is currently moving larger amounts of gold.";
- // Mission objective completed
- stoppedAnnouncementHeader = "drug Transporter disabled";
- stoppedAnnouncementDescription = "The gold transporter has been disabled.";
- // Mission completed announcement
- endAnnouncementHeader = "drug Transport ended";
- endAnnouncementDescription = "The mission has ended.";
- };
- class Vehicles
- {
- // Vehicle configuration
- vehiclesInOrder[] = {"B_MRAP_01_hmg_F","B_Truck_01_covered_F","B_MRAP_01_F"};
- vehiclesSpawnMarkersInOrder[] = {"mav_convoy_spawnd1","mav_convoy_spawnd2","mav_convoy_spawnd3"};
- vehiclesInheritDirection = 1;
- mainVehicleAtIndex = 1;
- maxSpeed = 50;
- removeVehiclesAfterSeconds = 600;
- additionalUnitsAmount = 10;
- };
- class Route
- {
- // Route configuration
- markers[] = {"mav_convoy_waypointd1","mav_convoy_waypointd2","mav_convoy_waypointd3","mav_convoy_waypointd4","mav_convoy_waypointd5","mav_convoy_waypointd6","mav_convoy_waypointd7","mav_convoy_waypointd8","mav_convoy_waypointd9","mav_convoy_waypointd10","mav_convoy_waypointd11","mav_convoy_waypoint1d2"};
- };
- class Loot
- {
- type = "virtual";
- container = "";
- data[] = {
- {"heroin_processed", 40}
- };
- };
- };
- /*********************** EXAMPLE TRANSPORT FOR REAL ITEMS ***********************/
- class WeaponTransport
- {
- class MapConfiguration
- {
- showMapMarker = 1;
- text = "Weapon Transport";
- };
- class AIUnits
- {
- gear[] = {
- "H_Cap_police", // Headgear
- "G_Aviator", // Glasses
- "U_Rangemaster", // Uniform
- "V_TacVest_blk_POLICE", // Vest
- "", // Backpack
- {"arifle_MX_khk_F", "30Rnd_65x39_caseless_mag", 5}, // Primary weapon, ammo and how many magazines
- {"hgun_P07_khk_F", "16Rnd_9x21_Mag", 1}, // Secondary weapon, ammo and how many magazines
- };
- };
- class Messages
- {
- // Enable messages?
- enabled = 1;
- // Mission started announcement
- startAnnouncementHeader = "Weapon Transport";
- startAnnouncementDescription = "The local Police are currently transporting large amounts of weapons through Altis with ground vehicles.";
- // Mission objective completed
- stoppedAnnouncementHeader = "Weapon Transporter disabled";
- stoppedAnnouncementDescription = "The Weapon transporter has been disabled.";
- // Mission completed announcement
- endAnnouncementHeader = "Weapon Transport ended";
- endAnnouncementDescription = "The mission has ended.";
- };
- class Vehicles
- {
- // Vehicle configuration
- vehiclesInOrder[] = {"B_MRAP_01_hmg_F","B_Truck_01_covered_F","B_MRAP_01_F","B_MRAP_01_F"};
- vehiclesSpawnMarkersInOrder[] = {"mav_convoy_spawng1","mav_convoy_spawng2","mav_convoy_spawng3","mav_convoy_spawng4"};
- vehiclesInheritDirection = 1;
- mainVehicleAtIndex = 2;
- maxSpeed = 50;
- removeVehiclesAfterSeconds = 600;
- additionalUnitsAmount = 10;
- };
- class Route
- {
- // Route configuration
- markers[] = {"mav_convoy_waypointg1","mav_convoy_waypointg2","mav_convoy_waypointg3","mav_convoy_waypointg4","mav_convoy_waypointg5","mav_convoy_waypointg6","mav_convoy_waypointg7","mav_convoy_waypointg8","mav_convoy_waypointg9","mav_convoy_waypointg10","mav_convoy_waypointg11","mav_convoy_waypointg12"};
- };
- class Loot
- {
- type = "real";
- container = "IG_supplyCrate_F";
- data[] = {
- {"srifle_DMR_01_F", 1, "WEAPON"},
- {"arifle_Mk20_MRCO_plain_F", 1, "WEAPON"},
- {"LMG_03_F", 1, "WEAPON"},
- {"arifle_Katiba_GL_F", 1, "WEAPON"},
- {"srifle_LRR_F", 1, "WEAPON"},
- {"hgun_P07_khk_F", 1, "WEAPON"},
- {"SMG_05_F", 1, "WEAPON"},
- {"30Rnd_556x45_Stanag", 10, "MAGAZINE"},
- {"30Rnd_9x21_Mag_SMG_02", 10, "MAGAZINE"},
- {"30Rnd_65x39_caseless_green", 10, "MAGAZINE"},
- {"7Rnd_408_Mag", 10, "MAGAZINE"},
- {"16Rnd_9x21_Mag", 10, "MAGAZINE"},
- {"200Rnd_556x45_Box_F", 10, "MAGAZINE"},
- {"10Rnd_762x54_Mag", 10, "MAGAZINE"},
- {"optic_Hamr", 1, "ITEM"},
- {"optic_MRCO", 1, "ITEM"},
- {"V_TacChestrig_oli_F", 1, "BACKPACK"},
- {"V_TacChestrig_oli_F", 1, "BACKPACK"}
- };
- };
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement