Kubikus
New member
Just replacing the 2% chance zombie's currently have to drop something good with a 50% chance to drop junk. I'll probably work on this further to give zombies specific loot, tools and mats for the builder, meds for the nurse and so on.
Add this line to Localization.txt to have a proper label for the bag:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The second archive contains a template for those who want one. It creates a lootcontainer (in loot.xml) and a dropped bag (in entityclasses.xml) for every zombie. It adds the bag for the "LootDropEntityClass"-property and it adds a "LootDropProb" for every zombie. Every lootcontainer just contains the lootgroup "junk", but you can edit it anyway you want to, fill the lootcontainer with items or lootgroups, change the drop rate, remove duplicates.
Edit: I have now started to populate the template with actual zombie specific loot, so some have something else but junk. Might not be balanced.
There is, however, another flaw in the xpath-approach: The ids for the lootcontainer:
My lootcontainer start with id="108". If another xpath-mod would also use the id "108", the mods would not be compatible, only one would have the proper container.
Also: Here is a desc-list for localization.txt.
Here is another thing: I'm currently using the satchel as the dropped bag, you can use all kinds of containers, some I tried are:
//backpack_droppedPrefab
//loot_satchelPrefab
//duffle01Prefab
//sports_bag01Prefab
//sports_bag02Prefab
//backpack01Prefab
//backpack03Prefab
//backpack02Prefab
//AmmoPiles_LargePrefab
//medic_loot_pile_APrefab
Some, however, seem pretty restless, once they start rolling, they hardly ever stop. Satchel is fine, vanilla's bag is "backpack_droppedPrefab".
Kubikus Zombie Loot Template.zip
Kubikus Zombie Loot.zip
Add this line to Localization.txt to have a proper label for the bag:
Code:
EntityLootContainerJunk,entityclasses,Entity Info,New,Dropped Loot (Junk),,,,,
The second archive contains a template for those who want one. It creates a lootcontainer (in loot.xml) and a dropped bag (in entityclasses.xml) for every zombie. It adds the bag for the "LootDropEntityClass"-property and it adds a "LootDropProb" for every zombie. Every lootcontainer just contains the lootgroup "junk", but you can edit it anyway you want to, fill the lootcontainer with items or lootgroups, change the drop rate, remove duplicates.
Edit: I have now started to populate the template with actual zombie specific loot, so some have something else but junk. Might not be balanced.
There is, however, another flaw in the xpath-approach: The ids for the lootcontainer:
Code:
<!-- cntMedicLootPile -->
<lootcontainer id="107" count="1,2" size="5,3" sound_open="UseActions/open_pill_case" sound_close="UseActions/close_pill_case" loot_quality_template="baseTemplate" destroy_on_close="true">
<item group="medicine"/>
</lootcontainer>
Also: Here is a desc-list for localization.txt.
Here is another thing: I'm currently using the satchel as the dropped bag, you can use all kinds of containers, some I tried are:
//backpack_droppedPrefab
//loot_satchelPrefab
//duffle01Prefab
//sports_bag01Prefab
//sports_bag02Prefab
//backpack01Prefab
//backpack03Prefab
//backpack02Prefab
//AmmoPiles_LargePrefab
//medic_loot_pile_APrefab
Some, however, seem pretty restless, once they start rolling, they hardly ever stop. Satchel is fine, vanilla's bag is "backpack_droppedPrefab".
Kubikus Zombie Loot Template.zip
Kubikus Zombie Loot.zip
Attachments
Last edited by a moderator: