branchrust_reboot/main/SpawnRadiusFixescancel

4 Commits over 0 Days - ∞cph!

4 Months Ago
Military tunnels S2P
4 Months Ago
Arctic base S2P
4 Months Ago
Similarly, increased the player check radius on BaseSpawnPoint from hard-coded 2m to 10m. Added OnDrawGizmos to BaseSpawnPoint to visualise the radius. Due to how this is implemented, RadialSpawnPoint now uses 10m by default as well, but I've increased it to 20m manually for all scientist spawns. 10m is probably a better default anyway since we use the same spawn script for barrels etc as well.
4 Months Ago
Added playerCheckMargin as an additional margin around the spawn radius for human player checks in RadialSpawnPoint. New default value is 20m. Previously this used a const of 1m, so this does significantly change the behaviour of all existing RadialSpawnPoint users, but it prevents NPCs spawning closely to players.