Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * This file is subject to the terms and conditions defined in
- * file 'APL-SA LICENSE.txt', which is part of this source code package.
- */
- #define USE_MAS_WEAPONS 1
- BS_debug_logCrateFill = true; // True to log items spawned in crates to server .RPT, usually right after [Display #24]
- BS_player_showCrateClaimMessage = true; // True to show toast and chat notification with coordinates to all players when any players are close to crate
- BS_player_showCrateClaimMessageRadius = 20; // Players must be this close (in meters) to trigger serverwide chat/toast notification
- BS_class_crate = "Exile_Container_SupplyBox"; // Class of loot crate.
- BS_class_wreckage = "Land_UWreck_FishingBoat_F"; // Class of shipwreck.
- BS_count_shipwrecks = 4; // Total wrecks
- BS_locations_crateWreckOffset = 10; // Distance from wreck to spawn crate.
- //BS_locations_center = [14912.4,15108.7,0]; // Center o fmap from which to spawn wrecks, on Altis this is in the central bay
- BS_locations_center = [7686,7689,0]; // Tanoa Center
- BS_locations_distance_min = 0; // Minimum distance from BS_location_center to spawn crate.
- BS_locations_distance_max = 7900; // Maximum distance from BS_locations_center to spawn crate. Careful putting this too high or they will spawn off the map!
- BS_loot_enablePoptabs = true; // True to spawn random number of poptabs in crates, otherwise false.
- BS_loot_count_poptabs_seed = [5000, 10000, 25000]; // min/mid/max, so will spawn around 5k most of the time with small chance to be much closer to 18k and small chance to be closer to 3k
- BS_loot_itemCargo = // Items to put in loot crate.
- [ // [class (if array, picks one random item), guaranteed amount, possible random additional amount, % chance of spawning additional random amount]
- #ifdef USE_MAS_WEAPONS
- [[
- "B_mas_Bergen_black",
- "5Rnd_mas_127x99_dem_Stanag",
- "5Rnd_mas_127x108_dem_mag",
- "arifle_mas_aa12",
- "arifle_mas_saiga",
- "arifle_mas_mp5",
- "arifle_mas_mp5_v",
- "arifle_mas_mp5_d",
- "arifle_mas_mp5sd_ds",
- "hgun_mas_mp7_F"
- "hgun_mas_mp7p_F",
- "hgun_mas_uzi_F",
- "arifle_mas_m27",
- "arifle_mas_m27m",
- "arifle_mas_m27_v",
- "arifle_mas_m27m_v",
- "arifle_mas_m27_d",
- "arifle_mas_m27m_d",
- "LMG_mas_Mk200_F",
- "LMG_mas_M249_F",
- "LMG_mas_M249_F_v",
- "LMG_mas_M249_F_d",
- "LMG_mas_M249a_F",
- "LMG_mas_Mk48_F",
- "LMG_mas_Mk48_F_v",
- "LMG_mas_Mk48_F_d",
- "LMG_mas_M240_F",
- "LMG_mas_mg3_F",
- "LMG_mas_M60_F",
- "LMG_mas_m72_F",
- "LMG_mas_rpk_F",
- "LMG_mas_pkm_F",
- "LMG_mas_pech_F",
- "hgun_mas_sa61_F",
- "arifle_mas_hk416",
- "arifle_mas_hk416_gl",
- "arifle_mas_hk416_m203",
- "arifle_mas_hk416_v",
- "arifle_mas_hk416_gl_v",
- "arifle_mas_hk416_m203_v",
- "arifle_mas_hk416_d",
- "arifle_mas_hk416_gl_d",
- "arifle_mas_hk416_m203_d",
- "arifle_mas_hk416c",
- "arifle_mas_hk416_m203c",
- "arifle_mas_hk416c_v",
- "arifle_mas_hk416_m203c_v",
- "arifle_mas_hk416c_d",
- "arifle_mas_hk416_m203c_d",
- "arifle_mas_m4",
- "arifle_mas_m4_gl",
- "arifle_mas_m4_m203",
- "arifle_mas_m4_v",
- "arifle_mas_m4_gl_v",
- "arifle_mas_m4_m203_v",
- "arifle_mas_m4_d",
- "arifle_mas_m4_gl_d",
- "arifle_mas_m4_m203_d",
- "arifle_mas_m4vlt",
- "arifle_mas_m4c",
- "arifle_mas_m4_m203c",
- "arifle_mas_m4c_v",
- "arifle_mas_m4_m203c_v",
- "arifle_mas_m4c_d",
- "arifle_mas_m4_m203c_d",
- "arifle_mas_m16",
- "arifle_mas_m16_gl",
- "arifle_mas_l119",
- "arifle_mas_l119c",
- "arifle_mas_l119_gl",
- "arifle_mas_l119_m203",
- "arifle_mas_l119_v",
- "arifle_mas_l119c_v",
- "arifle_mas_l119_gl_v",
- "arifle_mas_l119_m203_v",
- "arifle_mas_l119_d",
- "arifle_mas_l119c_d",
- "arifle_mas_l119_gl_d",
- "arifle_mas_l119_m203_d",
- "arifle_mas_g36c",
- "arifle_mas_mk16",
- "arifle_mas_mk16_gl",
- "arifle_mas_mk16_l",
- "arifle_mas_mk16_l_gl",
- "arifle_mas_mk17",
- "arifle_mas_mk17_gl",
- "arifle_mas_arx",
- "arifle_mas_arx_gl",
- "arifle_mas_arx_l",
- "arifle_mas_arx_l_gl",
- "arifle_mas_g3",
- "arifle_mas_g3_m203",
- "arifle_mas_g3s",
- "arifle_mas_g3s_m203",
- "arifle_mas_fal",
- "arifle_mas_fal_m203",
- "arifle_mas_ak_74m",
- "arifle_mas_ak_74m_gl",
- "arifle_mas_ak_74m_c",
- "arifle_mas_ak_74m_gl_c",
- "arifle_mas_aks74",
- "arifle_mas_aks74_gl",
- "arifle_mas_ak74",
- "arifle_mas_ak74_gl",
- "arifle_mas_ak_74m_sf",
- "arifle_mas_ak_74m_sf_gl",
- "arifle_mas_ak_74m_sf_c",
- "arifle_mas_ak_74m_sf_gl_c",
- "arifle_mas_aks_74_sf",
- "arifle_mas_aks_74_sf_gl",
- "arifle_mas_ak12_sf",
- "arifle_mas_ak12_sf_gl",
- "arifle_mas_akms",
- "arifle_mas_akms_gl",
- "arifle_mas_akms_c",
- "arifle_mas_akms_gl_c",
- "arifle_mas_akm",
- "arifle_mas_akm_gl",
- "arifle_mas_m70",
- "arifle_mas_m70_gl",
- "arifle_mas_m70ab",
- "arifle_mas_m70ab_gl",
- "arifle_mas_asval",
- "arifle_mas_asval_ds",
- "arifle_mas_aks74u",
- "arifle_mas_aks74u_c",
- "arifle_mas_hk417c",
- "arifle_mas_hk417_m203c",
- "arifle_mas_hk417c_v",
- "arifle_mas_hk417_m203c_v",
- "arifle_mas_hk417c_d",
- "arifle_mas_hk417_m203c_d",
- "arifle_mas_m14",
- "arifle_mas_lee",
- "srifle_mas_hk417",
- "srifle_mas_hk417_v",
- "srifle_mas_hk417_d",
- "srifle_mas_sr25",
- "srifle_mas_sr25_v",
- "srifle_mas_sr25_d",
- "srifle_mas_ebr",
- "srifle_mas_mk17s",
- "srifle_mas_m110",
- "srifle_mas_m107",
- "srifle_mas_m107_v",
- "srifle_mas_m107_d",
- "srifle_mas_m24",
- "srifle_mas_m24_v",
- "srifle_mas_m24_d",
- "srifle_mas_lrr",
- "srifle_mas_m91",
- "srifle_mas_svd",
- "srifle_mas_vss",
- "srifle_mas_ksvk",
- "srifle_mas_ksvk_c"
- ], 5, 20, 50],
- [[
- "mas_launch_maaws_F",
- "mas_launch_smaw_F",
- "mas_launch_NLAW_F",
- "mas_launch_LAW_F",
- "mas_launch_M136_F",
- "mas_launch_TitanS_F",
- "mas_launch_RPG7_F",
- "mas_launch_RPG18_F",
- "mas_launch_Metis_F",
- "mas_launch_pzf60_F",
- "mas_launch_Stinger_F",
- "mas_launch_Strela_F",
- "mas_MAAWS",
- "mas_MAAWS_HE",
- "mas_SMAW",
- "mas_SMAW_HE",
- "mas_SMAW_NE",
- "mas_NLAW",
- "mas_NLAW_HE",
- "mas_LAW",
- "mas_M136",
- "mas_M136_HE",
- "mas_TitanS",
- "mas_TitanS_HE",
- "mas_PG7V",
- "mas_OG7",
- "mas_PG7L",
- "mas_PG7VR",
- "mas_TBG7V",
- "mas_PG18",
- "mas_Metis",
- "mas_Metis_HE",
- "mas_pzf60",
- "mas_Stinger",
- "mas_Strela"
- ], 1, 3, 100],
- [[
- "mas_MAAWS",
- "mas_MAAWS_HE",
- "mas_SMAW",
- "mas_SMAW_HE",
- "mas_SMAW_NE",
- "mas_NLAW",
- "mas_NLAW_HE",
- "mas_LAW",
- "mas_M136",
- "mas_M136_HE",
- "mas_TitanS",
- "mas_TitanS_HE",
- "mas_PG7V",
- "mas_OG7",
- "mas_PG7L",
- "mas_PG7VR",
- "mas_TBG7V",
- "mas_PG18",
- "mas_Metis",
- "mas_Metis_HE",
- "mas_pzf60",
- "mas_Stinger",
- "mas_Strela"
- ], 2, 5, 100],
- [[
- "30Rnd_mas_556x45_Stanag",
- "30Rnd_mas_556x45_T_Stanag",
- "30Rnd_mas_556x45sd_Stanag",
- "200Rnd_mas_556x45_Stanag",
- "200Rnd_mas_556x45_T_Stanag",
- "100Rnd_mas_762x51_Stanag",
- "100Rnd_mas_762x51_T_Stanag",
- "100Rnd_mas_762x54_mag",
- "100Rnd_mas_762x54_T_mag",
- "100Rnd_mas_762x39_mag",
- "100Rnd_mas_762x39_T_mag",
- "30Rnd_mas_545x39_mag",
- "30Rnd_mas_545x39_T_mag",
- "100Rnd_mas_545x39_mag",
- "100Rnd_mas_545x39_T_mag",
- "20Rnd_mas_762x51_Stanag",
- "20Rnd_mas_762x51_T_Stanag",
- "20Rnd_mas_762x51sd_Stanag",
- "5Rnd_mas_762x51_Stanag",
- "5Rnd_mas_762x51_T_Stanag",
- "10Rnd_mas_338_Stanag",
- "10Rnd_mas_338_T_Stanag",
- "30Rnd_mas_762x39_mag",
- "30Rnd_mas_762x39_T_mag",
- "10Rnd_mas_762x54_mag",
- "10Rnd_mas_762x54_T_mag",
- "5Rnd_mas_127x99_Stanag",
- "5Rnd_mas_127x99_T_Stanag",
- "5Rnd_mas_127x108_mag",
- "5Rnd_mas_127x108_T_mag",
- "30Rnd_mas_9x21_Stanag",
- "30Rnd_mas_9x21d_Stanag",
- "12Rnd_mas_45acp_Mag",
- "10Rnd_mas_45acp_Mag",
- "8Rnd_mas_45acp_Mag",
- "15Rnd_mas_9x21_Mag",
- "17Rnd_mas_9x21_Mag",
- "13Rnd_mas_9x21_Mag",
- "8Rnd_mas_9x18_mag",
- "7Rnd_mas_12Gauge_Slug",
- "7Rnd_mas_12Gauge_Pellets",
- "10Rnd_mas_12Gauge_Slug",
- "10Rnd_mas_12Gauge_Pellets",
- "64Rnd_mas_9x18_mag",
- "20Rnd_mas_765x17_Mag",
- "25Rnd_mas_9x19_Mag",
- "40Rnd_mas_46x30_Mag",
- "20Rnd_mas_12Gauge_Slug",
- "20Rnd_mas_12Gauge_Pellets",
- "150Rnd_mas_556x45_Stanag",
- "150Rnd_mas_556x45_T_Stanag",
- "30Rnd_mas_9x39_mag",
- "20Rnd_mas_9x39_mag",
- "5Rnd_mas_127x99_dem_Stanag",
- "5Rnd_mas_127x108_dem_mag"
- ], 20, 60, 100],
- #endif
- ["Exile_Item_SafeKit", 0, 3, 100], // 100% of the time 0-1 safes will spawn.
- ["Exile_Weapon_AKS_Gold", 0, 3, 75], // 100% of the time 0-2 safes will spawn.
- ["Exile_Magazine_30Rnd_762x39_AK", 0, 10, 100],
- ["Exile_Weapon_TaurusGold", 1, 1, 100], // One pistol guaranteed, with 100% chance to spawn random pistol (so really 50%)
- ["Exile_Magazine_6Rnd_45ACP", 0, 3, 100],
- ["arifle_SDAR_F", 1, 1, 50],
- ["20Rnd_556x45_UW_mag", 1, 2, 100], // One mag guaranteed, with 100% chance to spawn between 0-2 more mags
- ["SatchelCharge_Remote_Mag", 1, 2, 100],
- ["Exile_Item_Defibrillator", 1, 2, 100],
- ["Exile_Item_Rope", 1, 1, 100],
- ["Exile_Item_Vishpirin", 1, 3, 100],
- ["Exile_Item_DuctTape", 2, 5, 100],
- ["Exile_Item_PlasticBottleFreshWater", 2, 5, 100],
- ["Exile_Item_EMRE", 1, 5, 100],
- [["V_RebreatherB", "V_RebreatherIA", "V_RebreatherIR"], 1, 2, 100],
- [["G_Diving", "G_B_Diving", "G_O_Diving", "G_I_Diving"], 1, 2, 100],
- [["NVGoggles", "NVGoggles_INDEP", "NVGoggles_OPFOR"], 1, 2, 100],
- ["Exile_Item_ConcreteWallKit", 0, 7, 80],
- ["Exile_Item_ConcreteFloorKit", 0, 7, 80],
- ["Exile_Item_FortificationUpgrade", 0, 4, 100],
- ["Exile_Item_RubberDuck", 0, 2, 14], // No ducks guaranteed, but 14% of the time, an additional 0-2 ducks could spawn.
- ["Exile_Item_Knife", 0, 1, 1] // No knives guaranteed, but 25% of the time an additional 0-1 knives could spawn.
- ];
- publicVariable "BS_debug_logCrateFill";
- publicVariable "BS_player_showCrateClaimMessage";
- publicVariable "BS_player_showCrateClaimMessageRadius";
- publicVariable "BS_class_crate";
- publicVariable "BS_class_wreckage";
- publicVariable "BS_count_shipwrecks";
- publicVariable "BS_locations_crateWreckOffset";
- publicVariable "BS_locations_center";
- publicVariable "BS_locations_distance_min";
- publicVariable "BS_locations_distance_max";
- publicVariable "BS_loot_enablePoptabs";
- publicVariable "BS_loot_count_poptabs_seed";
- publicVariable "BS_loot_itemCargo";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement