Spawn Sleepers in Range

7 days to die spawn sleepers in range, 7 days to die zombies, 7 days to die respawn

Experimental mod for 7 Day to Die (V1.0) that forces sleeper volumes to spawn in sleepers within a certain range, even if the trigger is not yet activated. Intended to fix issues with pop-in spawning and clear quests failing to spawn in all zombies.

This is an entirely experimental mod. Use at your own risk. May affect frame rates if it spawns in too many zombies at one time. I would not recommend using on a server unless you’ve benchmarked it’s affects on your FPS in solo.

Configuration

Mod options can be changed by editing Config.xml in the mod folder.

Installation

Download source to your 7 Days to Die mod folder (usually C:\Program Files (x86)\Steam\steamapps\common\7 Days To Die\Mods).

This is a Harmony (C#) mod. EAC must be disabled.

Changelog

Based on conversation with zztong, I made the following additions and changes:

  • Added the option to split proximity checks into horizontal and vertical checks. This means that you can have only one or two floors spawn in at a time in a large multi-story POI if desired
  • Added the option to only spawn zombies if the player is within the bounds of the POI. This reduces spawning of volumes in neighboring POIs. Useful in big cities.
  • If a player is in a vehicle, the vehicle must be within the bounds of the POI to spawn zombies, as above. This reduces the spawns you get while driving through crowded areas.
  • If the spawn radius is 15 units or fewer, the corners of the SleeperVolume are also used for proximity checks, in addition to the center of the volume. While this adds more points to check, it also ensures that larger volumes don’t suddenly spawn in when the player is inside them.

DOWNLOAD (21 KB)

The forum topic of the mod is here.

Credits: vbnet3d

Share this with your friends:
Subscribe
Notify of
guest

If you have any questions or have any problems/bugs, please use the support link (Discord, Forum Topic, GitHub Issues, etc.) in the post. If there is no support link in the post, please use the comments section.

10 Comments
Inline Feedbacks
View all comments
Adr
Adr
July 4, 2024 4:14 pm

Im getting a “PublicKeyToken=null” error in the console when trying to load your mod in 1.0

Do you know how to fix this? Thanks

laki
laki
August 2, 2023 1:01 pm

hello! i like this mod’s concept, but i think spawning radius are not change by configs somehow, it keep spawning zombies near 30m from my location, even i decreased the rate to 10m. can you fix it?

vbnet3d
vbnet3d
August 3, 2023 10:42 pm
Reply to  laki

If you look at the logs, is there an error about Config.xml? If it fails to load that file it will use the defaults. Might be directory permissions – not totally sure

laki
laki
August 9, 2023 9:31 am
Reply to  vbnet3d

there no error about config.xml.. and i think disable the trigger is still working when i change it to false. everything is unchanged from default.

vbnet3d
vbnet3d
August 9, 2023 10:25 pm
Reply to  laki

Please try the latest version. There was a bug with the config path in earlier builds, and some fixes for logic, plus new features.

laki
laki
August 16, 2023 4:06 pm
Reply to  vbnet3d

i think its working now! thanks!

Le_Pro_Gaymer
Le_Pro_Gaymer
July 30, 2023 6:37 pm

i can’t finish “clear area” quests with this mod unfortunatly

vbnet3d
vbnet3d
July 30, 2023 9:41 pm
Reply to  Le_Pro_Gaymer

Can you provide any details? I can try to reproduce.

You can also go into Config.xml and set DisableTriggers to false. That might help

Le_Pro_Gaymer
Le_Pro_Gaymer
August 4, 2023 2:48 pm
Reply to  vbnet3d

i kill all of the zombies in the building but the quest never ends or detects that there aren’t any left

vbnet3d
vbnet3d
August 6, 2023 5:29 pm
Reply to  Le_Pro_Gaymer

In Config.xml, set DisableTriggers to false. I have confirmed that triggers are responsible for these last sets of zombies. Still trying to determine if there is a workaround without just turning all triggers on.