[ARCHIVE] How to blacklist or whitelist items (BELOW 0.9) - Ansible2/Arma-3-Survival GitHub Wiki

Files To Edit

  • Headers\descriptionEXT\Loot Lists.hpp

How To Blacklist

The blacklist is always active and will always exclude any classes put into it. If you don't want something to spawn, put its class into the lootBlackList[] property in the BLWK_lootLists class that is made in the Loot Lists.hpp.

    lootBlackList[] = {
        "O_Static_Designator_02_weapon_F",
        "O_UAV_06_backpack_F",
        "O_UAV_06_medical_backpack_F",
        "O_UAV_01_backpack_F",
        "B_IR_Grenade",
        "O_IR_Grenade",
        "I_IR_Grenade",
        "TrainingMine_Mag",
        "ChemicalDetector_01_watch_F",
        "ChemicalDetector_01_olive_F",
        "8Rnd_82mm_Mo_Flare_white",
        "muzzle_antenna_01_f",
        "V_Safety_yellow_F",
        "muzzle_antenna_02_f",
        "rhsusf_100Rnd_556x45_M200_soft_pouch_ucp",
        "rhsusf_100Rnd_556x45_M200_soft_pouch_coyote",
        "rhsusf_100Rnd_556x45_M200_soft_pouch",
        "rhs_mag_30Rnd_556x45_M200_Stanag",
        "rhs_mag_20Rnd_556x45_M200_Stanag",
        "rhsusf_100Rnd_762x51_m82_blank",
        "rhsusf_50Rnd_762x51_m82_blank",
        "hgun_Pistol_Signal_F"
    };

How To Whitelist

Whitelisting is slightly more complicated. There are several categories that are fairly self explanatory: launchers, primaries, handguns, backpacks, vests, uniforms, headgear, items, and explosives (includes grenades).

There are associated properties for each of these in the same file as listed above. Just like with the blacklist, put the class you want inside of the corresponding category.

Then, use the mission parameter Loot Whitelist Mode under Area Settings to change the mode of how these lists should be interpreted. I recommend that you have at least one class in every category if you choose to use the "only whitelisted items" mode.