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"};
- ForceConfigAtIndex = 1;
- SleepTime = 3600;
- MakePlayersHostileFor = 60;
- TimeoutBetweenMarkers = 300;
- SidesNotAttackable[] = {"WEST"};
- AIDifficulty[] = {
- {"aimingAccuracy", 1},
- {"aimingShake", 1},
- {"aimingSpeed", 1},
- {"endurance", 1},
- {"spotDistance", 1},
- {"spotTime", 1},
- {"courage", 1},
- {"reloadSpeed", 1},
- {"commanding", 1},
- {"general", 1}
- };
- };
- class ConvoyConfigurationsPool
- {
- /*********************** EXAMPLE TRANSPORT FOR VIRTUAL ITEMS ***********************/
- class GoldBarTransport
- {
- class MapConfiguration
- {
- showMapMarker = 1;
- text = "Gold Transport Mission";
- };
- class AIUnits
- {
- gear[] = {
- "H_MilCap_gen_F", // Headgear
- "", // Glasses
- "U_B_GEN_Soldier_F", // Uniform
- "V_TacVest_gen_F", // Vest
- "", // Backpack
- {"arifle_SPAR_01_blk_F", "30Rnd_556x45_Stanag", 5}, // Primary weapon, ammo and how many magazines
- {"", "", 5}, // Secondary weapon, ammo and how many magazines
- };
- };
- class Messages
- {
- // Enable messages?
- enabled = 1;
- // Mission started announcement
- startAnnouncementHeader = "Gold Transport Mission";
- startAnnouncementDescription = "The Reserve Bank of Australia's guarded transporter is currently restocking gold bars worth $10m.";
- // 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[] = {"O_T_LSV_02_armed_F","O_T_Truck_03_ammo_ghex_F","O_T_LSV_02_unarmed_F"};
- vehiclesSpawnMarkersInOrder[] = {"gold_convoy_spawn_1","gold_convoy_spawn_2","gold_convoy_spawn_3"};
- vehiclesInheritDirection = 1;
- mainVehicleAtIndex = 1;
- maxSpeed = 100;
- removeVehiclesAfterSeconds = 1800;
- additionalUnitsAmount = 20;
- };
- class Route
- {
- // Route configuration
- markers[] = {"gold_convoy_waypoint_1","gold_convoy_waypoint_2","gold_convoy_waypoint_3","gold_convoy_waypoint_4","gold_convoy_waypoint_5"};
- };
- class Loot
- {
- type = "virtual";
- container = "Land_CargoBox_V1_F";
- data[] = {
- {"goldbar", 10}
- };
- };
- };
- /*********************** EXAMPLE TRANSPORT FOR REAL ITEMS ***********************/
- class WeaponTransport
- {
- class MapConfiguration
- {
- showMapMarker = 1;
- text = "Weapon Transport Mission";
- };
- class AIUnits
- {
- gear[] = {
- "H_MilCap_gen_F", // Headgear
- "", // Glasses
- "U_B_GEN_Soldier_F", // Uniform
- "V_TacVest_gen_F", // Vest
- "", // Backpack
- {"arifle_SPAR_01_blk_F", "30Rnd_556x45_Stanag", 5}, // Primary weapon, ammo and how many magazines
- {"", "", 5}, // Secondary weapon, ammo and how many magazines
- };
- };
- class Messages
- {
- // Enable messages?
- enabled = 1;
- // Mission started announcement
- startAnnouncementHeader = "Weapon Transport";
- startAnnouncementDescription = "The Australian Army is currently restocking on weapons and is transporting through Altis near Paros 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[] = {"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"};
- vehiclesSpawnMarkersInOrder[] = {"weapon_convoy_spawn_1","weapon_convoy_spawn_2","weapon_convoy_spawn_3","weapon_convoy_spawn_4"};
- vehiclesInheritDirection = 1;
- mainVehicleAtIndex = 2;
- maxSpeed = 100;
- removeVehiclesAfterSeconds = 1800;
- additionalUnitsAmount = 10;
- };
- class Route
- {
- // Route configuration
- markers[] = {"weapon_convoy_waypoint_1","weapon_convoy_waypoint_2","weapon_convoy_waypoint_3","weapon_convoy_waypoint_4","weapon_convoy_waypoint_5","weapon_convoy_waypoint_6","weapon_convoy_waypoint_7","weapon_convoy_waypoint_8","weapon_convoy_waypoint_9","weapon_convoy_waypoint_10","weapon_convoy_waypoint_11"};
- };
- class Loot
- {
- type = "real";
- container = "B_CargoNet_01_ammo_F";
- data[] = {
- {"srifle_DMR_01_F", 3, "WEAPON"},
- {"srifle_LRR_F", 3, "WEAPON"},
- {"arifle_AK12_F", 2, "WEAPON"},
- {"LMG_Zafir_F", 2, "WEAPON"},
- {"srifle_LRR_camo_LRPS_F", 1, "WEAPON"},
- {"SMG_05_F", 10, "WEAPON"},
- {"optic_SOS", 4, "ITEM"},
- {"10Rnd_762x54_Mag", 20, "MAGAZINE"},
- {"16Rnd_9x21_Mag", 6, "MAGAZINE"},
- {"30Rnd_762x39_Mag_F", 10, "MAGAZINE"},
- {"150Rnd_762x54_Box", 5, "MAGAZINE"},
- {"7Rnd_408_Mag", 5, "MAGAZINE"},
- {"30Rnd_9x21_Mag_SMG_02", 30, "MAGAZINE"},
- {"B_Kitbag_mcamo", 5, "BACKPACK"},
- {"B_Carryall_oli", 3, "BACKPACK"}
- };
- };
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement