1. How to get object names ingame? For example who has spawned: barrels (old, new, trash), crates (big and small), oil barrel, stones and wood on the ground, supplydrop etc.
    For use in plugins, because, as we all remember, last update are seriously changed game and few moments about items and other

    For example: var container = entity as LootContainer;
    So "container" will be crate|barrel|trash|supply ? And "LootContainer" is category of entity/items?
     
    Last edited by a moderator: Aug 12, 2015
  2. It's not complete but you can get a glimpse of that in Cornucopia (check the code).
     
  3. You mean this?

    Code:
                BatchSpawn(barrel1Count, c_minGoodBarrels, "radtown", "loot_barrel_1", collectibles, ref aborted);
                BatchSpawn(barrel2Count, c_minNormalBarrels, "radtown", "loot_barrel_2", collectibles, ref aborted);
                BatchSpawn(trashCount, c_minTrashCans, "radtown", "loot_trash", collectibles, ref aborted);
                BatchSpawn(oilCount, c_minOilBarrels, "radtown", "oil_barrel", collectibles, ref aborted);
                BatchSpawn(trashPileCount, c_minTrashPiles, "autospawn/resource/loot", "trash-pile-1", collectibles, ref aborted);
                BatchSpawn(crate1Count, c_minWeaponCrates, "radtown", "crate_normal", collectibles, ref aborted);
                BatchSpawn(crate2Count, c_minBoxCrates, "radtown", "crate_normal_2", collectibles, ref aborted);
    There is names of loot containers?
     
  4. Yes and look at the function to see the full path