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

Spawn Sleepers In Range (Alpha 21 stable)

Don't use square root for these and problem solved!  Squared magnitude is fine for comparisons and makes the checks incredibly fast instead.


I may end up doing this if needed. I benchmarked with square magnitude and it didn't seem to make a perceptible difference. The real performance hit is the zombies themselves. The actual number of distance checks isn't high, so I felt comfortable sticking with the standard Vector3.distance method for the time being.

 
Is there any update on this mod. I may have to remove it, since I have died a few times due to the hitching/stuttering that happens when you walk by POIs. Is there anyway to tone that down or is that just part of the mod? 

 
Is there any update on this mod. I may have to remove it, since I have died a few times due to the hitching/stuttering that happens when you walk by POIs. Is there anyway to tone that down or is that just part of the mod? 


I'd recommend turning down the spawn radius in Config.xml (mod folder). A lot of people have had success with SpawnRadius at 10 and HorizontalSpawnRadius at 5.

The hitch is the actual internal spawn-in logic, which I'm not sufficiently familiar with to try to optimize, but most likely you're seeing that stuttering due to too many zombies being spawned in at one time. Reducing the range will help with this.

 
The hitch is the actual internal spawn-in logic, which I'm not sufficiently familiar with to try to optimize, but most likely you're seeing that stuttering due to too many zombies being spawned in at one time. Reducing the range will help with this.


This is true even in vanilly with a less than super duper system like mine.  If I am head down doing something and  the "hitch" happens, I know nothing good comes after it :).

 
Anyone else experiencing this bug? The bug is that zombies are spawning inside poi's halfway in the floor and are stuck in the floor.

 
Anyone else experiencing this bug? The bug is that zombies are spawning inside poi's halfway in the floor and are stuck in the floor.


This happens on vanilla, though rarely. Is this on vanilla POIs or custom?

For context, this mod doesn't do anything to the spawn itself - it just triggers the sleepervolume to "wake up." I don't know if triggering the volume from a distance away affects the actual spawn-in position. Could be that they are spawning "crouched" and then are glitching into the block below them.

 
It was happening in Vanilla POI's. I also have a mod that makes every POI have the max amount of zombies in it, so I wonder if I took off that mod would it stop happening.

 
It was happening in Vanilla POI's. I also have a mod that makes every POI have the max amount of zombies in it, so I wonder if I took off that mod would it stop happening.


It's worth trying. The two mods might potentially conflict if the other mod does things with sleeper volumes

 
vbnet3d said:
Those are the recommended settings, yes.
No mention of Linux support and although it is working I'm unable to edit the config file because on launch the mod claims

it cannot find the config file at "location address here" falling back to default settings.

However the address to the config it lists is correct and the config file is there. 

Any ideas? 

I'm new to Linux

 
it cannot find the config file at "location address here" falling back to default settings.


This is probably a file path difference. Windows by default has a different format. I'll have to see if I can use the Unix-style path in the project, or if we need to take a different approach.

 
Back
Top