ZehMatt / 7dtd-WalkerSim2

Roaming zombies simulation mod for 7 Days to Die
MIT License
8 stars 2 forks source link

[Bug] Walkers align into grids with most processors #7

Open xaroth8088 opened 4 days ago

xaroth8088 commented 4 days ago

Steps to reproduce

  1. Open WalkerSim.exe
  2. Set the population density to 2000 (so that the effect is more easily seen)
  3. Select Navezgane from the maps dropdown (so that you have a frame of reference for the scales involved)
  4. Remove all processors
  5. Add any group processor (e.g. FlockSameGroup) with power 10 and distance 750
  6. Set the simulation speed to 256x
  7. Start the simulation
  8. Wait

Expected result

Zombies should distribute according to their processors. For example, FlockSameGroup should result in clustering.

Actual result

Zombies align themselves into a grid pattern, as seen in the attached screenshot. Screenshot 2024-11-14 173812

Additional

Here's a list of processors that formed a grid:

Processors that didn't form a grid:

ZehMatt commented 4 days ago

You have set a maximum distance to 750 so thats how far it will go querying the neighbouring cells. The neighboring query is also limited due to performance reasons.