• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Request: Anti duping mod

All zombie loot containers need to be destroy on close true, to make sure you get them all go to Entityclasses and look for all of these lines <property name="LootListOnDeath" value="15"/> the number tells you what loot container ID's corrospond to all the zombies in the loot.xml <lootcontainer id="15" destroy_on_close="true"
<property name="LootListOnDeath" value="61"/>

<lootcontainer id="61" destroy_on_close="true"

etc, etc.

you have to do this for all zombies.

And on top of that if you are playing with heavily modded files you have to make sure that this line is included in the blocks file:

+Blocks

<block id="701" name="GoreBlock1Prefab">

<property name="DroppedEntityClass" value="EvisceratedRemains"/>

And you have to make sure it is not commented out in the Entityclasses.xml

+Entityclasses

<entity_class name="EvisceratedRemains">

<property name="Mesh" value="Gore/gore_block1_bonesPrefab"/>

<property name="ModelType" value="Custom"/>

<property name="Prefab" value="Backpack"/>

<property name="Class" value="EntityLootContainer"/>

<property name="Parent" value="Backpack"/>

<property name="TimeStayAfterDeath" value="60"/>

<property name="IsEnemyEntity" value="false"/>

<property name="LootListOnDeath" value="99"/>

<property name="Faction" value="none"/>

</entity_class>

Cool!!

Testing.......

.

.

.

.

.

work fine! +1000 for you ;-)

 
Last edited by a moderator:
Update (9/8/17)
Here is a small mod that will allow servers to operate without dupe looting

What this mod does is destroys the corpse after closing the loot window, if any loot is left inside the zombie corpse when it is closed a backpack will drop along side the gore block and the back pack will have the contents of whatever was placed into the zombie body, the gore block will be empty. You can loot the gore block for nothing and upon closing the loot window the gore block will be destroyed, if you wish to harvest the gore block for bones you can do that as you wish since no items will be inside of it.

+Loot

-Changed all zombie loot windows to destroy on close

Download

Note: This is not 100% perfect, you can still dupe loot whatever the zombie originally gave you but you can not dupe loot anything you choose at least
Could you share your development?

 
Could you share your development?
The download is no longer available since I use that repo for miscellaneous modding for small requests. However I did explain in detail what needs to be done in the my previous post explaining what to change in the zombie loot containers and what to check for in the blocks and Entityclasses files.

 
Back
Top