A B C D E F G H I J K L M N O P Q R S T U V W X Y Z #

7 Days to Die - How to Make Zombie Corpses Stay Longer

Written by Simon5   /   Updated: Jan 26, 2021    

This is a simple guide, how to edit a XML file, to stay zombie ragdoll longer.

Guide to Make Zombie Corpses Stay Longer

Finding the Right XML File to Edit

First, we need to find the right XML file where we make the edits.

Go to your 7 Days to die config folder here:

  • C:\Program Files (x86)\Steam\steamapps\common\7 Days To Die\Data\Config

And open this file: 

  • entityclasses.xml

Editing the XML File

First, I suggest making either a backup of this file, or if you have any problems - deleting it and verifying file integrity through game properties (right clicking on a game in Steam library)

Ok, now that you found the file, you should open it in a text editor. I suggest using Notepad++ which is meant for editing code (easy to find stuff, and each section is colored based on if it is reading the code or it is in comment mode)

Now that you've opened it, we need to find this line:

<!-- <property name="CorpseBlock" value="air"/><property name="CorpseBlockChance" value="0"/> -->

Under this line you will see another line saying:

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

Explanation: this line says, that when you kill a zombie, its corpse will disappear in 30 seconds.

Now you can edit it to how many seconds you want the bodies to stay.


Making the number too high will make your game run like sh*t.

I suggest setting it between 200 - 600 seconds (10 minutes).

This also depends how many zombies you have setup to spawn on blood moon (biggest performance requirement, as there might be more than 40 corpses at one time).

Now that you have changed this line, go save it and enjoy the game!

Written by Simon5.

Game:   7 Days to Die