Spawnpoints are one of the most basic entities that are required for a Config to make sense. However, they are not as simple as just being entities that exist somewhere in the map. They are two-fold: in Sandbox, they are simply entities with no purpose but to carry data. In nZombies, they are not entities at all, but rather code objects that contain distribution data for spawning zombies. On top of that, a handy weighted-random using the distribution will work nicely for bosses or other specially-spawned entities.
[x] Spawnpoint Entities (Sandbox)
[x] Spawnpoint Objects (nZombies)
[x] Sandbox Tool
[x] Map Flags integration
[x] Save Extension bridge (turning entities from Sandbox into the objects in nZombies)
Behavior of the nZombies objects
[x] SpawnZombie function (takes ents.Create pre-spawned Zombie)
[x] CalculateWeight (Based on distance to players)
[x] Get- and SetLockedWeight (overrides CalculateWeight result)
[x] HasSpace function
[x] Round module carrying a list of these objects to spawn from
[x] Round module calculating weight and distributing zombies
Spawnpoints are one of the most basic entities that are required for a Config to make sense. However, they are not as simple as just being entities that exist somewhere in the map. They are two-fold: in Sandbox, they are simply entities with no purpose but to carry data. In nZombies, they are not entities at all, but rather code objects that contain distribution data for spawning zombies. On top of that, a handy weighted-random using the distribution will work nicely for bosses or other specially-spawned entities.
Behavior of the nZombies objects