7 Days to Die

7 Days to Die

View Stats:
How do I disable sleeping zombies?
Hello, can you please tell me if it is possible to disable sleeping zombies?
I want all the houses to be completely empty.
< >
Showing 1-9 of 9 comments
Amanoob105 Mar 28, 2021 @ 7:58pm 
I find a bow, later a crossbow, followed by a headshot "disables" them pretty well. Failing that, sledgehammer to the head also works.

Only option I know of is the ones that removes all zombies from the world as a whole, which you select when setting up a new game.
Crater Creator Mar 29, 2021 @ 6:04am 
You could do this by modding the game. At the least, you could do it by brute force, removing all the sleeper spawns from every POI. But there may be an easier way, through xml changes.
Originally posted by Crater Creator:
You could do this by modding the game. At the least, you could do it by brute force, removing all the sleeper spawns from every POI. But there may be an easier way, through xml changes.

I also want to delete them via xml, I guess via gamestage. But I don’t know which lines to edit, I don’t understand much about that.
Brevan Mar 29, 2021 @ 8:20am 
I'm pretty sure starting a game after setting the advanced setting "Enemy Spawning" to "Off" would do what you want, but maybe I'm missing something. No modding needed. Last I saw they don't even spawn during Horde with that setting.
DthBlayde Mar 29, 2021 @ 11:07am 
Originally posted by Brevan:
I'm pretty sure starting a game after setting the advanced setting "Enemy Spawning" to "Off" would do what you want, but maybe I'm missing something. No modding needed. Last I saw they don't even spawn during Horde with that setting.

Reads to me like OP just wants to prevent building spawns. Nice, empty, uninhabited houses. Turning that particular setting to "off" will stop -all- spawning. Poi, horde, wanderers, screamers, biome spawns. etc
Yes, setting "Enemy Spawning" to "Off" turns off enemy spawning completely. All I need to do is empty the buildings so that there are no sleepers in them. On the street, I have crowds of zombies wandering around (the spawn is increased by x18), so I want to make houses without zombies.
Amanoob105 Mar 29, 2021 @ 2:42pm 
Originally posted by Fieralis:
Yes, setting "Enemy Spawning" to "Off" turns off enemy spawning completely. All I need to do is empty the buildings so that there are no sleepers in them. On the street, I have crowds of zombies wandering around (the spawn is increased by x18), so I want to make houses without zombies.
If you don't mind putting in the time and work there is a way to stop zombies spawning in a building that's as simple as it is a bit time consuming.

Remove the floors. Really.
Removing the floors found within houses also removes the spawns found on those floors, to such an extent that even if you then replace the floors with your own the spawn points for the zombies don't come back with them.
Another option is to build over the floors (this option is more useful for places like a cellar or when you want to build on a roof zombies like to spawn on).

The only thing that can undo this effect (at least that I know of without resetting the whole map) is when a building becomes a location for a job from a trader and you accept it at the site. The act of taking the job itself doesn't do anything directly.
Reken41 Feb 16 @ 6:17am 
This is an old post, but maybe someone (like me) is searching to get rid of sleepers, so this is one way to do it without much work - works even in already created worlds (with some exceptions).

Step by step:
1. Go to your POIs game location (for Steam is: C:\Program Files (x86)\Steam\steamapps\common\7 Days To Die\Data\Prefabs\POIs).
(I know that there is a better way to do it with something like AppData\Roaming\7DaysToDie\LocalPrefabs - but I was unable to make it work from there.)
2. Recommend to backup all XML files in this folder.
3. Create file sleepers.txt
4. Paste following code in file:
Const ForReading = 1 Const ForWriting = 2 sFolder = "C:\Program Files (x86)\Steam\steamapps\common\7 Days To Die\Data\Prefabs\POIs\" Set oFSO = CreateObject("Scripting.FileSystemObject") For Each oFile In oFSO.GetFolder(sFolder).Files If UCase(oFSO.GetExtensionName(oFile.Name)) = "XML" Then ReadFiles oFSO, oFile End if Next Set oFSO = Nothing msgbox("Processing Complete") Sub ReadFiles(FSO, File) Set oFile2 = FSO.OpenTextFile(File.path, ForReading) Do Until oFile2.AtEndOfStream strLine = oFile2.ReadLine if instr(strLine, "Sleeper") <> 0 then strLine = "" end if strText = strText & strLine & vbCrLf Loop sFile = File.path oFile2.close set oFile2 = Nothing Set File = FSO.OpenTextFile(sFile , ForWriting) File.Write strText File.Close Set File = Nothing end Sub
5. Save file.
6. Change file extension (or save file as) sleepers.vba
7. Run sleepers.vba (double click).

Script removes from all XML files (POI configuration) lines with Sleepers... In result, it removes all sleepers spawn points in POIs.
This will work with saved games, created worlds, BUT only in places that you haven't been yet.
The game loads POIs from game files as you get close to them, including sleepers. So once you passed by some building before removing sleepers, they will be waiting there for you (spawn points were generated and saved into saved world files).
BUT when you enter unknown territory all buildings will be sleepers free :) For free ;)

Finally, you can casually play the game without heart attack ;) Plenty of zombies outside, and that's enough :)

Script is a modified version from: HERE [community.7daystodie.com].
@Reken41
That's an awesome post and guidance on the subject. But, you probably should have made a new post for it instead of reviving an old thread. It's taboo (in this forum) to revive old threads due to the info being outdated--which might mislead people if they weren't paying close attention to date stamps on the info. And, should post it in the 'Modding' sub-forum.
< >
Showing 1-9 of 9 comments
Per page: 1530 50