Advertisement
Guest User

bigfoot_shipwrecks_config.sqf

a guest
Mar 25th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 10.40 KB | None | 0 0
  1. /*
  2.  * This file is subject to the terms and conditions defined in
  3.  * file 'APL-SA LICENSE.txt', which is part of this source code package.
  4.  */
  5. #define USE_MAS_WEAPONS 1
  6. BS_debug_logCrateFill = true; // True to log items spawned in crates to server .RPT, usually right after [Display #24]
  7.  
  8. BS_player_showCrateClaimMessage = true; // True to show toast and chat notification with coordinates to all players when any players are close to crate
  9. BS_player_showCrateClaimMessageRadius = 20; // Players must be this close (in meters) to trigger serverwide chat/toast notification
  10.  
  11. BS_class_crate = "Exile_Container_SupplyBox"; // Class of loot crate.
  12. BS_class_wreckage = "Land_UWreck_FishingBoat_F"; // Class of shipwreck.
  13.  
  14. BS_count_shipwrecks = 4; // Total wrecks
  15.  
  16. BS_locations_crateWreckOffset = 10; // Distance from wreck to spawn crate.
  17. //BS_locations_center = [14912.4,15108.7,0]; // Center o fmap from which to spawn wrecks, on Altis this is in the central bay
  18. BS_locations_center = [7686,7689,0]; // Tanoa Center
  19. BS_locations_distance_min = 0; // Minimum distance from BS_location_center to spawn crate.
  20. 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!
  21.  
  22. BS_loot_enablePoptabs = true; // True to spawn random number of poptabs in crates, otherwise false.
  23. 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
  24.  
  25. BS_loot_itemCargo = // Items to put in loot crate.
  26. [   // [class (if array, picks one random item), guaranteed amount, possible random additional amount, % chance of spawning additional random amount]
  27.     #ifdef USE_MAS_WEAPONS
  28.     [[
  29.       "B_mas_Bergen_black",
  30.       "5Rnd_mas_127x99_dem_Stanag",
  31.       "5Rnd_mas_127x108_dem_mag",
  32.             "arifle_mas_aa12",
  33.             "arifle_mas_saiga",
  34.             "arifle_mas_mp5",
  35.             "arifle_mas_mp5_v",
  36.             "arifle_mas_mp5_d",
  37.             "arifle_mas_mp5sd_ds",
  38.             "hgun_mas_mp7_F"
  39.       "hgun_mas_mp7p_F",
  40.       "hgun_mas_uzi_F",
  41.             "arifle_mas_m27",
  42.             "arifle_mas_m27m",
  43.             "arifle_mas_m27_v",
  44.             "arifle_mas_m27m_v",
  45.             "arifle_mas_m27_d",
  46.             "arifle_mas_m27m_d",
  47.             "LMG_mas_Mk200_F",
  48.             "LMG_mas_M249_F",
  49.             "LMG_mas_M249_F_v",
  50.             "LMG_mas_M249_F_d",
  51.             "LMG_mas_M249a_F",
  52.             "LMG_mas_Mk48_F",
  53.             "LMG_mas_Mk48_F_v",
  54.             "LMG_mas_Mk48_F_d",
  55.             "LMG_mas_M240_F",
  56.             "LMG_mas_mg3_F",
  57.             "LMG_mas_M60_F",
  58.             "LMG_mas_m72_F",
  59.             "LMG_mas_rpk_F",
  60.             "LMG_mas_pkm_F",
  61.             "LMG_mas_pech_F",
  62.       "hgun_mas_sa61_F",
  63.             "arifle_mas_hk416",
  64.             "arifle_mas_hk416_gl",
  65.             "arifle_mas_hk416_m203",
  66.             "arifle_mas_hk416_v",
  67.             "arifle_mas_hk416_gl_v",
  68.             "arifle_mas_hk416_m203_v",
  69.             "arifle_mas_hk416_d",
  70.             "arifle_mas_hk416_gl_d",
  71.             "arifle_mas_hk416_m203_d",
  72.             "arifle_mas_hk416c",
  73.             "arifle_mas_hk416_m203c",
  74.             "arifle_mas_hk416c_v",
  75.             "arifle_mas_hk416_m203c_v",
  76.             "arifle_mas_hk416c_d",
  77.             "arifle_mas_hk416_m203c_d",
  78.             "arifle_mas_m4",
  79.             "arifle_mas_m4_gl",
  80.             "arifle_mas_m4_m203",
  81.             "arifle_mas_m4_v",
  82.             "arifle_mas_m4_gl_v",
  83.             "arifle_mas_m4_m203_v",
  84.             "arifle_mas_m4_d",
  85.             "arifle_mas_m4_gl_d",
  86.             "arifle_mas_m4_m203_d",
  87.             "arifle_mas_m4vlt",
  88.             "arifle_mas_m4c",
  89.             "arifle_mas_m4_m203c",
  90.             "arifle_mas_m4c_v",
  91.             "arifle_mas_m4_m203c_v",
  92.             "arifle_mas_m4c_d",
  93.             "arifle_mas_m4_m203c_d",
  94.             "arifle_mas_m16",
  95.             "arifle_mas_m16_gl",
  96.             "arifle_mas_l119",
  97.             "arifle_mas_l119c",
  98.             "arifle_mas_l119_gl",
  99.             "arifle_mas_l119_m203",
  100.             "arifle_mas_l119_v",
  101.             "arifle_mas_l119c_v",
  102.             "arifle_mas_l119_gl_v",
  103.             "arifle_mas_l119_m203_v",
  104.             "arifle_mas_l119_d",
  105.             "arifle_mas_l119c_d",
  106.             "arifle_mas_l119_gl_d",
  107.             "arifle_mas_l119_m203_d",
  108.             "arifle_mas_g36c",
  109.             "arifle_mas_mk16",
  110.             "arifle_mas_mk16_gl",
  111.             "arifle_mas_mk16_l",
  112.             "arifle_mas_mk16_l_gl",
  113.             "arifle_mas_mk17",
  114.             "arifle_mas_mk17_gl",
  115.             "arifle_mas_arx",
  116.             "arifle_mas_arx_gl",
  117.             "arifle_mas_arx_l",
  118.             "arifle_mas_arx_l_gl",
  119.             "arifle_mas_g3",
  120.             "arifle_mas_g3_m203",
  121.             "arifle_mas_g3s",
  122.             "arifle_mas_g3s_m203",
  123.             "arifle_mas_fal",
  124.             "arifle_mas_fal_m203",
  125.             "arifle_mas_ak_74m",
  126.             "arifle_mas_ak_74m_gl",
  127.             "arifle_mas_ak_74m_c",
  128.             "arifle_mas_ak_74m_gl_c",
  129.             "arifle_mas_aks74",
  130.             "arifle_mas_aks74_gl",
  131.             "arifle_mas_ak74",
  132.             "arifle_mas_ak74_gl",
  133.             "arifle_mas_ak_74m_sf",
  134.             "arifle_mas_ak_74m_sf_gl",
  135.             "arifle_mas_ak_74m_sf_c",
  136.             "arifle_mas_ak_74m_sf_gl_c",
  137.             "arifle_mas_aks_74_sf",
  138.             "arifle_mas_aks_74_sf_gl",
  139.             "arifle_mas_ak12_sf",
  140.             "arifle_mas_ak12_sf_gl",
  141.             "arifle_mas_akms",
  142.             "arifle_mas_akms_gl",
  143.             "arifle_mas_akms_c",
  144.             "arifle_mas_akms_gl_c",
  145.             "arifle_mas_akm",
  146.             "arifle_mas_akm_gl",
  147.             "arifle_mas_m70",
  148.             "arifle_mas_m70_gl",
  149.             "arifle_mas_m70ab",
  150.             "arifle_mas_m70ab_gl",
  151.             "arifle_mas_asval",
  152.             "arifle_mas_asval_ds",
  153.             "arifle_mas_aks74u",
  154.             "arifle_mas_aks74u_c",
  155.             "arifle_mas_hk417c",
  156.             "arifle_mas_hk417_m203c",
  157.             "arifle_mas_hk417c_v",
  158.             "arifle_mas_hk417_m203c_v",
  159.             "arifle_mas_hk417c_d",
  160.             "arifle_mas_hk417_m203c_d",
  161.             "arifle_mas_m14",
  162.             "arifle_mas_lee",
  163.             "srifle_mas_hk417",
  164.             "srifle_mas_hk417_v",
  165.             "srifle_mas_hk417_d",
  166.             "srifle_mas_sr25",
  167.             "srifle_mas_sr25_v",
  168.             "srifle_mas_sr25_d",
  169.             "srifle_mas_ebr",
  170.             "srifle_mas_mk17s",
  171.             "srifle_mas_m110",
  172.             "srifle_mas_m107",
  173.             "srifle_mas_m107_v",
  174.             "srifle_mas_m107_d",
  175.             "srifle_mas_m24",
  176.             "srifle_mas_m24_v",
  177.             "srifle_mas_m24_d",
  178.             "srifle_mas_lrr",
  179.             "srifle_mas_m91",
  180.             "srifle_mas_svd",
  181.             "srifle_mas_vss",
  182.             "srifle_mas_ksvk",
  183.             "srifle_mas_ksvk_c"
  184.     ], 5, 20, 50],
  185.     [[
  186.             "mas_launch_maaws_F",
  187.             "mas_launch_smaw_F",
  188.             "mas_launch_NLAW_F",
  189.             "mas_launch_LAW_F",
  190.             "mas_launch_M136_F",
  191.             "mas_launch_TitanS_F",
  192.             "mas_launch_RPG7_F",
  193.             "mas_launch_RPG18_F",
  194.             "mas_launch_Metis_F",
  195.             "mas_launch_pzf60_F",
  196.             "mas_launch_Stinger_F",
  197.             "mas_launch_Strela_F",
  198.             "mas_MAAWS",
  199.             "mas_MAAWS_HE",
  200.             "mas_SMAW",
  201.             "mas_SMAW_HE",
  202.             "mas_SMAW_NE",
  203.             "mas_NLAW",
  204.             "mas_NLAW_HE",
  205.             "mas_LAW",
  206.             "mas_M136",
  207.             "mas_M136_HE",
  208.             "mas_TitanS",
  209.             "mas_TitanS_HE",
  210.             "mas_PG7V",
  211.             "mas_OG7",
  212.             "mas_PG7L",
  213.             "mas_PG7VR",
  214.             "mas_TBG7V",
  215.             "mas_PG18",
  216.             "mas_Metis",
  217.             "mas_Metis_HE",
  218.             "mas_pzf60",
  219.             "mas_Stinger",
  220.             "mas_Strela"
  221.     ], 1, 3, 100],
  222.     [[
  223.             "mas_MAAWS",
  224.             "mas_MAAWS_HE",
  225.             "mas_SMAW",
  226.             "mas_SMAW_HE",
  227.             "mas_SMAW_NE",
  228.             "mas_NLAW",
  229.             "mas_NLAW_HE",
  230.             "mas_LAW",
  231.             "mas_M136",
  232.             "mas_M136_HE",
  233.             "mas_TitanS",
  234.             "mas_TitanS_HE",
  235.             "mas_PG7V",
  236.             "mas_OG7",
  237.             "mas_PG7L",
  238.             "mas_PG7VR",
  239.             "mas_TBG7V",
  240.             "mas_PG18",
  241.             "mas_Metis",
  242.             "mas_Metis_HE",
  243.             "mas_pzf60",
  244.             "mas_Stinger",
  245.             "mas_Strela"
  246.     ], 2, 5, 100],
  247.     [[
  248.             "30Rnd_mas_556x45_Stanag",
  249.             "30Rnd_mas_556x45_T_Stanag",
  250.             "30Rnd_mas_556x45sd_Stanag",
  251.             "200Rnd_mas_556x45_Stanag",
  252.             "200Rnd_mas_556x45_T_Stanag",
  253.             "100Rnd_mas_762x51_Stanag",
  254.             "100Rnd_mas_762x51_T_Stanag",
  255.             "100Rnd_mas_762x54_mag",
  256.             "100Rnd_mas_762x54_T_mag",
  257.             "100Rnd_mas_762x39_mag",
  258.             "100Rnd_mas_762x39_T_mag",
  259.             "30Rnd_mas_545x39_mag",
  260.             "30Rnd_mas_545x39_T_mag",
  261.             "100Rnd_mas_545x39_mag",
  262.             "100Rnd_mas_545x39_T_mag",
  263.             "20Rnd_mas_762x51_Stanag",
  264.             "20Rnd_mas_762x51_T_Stanag",
  265.             "20Rnd_mas_762x51sd_Stanag",
  266.             "5Rnd_mas_762x51_Stanag",
  267.             "5Rnd_mas_762x51_T_Stanag",
  268.             "10Rnd_mas_338_Stanag",
  269.             "10Rnd_mas_338_T_Stanag",
  270.             "30Rnd_mas_762x39_mag",
  271.             "30Rnd_mas_762x39_T_mag",
  272.             "10Rnd_mas_762x54_mag",
  273.             "10Rnd_mas_762x54_T_mag",
  274.             "5Rnd_mas_127x99_Stanag",
  275.             "5Rnd_mas_127x99_T_Stanag",
  276.             "5Rnd_mas_127x108_mag",
  277.             "5Rnd_mas_127x108_T_mag",
  278.             "30Rnd_mas_9x21_Stanag",
  279.             "30Rnd_mas_9x21d_Stanag",
  280.             "12Rnd_mas_45acp_Mag",
  281.             "10Rnd_mas_45acp_Mag",
  282.             "8Rnd_mas_45acp_Mag",
  283.             "15Rnd_mas_9x21_Mag",
  284.             "17Rnd_mas_9x21_Mag",
  285.             "13Rnd_mas_9x21_Mag",
  286.             "8Rnd_mas_9x18_mag",
  287.             "7Rnd_mas_12Gauge_Slug",
  288.             "7Rnd_mas_12Gauge_Pellets",
  289.             "10Rnd_mas_12Gauge_Slug",
  290.             "10Rnd_mas_12Gauge_Pellets",
  291.             "64Rnd_mas_9x18_mag",
  292.             "20Rnd_mas_765x17_Mag",
  293.             "25Rnd_mas_9x19_Mag",
  294.             "40Rnd_mas_46x30_Mag",
  295.             "20Rnd_mas_12Gauge_Slug",
  296.             "20Rnd_mas_12Gauge_Pellets",
  297.             "150Rnd_mas_556x45_Stanag",
  298.             "150Rnd_mas_556x45_T_Stanag",
  299.             "30Rnd_mas_9x39_mag",
  300.             "20Rnd_mas_9x39_mag",
  301.             "5Rnd_mas_127x99_dem_Stanag",
  302.             "5Rnd_mas_127x108_dem_mag"
  303.     ], 20, 60, 100],
  304.     #endif
  305.     ["Exile_Item_SafeKit", 0, 3, 100], // 100% of the time 0-1 safes will spawn.
  306.     ["Exile_Weapon_AKS_Gold", 0, 3, 75], // 100% of the time 0-2 safes will spawn.
  307.     ["Exile_Magazine_30Rnd_762x39_AK", 0, 10, 100],
  308.     ["Exile_Weapon_TaurusGold", 1, 1, 100], // One pistol guaranteed, with 100% chance to spawn random pistol (so really 50%)
  309.     ["Exile_Magazine_6Rnd_45ACP", 0, 3, 100],
  310.     ["arifle_SDAR_F", 1, 1, 50],
  311.     ["20Rnd_556x45_UW_mag", 1, 2, 100], // One mag guaranteed, with 100% chance to spawn between 0-2 more mags
  312.     ["SatchelCharge_Remote_Mag", 1, 2, 100],
  313.     ["Exile_Item_Defibrillator", 1, 2, 100],
  314.     ["Exile_Item_Rope", 1, 1, 100],
  315.     ["Exile_Item_Vishpirin", 1, 3, 100],
  316.     ["Exile_Item_DuctTape", 2, 5, 100],
  317.     ["Exile_Item_PlasticBottleFreshWater", 2, 5, 100],
  318.     ["Exile_Item_EMRE", 1, 5, 100],
  319.     [["V_RebreatherB", "V_RebreatherIA", "V_RebreatherIR"], 1, 2, 100],
  320.     [["G_Diving", "G_B_Diving", "G_O_Diving", "G_I_Diving"], 1, 2, 100],
  321.     [["NVGoggles", "NVGoggles_INDEP", "NVGoggles_OPFOR"], 1, 2, 100],
  322.     ["Exile_Item_ConcreteWallKit", 0, 7, 80],
  323.     ["Exile_Item_ConcreteFloorKit", 0, 7, 80],
  324.     ["Exile_Item_FortificationUpgrade", 0, 4, 100],
  325.     ["Exile_Item_RubberDuck", 0, 2, 14], // No ducks guaranteed, but 14% of the time, an additional 0-2 ducks could spawn.
  326.     ["Exile_Item_Knife", 0, 1, 1] // No knives guaranteed, but 25% of the time an additional 0-1 knives could spawn.
  327. ];
  328.  
  329. publicVariable "BS_debug_logCrateFill";
  330. publicVariable "BS_player_showCrateClaimMessage";
  331. publicVariable "BS_player_showCrateClaimMessageRadius";
  332. publicVariable "BS_class_crate";
  333. publicVariable "BS_class_wreckage";
  334. publicVariable "BS_count_shipwrecks";
  335. publicVariable "BS_locations_crateWreckOffset";
  336. publicVariable "BS_locations_center";
  337. publicVariable "BS_locations_distance_min";
  338. publicVariable "BS_locations_distance_max";
  339. publicVariable "BS_loot_enablePoptabs";
  340. publicVariable "BS_loot_count_poptabs_seed";
  341. publicVariable "BS_loot_itemCargo";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement